diff --git a/native/cpp/CommonCpp/grpc/_generated/backup.pb.cc b/native/cpp/CommonCpp/grpc/_generated/backup.pb.cc index 0cabbc380..15bbb4bb9 100644 --- a/native/cpp/CommonCpp/grpc/_generated/backup.pb.cc +++ b/native/cpp/CommonCpp/grpc/_generated/backup.pb.cc @@ -1,4959 +1,4993 @@ // @generated by the protocol buffer compiler. DO NOT EDIT! // source: backup.proto #include "backup.pb.h" #include #include #include #include #include #include #include #include // @@protoc_insertion_point(includes) #include PROTOBUF_PRAGMA_INIT_SEG namespace backup { constexpr PakeRegistrationRequestAndUserID::PakeRegistrationRequestAndUserID( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) : userid_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) , pakeregistrationrequest_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string){} struct PakeRegistrationRequestAndUserIDDefaultTypeInternal { constexpr PakeRegistrationRequestAndUserIDDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} ~PakeRegistrationRequestAndUserIDDefaultTypeInternal() {} union { PakeRegistrationRequestAndUserID _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PakeRegistrationRequestAndUserIDDefaultTypeInternal _PakeRegistrationRequestAndUserID_default_instance_; constexpr PakeAuthenticationRequestData::PakeAuthenticationRequestData( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) : _oneof_case_{}{} struct PakeAuthenticationRequestDataDefaultTypeInternal { constexpr PakeAuthenticationRequestDataDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} ~PakeAuthenticationRequestDataDefaultTypeInternal() {} union { PakeAuthenticationRequestData _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PakeAuthenticationRequestDataDefaultTypeInternal _PakeAuthenticationRequestData_default_instance_; constexpr WalletAuthenticationRequestData::WalletAuthenticationRequestData( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) : userid_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) , walletaddress_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) , signedmessage_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string){} struct WalletAuthenticationRequestDataDefaultTypeInternal { constexpr WalletAuthenticationRequestDataDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} ~WalletAuthenticationRequestDataDefaultTypeInternal() {} union { WalletAuthenticationRequestData _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT WalletAuthenticationRequestDataDefaultTypeInternal _WalletAuthenticationRequestData_default_instance_; constexpr FullAuthenticationRequestData::FullAuthenticationRequestData( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) : _oneof_case_{}{} struct FullAuthenticationRequestDataDefaultTypeInternal { constexpr FullAuthenticationRequestDataDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} ~FullAuthenticationRequestDataDefaultTypeInternal() {} union { FullAuthenticationRequestData _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT FullAuthenticationRequestDataDefaultTypeInternal _FullAuthenticationRequestData_default_instance_; constexpr WalletAuthenticationResponseData::WalletAuthenticationResponseData( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) : success_(false){} struct WalletAuthenticationResponseDataDefaultTypeInternal { constexpr WalletAuthenticationResponseDataDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} ~WalletAuthenticationResponseDataDefaultTypeInternal() {} union { WalletAuthenticationResponseData _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT WalletAuthenticationResponseDataDefaultTypeInternal _WalletAuthenticationResponseData_default_instance_; constexpr PakeAuthenticationResponseData::PakeAuthenticationResponseData( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) : _oneof_case_{}{} struct PakeAuthenticationResponseDataDefaultTypeInternal { constexpr PakeAuthenticationResponseDataDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} ~PakeAuthenticationResponseDataDefaultTypeInternal() {} union { PakeAuthenticationResponseData _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PakeAuthenticationResponseDataDefaultTypeInternal _PakeAuthenticationResponseData_default_instance_; constexpr FullAuthenticationResponseData::FullAuthenticationResponseData( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) : _oneof_case_{}{} struct FullAuthenticationResponseDataDefaultTypeInternal { constexpr FullAuthenticationResponseDataDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} ~FullAuthenticationResponseDataDefaultTypeInternal() {} union { FullAuthenticationResponseData _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT FullAuthenticationResponseDataDefaultTypeInternal _FullAuthenticationResponseData_default_instance_; constexpr SimpleAuthenticationRequestData::SimpleAuthenticationRequestData( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) : backupid_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) , userid_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string){} struct SimpleAuthenticationRequestDataDefaultTypeInternal { constexpr SimpleAuthenticationRequestDataDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} ~SimpleAuthenticationRequestDataDefaultTypeInternal() {} union { SimpleAuthenticationRequestData _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT SimpleAuthenticationRequestDataDefaultTypeInternal _SimpleAuthenticationRequestData_default_instance_; constexpr BackupKeyEntropy::BackupKeyEntropy( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) : _oneof_case_{}{} struct BackupKeyEntropyDefaultTypeInternal { constexpr BackupKeyEntropyDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} ~BackupKeyEntropyDefaultTypeInternal() {} union { BackupKeyEntropy _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT BackupKeyEntropyDefaultTypeInternal _BackupKeyEntropy_default_instance_; constexpr CreateNewBackupRequest::CreateNewBackupRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) : _oneof_case_{}{} struct CreateNewBackupRequestDefaultTypeInternal { constexpr CreateNewBackupRequestDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} ~CreateNewBackupRequestDefaultTypeInternal() {} union { CreateNewBackupRequest _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT CreateNewBackupRequestDefaultTypeInternal _CreateNewBackupRequest_default_instance_; constexpr CreateNewBackupResponse::CreateNewBackupResponse( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) : _oneof_case_{}{} struct CreateNewBackupResponseDefaultTypeInternal { constexpr CreateNewBackupResponseDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} ~CreateNewBackupResponseDefaultTypeInternal() {} union { CreateNewBackupResponse _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT CreateNewBackupResponseDefaultTypeInternal _CreateNewBackupResponse_default_instance_; constexpr SendLogRequest::SendLogRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) : logdata_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) , authenticationdata_(nullptr){} struct SendLogRequestDefaultTypeInternal { constexpr SendLogRequestDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} ~SendLogRequestDefaultTypeInternal() {} union { SendLogRequest _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT SendLogRequestDefaultTypeInternal _SendLogRequest_default_instance_; constexpr RecoverBackupKeyRequest::RecoverBackupKeyRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) : authenticationdata_(nullptr){} struct RecoverBackupKeyRequestDefaultTypeInternal { constexpr RecoverBackupKeyRequestDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} ~RecoverBackupKeyRequestDefaultTypeInternal() {} union { RecoverBackupKeyRequest _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT RecoverBackupKeyRequestDefaultTypeInternal _RecoverBackupKeyRequest_default_instance_; constexpr RecoverBackupKeyResponse::RecoverBackupKeyResponse( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) : _oneof_case_{}{} struct RecoverBackupKeyResponseDefaultTypeInternal { constexpr RecoverBackupKeyResponseDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} ~RecoverBackupKeyResponseDefaultTypeInternal() {} union { RecoverBackupKeyResponse _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT RecoverBackupKeyResponseDefaultTypeInternal _RecoverBackupKeyResponse_default_instance_; constexpr PullBackupRequest::PullBackupRequest( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) : authenticationdata_(nullptr){} struct PullBackupRequestDefaultTypeInternal { constexpr PullBackupRequestDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} ~PullBackupRequestDefaultTypeInternal() {} union { PullBackupRequest _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PullBackupRequestDefaultTypeInternal _PullBackupRequest_default_instance_; constexpr PullBackupResponse::PullBackupResponse( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) : _oneof_case_{}{} struct PullBackupResponseDefaultTypeInternal { constexpr PullBackupResponseDefaultTypeInternal() : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} ~PullBackupResponseDefaultTypeInternal() {} union { PullBackupResponse _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PullBackupResponseDefaultTypeInternal _PullBackupResponse_default_instance_; } // namespace backup static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_backup_2eproto[16]; static constexpr ::PROTOBUF_NAMESPACE_ID::EnumDescriptor const** file_level_enum_descriptors_backup_2eproto = nullptr; static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_backup_2eproto = nullptr; const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_backup_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::backup::PakeRegistrationRequestAndUserID, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::backup::PakeRegistrationRequestAndUserID, userid_), PROTOBUF_FIELD_OFFSET(::backup::PakeRegistrationRequestAndUserID, pakeregistrationrequest_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::backup::PakeAuthenticationRequestData, _internal_metadata_), ~0u, // no _extensions_ PROTOBUF_FIELD_OFFSET(::backup::PakeAuthenticationRequestData, _oneof_case_[0]), ~0u, // no _weak_field_map_ ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, PROTOBUF_FIELD_OFFSET(::backup::PakeAuthenticationRequestData, data_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::backup::WalletAuthenticationRequestData, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::backup::WalletAuthenticationRequestData, userid_), PROTOBUF_FIELD_OFFSET(::backup::WalletAuthenticationRequestData, walletaddress_), PROTOBUF_FIELD_OFFSET(::backup::WalletAuthenticationRequestData, signedmessage_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::backup::FullAuthenticationRequestData, _internal_metadata_), ~0u, // no _extensions_ PROTOBUF_FIELD_OFFSET(::backup::FullAuthenticationRequestData, _oneof_case_[0]), ~0u, // no _weak_field_map_ ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, PROTOBUF_FIELD_OFFSET(::backup::FullAuthenticationRequestData, data_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::backup::WalletAuthenticationResponseData, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::backup::WalletAuthenticationResponseData, success_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::backup::PakeAuthenticationResponseData, _internal_metadata_), ~0u, // no _extensions_ PROTOBUF_FIELD_OFFSET(::backup::PakeAuthenticationResponseData, _oneof_case_[0]), ~0u, // no _weak_field_map_ ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, PROTOBUF_FIELD_OFFSET(::backup::PakeAuthenticationResponseData, data_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::backup::FullAuthenticationResponseData, _internal_metadata_), ~0u, // no _extensions_ PROTOBUF_FIELD_OFFSET(::backup::FullAuthenticationResponseData, _oneof_case_[0]), ~0u, // no _weak_field_map_ ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, PROTOBUF_FIELD_OFFSET(::backup::FullAuthenticationResponseData, data_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::backup::SimpleAuthenticationRequestData, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::backup::SimpleAuthenticationRequestData, backupid_), PROTOBUF_FIELD_OFFSET(::backup::SimpleAuthenticationRequestData, userid_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::backup::BackupKeyEntropy, _internal_metadata_), ~0u, // no _extensions_ PROTOBUF_FIELD_OFFSET(::backup::BackupKeyEntropy, _oneof_case_[0]), ~0u, // no _weak_field_map_ ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, PROTOBUF_FIELD_OFFSET(::backup::BackupKeyEntropy, data_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::backup::CreateNewBackupRequest, _internal_metadata_), ~0u, // no _extensions_ PROTOBUF_FIELD_OFFSET(::backup::CreateNewBackupRequest, _oneof_case_[0]), ~0u, // no _weak_field_map_ ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, + ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, PROTOBUF_FIELD_OFFSET(::backup::CreateNewBackupRequest, data_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::backup::CreateNewBackupResponse, _internal_metadata_), ~0u, // no _extensions_ PROTOBUF_FIELD_OFFSET(::backup::CreateNewBackupResponse, _oneof_case_[0]), ~0u, // no _weak_field_map_ ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, PROTOBUF_FIELD_OFFSET(::backup::CreateNewBackupResponse, data_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::backup::SendLogRequest, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::backup::SendLogRequest, authenticationdata_), PROTOBUF_FIELD_OFFSET(::backup::SendLogRequest, logdata_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::backup::RecoverBackupKeyRequest, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::backup::RecoverBackupKeyRequest, authenticationdata_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::backup::RecoverBackupKeyResponse, _internal_metadata_), ~0u, // no _extensions_ PROTOBUF_FIELD_OFFSET(::backup::RecoverBackupKeyResponse, _oneof_case_[0]), ~0u, // no _weak_field_map_ ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, PROTOBUF_FIELD_OFFSET(::backup::RecoverBackupKeyResponse, data_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::backup::PullBackupRequest, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::backup::PullBackupRequest, authenticationdata_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::backup::PullBackupResponse, _internal_metadata_), ~0u, // no _extensions_ PROTOBUF_FIELD_OFFSET(::backup::PullBackupResponse, _oneof_case_[0]), ~0u, // no _weak_field_map_ ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, ::PROTOBUF_NAMESPACE_ID::internal::kInvalidFieldOffsetTag, PROTOBUF_FIELD_OFFSET(::backup::PullBackupResponse, data_), }; static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { { 0, -1, sizeof(::backup::PakeRegistrationRequestAndUserID)}, { 7, -1, sizeof(::backup::PakeAuthenticationRequestData)}, { 18, -1, sizeof(::backup::WalletAuthenticationRequestData)}, { 26, -1, sizeof(::backup::FullAuthenticationRequestData)}, { 34, -1, sizeof(::backup::WalletAuthenticationResponseData)}, { 40, -1, sizeof(::backup::PakeAuthenticationResponseData)}, { 50, -1, sizeof(::backup::FullAuthenticationResponseData)}, { 58, -1, sizeof(::backup::SimpleAuthenticationRequestData)}, { 65, -1, sizeof(::backup::BackupKeyEntropy)}, { 73, -1, sizeof(::backup::CreateNewBackupRequest)}, - { 82, -1, sizeof(::backup::CreateNewBackupResponse)}, - { 91, -1, sizeof(::backup::SendLogRequest)}, - { 98, -1, sizeof(::backup::RecoverBackupKeyRequest)}, - { 104, -1, sizeof(::backup::RecoverBackupKeyResponse)}, - { 113, -1, sizeof(::backup::PullBackupRequest)}, - { 119, -1, sizeof(::backup::PullBackupResponse)}, + { 83, -1, sizeof(::backup::CreateNewBackupResponse)}, + { 92, -1, sizeof(::backup::SendLogRequest)}, + { 99, -1, sizeof(::backup::RecoverBackupKeyRequest)}, + { 105, -1, sizeof(::backup::RecoverBackupKeyResponse)}, + { 114, -1, sizeof(::backup::PullBackupRequest)}, + { 120, -1, sizeof(::backup::PullBackupResponse)}, }; static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = { reinterpret_cast(&::backup::_PakeRegistrationRequestAndUserID_default_instance_), reinterpret_cast(&::backup::_PakeAuthenticationRequestData_default_instance_), reinterpret_cast(&::backup::_WalletAuthenticationRequestData_default_instance_), reinterpret_cast(&::backup::_FullAuthenticationRequestData_default_instance_), reinterpret_cast(&::backup::_WalletAuthenticationResponseData_default_instance_), reinterpret_cast(&::backup::_PakeAuthenticationResponseData_default_instance_), reinterpret_cast(&::backup::_FullAuthenticationResponseData_default_instance_), reinterpret_cast(&::backup::_SimpleAuthenticationRequestData_default_instance_), reinterpret_cast(&::backup::_BackupKeyEntropy_default_instance_), reinterpret_cast(&::backup::_CreateNewBackupRequest_default_instance_), reinterpret_cast(&::backup::_CreateNewBackupResponse_default_instance_), reinterpret_cast(&::backup::_SendLogRequest_default_instance_), reinterpret_cast(&::backup::_RecoverBackupKeyRequest_default_instance_), reinterpret_cast(&::backup::_RecoverBackupKeyResponse_default_instance_), reinterpret_cast(&::backup::_PullBackupRequest_default_instance_), reinterpret_cast(&::backup::_PullBackupResponse_default_instance_), }; const char descriptor_table_protodef_backup_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = "\n\014backup.proto\022\006backup\032\033google/protobuf/" "empty.proto\"S\n PakeRegistrationRequestAn" "dUserID\022\016\n\006userID\030\001 \001(\t\022\037\n\027pakeRegistrat" "ionRequest\030\002 \001(\014\"\377\001\n\035PakeAuthenticationR" "equestData\022T\n pakeRegistrationRequestAnd" "UserID\030\001 \001(\0132(.backup.PakeRegistrationRe" "questAndUserIDH\000\022 \n\026pakeRegistrationUplo" "ad\030\002 \001(\014H\000\022\037\n\025pakeCredentialRequest\030\003 \001(" "\014H\000\022$\n\032pakeCredentialFinalization\030\004 \001(\014H" "\000\022\027\n\rpakeClientMAC\030\005 \001(\014H\000B\006\n\004data\"_\n\037Wa" "lletAuthenticationRequestData\022\016\n\006userID\030" "\001 \001(\t\022\025\n\rwalletAddress\030\002 \001(\t\022\025\n\rsignedMe" "ssage\030\003 \001(\014\"\313\001\n\035FullAuthenticationReques" "tData\022N\n\035pakeAuthenticationRequestData\030\001" " \001(\0132%.backup.PakeAuthenticationRequestD" "ataH\000\022R\n\037walletAuthenticationRequestData" "\030\002 \001(\0132\'.backup.WalletAuthenticationRequ" "estDataH\000B\006\n\004data\"3\n WalletAuthenticatio" "nResponseData\022\017\n\007success\030\001 \001(\010\"\252\001\n\036PakeA" "uthenticationResponseData\022\"\n\030pakeRegistr" "ationResponse\030\001 \001(\014H\000\022!\n\027pakeRegistratio" "nSuccess\030\002 \001(\010H\000\022 \n\026pakeCredentialRespon" "se\030\003 \001(\014H\000\022\027\n\rpakeServerMAC\030\004 \001(\014H\000B\006\n\004d" "ata\"\320\001\n\036FullAuthenticationResponseData\022P" "\n\036pakeAuthenticationResponseData\030\001 \001(\0132&" ".backup.PakeAuthenticationResponseDataH\000" "\022T\n walletAuthenticationResponseData\030\002 \001" "(\0132(.backup.WalletAuthenticationResponse" "DataH\000B\006\n\004data\"C\n\037SimpleAuthenticationRe" "questData\022\020\n\010backupID\030\001 \001(\t\022\016\n\006userID\030\002 " "\001(\t\"A\n\020BackupKeyEntropy\022\017\n\005nonce\030\001 \001(\014H\000" - "\022\024\n\nrawMessage\030\002 \001(\014H\000B\006\n\004data\"\300\001\n\026Creat" + "\022\024\n\nrawMessage\030\002 \001(\014H\000B\006\n\004data\"\335\001\n\026Creat" "eNewBackupRequest\022J\n\031authenticationReque" "stData\030\001 \001(\0132%.backup.FullAuthentication" "RequestDataH\000\0224\n\020backupKeyEntropy\030\002 \001(\0132" - "\030.backup.BackupKeyEntropyH\000\022\034\n\022newCompac" - "tionChunk\030\003 \001(\014H\000B\006\n\004data\"\233\001\n\027CreateNewB" - "ackupResponse\022L\n\032authenticationResponseD" - "ata\030\001 \001(\0132&.backup.FullAuthenticationRes" - "ponseDataH\000\022\026\n\014entropyValid\030\002 \001(\010H\000\022\022\n\010b" - "ackupID\030\003 \001(\tH\000B\006\n\004data\"f\n\016SendLogReques" - "t\022C\n\022authenticationData\030\001 \001(\0132\'.backup.S" - "impleAuthenticationRequestData\022\017\n\007logDat" - "a\030\002 \001(\014\"\\\n\027RecoverBackupKeyRequest\022A\n\022au" - "thenticationData\030\001 \001(\0132%.backup.FullAuth" - "enticationRequestData\"\272\001\n\030RecoverBackupK" - "eyResponse\022L\n\032authenticationResponseData" - "\030\001 \001(\0132&.backup.FullAuthenticationRespon" - "seDataH\000\0224\n\020backupKeyEntropy\030\002 \001(\0132\030.bac" - "kup.BackupKeyEntropyH\000\022\022\n\010backupID\030\004 \001(\t" - "H\000B\006\n\004data\"X\n\021PullBackupRequest\022C\n\022authe" - "nticationData\030\001 \001(\0132\'.backup.SimpleAuthe" - "nticationRequestData\"K\n\022PullBackupRespon" - "se\022\031\n\017compactionChunk\030\001 \001(\014H\000\022\022\n\010logChun" - "k\030\002 \001(\014H\000B\006\n\004data2\320\002\n\rBackupService\022X\n\017C" - "reateNewBackup\022\036.backup.CreateNewBackupR" - "equest\032\037.backup.CreateNewBackupResponse\"" - "\000(\0010\001\022=\n\007SendLog\022\026.backup.SendLogRequest" - "\032\026.google.protobuf.Empty\"\000(\001\022[\n\020RecoverB" - "ackupKey\022\037.backup.RecoverBackupKeyReques" - "t\032 .backup.RecoverBackupKeyResponse\"\000(\0010" - "\001\022I\n\nPullBackup\022\031.backup.PullBackupReque" - "st\032\032.backup.PullBackupResponse\"\000(\0010\001b\006pr" - "oto3" + "\030.backup.BackupKeyEntropyH\000\022\033\n\021newCompac" + "tionHash\030\003 \001(\014H\000\022\034\n\022newCompactionChunk\030\004" + " \001(\014H\000B\006\n\004data\"\233\001\n\027CreateNewBackupRespon" + "se\022L\n\032authenticationResponseData\030\001 \001(\0132&" + ".backup.FullAuthenticationResponseDataH\000" + "\022\026\n\014entropyValid\030\002 \001(\010H\000\022\022\n\010backupID\030\003 \001" + "(\tH\000B\006\n\004data\"f\n\016SendLogRequest\022C\n\022authen" + "ticationData\030\001 \001(\0132\'.backup.SimpleAuthen" + "ticationRequestData\022\017\n\007logData\030\002 \001(\014\"\\\n\027" + "RecoverBackupKeyRequest\022A\n\022authenticatio" + "nData\030\001 \001(\0132%.backup.FullAuthenticationR" + "equestData\"\272\001\n\030RecoverBackupKeyResponse\022" + "L\n\032authenticationResponseData\030\001 \001(\0132&.ba" + "ckup.FullAuthenticationResponseDataH\000\0224\n" + "\020backupKeyEntropy\030\002 \001(\0132\030.backup.BackupK" + "eyEntropyH\000\022\022\n\010backupID\030\004 \001(\tH\000B\006\n\004data\"" + "X\n\021PullBackupRequest\022C\n\022authenticationDa" + "ta\030\001 \001(\0132\'.backup.SimpleAuthenticationRe" + "questData\"K\n\022PullBackupResponse\022\031\n\017compa" + "ctionChunk\030\001 \001(\014H\000\022\022\n\010logChunk\030\002 \001(\014H\000B\006" + "\n\004data2\320\002\n\rBackupService\022X\n\017CreateNewBac" + "kup\022\036.backup.CreateNewBackupRequest\032\037.ba" + "ckup.CreateNewBackupResponse\"\000(\0010\001\022=\n\007Se" + "ndLog\022\026.backup.SendLogRequest\032\026.google.p" + "rotobuf.Empty\"\000(\001\022[\n\020RecoverBackupKey\022\037." + "backup.RecoverBackupKeyRequest\032 .backup." + "RecoverBackupKeyResponse\"\000(\0010\001\022I\n\nPullBa" + "ckup\022\031.backup.PullBackupRequest\032\032.backup" + ".PullBackupResponse\"\000(\0010\001b\006proto3" ; static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_backup_2eproto_deps[1] = { &::descriptor_table_google_2fprotobuf_2fempty_2eproto, }; static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_backup_2eproto_once; const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_backup_2eproto = { - false, false, 2524, descriptor_table_protodef_backup_2eproto, "backup.proto", + false, false, 2553, descriptor_table_protodef_backup_2eproto, "backup.proto", &descriptor_table_backup_2eproto_once, descriptor_table_backup_2eproto_deps, 1, 16, schemas, file_default_instances, TableStruct_backup_2eproto::offsets, file_level_metadata_backup_2eproto, file_level_enum_descriptors_backup_2eproto, file_level_service_descriptors_backup_2eproto, }; PROTOBUF_ATTRIBUTE_WEAK ::PROTOBUF_NAMESPACE_ID::Metadata descriptor_table_backup_2eproto_metadata_getter(int index) { ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_backup_2eproto); return descriptor_table_backup_2eproto.file_level_metadata[index]; } // Force running AddDescriptors() at dynamic initialization time. PROTOBUF_ATTRIBUTE_INIT_PRIORITY static ::PROTOBUF_NAMESPACE_ID::internal::AddDescriptorsRunner dynamic_init_dummy_backup_2eproto(&descriptor_table_backup_2eproto); namespace backup { // =================================================================== class PakeRegistrationRequestAndUserID::_Internal { public: }; PakeRegistrationRequestAndUserID::PakeRegistrationRequestAndUserID(::PROTOBUF_NAMESPACE_ID::Arena* arena) : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); RegisterArenaDtor(arena); // @@protoc_insertion_point(arena_constructor:backup.PakeRegistrationRequestAndUserID) } PakeRegistrationRequestAndUserID::PakeRegistrationRequestAndUserID(const PakeRegistrationRequestAndUserID& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); userid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_userid().empty()) { userid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_userid(), GetArena()); } pakeregistrationrequest_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_pakeregistrationrequest().empty()) { pakeregistrationrequest_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_pakeregistrationrequest(), GetArena()); } // @@protoc_insertion_point(copy_constructor:backup.PakeRegistrationRequestAndUserID) } void PakeRegistrationRequestAndUserID::SharedCtor() { userid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); pakeregistrationrequest_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } PakeRegistrationRequestAndUserID::~PakeRegistrationRequestAndUserID() { // @@protoc_insertion_point(destructor:backup.PakeRegistrationRequestAndUserID) SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void PakeRegistrationRequestAndUserID::SharedDtor() { GOOGLE_DCHECK(GetArena() == nullptr); userid_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); pakeregistrationrequest_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } void PakeRegistrationRequestAndUserID::ArenaDtor(void* object) { PakeRegistrationRequestAndUserID* _this = reinterpret_cast< PakeRegistrationRequestAndUserID* >(object); (void)_this; } void PakeRegistrationRequestAndUserID::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } void PakeRegistrationRequestAndUserID::SetCachedSize(int size) const { _cached_size_.Set(size); } void PakeRegistrationRequestAndUserID::Clear() { // @@protoc_insertion_point(message_clear_start:backup.PakeRegistrationRequestAndUserID) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; userid_.ClearToEmpty(); pakeregistrationrequest_.ClearToEmpty(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* PakeRegistrationRequestAndUserID::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { ::PROTOBUF_NAMESPACE_ID::uint32 tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); CHK_(ptr); switch (tag >> 3) { // string userID = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { auto str = _internal_mutable_userid(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "backup.PakeRegistrationRequestAndUserID.userID")); CHK_(ptr); } else goto handle_unusual; continue; // bytes pakeRegistrationRequest = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { auto str = _internal_mutable_pakeregistrationrequest(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); } else goto handle_unusual; continue; default: { handle_unusual: if ((tag & 7) == 4 || tag == 0) { ctx->SetLastTag(tag); goto success; } ptr = UnknownFieldParse(tag, _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), ptr, ctx); CHK_(ptr != nullptr); continue; } } // switch } // while success: return ptr; failure: ptr = nullptr; goto success; #undef CHK_ } ::PROTOBUF_NAMESPACE_ID::uint8* PakeRegistrationRequestAndUserID::_InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:backup.PakeRegistrationRequestAndUserID) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; // string userID = 1; if (this->userid().size() > 0) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_userid().data(), static_cast(this->_internal_userid().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "backup.PakeRegistrationRequestAndUserID.userID"); target = stream->WriteStringMaybeAliased( 1, this->_internal_userid(), target); } // bytes pakeRegistrationRequest = 2; if (this->pakeregistrationrequest().size() > 0) { target = stream->WriteBytesMaybeAliased( 2, this->_internal_pakeregistrationrequest(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:backup.PakeRegistrationRequestAndUserID) return target; } size_t PakeRegistrationRequestAndUserID::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:backup.PakeRegistrationRequestAndUserID) size_t total_size = 0; ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; // string userID = 1; if (this->userid().size() > 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_userid()); } // bytes pakeRegistrationRequest = 2; if (this->pakeregistrationrequest().size() > 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( this->_internal_pakeregistrationrequest()); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( _internal_metadata_, total_size, &_cached_size_); } int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); SetCachedSize(cached_size); return total_size; } void PakeRegistrationRequestAndUserID::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:backup.PakeRegistrationRequestAndUserID) GOOGLE_DCHECK_NE(&from, this); const PakeRegistrationRequestAndUserID* source = ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated( &from); if (source == nullptr) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:backup.PakeRegistrationRequestAndUserID) ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:backup.PakeRegistrationRequestAndUserID) MergeFrom(*source); } } void PakeRegistrationRequestAndUserID::MergeFrom(const PakeRegistrationRequestAndUserID& from) { // @@protoc_insertion_point(class_specific_merge_from_start:backup.PakeRegistrationRequestAndUserID) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; if (from.userid().size() > 0) { _internal_set_userid(from._internal_userid()); } if (from.pakeregistrationrequest().size() > 0) { _internal_set_pakeregistrationrequest(from._internal_pakeregistrationrequest()); } } void PakeRegistrationRequestAndUserID::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:backup.PakeRegistrationRequestAndUserID) if (&from == this) return; Clear(); MergeFrom(from); } void PakeRegistrationRequestAndUserID::CopyFrom(const PakeRegistrationRequestAndUserID& from) { // @@protoc_insertion_point(class_specific_copy_from_start:backup.PakeRegistrationRequestAndUserID) if (&from == this) return; Clear(); MergeFrom(from); } bool PakeRegistrationRequestAndUserID::IsInitialized() const { return true; } void PakeRegistrationRequestAndUserID::InternalSwap(PakeRegistrationRequestAndUserID* other) { using std::swap; _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); userid_.Swap(&other->userid_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); pakeregistrationrequest_.Swap(&other->pakeregistrationrequest_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } ::PROTOBUF_NAMESPACE_ID::Metadata PakeRegistrationRequestAndUserID::GetMetadata() const { return GetMetadataStatic(); } // =================================================================== class PakeAuthenticationRequestData::_Internal { public: static const ::backup::PakeRegistrationRequestAndUserID& pakeregistrationrequestanduserid(const PakeAuthenticationRequestData* msg); }; const ::backup::PakeRegistrationRequestAndUserID& PakeAuthenticationRequestData::_Internal::pakeregistrationrequestanduserid(const PakeAuthenticationRequestData* msg) { return *msg->data_.pakeregistrationrequestanduserid_; } void PakeAuthenticationRequestData::set_allocated_pakeregistrationrequestanduserid(::backup::PakeRegistrationRequestAndUserID* pakeregistrationrequestanduserid) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); clear_data(); if (pakeregistrationrequestanduserid) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(pakeregistrationrequestanduserid); if (message_arena != submessage_arena) { pakeregistrationrequestanduserid = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, pakeregistrationrequestanduserid, submessage_arena); } set_has_pakeregistrationrequestanduserid(); data_.pakeregistrationrequestanduserid_ = pakeregistrationrequestanduserid; } // @@protoc_insertion_point(field_set_allocated:backup.PakeAuthenticationRequestData.pakeRegistrationRequestAndUserID) } PakeAuthenticationRequestData::PakeAuthenticationRequestData(::PROTOBUF_NAMESPACE_ID::Arena* arena) : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); RegisterArenaDtor(arena); // @@protoc_insertion_point(arena_constructor:backup.PakeAuthenticationRequestData) } PakeAuthenticationRequestData::PakeAuthenticationRequestData(const PakeAuthenticationRequestData& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); clear_has_data(); switch (from.data_case()) { case kPakeRegistrationRequestAndUserID: { _internal_mutable_pakeregistrationrequestanduserid()->::backup::PakeRegistrationRequestAndUserID::MergeFrom(from._internal_pakeregistrationrequestanduserid()); break; } case kPakeRegistrationUpload: { _internal_set_pakeregistrationupload(from._internal_pakeregistrationupload()); break; } case kPakeCredentialRequest: { _internal_set_pakecredentialrequest(from._internal_pakecredentialrequest()); break; } case kPakeCredentialFinalization: { _internal_set_pakecredentialfinalization(from._internal_pakecredentialfinalization()); break; } case kPakeClientMAC: { _internal_set_pakeclientmac(from._internal_pakeclientmac()); break; } case DATA_NOT_SET: { break; } } // @@protoc_insertion_point(copy_constructor:backup.PakeAuthenticationRequestData) } void PakeAuthenticationRequestData::SharedCtor() { clear_has_data(); } PakeAuthenticationRequestData::~PakeAuthenticationRequestData() { // @@protoc_insertion_point(destructor:backup.PakeAuthenticationRequestData) SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void PakeAuthenticationRequestData::SharedDtor() { GOOGLE_DCHECK(GetArena() == nullptr); if (has_data()) { clear_data(); } } void PakeAuthenticationRequestData::ArenaDtor(void* object) { PakeAuthenticationRequestData* _this = reinterpret_cast< PakeAuthenticationRequestData* >(object); (void)_this; } void PakeAuthenticationRequestData::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } void PakeAuthenticationRequestData::SetCachedSize(int size) const { _cached_size_.Set(size); } void PakeAuthenticationRequestData::clear_data() { // @@protoc_insertion_point(one_of_clear_start:backup.PakeAuthenticationRequestData) switch (data_case()) { case kPakeRegistrationRequestAndUserID: { if (GetArena() == nullptr) { delete data_.pakeregistrationrequestanduserid_; } break; } case kPakeRegistrationUpload: { data_.pakeregistrationupload_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); break; } case kPakeCredentialRequest: { data_.pakecredentialrequest_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); break; } case kPakeCredentialFinalization: { data_.pakecredentialfinalization_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); break; } case kPakeClientMAC: { data_.pakeclientmac_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); break; } case DATA_NOT_SET: { break; } } _oneof_case_[0] = DATA_NOT_SET; } void PakeAuthenticationRequestData::Clear() { // @@protoc_insertion_point(message_clear_start:backup.PakeAuthenticationRequestData) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; clear_data(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* PakeAuthenticationRequestData::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { ::PROTOBUF_NAMESPACE_ID::uint32 tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); CHK_(ptr); switch (tag >> 3) { // .backup.PakeRegistrationRequestAndUserID pakeRegistrationRequestAndUserID = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { ptr = ctx->ParseMessage(_internal_mutable_pakeregistrationrequestanduserid(), ptr); CHK_(ptr); } else goto handle_unusual; continue; // bytes pakeRegistrationUpload = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { auto str = _internal_mutable_pakeregistrationupload(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); } else goto handle_unusual; continue; // bytes pakeCredentialRequest = 3; case 3: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { auto str = _internal_mutable_pakecredentialrequest(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); } else goto handle_unusual; continue; // bytes pakeCredentialFinalization = 4; case 4: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { auto str = _internal_mutable_pakecredentialfinalization(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); } else goto handle_unusual; continue; // bytes pakeClientMAC = 5; case 5: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) { auto str = _internal_mutable_pakeclientmac(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); } else goto handle_unusual; continue; default: { handle_unusual: if ((tag & 7) == 4 || tag == 0) { ctx->SetLastTag(tag); goto success; } ptr = UnknownFieldParse(tag, _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), ptr, ctx); CHK_(ptr != nullptr); continue; } } // switch } // while success: return ptr; failure: ptr = nullptr; goto success; #undef CHK_ } ::PROTOBUF_NAMESPACE_ID::uint8* PakeAuthenticationRequestData::_InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:backup.PakeAuthenticationRequestData) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; // .backup.PakeRegistrationRequestAndUserID pakeRegistrationRequestAndUserID = 1; if (_internal_has_pakeregistrationrequestanduserid()) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: InternalWriteMessage( 1, _Internal::pakeregistrationrequestanduserid(this), target, stream); } // bytes pakeRegistrationUpload = 2; if (_internal_has_pakeregistrationupload()) { target = stream->WriteBytesMaybeAliased( 2, this->_internal_pakeregistrationupload(), target); } // bytes pakeCredentialRequest = 3; if (_internal_has_pakecredentialrequest()) { target = stream->WriteBytesMaybeAliased( 3, this->_internal_pakecredentialrequest(), target); } // bytes pakeCredentialFinalization = 4; if (_internal_has_pakecredentialfinalization()) { target = stream->WriteBytesMaybeAliased( 4, this->_internal_pakecredentialfinalization(), target); } // bytes pakeClientMAC = 5; if (_internal_has_pakeclientmac()) { target = stream->WriteBytesMaybeAliased( 5, this->_internal_pakeclientmac(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:backup.PakeAuthenticationRequestData) return target; } size_t PakeAuthenticationRequestData::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:backup.PakeAuthenticationRequestData) size_t total_size = 0; ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; switch (data_case()) { // .backup.PakeRegistrationRequestAndUserID pakeRegistrationRequestAndUserID = 1; case kPakeRegistrationRequestAndUserID: { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( *data_.pakeregistrationrequestanduserid_); break; } // bytes pakeRegistrationUpload = 2; case kPakeRegistrationUpload: { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( this->_internal_pakeregistrationupload()); break; } // bytes pakeCredentialRequest = 3; case kPakeCredentialRequest: { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( this->_internal_pakecredentialrequest()); break; } // bytes pakeCredentialFinalization = 4; case kPakeCredentialFinalization: { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( this->_internal_pakecredentialfinalization()); break; } // bytes pakeClientMAC = 5; case kPakeClientMAC: { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( this->_internal_pakeclientmac()); break; } case DATA_NOT_SET: { break; } } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( _internal_metadata_, total_size, &_cached_size_); } int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); SetCachedSize(cached_size); return total_size; } void PakeAuthenticationRequestData::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:backup.PakeAuthenticationRequestData) GOOGLE_DCHECK_NE(&from, this); const PakeAuthenticationRequestData* source = ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated( &from); if (source == nullptr) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:backup.PakeAuthenticationRequestData) ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:backup.PakeAuthenticationRequestData) MergeFrom(*source); } } void PakeAuthenticationRequestData::MergeFrom(const PakeAuthenticationRequestData& from) { // @@protoc_insertion_point(class_specific_merge_from_start:backup.PakeAuthenticationRequestData) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; switch (from.data_case()) { case kPakeRegistrationRequestAndUserID: { _internal_mutable_pakeregistrationrequestanduserid()->::backup::PakeRegistrationRequestAndUserID::MergeFrom(from._internal_pakeregistrationrequestanduserid()); break; } case kPakeRegistrationUpload: { _internal_set_pakeregistrationupload(from._internal_pakeregistrationupload()); break; } case kPakeCredentialRequest: { _internal_set_pakecredentialrequest(from._internal_pakecredentialrequest()); break; } case kPakeCredentialFinalization: { _internal_set_pakecredentialfinalization(from._internal_pakecredentialfinalization()); break; } case kPakeClientMAC: { _internal_set_pakeclientmac(from._internal_pakeclientmac()); break; } case DATA_NOT_SET: { break; } } } void PakeAuthenticationRequestData::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:backup.PakeAuthenticationRequestData) if (&from == this) return; Clear(); MergeFrom(from); } void PakeAuthenticationRequestData::CopyFrom(const PakeAuthenticationRequestData& from) { // @@protoc_insertion_point(class_specific_copy_from_start:backup.PakeAuthenticationRequestData) if (&from == this) return; Clear(); MergeFrom(from); } bool PakeAuthenticationRequestData::IsInitialized() const { return true; } void PakeAuthenticationRequestData::InternalSwap(PakeAuthenticationRequestData* other) { using std::swap; _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); swap(data_, other->data_); swap(_oneof_case_[0], other->_oneof_case_[0]); } ::PROTOBUF_NAMESPACE_ID::Metadata PakeAuthenticationRequestData::GetMetadata() const { return GetMetadataStatic(); } // =================================================================== class WalletAuthenticationRequestData::_Internal { public: }; WalletAuthenticationRequestData::WalletAuthenticationRequestData(::PROTOBUF_NAMESPACE_ID::Arena* arena) : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); RegisterArenaDtor(arena); // @@protoc_insertion_point(arena_constructor:backup.WalletAuthenticationRequestData) } WalletAuthenticationRequestData::WalletAuthenticationRequestData(const WalletAuthenticationRequestData& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); userid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_userid().empty()) { userid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_userid(), GetArena()); } walletaddress_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_walletaddress().empty()) { walletaddress_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_walletaddress(), GetArena()); } signedmessage_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_signedmessage().empty()) { signedmessage_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_signedmessage(), GetArena()); } // @@protoc_insertion_point(copy_constructor:backup.WalletAuthenticationRequestData) } void WalletAuthenticationRequestData::SharedCtor() { userid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); walletaddress_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); signedmessage_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } WalletAuthenticationRequestData::~WalletAuthenticationRequestData() { // @@protoc_insertion_point(destructor:backup.WalletAuthenticationRequestData) SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void WalletAuthenticationRequestData::SharedDtor() { GOOGLE_DCHECK(GetArena() == nullptr); userid_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); walletaddress_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); signedmessage_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } void WalletAuthenticationRequestData::ArenaDtor(void* object) { WalletAuthenticationRequestData* _this = reinterpret_cast< WalletAuthenticationRequestData* >(object); (void)_this; } void WalletAuthenticationRequestData::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } void WalletAuthenticationRequestData::SetCachedSize(int size) const { _cached_size_.Set(size); } void WalletAuthenticationRequestData::Clear() { // @@protoc_insertion_point(message_clear_start:backup.WalletAuthenticationRequestData) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; userid_.ClearToEmpty(); walletaddress_.ClearToEmpty(); signedmessage_.ClearToEmpty(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* WalletAuthenticationRequestData::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { ::PROTOBUF_NAMESPACE_ID::uint32 tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); CHK_(ptr); switch (tag >> 3) { // string userID = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { auto str = _internal_mutable_userid(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "backup.WalletAuthenticationRequestData.userID")); CHK_(ptr); } else goto handle_unusual; continue; // string walletAddress = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { auto str = _internal_mutable_walletaddress(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "backup.WalletAuthenticationRequestData.walletAddress")); CHK_(ptr); } else goto handle_unusual; continue; // bytes signedMessage = 3; case 3: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { auto str = _internal_mutable_signedmessage(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); } else goto handle_unusual; continue; default: { handle_unusual: if ((tag & 7) == 4 || tag == 0) { ctx->SetLastTag(tag); goto success; } ptr = UnknownFieldParse(tag, _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), ptr, ctx); CHK_(ptr != nullptr); continue; } } // switch } // while success: return ptr; failure: ptr = nullptr; goto success; #undef CHK_ } ::PROTOBUF_NAMESPACE_ID::uint8* WalletAuthenticationRequestData::_InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:backup.WalletAuthenticationRequestData) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; // string userID = 1; if (this->userid().size() > 0) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_userid().data(), static_cast(this->_internal_userid().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "backup.WalletAuthenticationRequestData.userID"); target = stream->WriteStringMaybeAliased( 1, this->_internal_userid(), target); } // string walletAddress = 2; if (this->walletaddress().size() > 0) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_walletaddress().data(), static_cast(this->_internal_walletaddress().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "backup.WalletAuthenticationRequestData.walletAddress"); target = stream->WriteStringMaybeAliased( 2, this->_internal_walletaddress(), target); } // bytes signedMessage = 3; if (this->signedmessage().size() > 0) { target = stream->WriteBytesMaybeAliased( 3, this->_internal_signedmessage(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:backup.WalletAuthenticationRequestData) return target; } size_t WalletAuthenticationRequestData::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:backup.WalletAuthenticationRequestData) size_t total_size = 0; ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; // string userID = 1; if (this->userid().size() > 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_userid()); } // string walletAddress = 2; if (this->walletaddress().size() > 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_walletaddress()); } // bytes signedMessage = 3; if (this->signedmessage().size() > 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( this->_internal_signedmessage()); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( _internal_metadata_, total_size, &_cached_size_); } int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); SetCachedSize(cached_size); return total_size; } void WalletAuthenticationRequestData::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:backup.WalletAuthenticationRequestData) GOOGLE_DCHECK_NE(&from, this); const WalletAuthenticationRequestData* source = ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated( &from); if (source == nullptr) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:backup.WalletAuthenticationRequestData) ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:backup.WalletAuthenticationRequestData) MergeFrom(*source); } } void WalletAuthenticationRequestData::MergeFrom(const WalletAuthenticationRequestData& from) { // @@protoc_insertion_point(class_specific_merge_from_start:backup.WalletAuthenticationRequestData) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; if (from.userid().size() > 0) { _internal_set_userid(from._internal_userid()); } if (from.walletaddress().size() > 0) { _internal_set_walletaddress(from._internal_walletaddress()); } if (from.signedmessage().size() > 0) { _internal_set_signedmessage(from._internal_signedmessage()); } } void WalletAuthenticationRequestData::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:backup.WalletAuthenticationRequestData) if (&from == this) return; Clear(); MergeFrom(from); } void WalletAuthenticationRequestData::CopyFrom(const WalletAuthenticationRequestData& from) { // @@protoc_insertion_point(class_specific_copy_from_start:backup.WalletAuthenticationRequestData) if (&from == this) return; Clear(); MergeFrom(from); } bool WalletAuthenticationRequestData::IsInitialized() const { return true; } void WalletAuthenticationRequestData::InternalSwap(WalletAuthenticationRequestData* other) { using std::swap; _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); userid_.Swap(&other->userid_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); walletaddress_.Swap(&other->walletaddress_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); signedmessage_.Swap(&other->signedmessage_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } ::PROTOBUF_NAMESPACE_ID::Metadata WalletAuthenticationRequestData::GetMetadata() const { return GetMetadataStatic(); } // =================================================================== class FullAuthenticationRequestData::_Internal { public: static const ::backup::PakeAuthenticationRequestData& pakeauthenticationrequestdata(const FullAuthenticationRequestData* msg); static const ::backup::WalletAuthenticationRequestData& walletauthenticationrequestdata(const FullAuthenticationRequestData* msg); }; const ::backup::PakeAuthenticationRequestData& FullAuthenticationRequestData::_Internal::pakeauthenticationrequestdata(const FullAuthenticationRequestData* msg) { return *msg->data_.pakeauthenticationrequestdata_; } const ::backup::WalletAuthenticationRequestData& FullAuthenticationRequestData::_Internal::walletauthenticationrequestdata(const FullAuthenticationRequestData* msg) { return *msg->data_.walletauthenticationrequestdata_; } void FullAuthenticationRequestData::set_allocated_pakeauthenticationrequestdata(::backup::PakeAuthenticationRequestData* pakeauthenticationrequestdata) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); clear_data(); if (pakeauthenticationrequestdata) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(pakeauthenticationrequestdata); if (message_arena != submessage_arena) { pakeauthenticationrequestdata = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, pakeauthenticationrequestdata, submessage_arena); } set_has_pakeauthenticationrequestdata(); data_.pakeauthenticationrequestdata_ = pakeauthenticationrequestdata; } // @@protoc_insertion_point(field_set_allocated:backup.FullAuthenticationRequestData.pakeAuthenticationRequestData) } void FullAuthenticationRequestData::set_allocated_walletauthenticationrequestdata(::backup::WalletAuthenticationRequestData* walletauthenticationrequestdata) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); clear_data(); if (walletauthenticationrequestdata) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(walletauthenticationrequestdata); if (message_arena != submessage_arena) { walletauthenticationrequestdata = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, walletauthenticationrequestdata, submessage_arena); } set_has_walletauthenticationrequestdata(); data_.walletauthenticationrequestdata_ = walletauthenticationrequestdata; } // @@protoc_insertion_point(field_set_allocated:backup.FullAuthenticationRequestData.walletAuthenticationRequestData) } FullAuthenticationRequestData::FullAuthenticationRequestData(::PROTOBUF_NAMESPACE_ID::Arena* arena) : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); RegisterArenaDtor(arena); // @@protoc_insertion_point(arena_constructor:backup.FullAuthenticationRequestData) } FullAuthenticationRequestData::FullAuthenticationRequestData(const FullAuthenticationRequestData& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); clear_has_data(); switch (from.data_case()) { case kPakeAuthenticationRequestData: { _internal_mutable_pakeauthenticationrequestdata()->::backup::PakeAuthenticationRequestData::MergeFrom(from._internal_pakeauthenticationrequestdata()); break; } case kWalletAuthenticationRequestData: { _internal_mutable_walletauthenticationrequestdata()->::backup::WalletAuthenticationRequestData::MergeFrom(from._internal_walletauthenticationrequestdata()); break; } case DATA_NOT_SET: { break; } } // @@protoc_insertion_point(copy_constructor:backup.FullAuthenticationRequestData) } void FullAuthenticationRequestData::SharedCtor() { clear_has_data(); } FullAuthenticationRequestData::~FullAuthenticationRequestData() { // @@protoc_insertion_point(destructor:backup.FullAuthenticationRequestData) SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void FullAuthenticationRequestData::SharedDtor() { GOOGLE_DCHECK(GetArena() == nullptr); if (has_data()) { clear_data(); } } void FullAuthenticationRequestData::ArenaDtor(void* object) { FullAuthenticationRequestData* _this = reinterpret_cast< FullAuthenticationRequestData* >(object); (void)_this; } void FullAuthenticationRequestData::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } void FullAuthenticationRequestData::SetCachedSize(int size) const { _cached_size_.Set(size); } void FullAuthenticationRequestData::clear_data() { // @@protoc_insertion_point(one_of_clear_start:backup.FullAuthenticationRequestData) switch (data_case()) { case kPakeAuthenticationRequestData: { if (GetArena() == nullptr) { delete data_.pakeauthenticationrequestdata_; } break; } case kWalletAuthenticationRequestData: { if (GetArena() == nullptr) { delete data_.walletauthenticationrequestdata_; } break; } case DATA_NOT_SET: { break; } } _oneof_case_[0] = DATA_NOT_SET; } void FullAuthenticationRequestData::Clear() { // @@protoc_insertion_point(message_clear_start:backup.FullAuthenticationRequestData) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; clear_data(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* FullAuthenticationRequestData::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { ::PROTOBUF_NAMESPACE_ID::uint32 tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); CHK_(ptr); switch (tag >> 3) { // .backup.PakeAuthenticationRequestData pakeAuthenticationRequestData = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { ptr = ctx->ParseMessage(_internal_mutable_pakeauthenticationrequestdata(), ptr); CHK_(ptr); } else goto handle_unusual; continue; // .backup.WalletAuthenticationRequestData walletAuthenticationRequestData = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { ptr = ctx->ParseMessage(_internal_mutable_walletauthenticationrequestdata(), ptr); CHK_(ptr); } else goto handle_unusual; continue; default: { handle_unusual: if ((tag & 7) == 4 || tag == 0) { ctx->SetLastTag(tag); goto success; } ptr = UnknownFieldParse(tag, _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), ptr, ctx); CHK_(ptr != nullptr); continue; } } // switch } // while success: return ptr; failure: ptr = nullptr; goto success; #undef CHK_ } ::PROTOBUF_NAMESPACE_ID::uint8* FullAuthenticationRequestData::_InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:backup.FullAuthenticationRequestData) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; // .backup.PakeAuthenticationRequestData pakeAuthenticationRequestData = 1; if (_internal_has_pakeauthenticationrequestdata()) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: InternalWriteMessage( 1, _Internal::pakeauthenticationrequestdata(this), target, stream); } // .backup.WalletAuthenticationRequestData walletAuthenticationRequestData = 2; if (_internal_has_walletauthenticationrequestdata()) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: InternalWriteMessage( 2, _Internal::walletauthenticationrequestdata(this), target, stream); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:backup.FullAuthenticationRequestData) return target; } size_t FullAuthenticationRequestData::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:backup.FullAuthenticationRequestData) size_t total_size = 0; ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; switch (data_case()) { // .backup.PakeAuthenticationRequestData pakeAuthenticationRequestData = 1; case kPakeAuthenticationRequestData: { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( *data_.pakeauthenticationrequestdata_); break; } // .backup.WalletAuthenticationRequestData walletAuthenticationRequestData = 2; case kWalletAuthenticationRequestData: { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( *data_.walletauthenticationrequestdata_); break; } case DATA_NOT_SET: { break; } } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( _internal_metadata_, total_size, &_cached_size_); } int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); SetCachedSize(cached_size); return total_size; } void FullAuthenticationRequestData::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:backup.FullAuthenticationRequestData) GOOGLE_DCHECK_NE(&from, this); const FullAuthenticationRequestData* source = ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated( &from); if (source == nullptr) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:backup.FullAuthenticationRequestData) ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:backup.FullAuthenticationRequestData) MergeFrom(*source); } } void FullAuthenticationRequestData::MergeFrom(const FullAuthenticationRequestData& from) { // @@protoc_insertion_point(class_specific_merge_from_start:backup.FullAuthenticationRequestData) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; switch (from.data_case()) { case kPakeAuthenticationRequestData: { _internal_mutable_pakeauthenticationrequestdata()->::backup::PakeAuthenticationRequestData::MergeFrom(from._internal_pakeauthenticationrequestdata()); break; } case kWalletAuthenticationRequestData: { _internal_mutable_walletauthenticationrequestdata()->::backup::WalletAuthenticationRequestData::MergeFrom(from._internal_walletauthenticationrequestdata()); break; } case DATA_NOT_SET: { break; } } } void FullAuthenticationRequestData::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:backup.FullAuthenticationRequestData) if (&from == this) return; Clear(); MergeFrom(from); } void FullAuthenticationRequestData::CopyFrom(const FullAuthenticationRequestData& from) { // @@protoc_insertion_point(class_specific_copy_from_start:backup.FullAuthenticationRequestData) if (&from == this) return; Clear(); MergeFrom(from); } bool FullAuthenticationRequestData::IsInitialized() const { return true; } void FullAuthenticationRequestData::InternalSwap(FullAuthenticationRequestData* other) { using std::swap; _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); swap(data_, other->data_); swap(_oneof_case_[0], other->_oneof_case_[0]); } ::PROTOBUF_NAMESPACE_ID::Metadata FullAuthenticationRequestData::GetMetadata() const { return GetMetadataStatic(); } // =================================================================== class WalletAuthenticationResponseData::_Internal { public: }; WalletAuthenticationResponseData::WalletAuthenticationResponseData(::PROTOBUF_NAMESPACE_ID::Arena* arena) : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); RegisterArenaDtor(arena); // @@protoc_insertion_point(arena_constructor:backup.WalletAuthenticationResponseData) } WalletAuthenticationResponseData::WalletAuthenticationResponseData(const WalletAuthenticationResponseData& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); success_ = from.success_; // @@protoc_insertion_point(copy_constructor:backup.WalletAuthenticationResponseData) } void WalletAuthenticationResponseData::SharedCtor() { success_ = false; } WalletAuthenticationResponseData::~WalletAuthenticationResponseData() { // @@protoc_insertion_point(destructor:backup.WalletAuthenticationResponseData) SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void WalletAuthenticationResponseData::SharedDtor() { GOOGLE_DCHECK(GetArena() == nullptr); } void WalletAuthenticationResponseData::ArenaDtor(void* object) { WalletAuthenticationResponseData* _this = reinterpret_cast< WalletAuthenticationResponseData* >(object); (void)_this; } void WalletAuthenticationResponseData::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } void WalletAuthenticationResponseData::SetCachedSize(int size) const { _cached_size_.Set(size); } void WalletAuthenticationResponseData::Clear() { // @@protoc_insertion_point(message_clear_start:backup.WalletAuthenticationResponseData) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; success_ = false; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* WalletAuthenticationResponseData::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { ::PROTOBUF_NAMESPACE_ID::uint32 tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); CHK_(ptr); switch (tag >> 3) { // bool success = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { success_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); } else goto handle_unusual; continue; default: { handle_unusual: if ((tag & 7) == 4 || tag == 0) { ctx->SetLastTag(tag); goto success; } ptr = UnknownFieldParse(tag, _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), ptr, ctx); CHK_(ptr != nullptr); continue; } } // switch } // while success: return ptr; failure: ptr = nullptr; goto success; #undef CHK_ } ::PROTOBUF_NAMESPACE_ID::uint8* WalletAuthenticationResponseData::_InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:backup.WalletAuthenticationResponseData) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; // bool success = 1; if (this->success() != 0) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_success(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:backup.WalletAuthenticationResponseData) return target; } size_t WalletAuthenticationResponseData::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:backup.WalletAuthenticationResponseData) size_t total_size = 0; ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; // bool success = 1; if (this->success() != 0) { total_size += 1 + 1; } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( _internal_metadata_, total_size, &_cached_size_); } int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); SetCachedSize(cached_size); return total_size; } void WalletAuthenticationResponseData::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:backup.WalletAuthenticationResponseData) GOOGLE_DCHECK_NE(&from, this); const WalletAuthenticationResponseData* source = ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated( &from); if (source == nullptr) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:backup.WalletAuthenticationResponseData) ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:backup.WalletAuthenticationResponseData) MergeFrom(*source); } } void WalletAuthenticationResponseData::MergeFrom(const WalletAuthenticationResponseData& from) { // @@protoc_insertion_point(class_specific_merge_from_start:backup.WalletAuthenticationResponseData) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; if (from.success() != 0) { _internal_set_success(from._internal_success()); } } void WalletAuthenticationResponseData::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:backup.WalletAuthenticationResponseData) if (&from == this) return; Clear(); MergeFrom(from); } void WalletAuthenticationResponseData::CopyFrom(const WalletAuthenticationResponseData& from) { // @@protoc_insertion_point(class_specific_copy_from_start:backup.WalletAuthenticationResponseData) if (&from == this) return; Clear(); MergeFrom(from); } bool WalletAuthenticationResponseData::IsInitialized() const { return true; } void WalletAuthenticationResponseData::InternalSwap(WalletAuthenticationResponseData* other) { using std::swap; _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); swap(success_, other->success_); } ::PROTOBUF_NAMESPACE_ID::Metadata WalletAuthenticationResponseData::GetMetadata() const { return GetMetadataStatic(); } // =================================================================== class PakeAuthenticationResponseData::_Internal { public: }; PakeAuthenticationResponseData::PakeAuthenticationResponseData(::PROTOBUF_NAMESPACE_ID::Arena* arena) : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); RegisterArenaDtor(arena); // @@protoc_insertion_point(arena_constructor:backup.PakeAuthenticationResponseData) } PakeAuthenticationResponseData::PakeAuthenticationResponseData(const PakeAuthenticationResponseData& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); clear_has_data(); switch (from.data_case()) { case kPakeRegistrationResponse: { _internal_set_pakeregistrationresponse(from._internal_pakeregistrationresponse()); break; } case kPakeRegistrationSuccess: { _internal_set_pakeregistrationsuccess(from._internal_pakeregistrationsuccess()); break; } case kPakeCredentialResponse: { _internal_set_pakecredentialresponse(from._internal_pakecredentialresponse()); break; } case kPakeServerMAC: { _internal_set_pakeservermac(from._internal_pakeservermac()); break; } case DATA_NOT_SET: { break; } } // @@protoc_insertion_point(copy_constructor:backup.PakeAuthenticationResponseData) } void PakeAuthenticationResponseData::SharedCtor() { clear_has_data(); } PakeAuthenticationResponseData::~PakeAuthenticationResponseData() { // @@protoc_insertion_point(destructor:backup.PakeAuthenticationResponseData) SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void PakeAuthenticationResponseData::SharedDtor() { GOOGLE_DCHECK(GetArena() == nullptr); if (has_data()) { clear_data(); } } void PakeAuthenticationResponseData::ArenaDtor(void* object) { PakeAuthenticationResponseData* _this = reinterpret_cast< PakeAuthenticationResponseData* >(object); (void)_this; } void PakeAuthenticationResponseData::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } void PakeAuthenticationResponseData::SetCachedSize(int size) const { _cached_size_.Set(size); } void PakeAuthenticationResponseData::clear_data() { // @@protoc_insertion_point(one_of_clear_start:backup.PakeAuthenticationResponseData) switch (data_case()) { case kPakeRegistrationResponse: { data_.pakeregistrationresponse_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); break; } case kPakeRegistrationSuccess: { // No need to clear break; } case kPakeCredentialResponse: { data_.pakecredentialresponse_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); break; } case kPakeServerMAC: { data_.pakeservermac_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); break; } case DATA_NOT_SET: { break; } } _oneof_case_[0] = DATA_NOT_SET; } void PakeAuthenticationResponseData::Clear() { // @@protoc_insertion_point(message_clear_start:backup.PakeAuthenticationResponseData) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; clear_data(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* PakeAuthenticationResponseData::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { ::PROTOBUF_NAMESPACE_ID::uint32 tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); CHK_(ptr); switch (tag >> 3) { // bytes pakeRegistrationResponse = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { auto str = _internal_mutable_pakeregistrationresponse(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); } else goto handle_unusual; continue; // bool pakeRegistrationSuccess = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { _internal_set_pakeregistrationsuccess(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr)); CHK_(ptr); } else goto handle_unusual; continue; // bytes pakeCredentialResponse = 3; case 3: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { auto str = _internal_mutable_pakecredentialresponse(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); } else goto handle_unusual; continue; // bytes pakeServerMAC = 4; case 4: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { auto str = _internal_mutable_pakeservermac(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); } else goto handle_unusual; continue; default: { handle_unusual: if ((tag & 7) == 4 || tag == 0) { ctx->SetLastTag(tag); goto success; } ptr = UnknownFieldParse(tag, _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), ptr, ctx); CHK_(ptr != nullptr); continue; } } // switch } // while success: return ptr; failure: ptr = nullptr; goto success; #undef CHK_ } ::PROTOBUF_NAMESPACE_ID::uint8* PakeAuthenticationResponseData::_InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:backup.PakeAuthenticationResponseData) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; // bytes pakeRegistrationResponse = 1; if (_internal_has_pakeregistrationresponse()) { target = stream->WriteBytesMaybeAliased( 1, this->_internal_pakeregistrationresponse(), target); } // bool pakeRegistrationSuccess = 2; if (_internal_has_pakeregistrationsuccess()) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_pakeregistrationsuccess(), target); } // bytes pakeCredentialResponse = 3; if (_internal_has_pakecredentialresponse()) { target = stream->WriteBytesMaybeAliased( 3, this->_internal_pakecredentialresponse(), target); } // bytes pakeServerMAC = 4; if (_internal_has_pakeservermac()) { target = stream->WriteBytesMaybeAliased( 4, this->_internal_pakeservermac(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:backup.PakeAuthenticationResponseData) return target; } size_t PakeAuthenticationResponseData::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:backup.PakeAuthenticationResponseData) size_t total_size = 0; ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; switch (data_case()) { // bytes pakeRegistrationResponse = 1; case kPakeRegistrationResponse: { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( this->_internal_pakeregistrationresponse()); break; } // bool pakeRegistrationSuccess = 2; case kPakeRegistrationSuccess: { total_size += 1 + 1; break; } // bytes pakeCredentialResponse = 3; case kPakeCredentialResponse: { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( this->_internal_pakecredentialresponse()); break; } // bytes pakeServerMAC = 4; case kPakeServerMAC: { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( this->_internal_pakeservermac()); break; } case DATA_NOT_SET: { break; } } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( _internal_metadata_, total_size, &_cached_size_); } int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); SetCachedSize(cached_size); return total_size; } void PakeAuthenticationResponseData::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:backup.PakeAuthenticationResponseData) GOOGLE_DCHECK_NE(&from, this); const PakeAuthenticationResponseData* source = ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated( &from); if (source == nullptr) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:backup.PakeAuthenticationResponseData) ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:backup.PakeAuthenticationResponseData) MergeFrom(*source); } } void PakeAuthenticationResponseData::MergeFrom(const PakeAuthenticationResponseData& from) { // @@protoc_insertion_point(class_specific_merge_from_start:backup.PakeAuthenticationResponseData) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; switch (from.data_case()) { case kPakeRegistrationResponse: { _internal_set_pakeregistrationresponse(from._internal_pakeregistrationresponse()); break; } case kPakeRegistrationSuccess: { _internal_set_pakeregistrationsuccess(from._internal_pakeregistrationsuccess()); break; } case kPakeCredentialResponse: { _internal_set_pakecredentialresponse(from._internal_pakecredentialresponse()); break; } case kPakeServerMAC: { _internal_set_pakeservermac(from._internal_pakeservermac()); break; } case DATA_NOT_SET: { break; } } } void PakeAuthenticationResponseData::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:backup.PakeAuthenticationResponseData) if (&from == this) return; Clear(); MergeFrom(from); } void PakeAuthenticationResponseData::CopyFrom(const PakeAuthenticationResponseData& from) { // @@protoc_insertion_point(class_specific_copy_from_start:backup.PakeAuthenticationResponseData) if (&from == this) return; Clear(); MergeFrom(from); } bool PakeAuthenticationResponseData::IsInitialized() const { return true; } void PakeAuthenticationResponseData::InternalSwap(PakeAuthenticationResponseData* other) { using std::swap; _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); swap(data_, other->data_); swap(_oneof_case_[0], other->_oneof_case_[0]); } ::PROTOBUF_NAMESPACE_ID::Metadata PakeAuthenticationResponseData::GetMetadata() const { return GetMetadataStatic(); } // =================================================================== class FullAuthenticationResponseData::_Internal { public: static const ::backup::PakeAuthenticationResponseData& pakeauthenticationresponsedata(const FullAuthenticationResponseData* msg); static const ::backup::WalletAuthenticationResponseData& walletauthenticationresponsedata(const FullAuthenticationResponseData* msg); }; const ::backup::PakeAuthenticationResponseData& FullAuthenticationResponseData::_Internal::pakeauthenticationresponsedata(const FullAuthenticationResponseData* msg) { return *msg->data_.pakeauthenticationresponsedata_; } const ::backup::WalletAuthenticationResponseData& FullAuthenticationResponseData::_Internal::walletauthenticationresponsedata(const FullAuthenticationResponseData* msg) { return *msg->data_.walletauthenticationresponsedata_; } void FullAuthenticationResponseData::set_allocated_pakeauthenticationresponsedata(::backup::PakeAuthenticationResponseData* pakeauthenticationresponsedata) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); clear_data(); if (pakeauthenticationresponsedata) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(pakeauthenticationresponsedata); if (message_arena != submessage_arena) { pakeauthenticationresponsedata = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, pakeauthenticationresponsedata, submessage_arena); } set_has_pakeauthenticationresponsedata(); data_.pakeauthenticationresponsedata_ = pakeauthenticationresponsedata; } // @@protoc_insertion_point(field_set_allocated:backup.FullAuthenticationResponseData.pakeAuthenticationResponseData) } void FullAuthenticationResponseData::set_allocated_walletauthenticationresponsedata(::backup::WalletAuthenticationResponseData* walletauthenticationresponsedata) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); clear_data(); if (walletauthenticationresponsedata) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(walletauthenticationresponsedata); if (message_arena != submessage_arena) { walletauthenticationresponsedata = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, walletauthenticationresponsedata, submessage_arena); } set_has_walletauthenticationresponsedata(); data_.walletauthenticationresponsedata_ = walletauthenticationresponsedata; } // @@protoc_insertion_point(field_set_allocated:backup.FullAuthenticationResponseData.walletAuthenticationResponseData) } FullAuthenticationResponseData::FullAuthenticationResponseData(::PROTOBUF_NAMESPACE_ID::Arena* arena) : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); RegisterArenaDtor(arena); // @@protoc_insertion_point(arena_constructor:backup.FullAuthenticationResponseData) } FullAuthenticationResponseData::FullAuthenticationResponseData(const FullAuthenticationResponseData& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); clear_has_data(); switch (from.data_case()) { case kPakeAuthenticationResponseData: { _internal_mutable_pakeauthenticationresponsedata()->::backup::PakeAuthenticationResponseData::MergeFrom(from._internal_pakeauthenticationresponsedata()); break; } case kWalletAuthenticationResponseData: { _internal_mutable_walletauthenticationresponsedata()->::backup::WalletAuthenticationResponseData::MergeFrom(from._internal_walletauthenticationresponsedata()); break; } case DATA_NOT_SET: { break; } } // @@protoc_insertion_point(copy_constructor:backup.FullAuthenticationResponseData) } void FullAuthenticationResponseData::SharedCtor() { clear_has_data(); } FullAuthenticationResponseData::~FullAuthenticationResponseData() { // @@protoc_insertion_point(destructor:backup.FullAuthenticationResponseData) SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void FullAuthenticationResponseData::SharedDtor() { GOOGLE_DCHECK(GetArena() == nullptr); if (has_data()) { clear_data(); } } void FullAuthenticationResponseData::ArenaDtor(void* object) { FullAuthenticationResponseData* _this = reinterpret_cast< FullAuthenticationResponseData* >(object); (void)_this; } void FullAuthenticationResponseData::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } void FullAuthenticationResponseData::SetCachedSize(int size) const { _cached_size_.Set(size); } void FullAuthenticationResponseData::clear_data() { // @@protoc_insertion_point(one_of_clear_start:backup.FullAuthenticationResponseData) switch (data_case()) { case kPakeAuthenticationResponseData: { if (GetArena() == nullptr) { delete data_.pakeauthenticationresponsedata_; } break; } case kWalletAuthenticationResponseData: { if (GetArena() == nullptr) { delete data_.walletauthenticationresponsedata_; } break; } case DATA_NOT_SET: { break; } } _oneof_case_[0] = DATA_NOT_SET; } void FullAuthenticationResponseData::Clear() { // @@protoc_insertion_point(message_clear_start:backup.FullAuthenticationResponseData) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; clear_data(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* FullAuthenticationResponseData::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { ::PROTOBUF_NAMESPACE_ID::uint32 tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); CHK_(ptr); switch (tag >> 3) { // .backup.PakeAuthenticationResponseData pakeAuthenticationResponseData = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { ptr = ctx->ParseMessage(_internal_mutable_pakeauthenticationresponsedata(), ptr); CHK_(ptr); } else goto handle_unusual; continue; // .backup.WalletAuthenticationResponseData walletAuthenticationResponseData = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { ptr = ctx->ParseMessage(_internal_mutable_walletauthenticationresponsedata(), ptr); CHK_(ptr); } else goto handle_unusual; continue; default: { handle_unusual: if ((tag & 7) == 4 || tag == 0) { ctx->SetLastTag(tag); goto success; } ptr = UnknownFieldParse(tag, _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), ptr, ctx); CHK_(ptr != nullptr); continue; } } // switch } // while success: return ptr; failure: ptr = nullptr; goto success; #undef CHK_ } ::PROTOBUF_NAMESPACE_ID::uint8* FullAuthenticationResponseData::_InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:backup.FullAuthenticationResponseData) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; // .backup.PakeAuthenticationResponseData pakeAuthenticationResponseData = 1; if (_internal_has_pakeauthenticationresponsedata()) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: InternalWriteMessage( 1, _Internal::pakeauthenticationresponsedata(this), target, stream); } // .backup.WalletAuthenticationResponseData walletAuthenticationResponseData = 2; if (_internal_has_walletauthenticationresponsedata()) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: InternalWriteMessage( 2, _Internal::walletauthenticationresponsedata(this), target, stream); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:backup.FullAuthenticationResponseData) return target; } size_t FullAuthenticationResponseData::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:backup.FullAuthenticationResponseData) size_t total_size = 0; ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; switch (data_case()) { // .backup.PakeAuthenticationResponseData pakeAuthenticationResponseData = 1; case kPakeAuthenticationResponseData: { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( *data_.pakeauthenticationresponsedata_); break; } // .backup.WalletAuthenticationResponseData walletAuthenticationResponseData = 2; case kWalletAuthenticationResponseData: { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( *data_.walletauthenticationresponsedata_); break; } case DATA_NOT_SET: { break; } } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( _internal_metadata_, total_size, &_cached_size_); } int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); SetCachedSize(cached_size); return total_size; } void FullAuthenticationResponseData::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:backup.FullAuthenticationResponseData) GOOGLE_DCHECK_NE(&from, this); const FullAuthenticationResponseData* source = ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated( &from); if (source == nullptr) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:backup.FullAuthenticationResponseData) ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:backup.FullAuthenticationResponseData) MergeFrom(*source); } } void FullAuthenticationResponseData::MergeFrom(const FullAuthenticationResponseData& from) { // @@protoc_insertion_point(class_specific_merge_from_start:backup.FullAuthenticationResponseData) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; switch (from.data_case()) { case kPakeAuthenticationResponseData: { _internal_mutable_pakeauthenticationresponsedata()->::backup::PakeAuthenticationResponseData::MergeFrom(from._internal_pakeauthenticationresponsedata()); break; } case kWalletAuthenticationResponseData: { _internal_mutable_walletauthenticationresponsedata()->::backup::WalletAuthenticationResponseData::MergeFrom(from._internal_walletauthenticationresponsedata()); break; } case DATA_NOT_SET: { break; } } } void FullAuthenticationResponseData::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:backup.FullAuthenticationResponseData) if (&from == this) return; Clear(); MergeFrom(from); } void FullAuthenticationResponseData::CopyFrom(const FullAuthenticationResponseData& from) { // @@protoc_insertion_point(class_specific_copy_from_start:backup.FullAuthenticationResponseData) if (&from == this) return; Clear(); MergeFrom(from); } bool FullAuthenticationResponseData::IsInitialized() const { return true; } void FullAuthenticationResponseData::InternalSwap(FullAuthenticationResponseData* other) { using std::swap; _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); swap(data_, other->data_); swap(_oneof_case_[0], other->_oneof_case_[0]); } ::PROTOBUF_NAMESPACE_ID::Metadata FullAuthenticationResponseData::GetMetadata() const { return GetMetadataStatic(); } // =================================================================== class SimpleAuthenticationRequestData::_Internal { public: }; SimpleAuthenticationRequestData::SimpleAuthenticationRequestData(::PROTOBUF_NAMESPACE_ID::Arena* arena) : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); RegisterArenaDtor(arena); // @@protoc_insertion_point(arena_constructor:backup.SimpleAuthenticationRequestData) } SimpleAuthenticationRequestData::SimpleAuthenticationRequestData(const SimpleAuthenticationRequestData& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); backupid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_backupid().empty()) { backupid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_backupid(), GetArena()); } userid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_userid().empty()) { userid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_userid(), GetArena()); } // @@protoc_insertion_point(copy_constructor:backup.SimpleAuthenticationRequestData) } void SimpleAuthenticationRequestData::SharedCtor() { backupid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); userid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } SimpleAuthenticationRequestData::~SimpleAuthenticationRequestData() { // @@protoc_insertion_point(destructor:backup.SimpleAuthenticationRequestData) SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void SimpleAuthenticationRequestData::SharedDtor() { GOOGLE_DCHECK(GetArena() == nullptr); backupid_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); userid_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } void SimpleAuthenticationRequestData::ArenaDtor(void* object) { SimpleAuthenticationRequestData* _this = reinterpret_cast< SimpleAuthenticationRequestData* >(object); (void)_this; } void SimpleAuthenticationRequestData::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } void SimpleAuthenticationRequestData::SetCachedSize(int size) const { _cached_size_.Set(size); } void SimpleAuthenticationRequestData::Clear() { // @@protoc_insertion_point(message_clear_start:backup.SimpleAuthenticationRequestData) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; backupid_.ClearToEmpty(); userid_.ClearToEmpty(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* SimpleAuthenticationRequestData::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { ::PROTOBUF_NAMESPACE_ID::uint32 tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); CHK_(ptr); switch (tag >> 3) { // string backupID = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { auto str = _internal_mutable_backupid(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "backup.SimpleAuthenticationRequestData.backupID")); CHK_(ptr); } else goto handle_unusual; continue; // string userID = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { auto str = _internal_mutable_userid(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "backup.SimpleAuthenticationRequestData.userID")); CHK_(ptr); } else goto handle_unusual; continue; default: { handle_unusual: if ((tag & 7) == 4 || tag == 0) { ctx->SetLastTag(tag); goto success; } ptr = UnknownFieldParse(tag, _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), ptr, ctx); CHK_(ptr != nullptr); continue; } } // switch } // while success: return ptr; failure: ptr = nullptr; goto success; #undef CHK_ } ::PROTOBUF_NAMESPACE_ID::uint8* SimpleAuthenticationRequestData::_InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:backup.SimpleAuthenticationRequestData) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; // string backupID = 1; if (this->backupid().size() > 0) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_backupid().data(), static_cast(this->_internal_backupid().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "backup.SimpleAuthenticationRequestData.backupID"); target = stream->WriteStringMaybeAliased( 1, this->_internal_backupid(), target); } // string userID = 2; if (this->userid().size() > 0) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_userid().data(), static_cast(this->_internal_userid().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "backup.SimpleAuthenticationRequestData.userID"); target = stream->WriteStringMaybeAliased( 2, this->_internal_userid(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:backup.SimpleAuthenticationRequestData) return target; } size_t SimpleAuthenticationRequestData::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:backup.SimpleAuthenticationRequestData) size_t total_size = 0; ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; // string backupID = 1; if (this->backupid().size() > 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_backupid()); } // string userID = 2; if (this->userid().size() > 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_userid()); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( _internal_metadata_, total_size, &_cached_size_); } int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); SetCachedSize(cached_size); return total_size; } void SimpleAuthenticationRequestData::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:backup.SimpleAuthenticationRequestData) GOOGLE_DCHECK_NE(&from, this); const SimpleAuthenticationRequestData* source = ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated( &from); if (source == nullptr) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:backup.SimpleAuthenticationRequestData) ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:backup.SimpleAuthenticationRequestData) MergeFrom(*source); } } void SimpleAuthenticationRequestData::MergeFrom(const SimpleAuthenticationRequestData& from) { // @@protoc_insertion_point(class_specific_merge_from_start:backup.SimpleAuthenticationRequestData) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; if (from.backupid().size() > 0) { _internal_set_backupid(from._internal_backupid()); } if (from.userid().size() > 0) { _internal_set_userid(from._internal_userid()); } } void SimpleAuthenticationRequestData::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:backup.SimpleAuthenticationRequestData) if (&from == this) return; Clear(); MergeFrom(from); } void SimpleAuthenticationRequestData::CopyFrom(const SimpleAuthenticationRequestData& from) { // @@protoc_insertion_point(class_specific_copy_from_start:backup.SimpleAuthenticationRequestData) if (&from == this) return; Clear(); MergeFrom(from); } bool SimpleAuthenticationRequestData::IsInitialized() const { return true; } void SimpleAuthenticationRequestData::InternalSwap(SimpleAuthenticationRequestData* other) { using std::swap; _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); backupid_.Swap(&other->backupid_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); userid_.Swap(&other->userid_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } ::PROTOBUF_NAMESPACE_ID::Metadata SimpleAuthenticationRequestData::GetMetadata() const { return GetMetadataStatic(); } // =================================================================== class BackupKeyEntropy::_Internal { public: }; BackupKeyEntropy::BackupKeyEntropy(::PROTOBUF_NAMESPACE_ID::Arena* arena) : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); RegisterArenaDtor(arena); // @@protoc_insertion_point(arena_constructor:backup.BackupKeyEntropy) } BackupKeyEntropy::BackupKeyEntropy(const BackupKeyEntropy& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); clear_has_data(); switch (from.data_case()) { case kNonce: { _internal_set_nonce(from._internal_nonce()); break; } case kRawMessage: { _internal_set_rawmessage(from._internal_rawmessage()); break; } case DATA_NOT_SET: { break; } } // @@protoc_insertion_point(copy_constructor:backup.BackupKeyEntropy) } void BackupKeyEntropy::SharedCtor() { clear_has_data(); } BackupKeyEntropy::~BackupKeyEntropy() { // @@protoc_insertion_point(destructor:backup.BackupKeyEntropy) SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void BackupKeyEntropy::SharedDtor() { GOOGLE_DCHECK(GetArena() == nullptr); if (has_data()) { clear_data(); } } void BackupKeyEntropy::ArenaDtor(void* object) { BackupKeyEntropy* _this = reinterpret_cast< BackupKeyEntropy* >(object); (void)_this; } void BackupKeyEntropy::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } void BackupKeyEntropy::SetCachedSize(int size) const { _cached_size_.Set(size); } void BackupKeyEntropy::clear_data() { // @@protoc_insertion_point(one_of_clear_start:backup.BackupKeyEntropy) switch (data_case()) { case kNonce: { data_.nonce_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); break; } case kRawMessage: { data_.rawmessage_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); break; } case DATA_NOT_SET: { break; } } _oneof_case_[0] = DATA_NOT_SET; } void BackupKeyEntropy::Clear() { // @@protoc_insertion_point(message_clear_start:backup.BackupKeyEntropy) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; clear_data(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* BackupKeyEntropy::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { ::PROTOBUF_NAMESPACE_ID::uint32 tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); CHK_(ptr); switch (tag >> 3) { // bytes nonce = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { auto str = _internal_mutable_nonce(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); } else goto handle_unusual; continue; // bytes rawMessage = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { auto str = _internal_mutable_rawmessage(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); } else goto handle_unusual; continue; default: { handle_unusual: if ((tag & 7) == 4 || tag == 0) { ctx->SetLastTag(tag); goto success; } ptr = UnknownFieldParse(tag, _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), ptr, ctx); CHK_(ptr != nullptr); continue; } } // switch } // while success: return ptr; failure: ptr = nullptr; goto success; #undef CHK_ } ::PROTOBUF_NAMESPACE_ID::uint8* BackupKeyEntropy::_InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:backup.BackupKeyEntropy) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; // bytes nonce = 1; if (_internal_has_nonce()) { target = stream->WriteBytesMaybeAliased( 1, this->_internal_nonce(), target); } // bytes rawMessage = 2; if (_internal_has_rawmessage()) { target = stream->WriteBytesMaybeAliased( 2, this->_internal_rawmessage(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:backup.BackupKeyEntropy) return target; } size_t BackupKeyEntropy::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:backup.BackupKeyEntropy) size_t total_size = 0; ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; switch (data_case()) { // bytes nonce = 1; case kNonce: { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( this->_internal_nonce()); break; } // bytes rawMessage = 2; case kRawMessage: { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( this->_internal_rawmessage()); break; } case DATA_NOT_SET: { break; } } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( _internal_metadata_, total_size, &_cached_size_); } int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); SetCachedSize(cached_size); return total_size; } void BackupKeyEntropy::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:backup.BackupKeyEntropy) GOOGLE_DCHECK_NE(&from, this); const BackupKeyEntropy* source = ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated( &from); if (source == nullptr) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:backup.BackupKeyEntropy) ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:backup.BackupKeyEntropy) MergeFrom(*source); } } void BackupKeyEntropy::MergeFrom(const BackupKeyEntropy& from) { // @@protoc_insertion_point(class_specific_merge_from_start:backup.BackupKeyEntropy) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; switch (from.data_case()) { case kNonce: { _internal_set_nonce(from._internal_nonce()); break; } case kRawMessage: { _internal_set_rawmessage(from._internal_rawmessage()); break; } case DATA_NOT_SET: { break; } } } void BackupKeyEntropy::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:backup.BackupKeyEntropy) if (&from == this) return; Clear(); MergeFrom(from); } void BackupKeyEntropy::CopyFrom(const BackupKeyEntropy& from) { // @@protoc_insertion_point(class_specific_copy_from_start:backup.BackupKeyEntropy) if (&from == this) return; Clear(); MergeFrom(from); } bool BackupKeyEntropy::IsInitialized() const { return true; } void BackupKeyEntropy::InternalSwap(BackupKeyEntropy* other) { using std::swap; _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); swap(data_, other->data_); swap(_oneof_case_[0], other->_oneof_case_[0]); } ::PROTOBUF_NAMESPACE_ID::Metadata BackupKeyEntropy::GetMetadata() const { return GetMetadataStatic(); } // =================================================================== class CreateNewBackupRequest::_Internal { public: static const ::backup::FullAuthenticationRequestData& authenticationrequestdata(const CreateNewBackupRequest* msg); static const ::backup::BackupKeyEntropy& backupkeyentropy(const CreateNewBackupRequest* msg); }; const ::backup::FullAuthenticationRequestData& CreateNewBackupRequest::_Internal::authenticationrequestdata(const CreateNewBackupRequest* msg) { return *msg->data_.authenticationrequestdata_; } const ::backup::BackupKeyEntropy& CreateNewBackupRequest::_Internal::backupkeyentropy(const CreateNewBackupRequest* msg) { return *msg->data_.backupkeyentropy_; } void CreateNewBackupRequest::set_allocated_authenticationrequestdata(::backup::FullAuthenticationRequestData* authenticationrequestdata) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); clear_data(); if (authenticationrequestdata) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(authenticationrequestdata); if (message_arena != submessage_arena) { authenticationrequestdata = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, authenticationrequestdata, submessage_arena); } set_has_authenticationrequestdata(); data_.authenticationrequestdata_ = authenticationrequestdata; } // @@protoc_insertion_point(field_set_allocated:backup.CreateNewBackupRequest.authenticationRequestData) } void CreateNewBackupRequest::set_allocated_backupkeyentropy(::backup::BackupKeyEntropy* backupkeyentropy) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); clear_data(); if (backupkeyentropy) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(backupkeyentropy); if (message_arena != submessage_arena) { backupkeyentropy = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, backupkeyentropy, submessage_arena); } set_has_backupkeyentropy(); data_.backupkeyentropy_ = backupkeyentropy; } // @@protoc_insertion_point(field_set_allocated:backup.CreateNewBackupRequest.backupKeyEntropy) } CreateNewBackupRequest::CreateNewBackupRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena) : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); RegisterArenaDtor(arena); // @@protoc_insertion_point(arena_constructor:backup.CreateNewBackupRequest) } CreateNewBackupRequest::CreateNewBackupRequest(const CreateNewBackupRequest& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); clear_has_data(); switch (from.data_case()) { case kAuthenticationRequestData: { _internal_mutable_authenticationrequestdata()->::backup::FullAuthenticationRequestData::MergeFrom(from._internal_authenticationrequestdata()); break; } case kBackupKeyEntropy: { _internal_mutable_backupkeyentropy()->::backup::BackupKeyEntropy::MergeFrom(from._internal_backupkeyentropy()); break; } + case kNewCompactionHash: { + _internal_set_newcompactionhash(from._internal_newcompactionhash()); + break; + } case kNewCompactionChunk: { _internal_set_newcompactionchunk(from._internal_newcompactionchunk()); break; } case DATA_NOT_SET: { break; } } // @@protoc_insertion_point(copy_constructor:backup.CreateNewBackupRequest) } void CreateNewBackupRequest::SharedCtor() { clear_has_data(); } CreateNewBackupRequest::~CreateNewBackupRequest() { // @@protoc_insertion_point(destructor:backup.CreateNewBackupRequest) SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void CreateNewBackupRequest::SharedDtor() { GOOGLE_DCHECK(GetArena() == nullptr); if (has_data()) { clear_data(); } } void CreateNewBackupRequest::ArenaDtor(void* object) { CreateNewBackupRequest* _this = reinterpret_cast< CreateNewBackupRequest* >(object); (void)_this; } void CreateNewBackupRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } void CreateNewBackupRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } void CreateNewBackupRequest::clear_data() { // @@protoc_insertion_point(one_of_clear_start:backup.CreateNewBackupRequest) switch (data_case()) { case kAuthenticationRequestData: { if (GetArena() == nullptr) { delete data_.authenticationrequestdata_; } break; } case kBackupKeyEntropy: { if (GetArena() == nullptr) { delete data_.backupkeyentropy_; } break; } + case kNewCompactionHash: { + data_.newcompactionhash_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); + break; + } case kNewCompactionChunk: { data_.newcompactionchunk_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); break; } case DATA_NOT_SET: { break; } } _oneof_case_[0] = DATA_NOT_SET; } void CreateNewBackupRequest::Clear() { // @@protoc_insertion_point(message_clear_start:backup.CreateNewBackupRequest) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; clear_data(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* CreateNewBackupRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { ::PROTOBUF_NAMESPACE_ID::uint32 tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); CHK_(ptr); switch (tag >> 3) { // .backup.FullAuthenticationRequestData authenticationRequestData = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { ptr = ctx->ParseMessage(_internal_mutable_authenticationrequestdata(), ptr); CHK_(ptr); } else goto handle_unusual; continue; // .backup.BackupKeyEntropy backupKeyEntropy = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { ptr = ctx->ParseMessage(_internal_mutable_backupkeyentropy(), ptr); CHK_(ptr); } else goto handle_unusual; continue; - // bytes newCompactionChunk = 3; + // bytes newCompactionHash = 3; case 3: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + auto str = _internal_mutable_newcompactionhash(); + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bytes newCompactionChunk = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { auto str = _internal_mutable_newcompactionchunk(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); } else goto handle_unusual; continue; default: { handle_unusual: if ((tag & 7) == 4 || tag == 0) { ctx->SetLastTag(tag); goto success; } ptr = UnknownFieldParse(tag, _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), ptr, ctx); CHK_(ptr != nullptr); continue; } } // switch } // while success: return ptr; failure: ptr = nullptr; goto success; #undef CHK_ } ::PROTOBUF_NAMESPACE_ID::uint8* CreateNewBackupRequest::_InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:backup.CreateNewBackupRequest) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; // .backup.FullAuthenticationRequestData authenticationRequestData = 1; if (_internal_has_authenticationrequestdata()) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: InternalWriteMessage( 1, _Internal::authenticationrequestdata(this), target, stream); } // .backup.BackupKeyEntropy backupKeyEntropy = 2; if (_internal_has_backupkeyentropy()) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: InternalWriteMessage( 2, _Internal::backupkeyentropy(this), target, stream); } - // bytes newCompactionChunk = 3; + // bytes newCompactionHash = 3; + if (_internal_has_newcompactionhash()) { + target = stream->WriteBytesMaybeAliased( + 3, this->_internal_newcompactionhash(), target); + } + + // bytes newCompactionChunk = 4; if (_internal_has_newcompactionchunk()) { target = stream->WriteBytesMaybeAliased( - 3, this->_internal_newcompactionchunk(), target); + 4, this->_internal_newcompactionchunk(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:backup.CreateNewBackupRequest) return target; } size_t CreateNewBackupRequest::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:backup.CreateNewBackupRequest) size_t total_size = 0; ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; switch (data_case()) { // .backup.FullAuthenticationRequestData authenticationRequestData = 1; case kAuthenticationRequestData: { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( *data_.authenticationrequestdata_); break; } // .backup.BackupKeyEntropy backupKeyEntropy = 2; case kBackupKeyEntropy: { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( *data_.backupkeyentropy_); break; } - // bytes newCompactionChunk = 3; + // bytes newCompactionHash = 3; + case kNewCompactionHash: { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( + this->_internal_newcompactionhash()); + break; + } + // bytes newCompactionChunk = 4; case kNewCompactionChunk: { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( this->_internal_newcompactionchunk()); break; } case DATA_NOT_SET: { break; } } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( _internal_metadata_, total_size, &_cached_size_); } int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); SetCachedSize(cached_size); return total_size; } void CreateNewBackupRequest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:backup.CreateNewBackupRequest) GOOGLE_DCHECK_NE(&from, this); const CreateNewBackupRequest* source = ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated( &from); if (source == nullptr) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:backup.CreateNewBackupRequest) ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:backup.CreateNewBackupRequest) MergeFrom(*source); } } void CreateNewBackupRequest::MergeFrom(const CreateNewBackupRequest& from) { // @@protoc_insertion_point(class_specific_merge_from_start:backup.CreateNewBackupRequest) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; switch (from.data_case()) { case kAuthenticationRequestData: { _internal_mutable_authenticationrequestdata()->::backup::FullAuthenticationRequestData::MergeFrom(from._internal_authenticationrequestdata()); break; } case kBackupKeyEntropy: { _internal_mutable_backupkeyentropy()->::backup::BackupKeyEntropy::MergeFrom(from._internal_backupkeyentropy()); break; } + case kNewCompactionHash: { + _internal_set_newcompactionhash(from._internal_newcompactionhash()); + break; + } case kNewCompactionChunk: { _internal_set_newcompactionchunk(from._internal_newcompactionchunk()); break; } case DATA_NOT_SET: { break; } } } void CreateNewBackupRequest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:backup.CreateNewBackupRequest) if (&from == this) return; Clear(); MergeFrom(from); } void CreateNewBackupRequest::CopyFrom(const CreateNewBackupRequest& from) { // @@protoc_insertion_point(class_specific_copy_from_start:backup.CreateNewBackupRequest) if (&from == this) return; Clear(); MergeFrom(from); } bool CreateNewBackupRequest::IsInitialized() const { return true; } void CreateNewBackupRequest::InternalSwap(CreateNewBackupRequest* other) { using std::swap; _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); swap(data_, other->data_); swap(_oneof_case_[0], other->_oneof_case_[0]); } ::PROTOBUF_NAMESPACE_ID::Metadata CreateNewBackupRequest::GetMetadata() const { return GetMetadataStatic(); } // =================================================================== class CreateNewBackupResponse::_Internal { public: static const ::backup::FullAuthenticationResponseData& authenticationresponsedata(const CreateNewBackupResponse* msg); }; const ::backup::FullAuthenticationResponseData& CreateNewBackupResponse::_Internal::authenticationresponsedata(const CreateNewBackupResponse* msg) { return *msg->data_.authenticationresponsedata_; } void CreateNewBackupResponse::set_allocated_authenticationresponsedata(::backup::FullAuthenticationResponseData* authenticationresponsedata) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); clear_data(); if (authenticationresponsedata) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(authenticationresponsedata); if (message_arena != submessage_arena) { authenticationresponsedata = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, authenticationresponsedata, submessage_arena); } set_has_authenticationresponsedata(); data_.authenticationresponsedata_ = authenticationresponsedata; } // @@protoc_insertion_point(field_set_allocated:backup.CreateNewBackupResponse.authenticationResponseData) } CreateNewBackupResponse::CreateNewBackupResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena) : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); RegisterArenaDtor(arena); // @@protoc_insertion_point(arena_constructor:backup.CreateNewBackupResponse) } CreateNewBackupResponse::CreateNewBackupResponse(const CreateNewBackupResponse& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); clear_has_data(); switch (from.data_case()) { case kAuthenticationResponseData: { _internal_mutable_authenticationresponsedata()->::backup::FullAuthenticationResponseData::MergeFrom(from._internal_authenticationresponsedata()); break; } case kEntropyValid: { _internal_set_entropyvalid(from._internal_entropyvalid()); break; } case kBackupID: { _internal_set_backupid(from._internal_backupid()); break; } case DATA_NOT_SET: { break; } } // @@protoc_insertion_point(copy_constructor:backup.CreateNewBackupResponse) } void CreateNewBackupResponse::SharedCtor() { clear_has_data(); } CreateNewBackupResponse::~CreateNewBackupResponse() { // @@protoc_insertion_point(destructor:backup.CreateNewBackupResponse) SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void CreateNewBackupResponse::SharedDtor() { GOOGLE_DCHECK(GetArena() == nullptr); if (has_data()) { clear_data(); } } void CreateNewBackupResponse::ArenaDtor(void* object) { CreateNewBackupResponse* _this = reinterpret_cast< CreateNewBackupResponse* >(object); (void)_this; } void CreateNewBackupResponse::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } void CreateNewBackupResponse::SetCachedSize(int size) const { _cached_size_.Set(size); } void CreateNewBackupResponse::clear_data() { // @@protoc_insertion_point(one_of_clear_start:backup.CreateNewBackupResponse) switch (data_case()) { case kAuthenticationResponseData: { if (GetArena() == nullptr) { delete data_.authenticationresponsedata_; } break; } case kEntropyValid: { // No need to clear break; } case kBackupID: { data_.backupid_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); break; } case DATA_NOT_SET: { break; } } _oneof_case_[0] = DATA_NOT_SET; } void CreateNewBackupResponse::Clear() { // @@protoc_insertion_point(message_clear_start:backup.CreateNewBackupResponse) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; clear_data(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* CreateNewBackupResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { ::PROTOBUF_NAMESPACE_ID::uint32 tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); CHK_(ptr); switch (tag >> 3) { // .backup.FullAuthenticationResponseData authenticationResponseData = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { ptr = ctx->ParseMessage(_internal_mutable_authenticationresponsedata(), ptr); CHK_(ptr); } else goto handle_unusual; continue; // bool entropyValid = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { _internal_set_entropyvalid(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr)); CHK_(ptr); } else goto handle_unusual; continue; // string backupID = 3; case 3: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { auto str = _internal_mutable_backupid(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "backup.CreateNewBackupResponse.backupID")); CHK_(ptr); } else goto handle_unusual; continue; default: { handle_unusual: if ((tag & 7) == 4 || tag == 0) { ctx->SetLastTag(tag); goto success; } ptr = UnknownFieldParse(tag, _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), ptr, ctx); CHK_(ptr != nullptr); continue; } } // switch } // while success: return ptr; failure: ptr = nullptr; goto success; #undef CHK_ } ::PROTOBUF_NAMESPACE_ID::uint8* CreateNewBackupResponse::_InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:backup.CreateNewBackupResponse) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; // .backup.FullAuthenticationResponseData authenticationResponseData = 1; if (_internal_has_authenticationresponsedata()) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: InternalWriteMessage( 1, _Internal::authenticationresponsedata(this), target, stream); } // bool entropyValid = 2; if (_internal_has_entropyvalid()) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_entropyvalid(), target); } // string backupID = 3; if (_internal_has_backupid()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_backupid().data(), static_cast(this->_internal_backupid().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "backup.CreateNewBackupResponse.backupID"); target = stream->WriteStringMaybeAliased( 3, this->_internal_backupid(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:backup.CreateNewBackupResponse) return target; } size_t CreateNewBackupResponse::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:backup.CreateNewBackupResponse) size_t total_size = 0; ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; switch (data_case()) { // .backup.FullAuthenticationResponseData authenticationResponseData = 1; case kAuthenticationResponseData: { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( *data_.authenticationresponsedata_); break; } // bool entropyValid = 2; case kEntropyValid: { total_size += 1 + 1; break; } // string backupID = 3; case kBackupID: { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_backupid()); break; } case DATA_NOT_SET: { break; } } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( _internal_metadata_, total_size, &_cached_size_); } int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); SetCachedSize(cached_size); return total_size; } void CreateNewBackupResponse::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:backup.CreateNewBackupResponse) GOOGLE_DCHECK_NE(&from, this); const CreateNewBackupResponse* source = ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated( &from); if (source == nullptr) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:backup.CreateNewBackupResponse) ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:backup.CreateNewBackupResponse) MergeFrom(*source); } } void CreateNewBackupResponse::MergeFrom(const CreateNewBackupResponse& from) { // @@protoc_insertion_point(class_specific_merge_from_start:backup.CreateNewBackupResponse) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; switch (from.data_case()) { case kAuthenticationResponseData: { _internal_mutable_authenticationresponsedata()->::backup::FullAuthenticationResponseData::MergeFrom(from._internal_authenticationresponsedata()); break; } case kEntropyValid: { _internal_set_entropyvalid(from._internal_entropyvalid()); break; } case kBackupID: { _internal_set_backupid(from._internal_backupid()); break; } case DATA_NOT_SET: { break; } } } void CreateNewBackupResponse::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:backup.CreateNewBackupResponse) if (&from == this) return; Clear(); MergeFrom(from); } void CreateNewBackupResponse::CopyFrom(const CreateNewBackupResponse& from) { // @@protoc_insertion_point(class_specific_copy_from_start:backup.CreateNewBackupResponse) if (&from == this) return; Clear(); MergeFrom(from); } bool CreateNewBackupResponse::IsInitialized() const { return true; } void CreateNewBackupResponse::InternalSwap(CreateNewBackupResponse* other) { using std::swap; _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); swap(data_, other->data_); swap(_oneof_case_[0], other->_oneof_case_[0]); } ::PROTOBUF_NAMESPACE_ID::Metadata CreateNewBackupResponse::GetMetadata() const { return GetMetadataStatic(); } // =================================================================== class SendLogRequest::_Internal { public: static const ::backup::SimpleAuthenticationRequestData& authenticationdata(const SendLogRequest* msg); }; const ::backup::SimpleAuthenticationRequestData& SendLogRequest::_Internal::authenticationdata(const SendLogRequest* msg) { return *msg->authenticationdata_; } SendLogRequest::SendLogRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena) : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); RegisterArenaDtor(arena); // @@protoc_insertion_point(arena_constructor:backup.SendLogRequest) } SendLogRequest::SendLogRequest(const SendLogRequest& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); logdata_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (!from._internal_logdata().empty()) { logdata_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_logdata(), GetArena()); } if (from._internal_has_authenticationdata()) { authenticationdata_ = new ::backup::SimpleAuthenticationRequestData(*from.authenticationdata_); } else { authenticationdata_ = nullptr; } // @@protoc_insertion_point(copy_constructor:backup.SendLogRequest) } void SendLogRequest::SharedCtor() { logdata_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); authenticationdata_ = nullptr; } SendLogRequest::~SendLogRequest() { // @@protoc_insertion_point(destructor:backup.SendLogRequest) SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void SendLogRequest::SharedDtor() { GOOGLE_DCHECK(GetArena() == nullptr); logdata_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (this != internal_default_instance()) delete authenticationdata_; } void SendLogRequest::ArenaDtor(void* object) { SendLogRequest* _this = reinterpret_cast< SendLogRequest* >(object); (void)_this; } void SendLogRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } void SendLogRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } void SendLogRequest::Clear() { // @@protoc_insertion_point(message_clear_start:backup.SendLogRequest) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; logdata_.ClearToEmpty(); if (GetArena() == nullptr && authenticationdata_ != nullptr) { delete authenticationdata_; } authenticationdata_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* SendLogRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { ::PROTOBUF_NAMESPACE_ID::uint32 tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); CHK_(ptr); switch (tag >> 3) { // .backup.SimpleAuthenticationRequestData authenticationData = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { ptr = ctx->ParseMessage(_internal_mutable_authenticationdata(), ptr); CHK_(ptr); } else goto handle_unusual; continue; // bytes logData = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { auto str = _internal_mutable_logdata(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); } else goto handle_unusual; continue; default: { handle_unusual: if ((tag & 7) == 4 || tag == 0) { ctx->SetLastTag(tag); goto success; } ptr = UnknownFieldParse(tag, _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), ptr, ctx); CHK_(ptr != nullptr); continue; } } // switch } // while success: return ptr; failure: ptr = nullptr; goto success; #undef CHK_ } ::PROTOBUF_NAMESPACE_ID::uint8* SendLogRequest::_InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:backup.SendLogRequest) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; // .backup.SimpleAuthenticationRequestData authenticationData = 1; if (this->has_authenticationdata()) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: InternalWriteMessage( 1, _Internal::authenticationdata(this), target, stream); } // bytes logData = 2; if (this->logdata().size() > 0) { target = stream->WriteBytesMaybeAliased( 2, this->_internal_logdata(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:backup.SendLogRequest) return target; } size_t SendLogRequest::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:backup.SendLogRequest) size_t total_size = 0; ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; // bytes logData = 2; if (this->logdata().size() > 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( this->_internal_logdata()); } // .backup.SimpleAuthenticationRequestData authenticationData = 1; if (this->has_authenticationdata()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( *authenticationdata_); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( _internal_metadata_, total_size, &_cached_size_); } int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); SetCachedSize(cached_size); return total_size; } void SendLogRequest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:backup.SendLogRequest) GOOGLE_DCHECK_NE(&from, this); const SendLogRequest* source = ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated( &from); if (source == nullptr) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:backup.SendLogRequest) ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:backup.SendLogRequest) MergeFrom(*source); } } void SendLogRequest::MergeFrom(const SendLogRequest& from) { // @@protoc_insertion_point(class_specific_merge_from_start:backup.SendLogRequest) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; if (from.logdata().size() > 0) { _internal_set_logdata(from._internal_logdata()); } if (from.has_authenticationdata()) { _internal_mutable_authenticationdata()->::backup::SimpleAuthenticationRequestData::MergeFrom(from._internal_authenticationdata()); } } void SendLogRequest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:backup.SendLogRequest) if (&from == this) return; Clear(); MergeFrom(from); } void SendLogRequest::CopyFrom(const SendLogRequest& from) { // @@protoc_insertion_point(class_specific_copy_from_start:backup.SendLogRequest) if (&from == this) return; Clear(); MergeFrom(from); } bool SendLogRequest::IsInitialized() const { return true; } void SendLogRequest::InternalSwap(SendLogRequest* other) { using std::swap; _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); logdata_.Swap(&other->logdata_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); swap(authenticationdata_, other->authenticationdata_); } ::PROTOBUF_NAMESPACE_ID::Metadata SendLogRequest::GetMetadata() const { return GetMetadataStatic(); } // =================================================================== class RecoverBackupKeyRequest::_Internal { public: static const ::backup::FullAuthenticationRequestData& authenticationdata(const RecoverBackupKeyRequest* msg); }; const ::backup::FullAuthenticationRequestData& RecoverBackupKeyRequest::_Internal::authenticationdata(const RecoverBackupKeyRequest* msg) { return *msg->authenticationdata_; } RecoverBackupKeyRequest::RecoverBackupKeyRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena) : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); RegisterArenaDtor(arena); // @@protoc_insertion_point(arena_constructor:backup.RecoverBackupKeyRequest) } RecoverBackupKeyRequest::RecoverBackupKeyRequest(const RecoverBackupKeyRequest& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); if (from._internal_has_authenticationdata()) { authenticationdata_ = new ::backup::FullAuthenticationRequestData(*from.authenticationdata_); } else { authenticationdata_ = nullptr; } // @@protoc_insertion_point(copy_constructor:backup.RecoverBackupKeyRequest) } void RecoverBackupKeyRequest::SharedCtor() { authenticationdata_ = nullptr; } RecoverBackupKeyRequest::~RecoverBackupKeyRequest() { // @@protoc_insertion_point(destructor:backup.RecoverBackupKeyRequest) SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void RecoverBackupKeyRequest::SharedDtor() { GOOGLE_DCHECK(GetArena() == nullptr); if (this != internal_default_instance()) delete authenticationdata_; } void RecoverBackupKeyRequest::ArenaDtor(void* object) { RecoverBackupKeyRequest* _this = reinterpret_cast< RecoverBackupKeyRequest* >(object); (void)_this; } void RecoverBackupKeyRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } void RecoverBackupKeyRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } void RecoverBackupKeyRequest::Clear() { // @@protoc_insertion_point(message_clear_start:backup.RecoverBackupKeyRequest) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; if (GetArena() == nullptr && authenticationdata_ != nullptr) { delete authenticationdata_; } authenticationdata_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* RecoverBackupKeyRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { ::PROTOBUF_NAMESPACE_ID::uint32 tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); CHK_(ptr); switch (tag >> 3) { // .backup.FullAuthenticationRequestData authenticationData = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { ptr = ctx->ParseMessage(_internal_mutable_authenticationdata(), ptr); CHK_(ptr); } else goto handle_unusual; continue; default: { handle_unusual: if ((tag & 7) == 4 || tag == 0) { ctx->SetLastTag(tag); goto success; } ptr = UnknownFieldParse(tag, _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), ptr, ctx); CHK_(ptr != nullptr); continue; } } // switch } // while success: return ptr; failure: ptr = nullptr; goto success; #undef CHK_ } ::PROTOBUF_NAMESPACE_ID::uint8* RecoverBackupKeyRequest::_InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:backup.RecoverBackupKeyRequest) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; // .backup.FullAuthenticationRequestData authenticationData = 1; if (this->has_authenticationdata()) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: InternalWriteMessage( 1, _Internal::authenticationdata(this), target, stream); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:backup.RecoverBackupKeyRequest) return target; } size_t RecoverBackupKeyRequest::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:backup.RecoverBackupKeyRequest) size_t total_size = 0; ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; // .backup.FullAuthenticationRequestData authenticationData = 1; if (this->has_authenticationdata()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( *authenticationdata_); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( _internal_metadata_, total_size, &_cached_size_); } int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); SetCachedSize(cached_size); return total_size; } void RecoverBackupKeyRequest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:backup.RecoverBackupKeyRequest) GOOGLE_DCHECK_NE(&from, this); const RecoverBackupKeyRequest* source = ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated( &from); if (source == nullptr) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:backup.RecoverBackupKeyRequest) ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:backup.RecoverBackupKeyRequest) MergeFrom(*source); } } void RecoverBackupKeyRequest::MergeFrom(const RecoverBackupKeyRequest& from) { // @@protoc_insertion_point(class_specific_merge_from_start:backup.RecoverBackupKeyRequest) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; if (from.has_authenticationdata()) { _internal_mutable_authenticationdata()->::backup::FullAuthenticationRequestData::MergeFrom(from._internal_authenticationdata()); } } void RecoverBackupKeyRequest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:backup.RecoverBackupKeyRequest) if (&from == this) return; Clear(); MergeFrom(from); } void RecoverBackupKeyRequest::CopyFrom(const RecoverBackupKeyRequest& from) { // @@protoc_insertion_point(class_specific_copy_from_start:backup.RecoverBackupKeyRequest) if (&from == this) return; Clear(); MergeFrom(from); } bool RecoverBackupKeyRequest::IsInitialized() const { return true; } void RecoverBackupKeyRequest::InternalSwap(RecoverBackupKeyRequest* other) { using std::swap; _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); swap(authenticationdata_, other->authenticationdata_); } ::PROTOBUF_NAMESPACE_ID::Metadata RecoverBackupKeyRequest::GetMetadata() const { return GetMetadataStatic(); } // =================================================================== class RecoverBackupKeyResponse::_Internal { public: static const ::backup::FullAuthenticationResponseData& authenticationresponsedata(const RecoverBackupKeyResponse* msg); static const ::backup::BackupKeyEntropy& backupkeyentropy(const RecoverBackupKeyResponse* msg); }; const ::backup::FullAuthenticationResponseData& RecoverBackupKeyResponse::_Internal::authenticationresponsedata(const RecoverBackupKeyResponse* msg) { return *msg->data_.authenticationresponsedata_; } const ::backup::BackupKeyEntropy& RecoverBackupKeyResponse::_Internal::backupkeyentropy(const RecoverBackupKeyResponse* msg) { return *msg->data_.backupkeyentropy_; } void RecoverBackupKeyResponse::set_allocated_authenticationresponsedata(::backup::FullAuthenticationResponseData* authenticationresponsedata) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); clear_data(); if (authenticationresponsedata) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(authenticationresponsedata); if (message_arena != submessage_arena) { authenticationresponsedata = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, authenticationresponsedata, submessage_arena); } set_has_authenticationresponsedata(); data_.authenticationresponsedata_ = authenticationresponsedata; } // @@protoc_insertion_point(field_set_allocated:backup.RecoverBackupKeyResponse.authenticationResponseData) } void RecoverBackupKeyResponse::set_allocated_backupkeyentropy(::backup::BackupKeyEntropy* backupkeyentropy) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); clear_data(); if (backupkeyentropy) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(backupkeyentropy); if (message_arena != submessage_arena) { backupkeyentropy = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, backupkeyentropy, submessage_arena); } set_has_backupkeyentropy(); data_.backupkeyentropy_ = backupkeyentropy; } // @@protoc_insertion_point(field_set_allocated:backup.RecoverBackupKeyResponse.backupKeyEntropy) } RecoverBackupKeyResponse::RecoverBackupKeyResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena) : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); RegisterArenaDtor(arena); // @@protoc_insertion_point(arena_constructor:backup.RecoverBackupKeyResponse) } RecoverBackupKeyResponse::RecoverBackupKeyResponse(const RecoverBackupKeyResponse& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); clear_has_data(); switch (from.data_case()) { case kAuthenticationResponseData: { _internal_mutable_authenticationresponsedata()->::backup::FullAuthenticationResponseData::MergeFrom(from._internal_authenticationresponsedata()); break; } case kBackupKeyEntropy: { _internal_mutable_backupkeyentropy()->::backup::BackupKeyEntropy::MergeFrom(from._internal_backupkeyentropy()); break; } case kBackupID: { _internal_set_backupid(from._internal_backupid()); break; } case DATA_NOT_SET: { break; } } // @@protoc_insertion_point(copy_constructor:backup.RecoverBackupKeyResponse) } void RecoverBackupKeyResponse::SharedCtor() { clear_has_data(); } RecoverBackupKeyResponse::~RecoverBackupKeyResponse() { // @@protoc_insertion_point(destructor:backup.RecoverBackupKeyResponse) SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void RecoverBackupKeyResponse::SharedDtor() { GOOGLE_DCHECK(GetArena() == nullptr); if (has_data()) { clear_data(); } } void RecoverBackupKeyResponse::ArenaDtor(void* object) { RecoverBackupKeyResponse* _this = reinterpret_cast< RecoverBackupKeyResponse* >(object); (void)_this; } void RecoverBackupKeyResponse::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } void RecoverBackupKeyResponse::SetCachedSize(int size) const { _cached_size_.Set(size); } void RecoverBackupKeyResponse::clear_data() { // @@protoc_insertion_point(one_of_clear_start:backup.RecoverBackupKeyResponse) switch (data_case()) { case kAuthenticationResponseData: { if (GetArena() == nullptr) { delete data_.authenticationresponsedata_; } break; } case kBackupKeyEntropy: { if (GetArena() == nullptr) { delete data_.backupkeyentropy_; } break; } case kBackupID: { data_.backupid_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); break; } case DATA_NOT_SET: { break; } } _oneof_case_[0] = DATA_NOT_SET; } void RecoverBackupKeyResponse::Clear() { // @@protoc_insertion_point(message_clear_start:backup.RecoverBackupKeyResponse) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; clear_data(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* RecoverBackupKeyResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { ::PROTOBUF_NAMESPACE_ID::uint32 tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); CHK_(ptr); switch (tag >> 3) { // .backup.FullAuthenticationResponseData authenticationResponseData = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { ptr = ctx->ParseMessage(_internal_mutable_authenticationresponsedata(), ptr); CHK_(ptr); } else goto handle_unusual; continue; // .backup.BackupKeyEntropy backupKeyEntropy = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { ptr = ctx->ParseMessage(_internal_mutable_backupkeyentropy(), ptr); CHK_(ptr); } else goto handle_unusual; continue; // string backupID = 4; case 4: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { auto str = _internal_mutable_backupid(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "backup.RecoverBackupKeyResponse.backupID")); CHK_(ptr); } else goto handle_unusual; continue; default: { handle_unusual: if ((tag & 7) == 4 || tag == 0) { ctx->SetLastTag(tag); goto success; } ptr = UnknownFieldParse(tag, _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), ptr, ctx); CHK_(ptr != nullptr); continue; } } // switch } // while success: return ptr; failure: ptr = nullptr; goto success; #undef CHK_ } ::PROTOBUF_NAMESPACE_ID::uint8* RecoverBackupKeyResponse::_InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:backup.RecoverBackupKeyResponse) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; // .backup.FullAuthenticationResponseData authenticationResponseData = 1; if (_internal_has_authenticationresponsedata()) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: InternalWriteMessage( 1, _Internal::authenticationresponsedata(this), target, stream); } // .backup.BackupKeyEntropy backupKeyEntropy = 2; if (_internal_has_backupkeyentropy()) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: InternalWriteMessage( 2, _Internal::backupkeyentropy(this), target, stream); } // string backupID = 4; if (_internal_has_backupid()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( this->_internal_backupid().data(), static_cast(this->_internal_backupid().length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "backup.RecoverBackupKeyResponse.backupID"); target = stream->WriteStringMaybeAliased( 4, this->_internal_backupid(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:backup.RecoverBackupKeyResponse) return target; } size_t RecoverBackupKeyResponse::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:backup.RecoverBackupKeyResponse) size_t total_size = 0; ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; switch (data_case()) { // .backup.FullAuthenticationResponseData authenticationResponseData = 1; case kAuthenticationResponseData: { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( *data_.authenticationresponsedata_); break; } // .backup.BackupKeyEntropy backupKeyEntropy = 2; case kBackupKeyEntropy: { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( *data_.backupkeyentropy_); break; } // string backupID = 4; case kBackupID: { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_backupid()); break; } case DATA_NOT_SET: { break; } } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( _internal_metadata_, total_size, &_cached_size_); } int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); SetCachedSize(cached_size); return total_size; } void RecoverBackupKeyResponse::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:backup.RecoverBackupKeyResponse) GOOGLE_DCHECK_NE(&from, this); const RecoverBackupKeyResponse* source = ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated( &from); if (source == nullptr) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:backup.RecoverBackupKeyResponse) ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:backup.RecoverBackupKeyResponse) MergeFrom(*source); } } void RecoverBackupKeyResponse::MergeFrom(const RecoverBackupKeyResponse& from) { // @@protoc_insertion_point(class_specific_merge_from_start:backup.RecoverBackupKeyResponse) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; switch (from.data_case()) { case kAuthenticationResponseData: { _internal_mutable_authenticationresponsedata()->::backup::FullAuthenticationResponseData::MergeFrom(from._internal_authenticationresponsedata()); break; } case kBackupKeyEntropy: { _internal_mutable_backupkeyentropy()->::backup::BackupKeyEntropy::MergeFrom(from._internal_backupkeyentropy()); break; } case kBackupID: { _internal_set_backupid(from._internal_backupid()); break; } case DATA_NOT_SET: { break; } } } void RecoverBackupKeyResponse::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:backup.RecoverBackupKeyResponse) if (&from == this) return; Clear(); MergeFrom(from); } void RecoverBackupKeyResponse::CopyFrom(const RecoverBackupKeyResponse& from) { // @@protoc_insertion_point(class_specific_copy_from_start:backup.RecoverBackupKeyResponse) if (&from == this) return; Clear(); MergeFrom(from); } bool RecoverBackupKeyResponse::IsInitialized() const { return true; } void RecoverBackupKeyResponse::InternalSwap(RecoverBackupKeyResponse* other) { using std::swap; _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); swap(data_, other->data_); swap(_oneof_case_[0], other->_oneof_case_[0]); } ::PROTOBUF_NAMESPACE_ID::Metadata RecoverBackupKeyResponse::GetMetadata() const { return GetMetadataStatic(); } // =================================================================== class PullBackupRequest::_Internal { public: static const ::backup::SimpleAuthenticationRequestData& authenticationdata(const PullBackupRequest* msg); }; const ::backup::SimpleAuthenticationRequestData& PullBackupRequest::_Internal::authenticationdata(const PullBackupRequest* msg) { return *msg->authenticationdata_; } PullBackupRequest::PullBackupRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena) : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); RegisterArenaDtor(arena); // @@protoc_insertion_point(arena_constructor:backup.PullBackupRequest) } PullBackupRequest::PullBackupRequest(const PullBackupRequest& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); if (from._internal_has_authenticationdata()) { authenticationdata_ = new ::backup::SimpleAuthenticationRequestData(*from.authenticationdata_); } else { authenticationdata_ = nullptr; } // @@protoc_insertion_point(copy_constructor:backup.PullBackupRequest) } void PullBackupRequest::SharedCtor() { authenticationdata_ = nullptr; } PullBackupRequest::~PullBackupRequest() { // @@protoc_insertion_point(destructor:backup.PullBackupRequest) SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void PullBackupRequest::SharedDtor() { GOOGLE_DCHECK(GetArena() == nullptr); if (this != internal_default_instance()) delete authenticationdata_; } void PullBackupRequest::ArenaDtor(void* object) { PullBackupRequest* _this = reinterpret_cast< PullBackupRequest* >(object); (void)_this; } void PullBackupRequest::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } void PullBackupRequest::SetCachedSize(int size) const { _cached_size_.Set(size); } void PullBackupRequest::Clear() { // @@protoc_insertion_point(message_clear_start:backup.PullBackupRequest) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; if (GetArena() == nullptr && authenticationdata_ != nullptr) { delete authenticationdata_; } authenticationdata_ = nullptr; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* PullBackupRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { ::PROTOBUF_NAMESPACE_ID::uint32 tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); CHK_(ptr); switch (tag >> 3) { // .backup.SimpleAuthenticationRequestData authenticationData = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { ptr = ctx->ParseMessage(_internal_mutable_authenticationdata(), ptr); CHK_(ptr); } else goto handle_unusual; continue; default: { handle_unusual: if ((tag & 7) == 4 || tag == 0) { ctx->SetLastTag(tag); goto success; } ptr = UnknownFieldParse(tag, _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), ptr, ctx); CHK_(ptr != nullptr); continue; } } // switch } // while success: return ptr; failure: ptr = nullptr; goto success; #undef CHK_ } ::PROTOBUF_NAMESPACE_ID::uint8* PullBackupRequest::_InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:backup.PullBackupRequest) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; // .backup.SimpleAuthenticationRequestData authenticationData = 1; if (this->has_authenticationdata()) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: InternalWriteMessage( 1, _Internal::authenticationdata(this), target, stream); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:backup.PullBackupRequest) return target; } size_t PullBackupRequest::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:backup.PullBackupRequest) size_t total_size = 0; ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; // .backup.SimpleAuthenticationRequestData authenticationData = 1; if (this->has_authenticationdata()) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( *authenticationdata_); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( _internal_metadata_, total_size, &_cached_size_); } int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); SetCachedSize(cached_size); return total_size; } void PullBackupRequest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:backup.PullBackupRequest) GOOGLE_DCHECK_NE(&from, this); const PullBackupRequest* source = ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated( &from); if (source == nullptr) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:backup.PullBackupRequest) ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:backup.PullBackupRequest) MergeFrom(*source); } } void PullBackupRequest::MergeFrom(const PullBackupRequest& from) { // @@protoc_insertion_point(class_specific_merge_from_start:backup.PullBackupRequest) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; if (from.has_authenticationdata()) { _internal_mutable_authenticationdata()->::backup::SimpleAuthenticationRequestData::MergeFrom(from._internal_authenticationdata()); } } void PullBackupRequest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:backup.PullBackupRequest) if (&from == this) return; Clear(); MergeFrom(from); } void PullBackupRequest::CopyFrom(const PullBackupRequest& from) { // @@protoc_insertion_point(class_specific_copy_from_start:backup.PullBackupRequest) if (&from == this) return; Clear(); MergeFrom(from); } bool PullBackupRequest::IsInitialized() const { return true; } void PullBackupRequest::InternalSwap(PullBackupRequest* other) { using std::swap; _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); swap(authenticationdata_, other->authenticationdata_); } ::PROTOBUF_NAMESPACE_ID::Metadata PullBackupRequest::GetMetadata() const { return GetMetadataStatic(); } // =================================================================== class PullBackupResponse::_Internal { public: }; PullBackupResponse::PullBackupResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena) : ::PROTOBUF_NAMESPACE_ID::Message(arena) { SharedCtor(); RegisterArenaDtor(arena); // @@protoc_insertion_point(arena_constructor:backup.PullBackupResponse) } PullBackupResponse::PullBackupResponse(const PullBackupResponse& from) : ::PROTOBUF_NAMESPACE_ID::Message() { _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); clear_has_data(); switch (from.data_case()) { case kCompactionChunk: { _internal_set_compactionchunk(from._internal_compactionchunk()); break; } case kLogChunk: { _internal_set_logchunk(from._internal_logchunk()); break; } case DATA_NOT_SET: { break; } } // @@protoc_insertion_point(copy_constructor:backup.PullBackupResponse) } void PullBackupResponse::SharedCtor() { clear_has_data(); } PullBackupResponse::~PullBackupResponse() { // @@protoc_insertion_point(destructor:backup.PullBackupResponse) SharedDtor(); _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } void PullBackupResponse::SharedDtor() { GOOGLE_DCHECK(GetArena() == nullptr); if (has_data()) { clear_data(); } } void PullBackupResponse::ArenaDtor(void* object) { PullBackupResponse* _this = reinterpret_cast< PullBackupResponse* >(object); (void)_this; } void PullBackupResponse::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { } void PullBackupResponse::SetCachedSize(int size) const { _cached_size_.Set(size); } void PullBackupResponse::clear_data() { // @@protoc_insertion_point(one_of_clear_start:backup.PullBackupResponse) switch (data_case()) { case kCompactionChunk: { data_.compactionchunk_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); break; } case kLogChunk: { data_.logchunk_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); break; } case DATA_NOT_SET: { break; } } _oneof_case_[0] = DATA_NOT_SET; } void PullBackupResponse::Clear() { // @@protoc_insertion_point(message_clear_start:backup.PullBackupResponse) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; clear_data(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } const char* PullBackupResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { ::PROTOBUF_NAMESPACE_ID::uint32 tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); CHK_(ptr); switch (tag >> 3) { // bytes compactionChunk = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { auto str = _internal_mutable_compactionchunk(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); } else goto handle_unusual; continue; // bytes logChunk = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { auto str = _internal_mutable_logchunk(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); } else goto handle_unusual; continue; default: { handle_unusual: if ((tag & 7) == 4 || tag == 0) { ctx->SetLastTag(tag); goto success; } ptr = UnknownFieldParse(tag, _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), ptr, ctx); CHK_(ptr != nullptr); continue; } } // switch } // while success: return ptr; failure: ptr = nullptr; goto success; #undef CHK_ } ::PROTOBUF_NAMESPACE_ID::uint8* PullBackupResponse::_InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:backup.PullBackupResponse) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; // bytes compactionChunk = 1; if (_internal_has_compactionchunk()) { target = stream->WriteBytesMaybeAliased( 1, this->_internal_compactionchunk(), target); } // bytes logChunk = 2; if (_internal_has_logchunk()) { target = stream->WriteBytesMaybeAliased( 2, this->_internal_logchunk(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:backup.PullBackupResponse) return target; } size_t PullBackupResponse::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:backup.PullBackupResponse) size_t total_size = 0; ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; switch (data_case()) { // bytes compactionChunk = 1; case kCompactionChunk: { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( this->_internal_compactionchunk()); break; } // bytes logChunk = 2; case kLogChunk: { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( this->_internal_logchunk()); break; } case DATA_NOT_SET: { break; } } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( _internal_metadata_, total_size, &_cached_size_); } int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); SetCachedSize(cached_size); return total_size; } void PullBackupResponse::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:backup.PullBackupResponse) GOOGLE_DCHECK_NE(&from, this); const PullBackupResponse* source = ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated( &from); if (source == nullptr) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:backup.PullBackupResponse) ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:backup.PullBackupResponse) MergeFrom(*source); } } void PullBackupResponse::MergeFrom(const PullBackupResponse& from) { // @@protoc_insertion_point(class_specific_merge_from_start:backup.PullBackupResponse) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; switch (from.data_case()) { case kCompactionChunk: { _internal_set_compactionchunk(from._internal_compactionchunk()); break; } case kLogChunk: { _internal_set_logchunk(from._internal_logchunk()); break; } case DATA_NOT_SET: { break; } } } void PullBackupResponse::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:backup.PullBackupResponse) if (&from == this) return; Clear(); MergeFrom(from); } void PullBackupResponse::CopyFrom(const PullBackupResponse& from) { // @@protoc_insertion_point(class_specific_copy_from_start:backup.PullBackupResponse) if (&from == this) return; Clear(); MergeFrom(from); } bool PullBackupResponse::IsInitialized() const { return true; } void PullBackupResponse::InternalSwap(PullBackupResponse* other) { using std::swap; _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_); swap(data_, other->data_); swap(_oneof_case_[0], other->_oneof_case_[0]); } ::PROTOBUF_NAMESPACE_ID::Metadata PullBackupResponse::GetMetadata() const { return GetMetadataStatic(); } // @@protoc_insertion_point(namespace_scope) } // namespace backup PROTOBUF_NAMESPACE_OPEN template<> PROTOBUF_NOINLINE ::backup::PakeRegistrationRequestAndUserID* Arena::CreateMaybeMessage< ::backup::PakeRegistrationRequestAndUserID >(Arena* arena) { return Arena::CreateMessageInternal< ::backup::PakeRegistrationRequestAndUserID >(arena); } template<> PROTOBUF_NOINLINE ::backup::PakeAuthenticationRequestData* Arena::CreateMaybeMessage< ::backup::PakeAuthenticationRequestData >(Arena* arena) { return Arena::CreateMessageInternal< ::backup::PakeAuthenticationRequestData >(arena); } template<> PROTOBUF_NOINLINE ::backup::WalletAuthenticationRequestData* Arena::CreateMaybeMessage< ::backup::WalletAuthenticationRequestData >(Arena* arena) { return Arena::CreateMessageInternal< ::backup::WalletAuthenticationRequestData >(arena); } template<> PROTOBUF_NOINLINE ::backup::FullAuthenticationRequestData* Arena::CreateMaybeMessage< ::backup::FullAuthenticationRequestData >(Arena* arena) { return Arena::CreateMessageInternal< ::backup::FullAuthenticationRequestData >(arena); } template<> PROTOBUF_NOINLINE ::backup::WalletAuthenticationResponseData* Arena::CreateMaybeMessage< ::backup::WalletAuthenticationResponseData >(Arena* arena) { return Arena::CreateMessageInternal< ::backup::WalletAuthenticationResponseData >(arena); } template<> PROTOBUF_NOINLINE ::backup::PakeAuthenticationResponseData* Arena::CreateMaybeMessage< ::backup::PakeAuthenticationResponseData >(Arena* arena) { return Arena::CreateMessageInternal< ::backup::PakeAuthenticationResponseData >(arena); } template<> PROTOBUF_NOINLINE ::backup::FullAuthenticationResponseData* Arena::CreateMaybeMessage< ::backup::FullAuthenticationResponseData >(Arena* arena) { return Arena::CreateMessageInternal< ::backup::FullAuthenticationResponseData >(arena); } template<> PROTOBUF_NOINLINE ::backup::SimpleAuthenticationRequestData* Arena::CreateMaybeMessage< ::backup::SimpleAuthenticationRequestData >(Arena* arena) { return Arena::CreateMessageInternal< ::backup::SimpleAuthenticationRequestData >(arena); } template<> PROTOBUF_NOINLINE ::backup::BackupKeyEntropy* Arena::CreateMaybeMessage< ::backup::BackupKeyEntropy >(Arena* arena) { return Arena::CreateMessageInternal< ::backup::BackupKeyEntropy >(arena); } template<> PROTOBUF_NOINLINE ::backup::CreateNewBackupRequest* Arena::CreateMaybeMessage< ::backup::CreateNewBackupRequest >(Arena* arena) { return Arena::CreateMessageInternal< ::backup::CreateNewBackupRequest >(arena); } template<> PROTOBUF_NOINLINE ::backup::CreateNewBackupResponse* Arena::CreateMaybeMessage< ::backup::CreateNewBackupResponse >(Arena* arena) { return Arena::CreateMessageInternal< ::backup::CreateNewBackupResponse >(arena); } template<> PROTOBUF_NOINLINE ::backup::SendLogRequest* Arena::CreateMaybeMessage< ::backup::SendLogRequest >(Arena* arena) { return Arena::CreateMessageInternal< ::backup::SendLogRequest >(arena); } template<> PROTOBUF_NOINLINE ::backup::RecoverBackupKeyRequest* Arena::CreateMaybeMessage< ::backup::RecoverBackupKeyRequest >(Arena* arena) { return Arena::CreateMessageInternal< ::backup::RecoverBackupKeyRequest >(arena); } template<> PROTOBUF_NOINLINE ::backup::RecoverBackupKeyResponse* Arena::CreateMaybeMessage< ::backup::RecoverBackupKeyResponse >(Arena* arena) { return Arena::CreateMessageInternal< ::backup::RecoverBackupKeyResponse >(arena); } template<> PROTOBUF_NOINLINE ::backup::PullBackupRequest* Arena::CreateMaybeMessage< ::backup::PullBackupRequest >(Arena* arena) { return Arena::CreateMessageInternal< ::backup::PullBackupRequest >(arena); } template<> PROTOBUF_NOINLINE ::backup::PullBackupResponse* Arena::CreateMaybeMessage< ::backup::PullBackupResponse >(Arena* arena) { return Arena::CreateMessageInternal< ::backup::PullBackupResponse >(arena); } PROTOBUF_NAMESPACE_CLOSE // @@protoc_insertion_point(global_scope) #include diff --git a/native/cpp/CommonCpp/grpc/_generated/backup.pb.h b/native/cpp/CommonCpp/grpc/_generated/backup.pb.h index 1905d31db..8a2d33722 100644 --- a/native/cpp/CommonCpp/grpc/_generated/backup.pb.h +++ b/native/cpp/CommonCpp/grpc/_generated/backup.pb.h @@ -1,6380 +1,6514 @@ // @generated by the protocol buffer compiler. DO NOT EDIT! // source: backup.proto #ifndef GOOGLE_PROTOBUF_INCLUDED_backup_2eproto #define GOOGLE_PROTOBUF_INCLUDED_backup_2eproto #include #include #include #if PROTOBUF_VERSION < 3015000 #error This file was generated by a newer version of protoc which is #error incompatible with your Protocol Buffer headers. Please update #error your headers. #endif #if 3015008 < PROTOBUF_MIN_PROTOC_VERSION #error This file was generated by an older version of protoc which is #error incompatible with your Protocol Buffer headers. Please #error regenerate this file with a newer version of protoc. #endif #include #include #include #include #include #include #include #include #include #include // IWYU pragma: export #include // IWYU pragma: export #include #include // @@protoc_insertion_point(includes) #include #define PROTOBUF_INTERNAL_EXPORT_backup_2eproto PROTOBUF_NAMESPACE_OPEN namespace internal { class AnyMetadata; } // namespace internal PROTOBUF_NAMESPACE_CLOSE // Internal implementation detail -- do not use these members. struct TableStruct_backup_2eproto { static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[16] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]; static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]; static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]; }; extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_backup_2eproto; ::PROTOBUF_NAMESPACE_ID::Metadata descriptor_table_backup_2eproto_metadata_getter(int index); namespace backup { class BackupKeyEntropy; struct BackupKeyEntropyDefaultTypeInternal; extern BackupKeyEntropyDefaultTypeInternal _BackupKeyEntropy_default_instance_; class CreateNewBackupRequest; struct CreateNewBackupRequestDefaultTypeInternal; extern CreateNewBackupRequestDefaultTypeInternal _CreateNewBackupRequest_default_instance_; class CreateNewBackupResponse; struct CreateNewBackupResponseDefaultTypeInternal; extern CreateNewBackupResponseDefaultTypeInternal _CreateNewBackupResponse_default_instance_; class FullAuthenticationRequestData; struct FullAuthenticationRequestDataDefaultTypeInternal; extern FullAuthenticationRequestDataDefaultTypeInternal _FullAuthenticationRequestData_default_instance_; class FullAuthenticationResponseData; struct FullAuthenticationResponseDataDefaultTypeInternal; extern FullAuthenticationResponseDataDefaultTypeInternal _FullAuthenticationResponseData_default_instance_; class PakeAuthenticationRequestData; struct PakeAuthenticationRequestDataDefaultTypeInternal; extern PakeAuthenticationRequestDataDefaultTypeInternal _PakeAuthenticationRequestData_default_instance_; class PakeAuthenticationResponseData; struct PakeAuthenticationResponseDataDefaultTypeInternal; extern PakeAuthenticationResponseDataDefaultTypeInternal _PakeAuthenticationResponseData_default_instance_; class PakeRegistrationRequestAndUserID; struct PakeRegistrationRequestAndUserIDDefaultTypeInternal; extern PakeRegistrationRequestAndUserIDDefaultTypeInternal _PakeRegistrationRequestAndUserID_default_instance_; class PullBackupRequest; struct PullBackupRequestDefaultTypeInternal; extern PullBackupRequestDefaultTypeInternal _PullBackupRequest_default_instance_; class PullBackupResponse; struct PullBackupResponseDefaultTypeInternal; extern PullBackupResponseDefaultTypeInternal _PullBackupResponse_default_instance_; class RecoverBackupKeyRequest; struct RecoverBackupKeyRequestDefaultTypeInternal; extern RecoverBackupKeyRequestDefaultTypeInternal _RecoverBackupKeyRequest_default_instance_; class RecoverBackupKeyResponse; struct RecoverBackupKeyResponseDefaultTypeInternal; extern RecoverBackupKeyResponseDefaultTypeInternal _RecoverBackupKeyResponse_default_instance_; class SendLogRequest; struct SendLogRequestDefaultTypeInternal; extern SendLogRequestDefaultTypeInternal _SendLogRequest_default_instance_; class SimpleAuthenticationRequestData; struct SimpleAuthenticationRequestDataDefaultTypeInternal; extern SimpleAuthenticationRequestDataDefaultTypeInternal _SimpleAuthenticationRequestData_default_instance_; class WalletAuthenticationRequestData; struct WalletAuthenticationRequestDataDefaultTypeInternal; extern WalletAuthenticationRequestDataDefaultTypeInternal _WalletAuthenticationRequestData_default_instance_; class WalletAuthenticationResponseData; struct WalletAuthenticationResponseDataDefaultTypeInternal; extern WalletAuthenticationResponseDataDefaultTypeInternal _WalletAuthenticationResponseData_default_instance_; } // namespace backup PROTOBUF_NAMESPACE_OPEN template<> ::backup::BackupKeyEntropy* Arena::CreateMaybeMessage<::backup::BackupKeyEntropy>(Arena*); template<> ::backup::CreateNewBackupRequest* Arena::CreateMaybeMessage<::backup::CreateNewBackupRequest>(Arena*); template<> ::backup::CreateNewBackupResponse* Arena::CreateMaybeMessage<::backup::CreateNewBackupResponse>(Arena*); template<> ::backup::FullAuthenticationRequestData* Arena::CreateMaybeMessage<::backup::FullAuthenticationRequestData>(Arena*); template<> ::backup::FullAuthenticationResponseData* Arena::CreateMaybeMessage<::backup::FullAuthenticationResponseData>(Arena*); template<> ::backup::PakeAuthenticationRequestData* Arena::CreateMaybeMessage<::backup::PakeAuthenticationRequestData>(Arena*); template<> ::backup::PakeAuthenticationResponseData* Arena::CreateMaybeMessage<::backup::PakeAuthenticationResponseData>(Arena*); template<> ::backup::PakeRegistrationRequestAndUserID* Arena::CreateMaybeMessage<::backup::PakeRegistrationRequestAndUserID>(Arena*); template<> ::backup::PullBackupRequest* Arena::CreateMaybeMessage<::backup::PullBackupRequest>(Arena*); template<> ::backup::PullBackupResponse* Arena::CreateMaybeMessage<::backup::PullBackupResponse>(Arena*); template<> ::backup::RecoverBackupKeyRequest* Arena::CreateMaybeMessage<::backup::RecoverBackupKeyRequest>(Arena*); template<> ::backup::RecoverBackupKeyResponse* Arena::CreateMaybeMessage<::backup::RecoverBackupKeyResponse>(Arena*); template<> ::backup::SendLogRequest* Arena::CreateMaybeMessage<::backup::SendLogRequest>(Arena*); template<> ::backup::SimpleAuthenticationRequestData* Arena::CreateMaybeMessage<::backup::SimpleAuthenticationRequestData>(Arena*); template<> ::backup::WalletAuthenticationRequestData* Arena::CreateMaybeMessage<::backup::WalletAuthenticationRequestData>(Arena*); template<> ::backup::WalletAuthenticationResponseData* Arena::CreateMaybeMessage<::backup::WalletAuthenticationResponseData>(Arena*); PROTOBUF_NAMESPACE_CLOSE namespace backup { // =================================================================== class PakeRegistrationRequestAndUserID PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:backup.PakeRegistrationRequestAndUserID) */ { public: inline PakeRegistrationRequestAndUserID() : PakeRegistrationRequestAndUserID(nullptr) {} virtual ~PakeRegistrationRequestAndUserID(); explicit constexpr PakeRegistrationRequestAndUserID(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); PakeRegistrationRequestAndUserID(const PakeRegistrationRequestAndUserID& from); PakeRegistrationRequestAndUserID(PakeRegistrationRequestAndUserID&& from) noexcept : PakeRegistrationRequestAndUserID() { *this = ::std::move(from); } inline PakeRegistrationRequestAndUserID& operator=(const PakeRegistrationRequestAndUserID& from) { CopyFrom(from); return *this; } inline PakeRegistrationRequestAndUserID& operator=(PakeRegistrationRequestAndUserID&& from) noexcept { if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { return GetDescriptor(); } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { return GetMetadataStatic().descriptor; } static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } static const PakeRegistrationRequestAndUserID& default_instance() { return *internal_default_instance(); } static inline const PakeRegistrationRequestAndUserID* internal_default_instance() { return reinterpret_cast( &_PakeRegistrationRequestAndUserID_default_instance_); } static constexpr int kIndexInFileMessages = 0; friend void swap(PakeRegistrationRequestAndUserID& a, PakeRegistrationRequestAndUserID& b) { a.Swap(&b); } inline void Swap(PakeRegistrationRequestAndUserID* other) { if (other == this) return; if (GetArena() == other->GetArena()) { InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(PakeRegistrationRequestAndUserID* other) { if (other == this) return; GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- inline PakeRegistrationRequestAndUserID* New() const final { return CreateMaybeMessage(nullptr); } PakeRegistrationRequestAndUserID* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void CopyFrom(const PakeRegistrationRequestAndUserID& from); void MergeFrom(const PakeRegistrationRequestAndUserID& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(PakeRegistrationRequestAndUserID* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "backup.PakeRegistrationRequestAndUserID"; } protected: explicit PakeRegistrationRequestAndUserID(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { return ::descriptor_table_backup_2eproto_metadata_getter(kIndexInFileMessages); } public: // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kUserIDFieldNumber = 1, kPakeRegistrationRequestFieldNumber = 2, }; // string userID = 1; void clear_userid(); const std::string& userid() const; void set_userid(const std::string& value); void set_userid(std::string&& value); void set_userid(const char* value); void set_userid(const char* value, size_t size); std::string* mutable_userid(); std::string* release_userid(); void set_allocated_userid(std::string* userid); private: const std::string& _internal_userid() const; void _internal_set_userid(const std::string& value); std::string* _internal_mutable_userid(); public: // bytes pakeRegistrationRequest = 2; void clear_pakeregistrationrequest(); const std::string& pakeregistrationrequest() const; void set_pakeregistrationrequest(const std::string& value); void set_pakeregistrationrequest(std::string&& value); void set_pakeregistrationrequest(const char* value); void set_pakeregistrationrequest(const void* value, size_t size); std::string* mutable_pakeregistrationrequest(); std::string* release_pakeregistrationrequest(); void set_allocated_pakeregistrationrequest(std::string* pakeregistrationrequest); private: const std::string& _internal_pakeregistrationrequest() const; void _internal_set_pakeregistrationrequest(const std::string& value); std::string* _internal_mutable_pakeregistrationrequest(); public: // @@protoc_insertion_point(class_scope:backup.PakeRegistrationRequestAndUserID) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr userid_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr pakeregistrationrequest_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_backup_2eproto; }; // ------------------------------------------------------------------- class PakeAuthenticationRequestData PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:backup.PakeAuthenticationRequestData) */ { public: inline PakeAuthenticationRequestData() : PakeAuthenticationRequestData(nullptr) {} virtual ~PakeAuthenticationRequestData(); explicit constexpr PakeAuthenticationRequestData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); PakeAuthenticationRequestData(const PakeAuthenticationRequestData& from); PakeAuthenticationRequestData(PakeAuthenticationRequestData&& from) noexcept : PakeAuthenticationRequestData() { *this = ::std::move(from); } inline PakeAuthenticationRequestData& operator=(const PakeAuthenticationRequestData& from) { CopyFrom(from); return *this; } inline PakeAuthenticationRequestData& operator=(PakeAuthenticationRequestData&& from) noexcept { if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { return GetDescriptor(); } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { return GetMetadataStatic().descriptor; } static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } static const PakeAuthenticationRequestData& default_instance() { return *internal_default_instance(); } enum DataCase { kPakeRegistrationRequestAndUserID = 1, kPakeRegistrationUpload = 2, kPakeCredentialRequest = 3, kPakeCredentialFinalization = 4, kPakeClientMAC = 5, DATA_NOT_SET = 0, }; static inline const PakeAuthenticationRequestData* internal_default_instance() { return reinterpret_cast( &_PakeAuthenticationRequestData_default_instance_); } static constexpr int kIndexInFileMessages = 1; friend void swap(PakeAuthenticationRequestData& a, PakeAuthenticationRequestData& b) { a.Swap(&b); } inline void Swap(PakeAuthenticationRequestData* other) { if (other == this) return; if (GetArena() == other->GetArena()) { InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(PakeAuthenticationRequestData* other) { if (other == this) return; GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- inline PakeAuthenticationRequestData* New() const final { return CreateMaybeMessage(nullptr); } PakeAuthenticationRequestData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void CopyFrom(const PakeAuthenticationRequestData& from); void MergeFrom(const PakeAuthenticationRequestData& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(PakeAuthenticationRequestData* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "backup.PakeAuthenticationRequestData"; } protected: explicit PakeAuthenticationRequestData(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { return ::descriptor_table_backup_2eproto_metadata_getter(kIndexInFileMessages); } public: // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kPakeRegistrationRequestAndUserIDFieldNumber = 1, kPakeRegistrationUploadFieldNumber = 2, kPakeCredentialRequestFieldNumber = 3, kPakeCredentialFinalizationFieldNumber = 4, kPakeClientMACFieldNumber = 5, }; // .backup.PakeRegistrationRequestAndUserID pakeRegistrationRequestAndUserID = 1; bool has_pakeregistrationrequestanduserid() const; private: bool _internal_has_pakeregistrationrequestanduserid() const; public: void clear_pakeregistrationrequestanduserid(); const ::backup::PakeRegistrationRequestAndUserID& pakeregistrationrequestanduserid() const; ::backup::PakeRegistrationRequestAndUserID* release_pakeregistrationrequestanduserid(); ::backup::PakeRegistrationRequestAndUserID* mutable_pakeregistrationrequestanduserid(); void set_allocated_pakeregistrationrequestanduserid(::backup::PakeRegistrationRequestAndUserID* pakeregistrationrequestanduserid); private: const ::backup::PakeRegistrationRequestAndUserID& _internal_pakeregistrationrequestanduserid() const; ::backup::PakeRegistrationRequestAndUserID* _internal_mutable_pakeregistrationrequestanduserid(); public: void unsafe_arena_set_allocated_pakeregistrationrequestanduserid( ::backup::PakeRegistrationRequestAndUserID* pakeregistrationrequestanduserid); ::backup::PakeRegistrationRequestAndUserID* unsafe_arena_release_pakeregistrationrequestanduserid(); // bytes pakeRegistrationUpload = 2; bool has_pakeregistrationupload() const; private: bool _internal_has_pakeregistrationupload() const; public: void clear_pakeregistrationupload(); const std::string& pakeregistrationupload() const; void set_pakeregistrationupload(const std::string& value); void set_pakeregistrationupload(std::string&& value); void set_pakeregistrationupload(const char* value); void set_pakeregistrationupload(const void* value, size_t size); std::string* mutable_pakeregistrationupload(); std::string* release_pakeregistrationupload(); void set_allocated_pakeregistrationupload(std::string* pakeregistrationupload); private: const std::string& _internal_pakeregistrationupload() const; void _internal_set_pakeregistrationupload(const std::string& value); std::string* _internal_mutable_pakeregistrationupload(); public: // bytes pakeCredentialRequest = 3; bool has_pakecredentialrequest() const; private: bool _internal_has_pakecredentialrequest() const; public: void clear_pakecredentialrequest(); const std::string& pakecredentialrequest() const; void set_pakecredentialrequest(const std::string& value); void set_pakecredentialrequest(std::string&& value); void set_pakecredentialrequest(const char* value); void set_pakecredentialrequest(const void* value, size_t size); std::string* mutable_pakecredentialrequest(); std::string* release_pakecredentialrequest(); void set_allocated_pakecredentialrequest(std::string* pakecredentialrequest); private: const std::string& _internal_pakecredentialrequest() const; void _internal_set_pakecredentialrequest(const std::string& value); std::string* _internal_mutable_pakecredentialrequest(); public: // bytes pakeCredentialFinalization = 4; bool has_pakecredentialfinalization() const; private: bool _internal_has_pakecredentialfinalization() const; public: void clear_pakecredentialfinalization(); const std::string& pakecredentialfinalization() const; void set_pakecredentialfinalization(const std::string& value); void set_pakecredentialfinalization(std::string&& value); void set_pakecredentialfinalization(const char* value); void set_pakecredentialfinalization(const void* value, size_t size); std::string* mutable_pakecredentialfinalization(); std::string* release_pakecredentialfinalization(); void set_allocated_pakecredentialfinalization(std::string* pakecredentialfinalization); private: const std::string& _internal_pakecredentialfinalization() const; void _internal_set_pakecredentialfinalization(const std::string& value); std::string* _internal_mutable_pakecredentialfinalization(); public: // bytes pakeClientMAC = 5; bool has_pakeclientmac() const; private: bool _internal_has_pakeclientmac() const; public: void clear_pakeclientmac(); const std::string& pakeclientmac() const; void set_pakeclientmac(const std::string& value); void set_pakeclientmac(std::string&& value); void set_pakeclientmac(const char* value); void set_pakeclientmac(const void* value, size_t size); std::string* mutable_pakeclientmac(); std::string* release_pakeclientmac(); void set_allocated_pakeclientmac(std::string* pakeclientmac); private: const std::string& _internal_pakeclientmac() const; void _internal_set_pakeclientmac(const std::string& value); std::string* _internal_mutable_pakeclientmac(); public: void clear_data(); DataCase data_case() const; // @@protoc_insertion_point(class_scope:backup.PakeAuthenticationRequestData) private: class _Internal; void set_has_pakeregistrationrequestanduserid(); void set_has_pakeregistrationupload(); void set_has_pakecredentialrequest(); void set_has_pakecredentialfinalization(); void set_has_pakeclientmac(); inline bool has_data() const; inline void clear_has_data(); template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; union DataUnion { constexpr DataUnion() : _constinit_{} {} ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; ::backup::PakeRegistrationRequestAndUserID* pakeregistrationrequestanduserid_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr pakeregistrationupload_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr pakecredentialrequest_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr pakecredentialfinalization_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr pakeclientmac_; } data_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::uint32 _oneof_case_[1]; friend struct ::TableStruct_backup_2eproto; }; // ------------------------------------------------------------------- class WalletAuthenticationRequestData PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:backup.WalletAuthenticationRequestData) */ { public: inline WalletAuthenticationRequestData() : WalletAuthenticationRequestData(nullptr) {} virtual ~WalletAuthenticationRequestData(); explicit constexpr WalletAuthenticationRequestData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); WalletAuthenticationRequestData(const WalletAuthenticationRequestData& from); WalletAuthenticationRequestData(WalletAuthenticationRequestData&& from) noexcept : WalletAuthenticationRequestData() { *this = ::std::move(from); } inline WalletAuthenticationRequestData& operator=(const WalletAuthenticationRequestData& from) { CopyFrom(from); return *this; } inline WalletAuthenticationRequestData& operator=(WalletAuthenticationRequestData&& from) noexcept { if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { return GetDescriptor(); } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { return GetMetadataStatic().descriptor; } static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } static const WalletAuthenticationRequestData& default_instance() { return *internal_default_instance(); } static inline const WalletAuthenticationRequestData* internal_default_instance() { return reinterpret_cast( &_WalletAuthenticationRequestData_default_instance_); } static constexpr int kIndexInFileMessages = 2; friend void swap(WalletAuthenticationRequestData& a, WalletAuthenticationRequestData& b) { a.Swap(&b); } inline void Swap(WalletAuthenticationRequestData* other) { if (other == this) return; if (GetArena() == other->GetArena()) { InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(WalletAuthenticationRequestData* other) { if (other == this) return; GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- inline WalletAuthenticationRequestData* New() const final { return CreateMaybeMessage(nullptr); } WalletAuthenticationRequestData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void CopyFrom(const WalletAuthenticationRequestData& from); void MergeFrom(const WalletAuthenticationRequestData& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(WalletAuthenticationRequestData* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "backup.WalletAuthenticationRequestData"; } protected: explicit WalletAuthenticationRequestData(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { return ::descriptor_table_backup_2eproto_metadata_getter(kIndexInFileMessages); } public: // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kUserIDFieldNumber = 1, kWalletAddressFieldNumber = 2, kSignedMessageFieldNumber = 3, }; // string userID = 1; void clear_userid(); const std::string& userid() const; void set_userid(const std::string& value); void set_userid(std::string&& value); void set_userid(const char* value); void set_userid(const char* value, size_t size); std::string* mutable_userid(); std::string* release_userid(); void set_allocated_userid(std::string* userid); private: const std::string& _internal_userid() const; void _internal_set_userid(const std::string& value); std::string* _internal_mutable_userid(); public: // string walletAddress = 2; void clear_walletaddress(); const std::string& walletaddress() const; void set_walletaddress(const std::string& value); void set_walletaddress(std::string&& value); void set_walletaddress(const char* value); void set_walletaddress(const char* value, size_t size); std::string* mutable_walletaddress(); std::string* release_walletaddress(); void set_allocated_walletaddress(std::string* walletaddress); private: const std::string& _internal_walletaddress() const; void _internal_set_walletaddress(const std::string& value); std::string* _internal_mutable_walletaddress(); public: // bytes signedMessage = 3; void clear_signedmessage(); const std::string& signedmessage() const; void set_signedmessage(const std::string& value); void set_signedmessage(std::string&& value); void set_signedmessage(const char* value); void set_signedmessage(const void* value, size_t size); std::string* mutable_signedmessage(); std::string* release_signedmessage(); void set_allocated_signedmessage(std::string* signedmessage); private: const std::string& _internal_signedmessage() const; void _internal_set_signedmessage(const std::string& value); std::string* _internal_mutable_signedmessage(); public: // @@protoc_insertion_point(class_scope:backup.WalletAuthenticationRequestData) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr userid_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr walletaddress_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr signedmessage_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_backup_2eproto; }; // ------------------------------------------------------------------- class FullAuthenticationRequestData PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:backup.FullAuthenticationRequestData) */ { public: inline FullAuthenticationRequestData() : FullAuthenticationRequestData(nullptr) {} virtual ~FullAuthenticationRequestData(); explicit constexpr FullAuthenticationRequestData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); FullAuthenticationRequestData(const FullAuthenticationRequestData& from); FullAuthenticationRequestData(FullAuthenticationRequestData&& from) noexcept : FullAuthenticationRequestData() { *this = ::std::move(from); } inline FullAuthenticationRequestData& operator=(const FullAuthenticationRequestData& from) { CopyFrom(from); return *this; } inline FullAuthenticationRequestData& operator=(FullAuthenticationRequestData&& from) noexcept { if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { return GetDescriptor(); } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { return GetMetadataStatic().descriptor; } static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } static const FullAuthenticationRequestData& default_instance() { return *internal_default_instance(); } enum DataCase { kPakeAuthenticationRequestData = 1, kWalletAuthenticationRequestData = 2, DATA_NOT_SET = 0, }; static inline const FullAuthenticationRequestData* internal_default_instance() { return reinterpret_cast( &_FullAuthenticationRequestData_default_instance_); } static constexpr int kIndexInFileMessages = 3; friend void swap(FullAuthenticationRequestData& a, FullAuthenticationRequestData& b) { a.Swap(&b); } inline void Swap(FullAuthenticationRequestData* other) { if (other == this) return; if (GetArena() == other->GetArena()) { InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(FullAuthenticationRequestData* other) { if (other == this) return; GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- inline FullAuthenticationRequestData* New() const final { return CreateMaybeMessage(nullptr); } FullAuthenticationRequestData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void CopyFrom(const FullAuthenticationRequestData& from); void MergeFrom(const FullAuthenticationRequestData& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(FullAuthenticationRequestData* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "backup.FullAuthenticationRequestData"; } protected: explicit FullAuthenticationRequestData(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { return ::descriptor_table_backup_2eproto_metadata_getter(kIndexInFileMessages); } public: // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kPakeAuthenticationRequestDataFieldNumber = 1, kWalletAuthenticationRequestDataFieldNumber = 2, }; // .backup.PakeAuthenticationRequestData pakeAuthenticationRequestData = 1; bool has_pakeauthenticationrequestdata() const; private: bool _internal_has_pakeauthenticationrequestdata() const; public: void clear_pakeauthenticationrequestdata(); const ::backup::PakeAuthenticationRequestData& pakeauthenticationrequestdata() const; ::backup::PakeAuthenticationRequestData* release_pakeauthenticationrequestdata(); ::backup::PakeAuthenticationRequestData* mutable_pakeauthenticationrequestdata(); void set_allocated_pakeauthenticationrequestdata(::backup::PakeAuthenticationRequestData* pakeauthenticationrequestdata); private: const ::backup::PakeAuthenticationRequestData& _internal_pakeauthenticationrequestdata() const; ::backup::PakeAuthenticationRequestData* _internal_mutable_pakeauthenticationrequestdata(); public: void unsafe_arena_set_allocated_pakeauthenticationrequestdata( ::backup::PakeAuthenticationRequestData* pakeauthenticationrequestdata); ::backup::PakeAuthenticationRequestData* unsafe_arena_release_pakeauthenticationrequestdata(); // .backup.WalletAuthenticationRequestData walletAuthenticationRequestData = 2; bool has_walletauthenticationrequestdata() const; private: bool _internal_has_walletauthenticationrequestdata() const; public: void clear_walletauthenticationrequestdata(); const ::backup::WalletAuthenticationRequestData& walletauthenticationrequestdata() const; ::backup::WalletAuthenticationRequestData* release_walletauthenticationrequestdata(); ::backup::WalletAuthenticationRequestData* mutable_walletauthenticationrequestdata(); void set_allocated_walletauthenticationrequestdata(::backup::WalletAuthenticationRequestData* walletauthenticationrequestdata); private: const ::backup::WalletAuthenticationRequestData& _internal_walletauthenticationrequestdata() const; ::backup::WalletAuthenticationRequestData* _internal_mutable_walletauthenticationrequestdata(); public: void unsafe_arena_set_allocated_walletauthenticationrequestdata( ::backup::WalletAuthenticationRequestData* walletauthenticationrequestdata); ::backup::WalletAuthenticationRequestData* unsafe_arena_release_walletauthenticationrequestdata(); void clear_data(); DataCase data_case() const; // @@protoc_insertion_point(class_scope:backup.FullAuthenticationRequestData) private: class _Internal; void set_has_pakeauthenticationrequestdata(); void set_has_walletauthenticationrequestdata(); inline bool has_data() const; inline void clear_has_data(); template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; union DataUnion { constexpr DataUnion() : _constinit_{} {} ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; ::backup::PakeAuthenticationRequestData* pakeauthenticationrequestdata_; ::backup::WalletAuthenticationRequestData* walletauthenticationrequestdata_; } data_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::uint32 _oneof_case_[1]; friend struct ::TableStruct_backup_2eproto; }; // ------------------------------------------------------------------- class WalletAuthenticationResponseData PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:backup.WalletAuthenticationResponseData) */ { public: inline WalletAuthenticationResponseData() : WalletAuthenticationResponseData(nullptr) {} virtual ~WalletAuthenticationResponseData(); explicit constexpr WalletAuthenticationResponseData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); WalletAuthenticationResponseData(const WalletAuthenticationResponseData& from); WalletAuthenticationResponseData(WalletAuthenticationResponseData&& from) noexcept : WalletAuthenticationResponseData() { *this = ::std::move(from); } inline WalletAuthenticationResponseData& operator=(const WalletAuthenticationResponseData& from) { CopyFrom(from); return *this; } inline WalletAuthenticationResponseData& operator=(WalletAuthenticationResponseData&& from) noexcept { if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { return GetDescriptor(); } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { return GetMetadataStatic().descriptor; } static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } static const WalletAuthenticationResponseData& default_instance() { return *internal_default_instance(); } static inline const WalletAuthenticationResponseData* internal_default_instance() { return reinterpret_cast( &_WalletAuthenticationResponseData_default_instance_); } static constexpr int kIndexInFileMessages = 4; friend void swap(WalletAuthenticationResponseData& a, WalletAuthenticationResponseData& b) { a.Swap(&b); } inline void Swap(WalletAuthenticationResponseData* other) { if (other == this) return; if (GetArena() == other->GetArena()) { InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(WalletAuthenticationResponseData* other) { if (other == this) return; GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- inline WalletAuthenticationResponseData* New() const final { return CreateMaybeMessage(nullptr); } WalletAuthenticationResponseData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void CopyFrom(const WalletAuthenticationResponseData& from); void MergeFrom(const WalletAuthenticationResponseData& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(WalletAuthenticationResponseData* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "backup.WalletAuthenticationResponseData"; } protected: explicit WalletAuthenticationResponseData(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { return ::descriptor_table_backup_2eproto_metadata_getter(kIndexInFileMessages); } public: // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kSuccessFieldNumber = 1, }; // bool success = 1; void clear_success(); bool success() const; void set_success(bool value); private: bool _internal_success() const; void _internal_set_success(bool value); public: // @@protoc_insertion_point(class_scope:backup.WalletAuthenticationResponseData) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; bool success_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_backup_2eproto; }; // ------------------------------------------------------------------- class PakeAuthenticationResponseData PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:backup.PakeAuthenticationResponseData) */ { public: inline PakeAuthenticationResponseData() : PakeAuthenticationResponseData(nullptr) {} virtual ~PakeAuthenticationResponseData(); explicit constexpr PakeAuthenticationResponseData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); PakeAuthenticationResponseData(const PakeAuthenticationResponseData& from); PakeAuthenticationResponseData(PakeAuthenticationResponseData&& from) noexcept : PakeAuthenticationResponseData() { *this = ::std::move(from); } inline PakeAuthenticationResponseData& operator=(const PakeAuthenticationResponseData& from) { CopyFrom(from); return *this; } inline PakeAuthenticationResponseData& operator=(PakeAuthenticationResponseData&& from) noexcept { if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { return GetDescriptor(); } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { return GetMetadataStatic().descriptor; } static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } static const PakeAuthenticationResponseData& default_instance() { return *internal_default_instance(); } enum DataCase { kPakeRegistrationResponse = 1, kPakeRegistrationSuccess = 2, kPakeCredentialResponse = 3, kPakeServerMAC = 4, DATA_NOT_SET = 0, }; static inline const PakeAuthenticationResponseData* internal_default_instance() { return reinterpret_cast( &_PakeAuthenticationResponseData_default_instance_); } static constexpr int kIndexInFileMessages = 5; friend void swap(PakeAuthenticationResponseData& a, PakeAuthenticationResponseData& b) { a.Swap(&b); } inline void Swap(PakeAuthenticationResponseData* other) { if (other == this) return; if (GetArena() == other->GetArena()) { InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(PakeAuthenticationResponseData* other) { if (other == this) return; GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- inline PakeAuthenticationResponseData* New() const final { return CreateMaybeMessage(nullptr); } PakeAuthenticationResponseData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void CopyFrom(const PakeAuthenticationResponseData& from); void MergeFrom(const PakeAuthenticationResponseData& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(PakeAuthenticationResponseData* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "backup.PakeAuthenticationResponseData"; } protected: explicit PakeAuthenticationResponseData(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { return ::descriptor_table_backup_2eproto_metadata_getter(kIndexInFileMessages); } public: // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kPakeRegistrationResponseFieldNumber = 1, kPakeRegistrationSuccessFieldNumber = 2, kPakeCredentialResponseFieldNumber = 3, kPakeServerMACFieldNumber = 4, }; // bytes pakeRegistrationResponse = 1; bool has_pakeregistrationresponse() const; private: bool _internal_has_pakeregistrationresponse() const; public: void clear_pakeregistrationresponse(); const std::string& pakeregistrationresponse() const; void set_pakeregistrationresponse(const std::string& value); void set_pakeregistrationresponse(std::string&& value); void set_pakeregistrationresponse(const char* value); void set_pakeregistrationresponse(const void* value, size_t size); std::string* mutable_pakeregistrationresponse(); std::string* release_pakeregistrationresponse(); void set_allocated_pakeregistrationresponse(std::string* pakeregistrationresponse); private: const std::string& _internal_pakeregistrationresponse() const; void _internal_set_pakeregistrationresponse(const std::string& value); std::string* _internal_mutable_pakeregistrationresponse(); public: // bool pakeRegistrationSuccess = 2; bool has_pakeregistrationsuccess() const; private: bool _internal_has_pakeregistrationsuccess() const; public: void clear_pakeregistrationsuccess(); bool pakeregistrationsuccess() const; void set_pakeregistrationsuccess(bool value); private: bool _internal_pakeregistrationsuccess() const; void _internal_set_pakeregistrationsuccess(bool value); public: // bytes pakeCredentialResponse = 3; bool has_pakecredentialresponse() const; private: bool _internal_has_pakecredentialresponse() const; public: void clear_pakecredentialresponse(); const std::string& pakecredentialresponse() const; void set_pakecredentialresponse(const std::string& value); void set_pakecredentialresponse(std::string&& value); void set_pakecredentialresponse(const char* value); void set_pakecredentialresponse(const void* value, size_t size); std::string* mutable_pakecredentialresponse(); std::string* release_pakecredentialresponse(); void set_allocated_pakecredentialresponse(std::string* pakecredentialresponse); private: const std::string& _internal_pakecredentialresponse() const; void _internal_set_pakecredentialresponse(const std::string& value); std::string* _internal_mutable_pakecredentialresponse(); public: // bytes pakeServerMAC = 4; bool has_pakeservermac() const; private: bool _internal_has_pakeservermac() const; public: void clear_pakeservermac(); const std::string& pakeservermac() const; void set_pakeservermac(const std::string& value); void set_pakeservermac(std::string&& value); void set_pakeservermac(const char* value); void set_pakeservermac(const void* value, size_t size); std::string* mutable_pakeservermac(); std::string* release_pakeservermac(); void set_allocated_pakeservermac(std::string* pakeservermac); private: const std::string& _internal_pakeservermac() const; void _internal_set_pakeservermac(const std::string& value); std::string* _internal_mutable_pakeservermac(); public: void clear_data(); DataCase data_case() const; // @@protoc_insertion_point(class_scope:backup.PakeAuthenticationResponseData) private: class _Internal; void set_has_pakeregistrationresponse(); void set_has_pakeregistrationsuccess(); void set_has_pakecredentialresponse(); void set_has_pakeservermac(); inline bool has_data() const; inline void clear_has_data(); template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; union DataUnion { constexpr DataUnion() : _constinit_{} {} ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr pakeregistrationresponse_; bool pakeregistrationsuccess_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr pakecredentialresponse_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr pakeservermac_; } data_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::uint32 _oneof_case_[1]; friend struct ::TableStruct_backup_2eproto; }; // ------------------------------------------------------------------- class FullAuthenticationResponseData PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:backup.FullAuthenticationResponseData) */ { public: inline FullAuthenticationResponseData() : FullAuthenticationResponseData(nullptr) {} virtual ~FullAuthenticationResponseData(); explicit constexpr FullAuthenticationResponseData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); FullAuthenticationResponseData(const FullAuthenticationResponseData& from); FullAuthenticationResponseData(FullAuthenticationResponseData&& from) noexcept : FullAuthenticationResponseData() { *this = ::std::move(from); } inline FullAuthenticationResponseData& operator=(const FullAuthenticationResponseData& from) { CopyFrom(from); return *this; } inline FullAuthenticationResponseData& operator=(FullAuthenticationResponseData&& from) noexcept { if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { return GetDescriptor(); } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { return GetMetadataStatic().descriptor; } static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } static const FullAuthenticationResponseData& default_instance() { return *internal_default_instance(); } enum DataCase { kPakeAuthenticationResponseData = 1, kWalletAuthenticationResponseData = 2, DATA_NOT_SET = 0, }; static inline const FullAuthenticationResponseData* internal_default_instance() { return reinterpret_cast( &_FullAuthenticationResponseData_default_instance_); } static constexpr int kIndexInFileMessages = 6; friend void swap(FullAuthenticationResponseData& a, FullAuthenticationResponseData& b) { a.Swap(&b); } inline void Swap(FullAuthenticationResponseData* other) { if (other == this) return; if (GetArena() == other->GetArena()) { InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(FullAuthenticationResponseData* other) { if (other == this) return; GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- inline FullAuthenticationResponseData* New() const final { return CreateMaybeMessage(nullptr); } FullAuthenticationResponseData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void CopyFrom(const FullAuthenticationResponseData& from); void MergeFrom(const FullAuthenticationResponseData& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(FullAuthenticationResponseData* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "backup.FullAuthenticationResponseData"; } protected: explicit FullAuthenticationResponseData(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { return ::descriptor_table_backup_2eproto_metadata_getter(kIndexInFileMessages); } public: // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kPakeAuthenticationResponseDataFieldNumber = 1, kWalletAuthenticationResponseDataFieldNumber = 2, }; // .backup.PakeAuthenticationResponseData pakeAuthenticationResponseData = 1; bool has_pakeauthenticationresponsedata() const; private: bool _internal_has_pakeauthenticationresponsedata() const; public: void clear_pakeauthenticationresponsedata(); const ::backup::PakeAuthenticationResponseData& pakeauthenticationresponsedata() const; ::backup::PakeAuthenticationResponseData* release_pakeauthenticationresponsedata(); ::backup::PakeAuthenticationResponseData* mutable_pakeauthenticationresponsedata(); void set_allocated_pakeauthenticationresponsedata(::backup::PakeAuthenticationResponseData* pakeauthenticationresponsedata); private: const ::backup::PakeAuthenticationResponseData& _internal_pakeauthenticationresponsedata() const; ::backup::PakeAuthenticationResponseData* _internal_mutable_pakeauthenticationresponsedata(); public: void unsafe_arena_set_allocated_pakeauthenticationresponsedata( ::backup::PakeAuthenticationResponseData* pakeauthenticationresponsedata); ::backup::PakeAuthenticationResponseData* unsafe_arena_release_pakeauthenticationresponsedata(); // .backup.WalletAuthenticationResponseData walletAuthenticationResponseData = 2; bool has_walletauthenticationresponsedata() const; private: bool _internal_has_walletauthenticationresponsedata() const; public: void clear_walletauthenticationresponsedata(); const ::backup::WalletAuthenticationResponseData& walletauthenticationresponsedata() const; ::backup::WalletAuthenticationResponseData* release_walletauthenticationresponsedata(); ::backup::WalletAuthenticationResponseData* mutable_walletauthenticationresponsedata(); void set_allocated_walletauthenticationresponsedata(::backup::WalletAuthenticationResponseData* walletauthenticationresponsedata); private: const ::backup::WalletAuthenticationResponseData& _internal_walletauthenticationresponsedata() const; ::backup::WalletAuthenticationResponseData* _internal_mutable_walletauthenticationresponsedata(); public: void unsafe_arena_set_allocated_walletauthenticationresponsedata( ::backup::WalletAuthenticationResponseData* walletauthenticationresponsedata); ::backup::WalletAuthenticationResponseData* unsafe_arena_release_walletauthenticationresponsedata(); void clear_data(); DataCase data_case() const; // @@protoc_insertion_point(class_scope:backup.FullAuthenticationResponseData) private: class _Internal; void set_has_pakeauthenticationresponsedata(); void set_has_walletauthenticationresponsedata(); inline bool has_data() const; inline void clear_has_data(); template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; union DataUnion { constexpr DataUnion() : _constinit_{} {} ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; ::backup::PakeAuthenticationResponseData* pakeauthenticationresponsedata_; ::backup::WalletAuthenticationResponseData* walletauthenticationresponsedata_; } data_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::uint32 _oneof_case_[1]; friend struct ::TableStruct_backup_2eproto; }; // ------------------------------------------------------------------- class SimpleAuthenticationRequestData PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:backup.SimpleAuthenticationRequestData) */ { public: inline SimpleAuthenticationRequestData() : SimpleAuthenticationRequestData(nullptr) {} virtual ~SimpleAuthenticationRequestData(); explicit constexpr SimpleAuthenticationRequestData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); SimpleAuthenticationRequestData(const SimpleAuthenticationRequestData& from); SimpleAuthenticationRequestData(SimpleAuthenticationRequestData&& from) noexcept : SimpleAuthenticationRequestData() { *this = ::std::move(from); } inline SimpleAuthenticationRequestData& operator=(const SimpleAuthenticationRequestData& from) { CopyFrom(from); return *this; } inline SimpleAuthenticationRequestData& operator=(SimpleAuthenticationRequestData&& from) noexcept { if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { return GetDescriptor(); } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { return GetMetadataStatic().descriptor; } static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } static const SimpleAuthenticationRequestData& default_instance() { return *internal_default_instance(); } static inline const SimpleAuthenticationRequestData* internal_default_instance() { return reinterpret_cast( &_SimpleAuthenticationRequestData_default_instance_); } static constexpr int kIndexInFileMessages = 7; friend void swap(SimpleAuthenticationRequestData& a, SimpleAuthenticationRequestData& b) { a.Swap(&b); } inline void Swap(SimpleAuthenticationRequestData* other) { if (other == this) return; if (GetArena() == other->GetArena()) { InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(SimpleAuthenticationRequestData* other) { if (other == this) return; GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- inline SimpleAuthenticationRequestData* New() const final { return CreateMaybeMessage(nullptr); } SimpleAuthenticationRequestData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void CopyFrom(const SimpleAuthenticationRequestData& from); void MergeFrom(const SimpleAuthenticationRequestData& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(SimpleAuthenticationRequestData* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "backup.SimpleAuthenticationRequestData"; } protected: explicit SimpleAuthenticationRequestData(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { return ::descriptor_table_backup_2eproto_metadata_getter(kIndexInFileMessages); } public: // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kBackupIDFieldNumber = 1, kUserIDFieldNumber = 2, }; // string backupID = 1; void clear_backupid(); const std::string& backupid() const; void set_backupid(const std::string& value); void set_backupid(std::string&& value); void set_backupid(const char* value); void set_backupid(const char* value, size_t size); std::string* mutable_backupid(); std::string* release_backupid(); void set_allocated_backupid(std::string* backupid); private: const std::string& _internal_backupid() const; void _internal_set_backupid(const std::string& value); std::string* _internal_mutable_backupid(); public: // string userID = 2; void clear_userid(); const std::string& userid() const; void set_userid(const std::string& value); void set_userid(std::string&& value); void set_userid(const char* value); void set_userid(const char* value, size_t size); std::string* mutable_userid(); std::string* release_userid(); void set_allocated_userid(std::string* userid); private: const std::string& _internal_userid() const; void _internal_set_userid(const std::string& value); std::string* _internal_mutable_userid(); public: // @@protoc_insertion_point(class_scope:backup.SimpleAuthenticationRequestData) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr backupid_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr userid_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_backup_2eproto; }; // ------------------------------------------------------------------- class BackupKeyEntropy PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:backup.BackupKeyEntropy) */ { public: inline BackupKeyEntropy() : BackupKeyEntropy(nullptr) {} virtual ~BackupKeyEntropy(); explicit constexpr BackupKeyEntropy(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); BackupKeyEntropy(const BackupKeyEntropy& from); BackupKeyEntropy(BackupKeyEntropy&& from) noexcept : BackupKeyEntropy() { *this = ::std::move(from); } inline BackupKeyEntropy& operator=(const BackupKeyEntropy& from) { CopyFrom(from); return *this; } inline BackupKeyEntropy& operator=(BackupKeyEntropy&& from) noexcept { if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { return GetDescriptor(); } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { return GetMetadataStatic().descriptor; } static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } static const BackupKeyEntropy& default_instance() { return *internal_default_instance(); } enum DataCase { kNonce = 1, kRawMessage = 2, DATA_NOT_SET = 0, }; static inline const BackupKeyEntropy* internal_default_instance() { return reinterpret_cast( &_BackupKeyEntropy_default_instance_); } static constexpr int kIndexInFileMessages = 8; friend void swap(BackupKeyEntropy& a, BackupKeyEntropy& b) { a.Swap(&b); } inline void Swap(BackupKeyEntropy* other) { if (other == this) return; if (GetArena() == other->GetArena()) { InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(BackupKeyEntropy* other) { if (other == this) return; GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- inline BackupKeyEntropy* New() const final { return CreateMaybeMessage(nullptr); } BackupKeyEntropy* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void CopyFrom(const BackupKeyEntropy& from); void MergeFrom(const BackupKeyEntropy& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(BackupKeyEntropy* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "backup.BackupKeyEntropy"; } protected: explicit BackupKeyEntropy(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { return ::descriptor_table_backup_2eproto_metadata_getter(kIndexInFileMessages); } public: // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kNonceFieldNumber = 1, kRawMessageFieldNumber = 2, }; // bytes nonce = 1; bool has_nonce() const; private: bool _internal_has_nonce() const; public: void clear_nonce(); const std::string& nonce() const; void set_nonce(const std::string& value); void set_nonce(std::string&& value); void set_nonce(const char* value); void set_nonce(const void* value, size_t size); std::string* mutable_nonce(); std::string* release_nonce(); void set_allocated_nonce(std::string* nonce); private: const std::string& _internal_nonce() const; void _internal_set_nonce(const std::string& value); std::string* _internal_mutable_nonce(); public: // bytes rawMessage = 2; bool has_rawmessage() const; private: bool _internal_has_rawmessage() const; public: void clear_rawmessage(); const std::string& rawmessage() const; void set_rawmessage(const std::string& value); void set_rawmessage(std::string&& value); void set_rawmessage(const char* value); void set_rawmessage(const void* value, size_t size); std::string* mutable_rawmessage(); std::string* release_rawmessage(); void set_allocated_rawmessage(std::string* rawmessage); private: const std::string& _internal_rawmessage() const; void _internal_set_rawmessage(const std::string& value); std::string* _internal_mutable_rawmessage(); public: void clear_data(); DataCase data_case() const; // @@protoc_insertion_point(class_scope:backup.BackupKeyEntropy) private: class _Internal; void set_has_nonce(); void set_has_rawmessage(); inline bool has_data() const; inline void clear_has_data(); template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; union DataUnion { constexpr DataUnion() : _constinit_{} {} ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr nonce_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr rawmessage_; } data_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::uint32 _oneof_case_[1]; friend struct ::TableStruct_backup_2eproto; }; // ------------------------------------------------------------------- class CreateNewBackupRequest PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:backup.CreateNewBackupRequest) */ { public: inline CreateNewBackupRequest() : CreateNewBackupRequest(nullptr) {} virtual ~CreateNewBackupRequest(); explicit constexpr CreateNewBackupRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); CreateNewBackupRequest(const CreateNewBackupRequest& from); CreateNewBackupRequest(CreateNewBackupRequest&& from) noexcept : CreateNewBackupRequest() { *this = ::std::move(from); } inline CreateNewBackupRequest& operator=(const CreateNewBackupRequest& from) { CopyFrom(from); return *this; } inline CreateNewBackupRequest& operator=(CreateNewBackupRequest&& from) noexcept { if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { return GetDescriptor(); } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { return GetMetadataStatic().descriptor; } static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } static const CreateNewBackupRequest& default_instance() { return *internal_default_instance(); } enum DataCase { kAuthenticationRequestData = 1, kBackupKeyEntropy = 2, - kNewCompactionChunk = 3, + kNewCompactionHash = 3, + kNewCompactionChunk = 4, DATA_NOT_SET = 0, }; static inline const CreateNewBackupRequest* internal_default_instance() { return reinterpret_cast( &_CreateNewBackupRequest_default_instance_); } static constexpr int kIndexInFileMessages = 9; friend void swap(CreateNewBackupRequest& a, CreateNewBackupRequest& b) { a.Swap(&b); } inline void Swap(CreateNewBackupRequest* other) { if (other == this) return; if (GetArena() == other->GetArena()) { InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(CreateNewBackupRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- inline CreateNewBackupRequest* New() const final { return CreateMaybeMessage(nullptr); } CreateNewBackupRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void CopyFrom(const CreateNewBackupRequest& from); void MergeFrom(const CreateNewBackupRequest& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(CreateNewBackupRequest* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "backup.CreateNewBackupRequest"; } protected: explicit CreateNewBackupRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { return ::descriptor_table_backup_2eproto_metadata_getter(kIndexInFileMessages); } public: // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kAuthenticationRequestDataFieldNumber = 1, kBackupKeyEntropyFieldNumber = 2, - kNewCompactionChunkFieldNumber = 3, + kNewCompactionHashFieldNumber = 3, + kNewCompactionChunkFieldNumber = 4, }; // .backup.FullAuthenticationRequestData authenticationRequestData = 1; bool has_authenticationrequestdata() const; private: bool _internal_has_authenticationrequestdata() const; public: void clear_authenticationrequestdata(); const ::backup::FullAuthenticationRequestData& authenticationrequestdata() const; ::backup::FullAuthenticationRequestData* release_authenticationrequestdata(); ::backup::FullAuthenticationRequestData* mutable_authenticationrequestdata(); void set_allocated_authenticationrequestdata(::backup::FullAuthenticationRequestData* authenticationrequestdata); private: const ::backup::FullAuthenticationRequestData& _internal_authenticationrequestdata() const; ::backup::FullAuthenticationRequestData* _internal_mutable_authenticationrequestdata(); public: void unsafe_arena_set_allocated_authenticationrequestdata( ::backup::FullAuthenticationRequestData* authenticationrequestdata); ::backup::FullAuthenticationRequestData* unsafe_arena_release_authenticationrequestdata(); // .backup.BackupKeyEntropy backupKeyEntropy = 2; bool has_backupkeyentropy() const; private: bool _internal_has_backupkeyentropy() const; public: void clear_backupkeyentropy(); const ::backup::BackupKeyEntropy& backupkeyentropy() const; ::backup::BackupKeyEntropy* release_backupkeyentropy(); ::backup::BackupKeyEntropy* mutable_backupkeyentropy(); void set_allocated_backupkeyentropy(::backup::BackupKeyEntropy* backupkeyentropy); private: const ::backup::BackupKeyEntropy& _internal_backupkeyentropy() const; ::backup::BackupKeyEntropy* _internal_mutable_backupkeyentropy(); public: void unsafe_arena_set_allocated_backupkeyentropy( ::backup::BackupKeyEntropy* backupkeyentropy); ::backup::BackupKeyEntropy* unsafe_arena_release_backupkeyentropy(); - // bytes newCompactionChunk = 3; + // bytes newCompactionHash = 3; + bool has_newcompactionhash() const; + private: + bool _internal_has_newcompactionhash() const; + public: + void clear_newcompactionhash(); + const std::string& newcompactionhash() const; + void set_newcompactionhash(const std::string& value); + void set_newcompactionhash(std::string&& value); + void set_newcompactionhash(const char* value); + void set_newcompactionhash(const void* value, size_t size); + std::string* mutable_newcompactionhash(); + std::string* release_newcompactionhash(); + void set_allocated_newcompactionhash(std::string* newcompactionhash); + private: + const std::string& _internal_newcompactionhash() const; + void _internal_set_newcompactionhash(const std::string& value); + std::string* _internal_mutable_newcompactionhash(); + public: + + // bytes newCompactionChunk = 4; bool has_newcompactionchunk() const; private: bool _internal_has_newcompactionchunk() const; public: void clear_newcompactionchunk(); const std::string& newcompactionchunk() const; void set_newcompactionchunk(const std::string& value); void set_newcompactionchunk(std::string&& value); void set_newcompactionchunk(const char* value); void set_newcompactionchunk(const void* value, size_t size); std::string* mutable_newcompactionchunk(); std::string* release_newcompactionchunk(); void set_allocated_newcompactionchunk(std::string* newcompactionchunk); private: const std::string& _internal_newcompactionchunk() const; void _internal_set_newcompactionchunk(const std::string& value); std::string* _internal_mutable_newcompactionchunk(); public: void clear_data(); DataCase data_case() const; // @@protoc_insertion_point(class_scope:backup.CreateNewBackupRequest) private: class _Internal; void set_has_authenticationrequestdata(); void set_has_backupkeyentropy(); + void set_has_newcompactionhash(); void set_has_newcompactionchunk(); inline bool has_data() const; inline void clear_has_data(); template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; union DataUnion { constexpr DataUnion() : _constinit_{} {} ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; ::backup::FullAuthenticationRequestData* authenticationrequestdata_; ::backup::BackupKeyEntropy* backupkeyentropy_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr newcompactionhash_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr newcompactionchunk_; } data_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::uint32 _oneof_case_[1]; friend struct ::TableStruct_backup_2eproto; }; // ------------------------------------------------------------------- class CreateNewBackupResponse PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:backup.CreateNewBackupResponse) */ { public: inline CreateNewBackupResponse() : CreateNewBackupResponse(nullptr) {} virtual ~CreateNewBackupResponse(); explicit constexpr CreateNewBackupResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); CreateNewBackupResponse(const CreateNewBackupResponse& from); CreateNewBackupResponse(CreateNewBackupResponse&& from) noexcept : CreateNewBackupResponse() { *this = ::std::move(from); } inline CreateNewBackupResponse& operator=(const CreateNewBackupResponse& from) { CopyFrom(from); return *this; } inline CreateNewBackupResponse& operator=(CreateNewBackupResponse&& from) noexcept { if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { return GetDescriptor(); } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { return GetMetadataStatic().descriptor; } static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } static const CreateNewBackupResponse& default_instance() { return *internal_default_instance(); } enum DataCase { kAuthenticationResponseData = 1, kEntropyValid = 2, kBackupID = 3, DATA_NOT_SET = 0, }; static inline const CreateNewBackupResponse* internal_default_instance() { return reinterpret_cast( &_CreateNewBackupResponse_default_instance_); } static constexpr int kIndexInFileMessages = 10; friend void swap(CreateNewBackupResponse& a, CreateNewBackupResponse& b) { a.Swap(&b); } inline void Swap(CreateNewBackupResponse* other) { if (other == this) return; if (GetArena() == other->GetArena()) { InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(CreateNewBackupResponse* other) { if (other == this) return; GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- inline CreateNewBackupResponse* New() const final { return CreateMaybeMessage(nullptr); } CreateNewBackupResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void CopyFrom(const CreateNewBackupResponse& from); void MergeFrom(const CreateNewBackupResponse& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(CreateNewBackupResponse* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "backup.CreateNewBackupResponse"; } protected: explicit CreateNewBackupResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { return ::descriptor_table_backup_2eproto_metadata_getter(kIndexInFileMessages); } public: // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kAuthenticationResponseDataFieldNumber = 1, kEntropyValidFieldNumber = 2, kBackupIDFieldNumber = 3, }; // .backup.FullAuthenticationResponseData authenticationResponseData = 1; bool has_authenticationresponsedata() const; private: bool _internal_has_authenticationresponsedata() const; public: void clear_authenticationresponsedata(); const ::backup::FullAuthenticationResponseData& authenticationresponsedata() const; ::backup::FullAuthenticationResponseData* release_authenticationresponsedata(); ::backup::FullAuthenticationResponseData* mutable_authenticationresponsedata(); void set_allocated_authenticationresponsedata(::backup::FullAuthenticationResponseData* authenticationresponsedata); private: const ::backup::FullAuthenticationResponseData& _internal_authenticationresponsedata() const; ::backup::FullAuthenticationResponseData* _internal_mutable_authenticationresponsedata(); public: void unsafe_arena_set_allocated_authenticationresponsedata( ::backup::FullAuthenticationResponseData* authenticationresponsedata); ::backup::FullAuthenticationResponseData* unsafe_arena_release_authenticationresponsedata(); // bool entropyValid = 2; bool has_entropyvalid() const; private: bool _internal_has_entropyvalid() const; public: void clear_entropyvalid(); bool entropyvalid() const; void set_entropyvalid(bool value); private: bool _internal_entropyvalid() const; void _internal_set_entropyvalid(bool value); public: // string backupID = 3; bool has_backupid() const; private: bool _internal_has_backupid() const; public: void clear_backupid(); const std::string& backupid() const; void set_backupid(const std::string& value); void set_backupid(std::string&& value); void set_backupid(const char* value); void set_backupid(const char* value, size_t size); std::string* mutable_backupid(); std::string* release_backupid(); void set_allocated_backupid(std::string* backupid); private: const std::string& _internal_backupid() const; void _internal_set_backupid(const std::string& value); std::string* _internal_mutable_backupid(); public: void clear_data(); DataCase data_case() const; // @@protoc_insertion_point(class_scope:backup.CreateNewBackupResponse) private: class _Internal; void set_has_authenticationresponsedata(); void set_has_entropyvalid(); void set_has_backupid(); inline bool has_data() const; inline void clear_has_data(); template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; union DataUnion { constexpr DataUnion() : _constinit_{} {} ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; ::backup::FullAuthenticationResponseData* authenticationresponsedata_; bool entropyvalid_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr backupid_; } data_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::uint32 _oneof_case_[1]; friend struct ::TableStruct_backup_2eproto; }; // ------------------------------------------------------------------- class SendLogRequest PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:backup.SendLogRequest) */ { public: inline SendLogRequest() : SendLogRequest(nullptr) {} virtual ~SendLogRequest(); explicit constexpr SendLogRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); SendLogRequest(const SendLogRequest& from); SendLogRequest(SendLogRequest&& from) noexcept : SendLogRequest() { *this = ::std::move(from); } inline SendLogRequest& operator=(const SendLogRequest& from) { CopyFrom(from); return *this; } inline SendLogRequest& operator=(SendLogRequest&& from) noexcept { if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { return GetDescriptor(); } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { return GetMetadataStatic().descriptor; } static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } static const SendLogRequest& default_instance() { return *internal_default_instance(); } static inline const SendLogRequest* internal_default_instance() { return reinterpret_cast( &_SendLogRequest_default_instance_); } static constexpr int kIndexInFileMessages = 11; friend void swap(SendLogRequest& a, SendLogRequest& b) { a.Swap(&b); } inline void Swap(SendLogRequest* other) { if (other == this) return; if (GetArena() == other->GetArena()) { InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(SendLogRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- inline SendLogRequest* New() const final { return CreateMaybeMessage(nullptr); } SendLogRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void CopyFrom(const SendLogRequest& from); void MergeFrom(const SendLogRequest& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(SendLogRequest* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "backup.SendLogRequest"; } protected: explicit SendLogRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { return ::descriptor_table_backup_2eproto_metadata_getter(kIndexInFileMessages); } public: // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kLogDataFieldNumber = 2, kAuthenticationDataFieldNumber = 1, }; // bytes logData = 2; void clear_logdata(); const std::string& logdata() const; void set_logdata(const std::string& value); void set_logdata(std::string&& value); void set_logdata(const char* value); void set_logdata(const void* value, size_t size); std::string* mutable_logdata(); std::string* release_logdata(); void set_allocated_logdata(std::string* logdata); private: const std::string& _internal_logdata() const; void _internal_set_logdata(const std::string& value); std::string* _internal_mutable_logdata(); public: // .backup.SimpleAuthenticationRequestData authenticationData = 1; bool has_authenticationdata() const; private: bool _internal_has_authenticationdata() const; public: void clear_authenticationdata(); const ::backup::SimpleAuthenticationRequestData& authenticationdata() const; ::backup::SimpleAuthenticationRequestData* release_authenticationdata(); ::backup::SimpleAuthenticationRequestData* mutable_authenticationdata(); void set_allocated_authenticationdata(::backup::SimpleAuthenticationRequestData* authenticationdata); private: const ::backup::SimpleAuthenticationRequestData& _internal_authenticationdata() const; ::backup::SimpleAuthenticationRequestData* _internal_mutable_authenticationdata(); public: void unsafe_arena_set_allocated_authenticationdata( ::backup::SimpleAuthenticationRequestData* authenticationdata); ::backup::SimpleAuthenticationRequestData* unsafe_arena_release_authenticationdata(); // @@protoc_insertion_point(class_scope:backup.SendLogRequest) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr logdata_; ::backup::SimpleAuthenticationRequestData* authenticationdata_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_backup_2eproto; }; // ------------------------------------------------------------------- class RecoverBackupKeyRequest PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:backup.RecoverBackupKeyRequest) */ { public: inline RecoverBackupKeyRequest() : RecoverBackupKeyRequest(nullptr) {} virtual ~RecoverBackupKeyRequest(); explicit constexpr RecoverBackupKeyRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); RecoverBackupKeyRequest(const RecoverBackupKeyRequest& from); RecoverBackupKeyRequest(RecoverBackupKeyRequest&& from) noexcept : RecoverBackupKeyRequest() { *this = ::std::move(from); } inline RecoverBackupKeyRequest& operator=(const RecoverBackupKeyRequest& from) { CopyFrom(from); return *this; } inline RecoverBackupKeyRequest& operator=(RecoverBackupKeyRequest&& from) noexcept { if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { return GetDescriptor(); } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { return GetMetadataStatic().descriptor; } static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } static const RecoverBackupKeyRequest& default_instance() { return *internal_default_instance(); } static inline const RecoverBackupKeyRequest* internal_default_instance() { return reinterpret_cast( &_RecoverBackupKeyRequest_default_instance_); } static constexpr int kIndexInFileMessages = 12; friend void swap(RecoverBackupKeyRequest& a, RecoverBackupKeyRequest& b) { a.Swap(&b); } inline void Swap(RecoverBackupKeyRequest* other) { if (other == this) return; if (GetArena() == other->GetArena()) { InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(RecoverBackupKeyRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- inline RecoverBackupKeyRequest* New() const final { return CreateMaybeMessage(nullptr); } RecoverBackupKeyRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void CopyFrom(const RecoverBackupKeyRequest& from); void MergeFrom(const RecoverBackupKeyRequest& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(RecoverBackupKeyRequest* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "backup.RecoverBackupKeyRequest"; } protected: explicit RecoverBackupKeyRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { return ::descriptor_table_backup_2eproto_metadata_getter(kIndexInFileMessages); } public: // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kAuthenticationDataFieldNumber = 1, }; // .backup.FullAuthenticationRequestData authenticationData = 1; bool has_authenticationdata() const; private: bool _internal_has_authenticationdata() const; public: void clear_authenticationdata(); const ::backup::FullAuthenticationRequestData& authenticationdata() const; ::backup::FullAuthenticationRequestData* release_authenticationdata(); ::backup::FullAuthenticationRequestData* mutable_authenticationdata(); void set_allocated_authenticationdata(::backup::FullAuthenticationRequestData* authenticationdata); private: const ::backup::FullAuthenticationRequestData& _internal_authenticationdata() const; ::backup::FullAuthenticationRequestData* _internal_mutable_authenticationdata(); public: void unsafe_arena_set_allocated_authenticationdata( ::backup::FullAuthenticationRequestData* authenticationdata); ::backup::FullAuthenticationRequestData* unsafe_arena_release_authenticationdata(); // @@protoc_insertion_point(class_scope:backup.RecoverBackupKeyRequest) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::backup::FullAuthenticationRequestData* authenticationdata_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_backup_2eproto; }; // ------------------------------------------------------------------- class RecoverBackupKeyResponse PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:backup.RecoverBackupKeyResponse) */ { public: inline RecoverBackupKeyResponse() : RecoverBackupKeyResponse(nullptr) {} virtual ~RecoverBackupKeyResponse(); explicit constexpr RecoverBackupKeyResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); RecoverBackupKeyResponse(const RecoverBackupKeyResponse& from); RecoverBackupKeyResponse(RecoverBackupKeyResponse&& from) noexcept : RecoverBackupKeyResponse() { *this = ::std::move(from); } inline RecoverBackupKeyResponse& operator=(const RecoverBackupKeyResponse& from) { CopyFrom(from); return *this; } inline RecoverBackupKeyResponse& operator=(RecoverBackupKeyResponse&& from) noexcept { if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { return GetDescriptor(); } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { return GetMetadataStatic().descriptor; } static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } static const RecoverBackupKeyResponse& default_instance() { return *internal_default_instance(); } enum DataCase { kAuthenticationResponseData = 1, kBackupKeyEntropy = 2, kBackupID = 4, DATA_NOT_SET = 0, }; static inline const RecoverBackupKeyResponse* internal_default_instance() { return reinterpret_cast( &_RecoverBackupKeyResponse_default_instance_); } static constexpr int kIndexInFileMessages = 13; friend void swap(RecoverBackupKeyResponse& a, RecoverBackupKeyResponse& b) { a.Swap(&b); } inline void Swap(RecoverBackupKeyResponse* other) { if (other == this) return; if (GetArena() == other->GetArena()) { InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(RecoverBackupKeyResponse* other) { if (other == this) return; GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- inline RecoverBackupKeyResponse* New() const final { return CreateMaybeMessage(nullptr); } RecoverBackupKeyResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void CopyFrom(const RecoverBackupKeyResponse& from); void MergeFrom(const RecoverBackupKeyResponse& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(RecoverBackupKeyResponse* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "backup.RecoverBackupKeyResponse"; } protected: explicit RecoverBackupKeyResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { return ::descriptor_table_backup_2eproto_metadata_getter(kIndexInFileMessages); } public: // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kAuthenticationResponseDataFieldNumber = 1, kBackupKeyEntropyFieldNumber = 2, kBackupIDFieldNumber = 4, }; // .backup.FullAuthenticationResponseData authenticationResponseData = 1; bool has_authenticationresponsedata() const; private: bool _internal_has_authenticationresponsedata() const; public: void clear_authenticationresponsedata(); const ::backup::FullAuthenticationResponseData& authenticationresponsedata() const; ::backup::FullAuthenticationResponseData* release_authenticationresponsedata(); ::backup::FullAuthenticationResponseData* mutable_authenticationresponsedata(); void set_allocated_authenticationresponsedata(::backup::FullAuthenticationResponseData* authenticationresponsedata); private: const ::backup::FullAuthenticationResponseData& _internal_authenticationresponsedata() const; ::backup::FullAuthenticationResponseData* _internal_mutable_authenticationresponsedata(); public: void unsafe_arena_set_allocated_authenticationresponsedata( ::backup::FullAuthenticationResponseData* authenticationresponsedata); ::backup::FullAuthenticationResponseData* unsafe_arena_release_authenticationresponsedata(); // .backup.BackupKeyEntropy backupKeyEntropy = 2; bool has_backupkeyentropy() const; private: bool _internal_has_backupkeyentropy() const; public: void clear_backupkeyentropy(); const ::backup::BackupKeyEntropy& backupkeyentropy() const; ::backup::BackupKeyEntropy* release_backupkeyentropy(); ::backup::BackupKeyEntropy* mutable_backupkeyentropy(); void set_allocated_backupkeyentropy(::backup::BackupKeyEntropy* backupkeyentropy); private: const ::backup::BackupKeyEntropy& _internal_backupkeyentropy() const; ::backup::BackupKeyEntropy* _internal_mutable_backupkeyentropy(); public: void unsafe_arena_set_allocated_backupkeyentropy( ::backup::BackupKeyEntropy* backupkeyentropy); ::backup::BackupKeyEntropy* unsafe_arena_release_backupkeyentropy(); // string backupID = 4; bool has_backupid() const; private: bool _internal_has_backupid() const; public: void clear_backupid(); const std::string& backupid() const; void set_backupid(const std::string& value); void set_backupid(std::string&& value); void set_backupid(const char* value); void set_backupid(const char* value, size_t size); std::string* mutable_backupid(); std::string* release_backupid(); void set_allocated_backupid(std::string* backupid); private: const std::string& _internal_backupid() const; void _internal_set_backupid(const std::string& value); std::string* _internal_mutable_backupid(); public: void clear_data(); DataCase data_case() const; // @@protoc_insertion_point(class_scope:backup.RecoverBackupKeyResponse) private: class _Internal; void set_has_authenticationresponsedata(); void set_has_backupkeyentropy(); void set_has_backupid(); inline bool has_data() const; inline void clear_has_data(); template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; union DataUnion { constexpr DataUnion() : _constinit_{} {} ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; ::backup::FullAuthenticationResponseData* authenticationresponsedata_; ::backup::BackupKeyEntropy* backupkeyentropy_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr backupid_; } data_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::uint32 _oneof_case_[1]; friend struct ::TableStruct_backup_2eproto; }; // ------------------------------------------------------------------- class PullBackupRequest PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:backup.PullBackupRequest) */ { public: inline PullBackupRequest() : PullBackupRequest(nullptr) {} virtual ~PullBackupRequest(); explicit constexpr PullBackupRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); PullBackupRequest(const PullBackupRequest& from); PullBackupRequest(PullBackupRequest&& from) noexcept : PullBackupRequest() { *this = ::std::move(from); } inline PullBackupRequest& operator=(const PullBackupRequest& from) { CopyFrom(from); return *this; } inline PullBackupRequest& operator=(PullBackupRequest&& from) noexcept { if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { return GetDescriptor(); } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { return GetMetadataStatic().descriptor; } static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } static const PullBackupRequest& default_instance() { return *internal_default_instance(); } static inline const PullBackupRequest* internal_default_instance() { return reinterpret_cast( &_PullBackupRequest_default_instance_); } static constexpr int kIndexInFileMessages = 14; friend void swap(PullBackupRequest& a, PullBackupRequest& b) { a.Swap(&b); } inline void Swap(PullBackupRequest* other) { if (other == this) return; if (GetArena() == other->GetArena()) { InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(PullBackupRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- inline PullBackupRequest* New() const final { return CreateMaybeMessage(nullptr); } PullBackupRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void CopyFrom(const PullBackupRequest& from); void MergeFrom(const PullBackupRequest& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(PullBackupRequest* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "backup.PullBackupRequest"; } protected: explicit PullBackupRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { return ::descriptor_table_backup_2eproto_metadata_getter(kIndexInFileMessages); } public: // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kAuthenticationDataFieldNumber = 1, }; // .backup.SimpleAuthenticationRequestData authenticationData = 1; bool has_authenticationdata() const; private: bool _internal_has_authenticationdata() const; public: void clear_authenticationdata(); const ::backup::SimpleAuthenticationRequestData& authenticationdata() const; ::backup::SimpleAuthenticationRequestData* release_authenticationdata(); ::backup::SimpleAuthenticationRequestData* mutable_authenticationdata(); void set_allocated_authenticationdata(::backup::SimpleAuthenticationRequestData* authenticationdata); private: const ::backup::SimpleAuthenticationRequestData& _internal_authenticationdata() const; ::backup::SimpleAuthenticationRequestData* _internal_mutable_authenticationdata(); public: void unsafe_arena_set_allocated_authenticationdata( ::backup::SimpleAuthenticationRequestData* authenticationdata); ::backup::SimpleAuthenticationRequestData* unsafe_arena_release_authenticationdata(); // @@protoc_insertion_point(class_scope:backup.PullBackupRequest) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::backup::SimpleAuthenticationRequestData* authenticationdata_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_backup_2eproto; }; // ------------------------------------------------------------------- class PullBackupResponse PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:backup.PullBackupResponse) */ { public: inline PullBackupResponse() : PullBackupResponse(nullptr) {} virtual ~PullBackupResponse(); explicit constexpr PullBackupResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); PullBackupResponse(const PullBackupResponse& from); PullBackupResponse(PullBackupResponse&& from) noexcept : PullBackupResponse() { *this = ::std::move(from); } inline PullBackupResponse& operator=(const PullBackupResponse& from) { CopyFrom(from); return *this; } inline PullBackupResponse& operator=(PullBackupResponse&& from) noexcept { if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { return GetDescriptor(); } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { return GetMetadataStatic().descriptor; } static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } static const PullBackupResponse& default_instance() { return *internal_default_instance(); } enum DataCase { kCompactionChunk = 1, kLogChunk = 2, DATA_NOT_SET = 0, }; static inline const PullBackupResponse* internal_default_instance() { return reinterpret_cast( &_PullBackupResponse_default_instance_); } static constexpr int kIndexInFileMessages = 15; friend void swap(PullBackupResponse& a, PullBackupResponse& b) { a.Swap(&b); } inline void Swap(PullBackupResponse* other) { if (other == this) return; if (GetArena() == other->GetArena()) { InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(PullBackupResponse* other) { if (other == this) return; GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- inline PullBackupResponse* New() const final { return CreateMaybeMessage(nullptr); } PullBackupResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void CopyFrom(const PullBackupResponse& from); void MergeFrom(const PullBackupResponse& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(PullBackupResponse* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "backup.PullBackupResponse"; } protected: explicit PullBackupResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { return ::descriptor_table_backup_2eproto_metadata_getter(kIndexInFileMessages); } public: // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kCompactionChunkFieldNumber = 1, kLogChunkFieldNumber = 2, }; // bytes compactionChunk = 1; bool has_compactionchunk() const; private: bool _internal_has_compactionchunk() const; public: void clear_compactionchunk(); const std::string& compactionchunk() const; void set_compactionchunk(const std::string& value); void set_compactionchunk(std::string&& value); void set_compactionchunk(const char* value); void set_compactionchunk(const void* value, size_t size); std::string* mutable_compactionchunk(); std::string* release_compactionchunk(); void set_allocated_compactionchunk(std::string* compactionchunk); private: const std::string& _internal_compactionchunk() const; void _internal_set_compactionchunk(const std::string& value); std::string* _internal_mutable_compactionchunk(); public: // bytes logChunk = 2; bool has_logchunk() const; private: bool _internal_has_logchunk() const; public: void clear_logchunk(); const std::string& logchunk() const; void set_logchunk(const std::string& value); void set_logchunk(std::string&& value); void set_logchunk(const char* value); void set_logchunk(const void* value, size_t size); std::string* mutable_logchunk(); std::string* release_logchunk(); void set_allocated_logchunk(std::string* logchunk); private: const std::string& _internal_logchunk() const; void _internal_set_logchunk(const std::string& value); std::string* _internal_mutable_logchunk(); public: void clear_data(); DataCase data_case() const; // @@protoc_insertion_point(class_scope:backup.PullBackupResponse) private: class _Internal; void set_has_compactionchunk(); void set_has_logchunk(); inline bool has_data() const; inline void clear_has_data(); template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; union DataUnion { constexpr DataUnion() : _constinit_{} {} ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr compactionchunk_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr logchunk_; } data_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::uint32 _oneof_case_[1]; friend struct ::TableStruct_backup_2eproto; }; // =================================================================== // =================================================================== #ifdef __GNUC__ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wstrict-aliasing" #endif // __GNUC__ // PakeRegistrationRequestAndUserID // string userID = 1; inline void PakeRegistrationRequestAndUserID::clear_userid() { userid_.ClearToEmpty(); } inline const std::string& PakeRegistrationRequestAndUserID::userid() const { // @@protoc_insertion_point(field_get:backup.PakeRegistrationRequestAndUserID.userID) return _internal_userid(); } inline void PakeRegistrationRequestAndUserID::set_userid(const std::string& value) { _internal_set_userid(value); // @@protoc_insertion_point(field_set:backup.PakeRegistrationRequestAndUserID.userID) } inline std::string* PakeRegistrationRequestAndUserID::mutable_userid() { // @@protoc_insertion_point(field_mutable:backup.PakeRegistrationRequestAndUserID.userID) return _internal_mutable_userid(); } inline const std::string& PakeRegistrationRequestAndUserID::_internal_userid() const { return userid_.Get(); } inline void PakeRegistrationRequestAndUserID::_internal_set_userid(const std::string& value) { userid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void PakeRegistrationRequestAndUserID::set_userid(std::string&& value) { userid_.Set( ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:backup.PakeRegistrationRequestAndUserID.userID) } inline void PakeRegistrationRequestAndUserID::set_userid(const char* value) { GOOGLE_DCHECK(value != nullptr); userid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:backup.PakeRegistrationRequestAndUserID.userID) } inline void PakeRegistrationRequestAndUserID::set_userid(const char* value, size_t size) { userid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:backup.PakeRegistrationRequestAndUserID.userID) } inline std::string* PakeRegistrationRequestAndUserID::_internal_mutable_userid() { return userid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* PakeRegistrationRequestAndUserID::release_userid() { // @@protoc_insertion_point(field_release:backup.PakeRegistrationRequestAndUserID.userID) return userid_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void PakeRegistrationRequestAndUserID::set_allocated_userid(std::string* userid) { if (userid != nullptr) { } else { } userid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), userid, GetArena()); // @@protoc_insertion_point(field_set_allocated:backup.PakeRegistrationRequestAndUserID.userID) } // bytes pakeRegistrationRequest = 2; inline void PakeRegistrationRequestAndUserID::clear_pakeregistrationrequest() { pakeregistrationrequest_.ClearToEmpty(); } inline const std::string& PakeRegistrationRequestAndUserID::pakeregistrationrequest() const { // @@protoc_insertion_point(field_get:backup.PakeRegistrationRequestAndUserID.pakeRegistrationRequest) return _internal_pakeregistrationrequest(); } inline void PakeRegistrationRequestAndUserID::set_pakeregistrationrequest(const std::string& value) { _internal_set_pakeregistrationrequest(value); // @@protoc_insertion_point(field_set:backup.PakeRegistrationRequestAndUserID.pakeRegistrationRequest) } inline std::string* PakeRegistrationRequestAndUserID::mutable_pakeregistrationrequest() { // @@protoc_insertion_point(field_mutable:backup.PakeRegistrationRequestAndUserID.pakeRegistrationRequest) return _internal_mutable_pakeregistrationrequest(); } inline const std::string& PakeRegistrationRequestAndUserID::_internal_pakeregistrationrequest() const { return pakeregistrationrequest_.Get(); } inline void PakeRegistrationRequestAndUserID::_internal_set_pakeregistrationrequest(const std::string& value) { pakeregistrationrequest_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void PakeRegistrationRequestAndUserID::set_pakeregistrationrequest(std::string&& value) { pakeregistrationrequest_.Set( ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:backup.PakeRegistrationRequestAndUserID.pakeRegistrationRequest) } inline void PakeRegistrationRequestAndUserID::set_pakeregistrationrequest(const char* value) { GOOGLE_DCHECK(value != nullptr); pakeregistrationrequest_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:backup.PakeRegistrationRequestAndUserID.pakeRegistrationRequest) } inline void PakeRegistrationRequestAndUserID::set_pakeregistrationrequest(const void* value, size_t size) { pakeregistrationrequest_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:backup.PakeRegistrationRequestAndUserID.pakeRegistrationRequest) } inline std::string* PakeRegistrationRequestAndUserID::_internal_mutable_pakeregistrationrequest() { return pakeregistrationrequest_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* PakeRegistrationRequestAndUserID::release_pakeregistrationrequest() { // @@protoc_insertion_point(field_release:backup.PakeRegistrationRequestAndUserID.pakeRegistrationRequest) return pakeregistrationrequest_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void PakeRegistrationRequestAndUserID::set_allocated_pakeregistrationrequest(std::string* pakeregistrationrequest) { if (pakeregistrationrequest != nullptr) { } else { } pakeregistrationrequest_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), pakeregistrationrequest, GetArena()); // @@protoc_insertion_point(field_set_allocated:backup.PakeRegistrationRequestAndUserID.pakeRegistrationRequest) } // ------------------------------------------------------------------- // PakeAuthenticationRequestData // .backup.PakeRegistrationRequestAndUserID pakeRegistrationRequestAndUserID = 1; inline bool PakeAuthenticationRequestData::_internal_has_pakeregistrationrequestanduserid() const { return data_case() == kPakeRegistrationRequestAndUserID; } inline bool PakeAuthenticationRequestData::has_pakeregistrationrequestanduserid() const { return _internal_has_pakeregistrationrequestanduserid(); } inline void PakeAuthenticationRequestData::set_has_pakeregistrationrequestanduserid() { _oneof_case_[0] = kPakeRegistrationRequestAndUserID; } inline void PakeAuthenticationRequestData::clear_pakeregistrationrequestanduserid() { if (_internal_has_pakeregistrationrequestanduserid()) { if (GetArena() == nullptr) { delete data_.pakeregistrationrequestanduserid_; } clear_has_data(); } } inline ::backup::PakeRegistrationRequestAndUserID* PakeAuthenticationRequestData::release_pakeregistrationrequestanduserid() { // @@protoc_insertion_point(field_release:backup.PakeAuthenticationRequestData.pakeRegistrationRequestAndUserID) if (_internal_has_pakeregistrationrequestanduserid()) { clear_has_data(); ::backup::PakeRegistrationRequestAndUserID* temp = data_.pakeregistrationrequestanduserid_; if (GetArena() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } data_.pakeregistrationrequestanduserid_ = nullptr; return temp; } else { return nullptr; } } inline const ::backup::PakeRegistrationRequestAndUserID& PakeAuthenticationRequestData::_internal_pakeregistrationrequestanduserid() const { return _internal_has_pakeregistrationrequestanduserid() ? *data_.pakeregistrationrequestanduserid_ : reinterpret_cast< ::backup::PakeRegistrationRequestAndUserID&>(::backup::_PakeRegistrationRequestAndUserID_default_instance_); } inline const ::backup::PakeRegistrationRequestAndUserID& PakeAuthenticationRequestData::pakeregistrationrequestanduserid() const { // @@protoc_insertion_point(field_get:backup.PakeAuthenticationRequestData.pakeRegistrationRequestAndUserID) return _internal_pakeregistrationrequestanduserid(); } inline ::backup::PakeRegistrationRequestAndUserID* PakeAuthenticationRequestData::unsafe_arena_release_pakeregistrationrequestanduserid() { // @@protoc_insertion_point(field_unsafe_arena_release:backup.PakeAuthenticationRequestData.pakeRegistrationRequestAndUserID) if (_internal_has_pakeregistrationrequestanduserid()) { clear_has_data(); ::backup::PakeRegistrationRequestAndUserID* temp = data_.pakeregistrationrequestanduserid_; data_.pakeregistrationrequestanduserid_ = nullptr; return temp; } else { return nullptr; } } inline void PakeAuthenticationRequestData::unsafe_arena_set_allocated_pakeregistrationrequestanduserid(::backup::PakeRegistrationRequestAndUserID* pakeregistrationrequestanduserid) { clear_data(); if (pakeregistrationrequestanduserid) { set_has_pakeregistrationrequestanduserid(); data_.pakeregistrationrequestanduserid_ = pakeregistrationrequestanduserid; } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:backup.PakeAuthenticationRequestData.pakeRegistrationRequestAndUserID) } inline ::backup::PakeRegistrationRequestAndUserID* PakeAuthenticationRequestData::_internal_mutable_pakeregistrationrequestanduserid() { if (!_internal_has_pakeregistrationrequestanduserid()) { clear_data(); set_has_pakeregistrationrequestanduserid(); data_.pakeregistrationrequestanduserid_ = CreateMaybeMessage< ::backup::PakeRegistrationRequestAndUserID >(GetArena()); } return data_.pakeregistrationrequestanduserid_; } inline ::backup::PakeRegistrationRequestAndUserID* PakeAuthenticationRequestData::mutable_pakeregistrationrequestanduserid() { // @@protoc_insertion_point(field_mutable:backup.PakeAuthenticationRequestData.pakeRegistrationRequestAndUserID) return _internal_mutable_pakeregistrationrequestanduserid(); } // bytes pakeRegistrationUpload = 2; inline bool PakeAuthenticationRequestData::_internal_has_pakeregistrationupload() const { return data_case() == kPakeRegistrationUpload; } inline bool PakeAuthenticationRequestData::has_pakeregistrationupload() const { return _internal_has_pakeregistrationupload(); } inline void PakeAuthenticationRequestData::set_has_pakeregistrationupload() { _oneof_case_[0] = kPakeRegistrationUpload; } inline void PakeAuthenticationRequestData::clear_pakeregistrationupload() { if (_internal_has_pakeregistrationupload()) { data_.pakeregistrationupload_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); clear_has_data(); } } inline const std::string& PakeAuthenticationRequestData::pakeregistrationupload() const { // @@protoc_insertion_point(field_get:backup.PakeAuthenticationRequestData.pakeRegistrationUpload) return _internal_pakeregistrationupload(); } inline void PakeAuthenticationRequestData::set_pakeregistrationupload(const std::string& value) { _internal_set_pakeregistrationupload(value); // @@protoc_insertion_point(field_set:backup.PakeAuthenticationRequestData.pakeRegistrationUpload) } inline std::string* PakeAuthenticationRequestData::mutable_pakeregistrationupload() { // @@protoc_insertion_point(field_mutable:backup.PakeAuthenticationRequestData.pakeRegistrationUpload) return _internal_mutable_pakeregistrationupload(); } inline const std::string& PakeAuthenticationRequestData::_internal_pakeregistrationupload() const { if (_internal_has_pakeregistrationupload()) { return data_.pakeregistrationupload_.Get(); } return ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(); } inline void PakeAuthenticationRequestData::_internal_set_pakeregistrationupload(const std::string& value) { if (!_internal_has_pakeregistrationupload()) { clear_data(); set_has_pakeregistrationupload(); data_.pakeregistrationupload_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } data_.pakeregistrationupload_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void PakeAuthenticationRequestData::set_pakeregistrationupload(std::string&& value) { // @@protoc_insertion_point(field_set:backup.PakeAuthenticationRequestData.pakeRegistrationUpload) if (!_internal_has_pakeregistrationupload()) { clear_data(); set_has_pakeregistrationupload(); data_.pakeregistrationupload_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } data_.pakeregistrationupload_.Set( ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:backup.PakeAuthenticationRequestData.pakeRegistrationUpload) } inline void PakeAuthenticationRequestData::set_pakeregistrationupload(const char* value) { GOOGLE_DCHECK(value != nullptr); if (!_internal_has_pakeregistrationupload()) { clear_data(); set_has_pakeregistrationupload(); data_.pakeregistrationupload_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } data_.pakeregistrationupload_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:backup.PakeAuthenticationRequestData.pakeRegistrationUpload) } inline void PakeAuthenticationRequestData::set_pakeregistrationupload(const void* value, size_t size) { if (!_internal_has_pakeregistrationupload()) { clear_data(); set_has_pakeregistrationupload(); data_.pakeregistrationupload_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } data_.pakeregistrationupload_.Set( ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:backup.PakeAuthenticationRequestData.pakeRegistrationUpload) } inline std::string* PakeAuthenticationRequestData::_internal_mutable_pakeregistrationupload() { if (!_internal_has_pakeregistrationupload()) { clear_data(); set_has_pakeregistrationupload(); data_.pakeregistrationupload_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } return data_.pakeregistrationupload_.Mutable( ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* PakeAuthenticationRequestData::release_pakeregistrationupload() { // @@protoc_insertion_point(field_release:backup.PakeAuthenticationRequestData.pakeRegistrationUpload) if (_internal_has_pakeregistrationupload()) { clear_has_data(); return data_.pakeregistrationupload_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } else { return nullptr; } } inline void PakeAuthenticationRequestData::set_allocated_pakeregistrationupload(std::string* pakeregistrationupload) { if (has_data()) { clear_data(); } if (pakeregistrationupload != nullptr) { set_has_pakeregistrationupload(); data_.pakeregistrationupload_.UnsafeSetDefault(pakeregistrationupload); ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); if (arena != nullptr) { arena->Own(pakeregistrationupload); } } // @@protoc_insertion_point(field_set_allocated:backup.PakeAuthenticationRequestData.pakeRegistrationUpload) } // bytes pakeCredentialRequest = 3; inline bool PakeAuthenticationRequestData::_internal_has_pakecredentialrequest() const { return data_case() == kPakeCredentialRequest; } inline bool PakeAuthenticationRequestData::has_pakecredentialrequest() const { return _internal_has_pakecredentialrequest(); } inline void PakeAuthenticationRequestData::set_has_pakecredentialrequest() { _oneof_case_[0] = kPakeCredentialRequest; } inline void PakeAuthenticationRequestData::clear_pakecredentialrequest() { if (_internal_has_pakecredentialrequest()) { data_.pakecredentialrequest_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); clear_has_data(); } } inline const std::string& PakeAuthenticationRequestData::pakecredentialrequest() const { // @@protoc_insertion_point(field_get:backup.PakeAuthenticationRequestData.pakeCredentialRequest) return _internal_pakecredentialrequest(); } inline void PakeAuthenticationRequestData::set_pakecredentialrequest(const std::string& value) { _internal_set_pakecredentialrequest(value); // @@protoc_insertion_point(field_set:backup.PakeAuthenticationRequestData.pakeCredentialRequest) } inline std::string* PakeAuthenticationRequestData::mutable_pakecredentialrequest() { // @@protoc_insertion_point(field_mutable:backup.PakeAuthenticationRequestData.pakeCredentialRequest) return _internal_mutable_pakecredentialrequest(); } inline const std::string& PakeAuthenticationRequestData::_internal_pakecredentialrequest() const { if (_internal_has_pakecredentialrequest()) { return data_.pakecredentialrequest_.Get(); } return ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(); } inline void PakeAuthenticationRequestData::_internal_set_pakecredentialrequest(const std::string& value) { if (!_internal_has_pakecredentialrequest()) { clear_data(); set_has_pakecredentialrequest(); data_.pakecredentialrequest_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } data_.pakecredentialrequest_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void PakeAuthenticationRequestData::set_pakecredentialrequest(std::string&& value) { // @@protoc_insertion_point(field_set:backup.PakeAuthenticationRequestData.pakeCredentialRequest) if (!_internal_has_pakecredentialrequest()) { clear_data(); set_has_pakecredentialrequest(); data_.pakecredentialrequest_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } data_.pakecredentialrequest_.Set( ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:backup.PakeAuthenticationRequestData.pakeCredentialRequest) } inline void PakeAuthenticationRequestData::set_pakecredentialrequest(const char* value) { GOOGLE_DCHECK(value != nullptr); if (!_internal_has_pakecredentialrequest()) { clear_data(); set_has_pakecredentialrequest(); data_.pakecredentialrequest_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } data_.pakecredentialrequest_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:backup.PakeAuthenticationRequestData.pakeCredentialRequest) } inline void PakeAuthenticationRequestData::set_pakecredentialrequest(const void* value, size_t size) { if (!_internal_has_pakecredentialrequest()) { clear_data(); set_has_pakecredentialrequest(); data_.pakecredentialrequest_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } data_.pakecredentialrequest_.Set( ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:backup.PakeAuthenticationRequestData.pakeCredentialRequest) } inline std::string* PakeAuthenticationRequestData::_internal_mutable_pakecredentialrequest() { if (!_internal_has_pakecredentialrequest()) { clear_data(); set_has_pakecredentialrequest(); data_.pakecredentialrequest_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } return data_.pakecredentialrequest_.Mutable( ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* PakeAuthenticationRequestData::release_pakecredentialrequest() { // @@protoc_insertion_point(field_release:backup.PakeAuthenticationRequestData.pakeCredentialRequest) if (_internal_has_pakecredentialrequest()) { clear_has_data(); return data_.pakecredentialrequest_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } else { return nullptr; } } inline void PakeAuthenticationRequestData::set_allocated_pakecredentialrequest(std::string* pakecredentialrequest) { if (has_data()) { clear_data(); } if (pakecredentialrequest != nullptr) { set_has_pakecredentialrequest(); data_.pakecredentialrequest_.UnsafeSetDefault(pakecredentialrequest); ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); if (arena != nullptr) { arena->Own(pakecredentialrequest); } } // @@protoc_insertion_point(field_set_allocated:backup.PakeAuthenticationRequestData.pakeCredentialRequest) } // bytes pakeCredentialFinalization = 4; inline bool PakeAuthenticationRequestData::_internal_has_pakecredentialfinalization() const { return data_case() == kPakeCredentialFinalization; } inline bool PakeAuthenticationRequestData::has_pakecredentialfinalization() const { return _internal_has_pakecredentialfinalization(); } inline void PakeAuthenticationRequestData::set_has_pakecredentialfinalization() { _oneof_case_[0] = kPakeCredentialFinalization; } inline void PakeAuthenticationRequestData::clear_pakecredentialfinalization() { if (_internal_has_pakecredentialfinalization()) { data_.pakecredentialfinalization_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); clear_has_data(); } } inline const std::string& PakeAuthenticationRequestData::pakecredentialfinalization() const { // @@protoc_insertion_point(field_get:backup.PakeAuthenticationRequestData.pakeCredentialFinalization) return _internal_pakecredentialfinalization(); } inline void PakeAuthenticationRequestData::set_pakecredentialfinalization(const std::string& value) { _internal_set_pakecredentialfinalization(value); // @@protoc_insertion_point(field_set:backup.PakeAuthenticationRequestData.pakeCredentialFinalization) } inline std::string* PakeAuthenticationRequestData::mutable_pakecredentialfinalization() { // @@protoc_insertion_point(field_mutable:backup.PakeAuthenticationRequestData.pakeCredentialFinalization) return _internal_mutable_pakecredentialfinalization(); } inline const std::string& PakeAuthenticationRequestData::_internal_pakecredentialfinalization() const { if (_internal_has_pakecredentialfinalization()) { return data_.pakecredentialfinalization_.Get(); } return ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(); } inline void PakeAuthenticationRequestData::_internal_set_pakecredentialfinalization(const std::string& value) { if (!_internal_has_pakecredentialfinalization()) { clear_data(); set_has_pakecredentialfinalization(); data_.pakecredentialfinalization_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } data_.pakecredentialfinalization_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void PakeAuthenticationRequestData::set_pakecredentialfinalization(std::string&& value) { // @@protoc_insertion_point(field_set:backup.PakeAuthenticationRequestData.pakeCredentialFinalization) if (!_internal_has_pakecredentialfinalization()) { clear_data(); set_has_pakecredentialfinalization(); data_.pakecredentialfinalization_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } data_.pakecredentialfinalization_.Set( ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:backup.PakeAuthenticationRequestData.pakeCredentialFinalization) } inline void PakeAuthenticationRequestData::set_pakecredentialfinalization(const char* value) { GOOGLE_DCHECK(value != nullptr); if (!_internal_has_pakecredentialfinalization()) { clear_data(); set_has_pakecredentialfinalization(); data_.pakecredentialfinalization_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } data_.pakecredentialfinalization_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:backup.PakeAuthenticationRequestData.pakeCredentialFinalization) } inline void PakeAuthenticationRequestData::set_pakecredentialfinalization(const void* value, size_t size) { if (!_internal_has_pakecredentialfinalization()) { clear_data(); set_has_pakecredentialfinalization(); data_.pakecredentialfinalization_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } data_.pakecredentialfinalization_.Set( ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:backup.PakeAuthenticationRequestData.pakeCredentialFinalization) } inline std::string* PakeAuthenticationRequestData::_internal_mutable_pakecredentialfinalization() { if (!_internal_has_pakecredentialfinalization()) { clear_data(); set_has_pakecredentialfinalization(); data_.pakecredentialfinalization_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } return data_.pakecredentialfinalization_.Mutable( ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* PakeAuthenticationRequestData::release_pakecredentialfinalization() { // @@protoc_insertion_point(field_release:backup.PakeAuthenticationRequestData.pakeCredentialFinalization) if (_internal_has_pakecredentialfinalization()) { clear_has_data(); return data_.pakecredentialfinalization_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } else { return nullptr; } } inline void PakeAuthenticationRequestData::set_allocated_pakecredentialfinalization(std::string* pakecredentialfinalization) { if (has_data()) { clear_data(); } if (pakecredentialfinalization != nullptr) { set_has_pakecredentialfinalization(); data_.pakecredentialfinalization_.UnsafeSetDefault(pakecredentialfinalization); ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); if (arena != nullptr) { arena->Own(pakecredentialfinalization); } } // @@protoc_insertion_point(field_set_allocated:backup.PakeAuthenticationRequestData.pakeCredentialFinalization) } // bytes pakeClientMAC = 5; inline bool PakeAuthenticationRequestData::_internal_has_pakeclientmac() const { return data_case() == kPakeClientMAC; } inline bool PakeAuthenticationRequestData::has_pakeclientmac() const { return _internal_has_pakeclientmac(); } inline void PakeAuthenticationRequestData::set_has_pakeclientmac() { _oneof_case_[0] = kPakeClientMAC; } inline void PakeAuthenticationRequestData::clear_pakeclientmac() { if (_internal_has_pakeclientmac()) { data_.pakeclientmac_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); clear_has_data(); } } inline const std::string& PakeAuthenticationRequestData::pakeclientmac() const { // @@protoc_insertion_point(field_get:backup.PakeAuthenticationRequestData.pakeClientMAC) return _internal_pakeclientmac(); } inline void PakeAuthenticationRequestData::set_pakeclientmac(const std::string& value) { _internal_set_pakeclientmac(value); // @@protoc_insertion_point(field_set:backup.PakeAuthenticationRequestData.pakeClientMAC) } inline std::string* PakeAuthenticationRequestData::mutable_pakeclientmac() { // @@protoc_insertion_point(field_mutable:backup.PakeAuthenticationRequestData.pakeClientMAC) return _internal_mutable_pakeclientmac(); } inline const std::string& PakeAuthenticationRequestData::_internal_pakeclientmac() const { if (_internal_has_pakeclientmac()) { return data_.pakeclientmac_.Get(); } return ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(); } inline void PakeAuthenticationRequestData::_internal_set_pakeclientmac(const std::string& value) { if (!_internal_has_pakeclientmac()) { clear_data(); set_has_pakeclientmac(); data_.pakeclientmac_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } data_.pakeclientmac_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void PakeAuthenticationRequestData::set_pakeclientmac(std::string&& value) { // @@protoc_insertion_point(field_set:backup.PakeAuthenticationRequestData.pakeClientMAC) if (!_internal_has_pakeclientmac()) { clear_data(); set_has_pakeclientmac(); data_.pakeclientmac_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } data_.pakeclientmac_.Set( ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:backup.PakeAuthenticationRequestData.pakeClientMAC) } inline void PakeAuthenticationRequestData::set_pakeclientmac(const char* value) { GOOGLE_DCHECK(value != nullptr); if (!_internal_has_pakeclientmac()) { clear_data(); set_has_pakeclientmac(); data_.pakeclientmac_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } data_.pakeclientmac_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:backup.PakeAuthenticationRequestData.pakeClientMAC) } inline void PakeAuthenticationRequestData::set_pakeclientmac(const void* value, size_t size) { if (!_internal_has_pakeclientmac()) { clear_data(); set_has_pakeclientmac(); data_.pakeclientmac_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } data_.pakeclientmac_.Set( ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:backup.PakeAuthenticationRequestData.pakeClientMAC) } inline std::string* PakeAuthenticationRequestData::_internal_mutable_pakeclientmac() { if (!_internal_has_pakeclientmac()) { clear_data(); set_has_pakeclientmac(); data_.pakeclientmac_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } return data_.pakeclientmac_.Mutable( ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* PakeAuthenticationRequestData::release_pakeclientmac() { // @@protoc_insertion_point(field_release:backup.PakeAuthenticationRequestData.pakeClientMAC) if (_internal_has_pakeclientmac()) { clear_has_data(); return data_.pakeclientmac_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } else { return nullptr; } } inline void PakeAuthenticationRequestData::set_allocated_pakeclientmac(std::string* pakeclientmac) { if (has_data()) { clear_data(); } if (pakeclientmac != nullptr) { set_has_pakeclientmac(); data_.pakeclientmac_.UnsafeSetDefault(pakeclientmac); ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); if (arena != nullptr) { arena->Own(pakeclientmac); } } // @@protoc_insertion_point(field_set_allocated:backup.PakeAuthenticationRequestData.pakeClientMAC) } inline bool PakeAuthenticationRequestData::has_data() const { return data_case() != DATA_NOT_SET; } inline void PakeAuthenticationRequestData::clear_has_data() { _oneof_case_[0] = DATA_NOT_SET; } inline PakeAuthenticationRequestData::DataCase PakeAuthenticationRequestData::data_case() const { return PakeAuthenticationRequestData::DataCase(_oneof_case_[0]); } // ------------------------------------------------------------------- // WalletAuthenticationRequestData // string userID = 1; inline void WalletAuthenticationRequestData::clear_userid() { userid_.ClearToEmpty(); } inline const std::string& WalletAuthenticationRequestData::userid() const { // @@protoc_insertion_point(field_get:backup.WalletAuthenticationRequestData.userID) return _internal_userid(); } inline void WalletAuthenticationRequestData::set_userid(const std::string& value) { _internal_set_userid(value); // @@protoc_insertion_point(field_set:backup.WalletAuthenticationRequestData.userID) } inline std::string* WalletAuthenticationRequestData::mutable_userid() { // @@protoc_insertion_point(field_mutable:backup.WalletAuthenticationRequestData.userID) return _internal_mutable_userid(); } inline const std::string& WalletAuthenticationRequestData::_internal_userid() const { return userid_.Get(); } inline void WalletAuthenticationRequestData::_internal_set_userid(const std::string& value) { userid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void WalletAuthenticationRequestData::set_userid(std::string&& value) { userid_.Set( ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:backup.WalletAuthenticationRequestData.userID) } inline void WalletAuthenticationRequestData::set_userid(const char* value) { GOOGLE_DCHECK(value != nullptr); userid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:backup.WalletAuthenticationRequestData.userID) } inline void WalletAuthenticationRequestData::set_userid(const char* value, size_t size) { userid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:backup.WalletAuthenticationRequestData.userID) } inline std::string* WalletAuthenticationRequestData::_internal_mutable_userid() { return userid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* WalletAuthenticationRequestData::release_userid() { // @@protoc_insertion_point(field_release:backup.WalletAuthenticationRequestData.userID) return userid_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void WalletAuthenticationRequestData::set_allocated_userid(std::string* userid) { if (userid != nullptr) { } else { } userid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), userid, GetArena()); // @@protoc_insertion_point(field_set_allocated:backup.WalletAuthenticationRequestData.userID) } // string walletAddress = 2; inline void WalletAuthenticationRequestData::clear_walletaddress() { walletaddress_.ClearToEmpty(); } inline const std::string& WalletAuthenticationRequestData::walletaddress() const { // @@protoc_insertion_point(field_get:backup.WalletAuthenticationRequestData.walletAddress) return _internal_walletaddress(); } inline void WalletAuthenticationRequestData::set_walletaddress(const std::string& value) { _internal_set_walletaddress(value); // @@protoc_insertion_point(field_set:backup.WalletAuthenticationRequestData.walletAddress) } inline std::string* WalletAuthenticationRequestData::mutable_walletaddress() { // @@protoc_insertion_point(field_mutable:backup.WalletAuthenticationRequestData.walletAddress) return _internal_mutable_walletaddress(); } inline const std::string& WalletAuthenticationRequestData::_internal_walletaddress() const { return walletaddress_.Get(); } inline void WalletAuthenticationRequestData::_internal_set_walletaddress(const std::string& value) { walletaddress_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void WalletAuthenticationRequestData::set_walletaddress(std::string&& value) { walletaddress_.Set( ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:backup.WalletAuthenticationRequestData.walletAddress) } inline void WalletAuthenticationRequestData::set_walletaddress(const char* value) { GOOGLE_DCHECK(value != nullptr); walletaddress_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:backup.WalletAuthenticationRequestData.walletAddress) } inline void WalletAuthenticationRequestData::set_walletaddress(const char* value, size_t size) { walletaddress_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:backup.WalletAuthenticationRequestData.walletAddress) } inline std::string* WalletAuthenticationRequestData::_internal_mutable_walletaddress() { return walletaddress_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* WalletAuthenticationRequestData::release_walletaddress() { // @@protoc_insertion_point(field_release:backup.WalletAuthenticationRequestData.walletAddress) return walletaddress_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void WalletAuthenticationRequestData::set_allocated_walletaddress(std::string* walletaddress) { if (walletaddress != nullptr) { } else { } walletaddress_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), walletaddress, GetArena()); // @@protoc_insertion_point(field_set_allocated:backup.WalletAuthenticationRequestData.walletAddress) } // bytes signedMessage = 3; inline void WalletAuthenticationRequestData::clear_signedmessage() { signedmessage_.ClearToEmpty(); } inline const std::string& WalletAuthenticationRequestData::signedmessage() const { // @@protoc_insertion_point(field_get:backup.WalletAuthenticationRequestData.signedMessage) return _internal_signedmessage(); } inline void WalletAuthenticationRequestData::set_signedmessage(const std::string& value) { _internal_set_signedmessage(value); // @@protoc_insertion_point(field_set:backup.WalletAuthenticationRequestData.signedMessage) } inline std::string* WalletAuthenticationRequestData::mutable_signedmessage() { // @@protoc_insertion_point(field_mutable:backup.WalletAuthenticationRequestData.signedMessage) return _internal_mutable_signedmessage(); } inline const std::string& WalletAuthenticationRequestData::_internal_signedmessage() const { return signedmessage_.Get(); } inline void WalletAuthenticationRequestData::_internal_set_signedmessage(const std::string& value) { signedmessage_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void WalletAuthenticationRequestData::set_signedmessage(std::string&& value) { signedmessage_.Set( ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:backup.WalletAuthenticationRequestData.signedMessage) } inline void WalletAuthenticationRequestData::set_signedmessage(const char* value) { GOOGLE_DCHECK(value != nullptr); signedmessage_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:backup.WalletAuthenticationRequestData.signedMessage) } inline void WalletAuthenticationRequestData::set_signedmessage(const void* value, size_t size) { signedmessage_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:backup.WalletAuthenticationRequestData.signedMessage) } inline std::string* WalletAuthenticationRequestData::_internal_mutable_signedmessage() { return signedmessage_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* WalletAuthenticationRequestData::release_signedmessage() { // @@protoc_insertion_point(field_release:backup.WalletAuthenticationRequestData.signedMessage) return signedmessage_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void WalletAuthenticationRequestData::set_allocated_signedmessage(std::string* signedmessage) { if (signedmessage != nullptr) { } else { } signedmessage_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), signedmessage, GetArena()); // @@protoc_insertion_point(field_set_allocated:backup.WalletAuthenticationRequestData.signedMessage) } // ------------------------------------------------------------------- // FullAuthenticationRequestData // .backup.PakeAuthenticationRequestData pakeAuthenticationRequestData = 1; inline bool FullAuthenticationRequestData::_internal_has_pakeauthenticationrequestdata() const { return data_case() == kPakeAuthenticationRequestData; } inline bool FullAuthenticationRequestData::has_pakeauthenticationrequestdata() const { return _internal_has_pakeauthenticationrequestdata(); } inline void FullAuthenticationRequestData::set_has_pakeauthenticationrequestdata() { _oneof_case_[0] = kPakeAuthenticationRequestData; } inline void FullAuthenticationRequestData::clear_pakeauthenticationrequestdata() { if (_internal_has_pakeauthenticationrequestdata()) { if (GetArena() == nullptr) { delete data_.pakeauthenticationrequestdata_; } clear_has_data(); } } inline ::backup::PakeAuthenticationRequestData* FullAuthenticationRequestData::release_pakeauthenticationrequestdata() { // @@protoc_insertion_point(field_release:backup.FullAuthenticationRequestData.pakeAuthenticationRequestData) if (_internal_has_pakeauthenticationrequestdata()) { clear_has_data(); ::backup::PakeAuthenticationRequestData* temp = data_.pakeauthenticationrequestdata_; if (GetArena() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } data_.pakeauthenticationrequestdata_ = nullptr; return temp; } else { return nullptr; } } inline const ::backup::PakeAuthenticationRequestData& FullAuthenticationRequestData::_internal_pakeauthenticationrequestdata() const { return _internal_has_pakeauthenticationrequestdata() ? *data_.pakeauthenticationrequestdata_ : reinterpret_cast< ::backup::PakeAuthenticationRequestData&>(::backup::_PakeAuthenticationRequestData_default_instance_); } inline const ::backup::PakeAuthenticationRequestData& FullAuthenticationRequestData::pakeauthenticationrequestdata() const { // @@protoc_insertion_point(field_get:backup.FullAuthenticationRequestData.pakeAuthenticationRequestData) return _internal_pakeauthenticationrequestdata(); } inline ::backup::PakeAuthenticationRequestData* FullAuthenticationRequestData::unsafe_arena_release_pakeauthenticationrequestdata() { // @@protoc_insertion_point(field_unsafe_arena_release:backup.FullAuthenticationRequestData.pakeAuthenticationRequestData) if (_internal_has_pakeauthenticationrequestdata()) { clear_has_data(); ::backup::PakeAuthenticationRequestData* temp = data_.pakeauthenticationrequestdata_; data_.pakeauthenticationrequestdata_ = nullptr; return temp; } else { return nullptr; } } inline void FullAuthenticationRequestData::unsafe_arena_set_allocated_pakeauthenticationrequestdata(::backup::PakeAuthenticationRequestData* pakeauthenticationrequestdata) { clear_data(); if (pakeauthenticationrequestdata) { set_has_pakeauthenticationrequestdata(); data_.pakeauthenticationrequestdata_ = pakeauthenticationrequestdata; } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:backup.FullAuthenticationRequestData.pakeAuthenticationRequestData) } inline ::backup::PakeAuthenticationRequestData* FullAuthenticationRequestData::_internal_mutable_pakeauthenticationrequestdata() { if (!_internal_has_pakeauthenticationrequestdata()) { clear_data(); set_has_pakeauthenticationrequestdata(); data_.pakeauthenticationrequestdata_ = CreateMaybeMessage< ::backup::PakeAuthenticationRequestData >(GetArena()); } return data_.pakeauthenticationrequestdata_; } inline ::backup::PakeAuthenticationRequestData* FullAuthenticationRequestData::mutable_pakeauthenticationrequestdata() { // @@protoc_insertion_point(field_mutable:backup.FullAuthenticationRequestData.pakeAuthenticationRequestData) return _internal_mutable_pakeauthenticationrequestdata(); } // .backup.WalletAuthenticationRequestData walletAuthenticationRequestData = 2; inline bool FullAuthenticationRequestData::_internal_has_walletauthenticationrequestdata() const { return data_case() == kWalletAuthenticationRequestData; } inline bool FullAuthenticationRequestData::has_walletauthenticationrequestdata() const { return _internal_has_walletauthenticationrequestdata(); } inline void FullAuthenticationRequestData::set_has_walletauthenticationrequestdata() { _oneof_case_[0] = kWalletAuthenticationRequestData; } inline void FullAuthenticationRequestData::clear_walletauthenticationrequestdata() { if (_internal_has_walletauthenticationrequestdata()) { if (GetArena() == nullptr) { delete data_.walletauthenticationrequestdata_; } clear_has_data(); } } inline ::backup::WalletAuthenticationRequestData* FullAuthenticationRequestData::release_walletauthenticationrequestdata() { // @@protoc_insertion_point(field_release:backup.FullAuthenticationRequestData.walletAuthenticationRequestData) if (_internal_has_walletauthenticationrequestdata()) { clear_has_data(); ::backup::WalletAuthenticationRequestData* temp = data_.walletauthenticationrequestdata_; if (GetArena() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } data_.walletauthenticationrequestdata_ = nullptr; return temp; } else { return nullptr; } } inline const ::backup::WalletAuthenticationRequestData& FullAuthenticationRequestData::_internal_walletauthenticationrequestdata() const { return _internal_has_walletauthenticationrequestdata() ? *data_.walletauthenticationrequestdata_ : reinterpret_cast< ::backup::WalletAuthenticationRequestData&>(::backup::_WalletAuthenticationRequestData_default_instance_); } inline const ::backup::WalletAuthenticationRequestData& FullAuthenticationRequestData::walletauthenticationrequestdata() const { // @@protoc_insertion_point(field_get:backup.FullAuthenticationRequestData.walletAuthenticationRequestData) return _internal_walletauthenticationrequestdata(); } inline ::backup::WalletAuthenticationRequestData* FullAuthenticationRequestData::unsafe_arena_release_walletauthenticationrequestdata() { // @@protoc_insertion_point(field_unsafe_arena_release:backup.FullAuthenticationRequestData.walletAuthenticationRequestData) if (_internal_has_walletauthenticationrequestdata()) { clear_has_data(); ::backup::WalletAuthenticationRequestData* temp = data_.walletauthenticationrequestdata_; data_.walletauthenticationrequestdata_ = nullptr; return temp; } else { return nullptr; } } inline void FullAuthenticationRequestData::unsafe_arena_set_allocated_walletauthenticationrequestdata(::backup::WalletAuthenticationRequestData* walletauthenticationrequestdata) { clear_data(); if (walletauthenticationrequestdata) { set_has_walletauthenticationrequestdata(); data_.walletauthenticationrequestdata_ = walletauthenticationrequestdata; } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:backup.FullAuthenticationRequestData.walletAuthenticationRequestData) } inline ::backup::WalletAuthenticationRequestData* FullAuthenticationRequestData::_internal_mutable_walletauthenticationrequestdata() { if (!_internal_has_walletauthenticationrequestdata()) { clear_data(); set_has_walletauthenticationrequestdata(); data_.walletauthenticationrequestdata_ = CreateMaybeMessage< ::backup::WalletAuthenticationRequestData >(GetArena()); } return data_.walletauthenticationrequestdata_; } inline ::backup::WalletAuthenticationRequestData* FullAuthenticationRequestData::mutable_walletauthenticationrequestdata() { // @@protoc_insertion_point(field_mutable:backup.FullAuthenticationRequestData.walletAuthenticationRequestData) return _internal_mutable_walletauthenticationrequestdata(); } inline bool FullAuthenticationRequestData::has_data() const { return data_case() != DATA_NOT_SET; } inline void FullAuthenticationRequestData::clear_has_data() { _oneof_case_[0] = DATA_NOT_SET; } inline FullAuthenticationRequestData::DataCase FullAuthenticationRequestData::data_case() const { return FullAuthenticationRequestData::DataCase(_oneof_case_[0]); } // ------------------------------------------------------------------- // WalletAuthenticationResponseData // bool success = 1; inline void WalletAuthenticationResponseData::clear_success() { success_ = false; } inline bool WalletAuthenticationResponseData::_internal_success() const { return success_; } inline bool WalletAuthenticationResponseData::success() const { // @@protoc_insertion_point(field_get:backup.WalletAuthenticationResponseData.success) return _internal_success(); } inline void WalletAuthenticationResponseData::_internal_set_success(bool value) { success_ = value; } inline void WalletAuthenticationResponseData::set_success(bool value) { _internal_set_success(value); // @@protoc_insertion_point(field_set:backup.WalletAuthenticationResponseData.success) } // ------------------------------------------------------------------- // PakeAuthenticationResponseData // bytes pakeRegistrationResponse = 1; inline bool PakeAuthenticationResponseData::_internal_has_pakeregistrationresponse() const { return data_case() == kPakeRegistrationResponse; } inline bool PakeAuthenticationResponseData::has_pakeregistrationresponse() const { return _internal_has_pakeregistrationresponse(); } inline void PakeAuthenticationResponseData::set_has_pakeregistrationresponse() { _oneof_case_[0] = kPakeRegistrationResponse; } inline void PakeAuthenticationResponseData::clear_pakeregistrationresponse() { if (_internal_has_pakeregistrationresponse()) { data_.pakeregistrationresponse_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); clear_has_data(); } } inline const std::string& PakeAuthenticationResponseData::pakeregistrationresponse() const { // @@protoc_insertion_point(field_get:backup.PakeAuthenticationResponseData.pakeRegistrationResponse) return _internal_pakeregistrationresponse(); } inline void PakeAuthenticationResponseData::set_pakeregistrationresponse(const std::string& value) { _internal_set_pakeregistrationresponse(value); // @@protoc_insertion_point(field_set:backup.PakeAuthenticationResponseData.pakeRegistrationResponse) } inline std::string* PakeAuthenticationResponseData::mutable_pakeregistrationresponse() { // @@protoc_insertion_point(field_mutable:backup.PakeAuthenticationResponseData.pakeRegistrationResponse) return _internal_mutable_pakeregistrationresponse(); } inline const std::string& PakeAuthenticationResponseData::_internal_pakeregistrationresponse() const { if (_internal_has_pakeregistrationresponse()) { return data_.pakeregistrationresponse_.Get(); } return ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(); } inline void PakeAuthenticationResponseData::_internal_set_pakeregistrationresponse(const std::string& value) { if (!_internal_has_pakeregistrationresponse()) { clear_data(); set_has_pakeregistrationresponse(); data_.pakeregistrationresponse_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } data_.pakeregistrationresponse_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void PakeAuthenticationResponseData::set_pakeregistrationresponse(std::string&& value) { // @@protoc_insertion_point(field_set:backup.PakeAuthenticationResponseData.pakeRegistrationResponse) if (!_internal_has_pakeregistrationresponse()) { clear_data(); set_has_pakeregistrationresponse(); data_.pakeregistrationresponse_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } data_.pakeregistrationresponse_.Set( ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:backup.PakeAuthenticationResponseData.pakeRegistrationResponse) } inline void PakeAuthenticationResponseData::set_pakeregistrationresponse(const char* value) { GOOGLE_DCHECK(value != nullptr); if (!_internal_has_pakeregistrationresponse()) { clear_data(); set_has_pakeregistrationresponse(); data_.pakeregistrationresponse_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } data_.pakeregistrationresponse_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:backup.PakeAuthenticationResponseData.pakeRegistrationResponse) } inline void PakeAuthenticationResponseData::set_pakeregistrationresponse(const void* value, size_t size) { if (!_internal_has_pakeregistrationresponse()) { clear_data(); set_has_pakeregistrationresponse(); data_.pakeregistrationresponse_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } data_.pakeregistrationresponse_.Set( ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:backup.PakeAuthenticationResponseData.pakeRegistrationResponse) } inline std::string* PakeAuthenticationResponseData::_internal_mutable_pakeregistrationresponse() { if (!_internal_has_pakeregistrationresponse()) { clear_data(); set_has_pakeregistrationresponse(); data_.pakeregistrationresponse_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } return data_.pakeregistrationresponse_.Mutable( ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* PakeAuthenticationResponseData::release_pakeregistrationresponse() { // @@protoc_insertion_point(field_release:backup.PakeAuthenticationResponseData.pakeRegistrationResponse) if (_internal_has_pakeregistrationresponse()) { clear_has_data(); return data_.pakeregistrationresponse_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } else { return nullptr; } } inline void PakeAuthenticationResponseData::set_allocated_pakeregistrationresponse(std::string* pakeregistrationresponse) { if (has_data()) { clear_data(); } if (pakeregistrationresponse != nullptr) { set_has_pakeregistrationresponse(); data_.pakeregistrationresponse_.UnsafeSetDefault(pakeregistrationresponse); ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); if (arena != nullptr) { arena->Own(pakeregistrationresponse); } } // @@protoc_insertion_point(field_set_allocated:backup.PakeAuthenticationResponseData.pakeRegistrationResponse) } // bool pakeRegistrationSuccess = 2; inline bool PakeAuthenticationResponseData::_internal_has_pakeregistrationsuccess() const { return data_case() == kPakeRegistrationSuccess; } inline bool PakeAuthenticationResponseData::has_pakeregistrationsuccess() const { return _internal_has_pakeregistrationsuccess(); } inline void PakeAuthenticationResponseData::set_has_pakeregistrationsuccess() { _oneof_case_[0] = kPakeRegistrationSuccess; } inline void PakeAuthenticationResponseData::clear_pakeregistrationsuccess() { if (_internal_has_pakeregistrationsuccess()) { data_.pakeregistrationsuccess_ = false; clear_has_data(); } } inline bool PakeAuthenticationResponseData::_internal_pakeregistrationsuccess() const { if (_internal_has_pakeregistrationsuccess()) { return data_.pakeregistrationsuccess_; } return false; } inline void PakeAuthenticationResponseData::_internal_set_pakeregistrationsuccess(bool value) { if (!_internal_has_pakeregistrationsuccess()) { clear_data(); set_has_pakeregistrationsuccess(); } data_.pakeregistrationsuccess_ = value; } inline bool PakeAuthenticationResponseData::pakeregistrationsuccess() const { // @@protoc_insertion_point(field_get:backup.PakeAuthenticationResponseData.pakeRegistrationSuccess) return _internal_pakeregistrationsuccess(); } inline void PakeAuthenticationResponseData::set_pakeregistrationsuccess(bool value) { _internal_set_pakeregistrationsuccess(value); // @@protoc_insertion_point(field_set:backup.PakeAuthenticationResponseData.pakeRegistrationSuccess) } // bytes pakeCredentialResponse = 3; inline bool PakeAuthenticationResponseData::_internal_has_pakecredentialresponse() const { return data_case() == kPakeCredentialResponse; } inline bool PakeAuthenticationResponseData::has_pakecredentialresponse() const { return _internal_has_pakecredentialresponse(); } inline void PakeAuthenticationResponseData::set_has_pakecredentialresponse() { _oneof_case_[0] = kPakeCredentialResponse; } inline void PakeAuthenticationResponseData::clear_pakecredentialresponse() { if (_internal_has_pakecredentialresponse()) { data_.pakecredentialresponse_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); clear_has_data(); } } inline const std::string& PakeAuthenticationResponseData::pakecredentialresponse() const { // @@protoc_insertion_point(field_get:backup.PakeAuthenticationResponseData.pakeCredentialResponse) return _internal_pakecredentialresponse(); } inline void PakeAuthenticationResponseData::set_pakecredentialresponse(const std::string& value) { _internal_set_pakecredentialresponse(value); // @@protoc_insertion_point(field_set:backup.PakeAuthenticationResponseData.pakeCredentialResponse) } inline std::string* PakeAuthenticationResponseData::mutable_pakecredentialresponse() { // @@protoc_insertion_point(field_mutable:backup.PakeAuthenticationResponseData.pakeCredentialResponse) return _internal_mutable_pakecredentialresponse(); } inline const std::string& PakeAuthenticationResponseData::_internal_pakecredentialresponse() const { if (_internal_has_pakecredentialresponse()) { return data_.pakecredentialresponse_.Get(); } return ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(); } inline void PakeAuthenticationResponseData::_internal_set_pakecredentialresponse(const std::string& value) { if (!_internal_has_pakecredentialresponse()) { clear_data(); set_has_pakecredentialresponse(); data_.pakecredentialresponse_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } data_.pakecredentialresponse_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void PakeAuthenticationResponseData::set_pakecredentialresponse(std::string&& value) { // @@protoc_insertion_point(field_set:backup.PakeAuthenticationResponseData.pakeCredentialResponse) if (!_internal_has_pakecredentialresponse()) { clear_data(); set_has_pakecredentialresponse(); data_.pakecredentialresponse_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } data_.pakecredentialresponse_.Set( ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:backup.PakeAuthenticationResponseData.pakeCredentialResponse) } inline void PakeAuthenticationResponseData::set_pakecredentialresponse(const char* value) { GOOGLE_DCHECK(value != nullptr); if (!_internal_has_pakecredentialresponse()) { clear_data(); set_has_pakecredentialresponse(); data_.pakecredentialresponse_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } data_.pakecredentialresponse_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:backup.PakeAuthenticationResponseData.pakeCredentialResponse) } inline void PakeAuthenticationResponseData::set_pakecredentialresponse(const void* value, size_t size) { if (!_internal_has_pakecredentialresponse()) { clear_data(); set_has_pakecredentialresponse(); data_.pakecredentialresponse_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } data_.pakecredentialresponse_.Set( ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:backup.PakeAuthenticationResponseData.pakeCredentialResponse) } inline std::string* PakeAuthenticationResponseData::_internal_mutable_pakecredentialresponse() { if (!_internal_has_pakecredentialresponse()) { clear_data(); set_has_pakecredentialresponse(); data_.pakecredentialresponse_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } return data_.pakecredentialresponse_.Mutable( ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* PakeAuthenticationResponseData::release_pakecredentialresponse() { // @@protoc_insertion_point(field_release:backup.PakeAuthenticationResponseData.pakeCredentialResponse) if (_internal_has_pakecredentialresponse()) { clear_has_data(); return data_.pakecredentialresponse_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } else { return nullptr; } } inline void PakeAuthenticationResponseData::set_allocated_pakecredentialresponse(std::string* pakecredentialresponse) { if (has_data()) { clear_data(); } if (pakecredentialresponse != nullptr) { set_has_pakecredentialresponse(); data_.pakecredentialresponse_.UnsafeSetDefault(pakecredentialresponse); ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); if (arena != nullptr) { arena->Own(pakecredentialresponse); } } // @@protoc_insertion_point(field_set_allocated:backup.PakeAuthenticationResponseData.pakeCredentialResponse) } // bytes pakeServerMAC = 4; inline bool PakeAuthenticationResponseData::_internal_has_pakeservermac() const { return data_case() == kPakeServerMAC; } inline bool PakeAuthenticationResponseData::has_pakeservermac() const { return _internal_has_pakeservermac(); } inline void PakeAuthenticationResponseData::set_has_pakeservermac() { _oneof_case_[0] = kPakeServerMAC; } inline void PakeAuthenticationResponseData::clear_pakeservermac() { if (_internal_has_pakeservermac()) { data_.pakeservermac_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); clear_has_data(); } } inline const std::string& PakeAuthenticationResponseData::pakeservermac() const { // @@protoc_insertion_point(field_get:backup.PakeAuthenticationResponseData.pakeServerMAC) return _internal_pakeservermac(); } inline void PakeAuthenticationResponseData::set_pakeservermac(const std::string& value) { _internal_set_pakeservermac(value); // @@protoc_insertion_point(field_set:backup.PakeAuthenticationResponseData.pakeServerMAC) } inline std::string* PakeAuthenticationResponseData::mutable_pakeservermac() { // @@protoc_insertion_point(field_mutable:backup.PakeAuthenticationResponseData.pakeServerMAC) return _internal_mutable_pakeservermac(); } inline const std::string& PakeAuthenticationResponseData::_internal_pakeservermac() const { if (_internal_has_pakeservermac()) { return data_.pakeservermac_.Get(); } return ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(); } inline void PakeAuthenticationResponseData::_internal_set_pakeservermac(const std::string& value) { if (!_internal_has_pakeservermac()) { clear_data(); set_has_pakeservermac(); data_.pakeservermac_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } data_.pakeservermac_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void PakeAuthenticationResponseData::set_pakeservermac(std::string&& value) { // @@protoc_insertion_point(field_set:backup.PakeAuthenticationResponseData.pakeServerMAC) if (!_internal_has_pakeservermac()) { clear_data(); set_has_pakeservermac(); data_.pakeservermac_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } data_.pakeservermac_.Set( ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:backup.PakeAuthenticationResponseData.pakeServerMAC) } inline void PakeAuthenticationResponseData::set_pakeservermac(const char* value) { GOOGLE_DCHECK(value != nullptr); if (!_internal_has_pakeservermac()) { clear_data(); set_has_pakeservermac(); data_.pakeservermac_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } data_.pakeservermac_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:backup.PakeAuthenticationResponseData.pakeServerMAC) } inline void PakeAuthenticationResponseData::set_pakeservermac(const void* value, size_t size) { if (!_internal_has_pakeservermac()) { clear_data(); set_has_pakeservermac(); data_.pakeservermac_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } data_.pakeservermac_.Set( ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:backup.PakeAuthenticationResponseData.pakeServerMAC) } inline std::string* PakeAuthenticationResponseData::_internal_mutable_pakeservermac() { if (!_internal_has_pakeservermac()) { clear_data(); set_has_pakeservermac(); data_.pakeservermac_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } return data_.pakeservermac_.Mutable( ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* PakeAuthenticationResponseData::release_pakeservermac() { // @@protoc_insertion_point(field_release:backup.PakeAuthenticationResponseData.pakeServerMAC) if (_internal_has_pakeservermac()) { clear_has_data(); return data_.pakeservermac_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } else { return nullptr; } } inline void PakeAuthenticationResponseData::set_allocated_pakeservermac(std::string* pakeservermac) { if (has_data()) { clear_data(); } if (pakeservermac != nullptr) { set_has_pakeservermac(); data_.pakeservermac_.UnsafeSetDefault(pakeservermac); ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); if (arena != nullptr) { arena->Own(pakeservermac); } } // @@protoc_insertion_point(field_set_allocated:backup.PakeAuthenticationResponseData.pakeServerMAC) } inline bool PakeAuthenticationResponseData::has_data() const { return data_case() != DATA_NOT_SET; } inline void PakeAuthenticationResponseData::clear_has_data() { _oneof_case_[0] = DATA_NOT_SET; } inline PakeAuthenticationResponseData::DataCase PakeAuthenticationResponseData::data_case() const { return PakeAuthenticationResponseData::DataCase(_oneof_case_[0]); } // ------------------------------------------------------------------- // FullAuthenticationResponseData // .backup.PakeAuthenticationResponseData pakeAuthenticationResponseData = 1; inline bool FullAuthenticationResponseData::_internal_has_pakeauthenticationresponsedata() const { return data_case() == kPakeAuthenticationResponseData; } inline bool FullAuthenticationResponseData::has_pakeauthenticationresponsedata() const { return _internal_has_pakeauthenticationresponsedata(); } inline void FullAuthenticationResponseData::set_has_pakeauthenticationresponsedata() { _oneof_case_[0] = kPakeAuthenticationResponseData; } inline void FullAuthenticationResponseData::clear_pakeauthenticationresponsedata() { if (_internal_has_pakeauthenticationresponsedata()) { if (GetArena() == nullptr) { delete data_.pakeauthenticationresponsedata_; } clear_has_data(); } } inline ::backup::PakeAuthenticationResponseData* FullAuthenticationResponseData::release_pakeauthenticationresponsedata() { // @@protoc_insertion_point(field_release:backup.FullAuthenticationResponseData.pakeAuthenticationResponseData) if (_internal_has_pakeauthenticationresponsedata()) { clear_has_data(); ::backup::PakeAuthenticationResponseData* temp = data_.pakeauthenticationresponsedata_; if (GetArena() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } data_.pakeauthenticationresponsedata_ = nullptr; return temp; } else { return nullptr; } } inline const ::backup::PakeAuthenticationResponseData& FullAuthenticationResponseData::_internal_pakeauthenticationresponsedata() const { return _internal_has_pakeauthenticationresponsedata() ? *data_.pakeauthenticationresponsedata_ : reinterpret_cast< ::backup::PakeAuthenticationResponseData&>(::backup::_PakeAuthenticationResponseData_default_instance_); } inline const ::backup::PakeAuthenticationResponseData& FullAuthenticationResponseData::pakeauthenticationresponsedata() const { // @@protoc_insertion_point(field_get:backup.FullAuthenticationResponseData.pakeAuthenticationResponseData) return _internal_pakeauthenticationresponsedata(); } inline ::backup::PakeAuthenticationResponseData* FullAuthenticationResponseData::unsafe_arena_release_pakeauthenticationresponsedata() { // @@protoc_insertion_point(field_unsafe_arena_release:backup.FullAuthenticationResponseData.pakeAuthenticationResponseData) if (_internal_has_pakeauthenticationresponsedata()) { clear_has_data(); ::backup::PakeAuthenticationResponseData* temp = data_.pakeauthenticationresponsedata_; data_.pakeauthenticationresponsedata_ = nullptr; return temp; } else { return nullptr; } } inline void FullAuthenticationResponseData::unsafe_arena_set_allocated_pakeauthenticationresponsedata(::backup::PakeAuthenticationResponseData* pakeauthenticationresponsedata) { clear_data(); if (pakeauthenticationresponsedata) { set_has_pakeauthenticationresponsedata(); data_.pakeauthenticationresponsedata_ = pakeauthenticationresponsedata; } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:backup.FullAuthenticationResponseData.pakeAuthenticationResponseData) } inline ::backup::PakeAuthenticationResponseData* FullAuthenticationResponseData::_internal_mutable_pakeauthenticationresponsedata() { if (!_internal_has_pakeauthenticationresponsedata()) { clear_data(); set_has_pakeauthenticationresponsedata(); data_.pakeauthenticationresponsedata_ = CreateMaybeMessage< ::backup::PakeAuthenticationResponseData >(GetArena()); } return data_.pakeauthenticationresponsedata_; } inline ::backup::PakeAuthenticationResponseData* FullAuthenticationResponseData::mutable_pakeauthenticationresponsedata() { // @@protoc_insertion_point(field_mutable:backup.FullAuthenticationResponseData.pakeAuthenticationResponseData) return _internal_mutable_pakeauthenticationresponsedata(); } // .backup.WalletAuthenticationResponseData walletAuthenticationResponseData = 2; inline bool FullAuthenticationResponseData::_internal_has_walletauthenticationresponsedata() const { return data_case() == kWalletAuthenticationResponseData; } inline bool FullAuthenticationResponseData::has_walletauthenticationresponsedata() const { return _internal_has_walletauthenticationresponsedata(); } inline void FullAuthenticationResponseData::set_has_walletauthenticationresponsedata() { _oneof_case_[0] = kWalletAuthenticationResponseData; } inline void FullAuthenticationResponseData::clear_walletauthenticationresponsedata() { if (_internal_has_walletauthenticationresponsedata()) { if (GetArena() == nullptr) { delete data_.walletauthenticationresponsedata_; } clear_has_data(); } } inline ::backup::WalletAuthenticationResponseData* FullAuthenticationResponseData::release_walletauthenticationresponsedata() { // @@protoc_insertion_point(field_release:backup.FullAuthenticationResponseData.walletAuthenticationResponseData) if (_internal_has_walletauthenticationresponsedata()) { clear_has_data(); ::backup::WalletAuthenticationResponseData* temp = data_.walletauthenticationresponsedata_; if (GetArena() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } data_.walletauthenticationresponsedata_ = nullptr; return temp; } else { return nullptr; } } inline const ::backup::WalletAuthenticationResponseData& FullAuthenticationResponseData::_internal_walletauthenticationresponsedata() const { return _internal_has_walletauthenticationresponsedata() ? *data_.walletauthenticationresponsedata_ : reinterpret_cast< ::backup::WalletAuthenticationResponseData&>(::backup::_WalletAuthenticationResponseData_default_instance_); } inline const ::backup::WalletAuthenticationResponseData& FullAuthenticationResponseData::walletauthenticationresponsedata() const { // @@protoc_insertion_point(field_get:backup.FullAuthenticationResponseData.walletAuthenticationResponseData) return _internal_walletauthenticationresponsedata(); } inline ::backup::WalletAuthenticationResponseData* FullAuthenticationResponseData::unsafe_arena_release_walletauthenticationresponsedata() { // @@protoc_insertion_point(field_unsafe_arena_release:backup.FullAuthenticationResponseData.walletAuthenticationResponseData) if (_internal_has_walletauthenticationresponsedata()) { clear_has_data(); ::backup::WalletAuthenticationResponseData* temp = data_.walletauthenticationresponsedata_; data_.walletauthenticationresponsedata_ = nullptr; return temp; } else { return nullptr; } } inline void FullAuthenticationResponseData::unsafe_arena_set_allocated_walletauthenticationresponsedata(::backup::WalletAuthenticationResponseData* walletauthenticationresponsedata) { clear_data(); if (walletauthenticationresponsedata) { set_has_walletauthenticationresponsedata(); data_.walletauthenticationresponsedata_ = walletauthenticationresponsedata; } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:backup.FullAuthenticationResponseData.walletAuthenticationResponseData) } inline ::backup::WalletAuthenticationResponseData* FullAuthenticationResponseData::_internal_mutable_walletauthenticationresponsedata() { if (!_internal_has_walletauthenticationresponsedata()) { clear_data(); set_has_walletauthenticationresponsedata(); data_.walletauthenticationresponsedata_ = CreateMaybeMessage< ::backup::WalletAuthenticationResponseData >(GetArena()); } return data_.walletauthenticationresponsedata_; } inline ::backup::WalletAuthenticationResponseData* FullAuthenticationResponseData::mutable_walletauthenticationresponsedata() { // @@protoc_insertion_point(field_mutable:backup.FullAuthenticationResponseData.walletAuthenticationResponseData) return _internal_mutable_walletauthenticationresponsedata(); } inline bool FullAuthenticationResponseData::has_data() const { return data_case() != DATA_NOT_SET; } inline void FullAuthenticationResponseData::clear_has_data() { _oneof_case_[0] = DATA_NOT_SET; } inline FullAuthenticationResponseData::DataCase FullAuthenticationResponseData::data_case() const { return FullAuthenticationResponseData::DataCase(_oneof_case_[0]); } // ------------------------------------------------------------------- // SimpleAuthenticationRequestData // string backupID = 1; inline void SimpleAuthenticationRequestData::clear_backupid() { backupid_.ClearToEmpty(); } inline const std::string& SimpleAuthenticationRequestData::backupid() const { // @@protoc_insertion_point(field_get:backup.SimpleAuthenticationRequestData.backupID) return _internal_backupid(); } inline void SimpleAuthenticationRequestData::set_backupid(const std::string& value) { _internal_set_backupid(value); // @@protoc_insertion_point(field_set:backup.SimpleAuthenticationRequestData.backupID) } inline std::string* SimpleAuthenticationRequestData::mutable_backupid() { // @@protoc_insertion_point(field_mutable:backup.SimpleAuthenticationRequestData.backupID) return _internal_mutable_backupid(); } inline const std::string& SimpleAuthenticationRequestData::_internal_backupid() const { return backupid_.Get(); } inline void SimpleAuthenticationRequestData::_internal_set_backupid(const std::string& value) { backupid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void SimpleAuthenticationRequestData::set_backupid(std::string&& value) { backupid_.Set( ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:backup.SimpleAuthenticationRequestData.backupID) } inline void SimpleAuthenticationRequestData::set_backupid(const char* value) { GOOGLE_DCHECK(value != nullptr); backupid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:backup.SimpleAuthenticationRequestData.backupID) } inline void SimpleAuthenticationRequestData::set_backupid(const char* value, size_t size) { backupid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:backup.SimpleAuthenticationRequestData.backupID) } inline std::string* SimpleAuthenticationRequestData::_internal_mutable_backupid() { return backupid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* SimpleAuthenticationRequestData::release_backupid() { // @@protoc_insertion_point(field_release:backup.SimpleAuthenticationRequestData.backupID) return backupid_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void SimpleAuthenticationRequestData::set_allocated_backupid(std::string* backupid) { if (backupid != nullptr) { } else { } backupid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), backupid, GetArena()); // @@protoc_insertion_point(field_set_allocated:backup.SimpleAuthenticationRequestData.backupID) } // string userID = 2; inline void SimpleAuthenticationRequestData::clear_userid() { userid_.ClearToEmpty(); } inline const std::string& SimpleAuthenticationRequestData::userid() const { // @@protoc_insertion_point(field_get:backup.SimpleAuthenticationRequestData.userID) return _internal_userid(); } inline void SimpleAuthenticationRequestData::set_userid(const std::string& value) { _internal_set_userid(value); // @@protoc_insertion_point(field_set:backup.SimpleAuthenticationRequestData.userID) } inline std::string* SimpleAuthenticationRequestData::mutable_userid() { // @@protoc_insertion_point(field_mutable:backup.SimpleAuthenticationRequestData.userID) return _internal_mutable_userid(); } inline const std::string& SimpleAuthenticationRequestData::_internal_userid() const { return userid_.Get(); } inline void SimpleAuthenticationRequestData::_internal_set_userid(const std::string& value) { userid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void SimpleAuthenticationRequestData::set_userid(std::string&& value) { userid_.Set( ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:backup.SimpleAuthenticationRequestData.userID) } inline void SimpleAuthenticationRequestData::set_userid(const char* value) { GOOGLE_DCHECK(value != nullptr); userid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:backup.SimpleAuthenticationRequestData.userID) } inline void SimpleAuthenticationRequestData::set_userid(const char* value, size_t size) { userid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:backup.SimpleAuthenticationRequestData.userID) } inline std::string* SimpleAuthenticationRequestData::_internal_mutable_userid() { return userid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* SimpleAuthenticationRequestData::release_userid() { // @@protoc_insertion_point(field_release:backup.SimpleAuthenticationRequestData.userID) return userid_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void SimpleAuthenticationRequestData::set_allocated_userid(std::string* userid) { if (userid != nullptr) { } else { } userid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), userid, GetArena()); // @@protoc_insertion_point(field_set_allocated:backup.SimpleAuthenticationRequestData.userID) } // ------------------------------------------------------------------- // BackupKeyEntropy // bytes nonce = 1; inline bool BackupKeyEntropy::_internal_has_nonce() const { return data_case() == kNonce; } inline bool BackupKeyEntropy::has_nonce() const { return _internal_has_nonce(); } inline void BackupKeyEntropy::set_has_nonce() { _oneof_case_[0] = kNonce; } inline void BackupKeyEntropy::clear_nonce() { if (_internal_has_nonce()) { data_.nonce_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); clear_has_data(); } } inline const std::string& BackupKeyEntropy::nonce() const { // @@protoc_insertion_point(field_get:backup.BackupKeyEntropy.nonce) return _internal_nonce(); } inline void BackupKeyEntropy::set_nonce(const std::string& value) { _internal_set_nonce(value); // @@protoc_insertion_point(field_set:backup.BackupKeyEntropy.nonce) } inline std::string* BackupKeyEntropy::mutable_nonce() { // @@protoc_insertion_point(field_mutable:backup.BackupKeyEntropy.nonce) return _internal_mutable_nonce(); } inline const std::string& BackupKeyEntropy::_internal_nonce() const { if (_internal_has_nonce()) { return data_.nonce_.Get(); } return ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(); } inline void BackupKeyEntropy::_internal_set_nonce(const std::string& value) { if (!_internal_has_nonce()) { clear_data(); set_has_nonce(); data_.nonce_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } data_.nonce_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void BackupKeyEntropy::set_nonce(std::string&& value) { // @@protoc_insertion_point(field_set:backup.BackupKeyEntropy.nonce) if (!_internal_has_nonce()) { clear_data(); set_has_nonce(); data_.nonce_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } data_.nonce_.Set( ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:backup.BackupKeyEntropy.nonce) } inline void BackupKeyEntropy::set_nonce(const char* value) { GOOGLE_DCHECK(value != nullptr); if (!_internal_has_nonce()) { clear_data(); set_has_nonce(); data_.nonce_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } data_.nonce_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:backup.BackupKeyEntropy.nonce) } inline void BackupKeyEntropy::set_nonce(const void* value, size_t size) { if (!_internal_has_nonce()) { clear_data(); set_has_nonce(); data_.nonce_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } data_.nonce_.Set( ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:backup.BackupKeyEntropy.nonce) } inline std::string* BackupKeyEntropy::_internal_mutable_nonce() { if (!_internal_has_nonce()) { clear_data(); set_has_nonce(); data_.nonce_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } return data_.nonce_.Mutable( ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* BackupKeyEntropy::release_nonce() { // @@protoc_insertion_point(field_release:backup.BackupKeyEntropy.nonce) if (_internal_has_nonce()) { clear_has_data(); return data_.nonce_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } else { return nullptr; } } inline void BackupKeyEntropy::set_allocated_nonce(std::string* nonce) { if (has_data()) { clear_data(); } if (nonce != nullptr) { set_has_nonce(); data_.nonce_.UnsafeSetDefault(nonce); ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); if (arena != nullptr) { arena->Own(nonce); } } // @@protoc_insertion_point(field_set_allocated:backup.BackupKeyEntropy.nonce) } // bytes rawMessage = 2; inline bool BackupKeyEntropy::_internal_has_rawmessage() const { return data_case() == kRawMessage; } inline bool BackupKeyEntropy::has_rawmessage() const { return _internal_has_rawmessage(); } inline void BackupKeyEntropy::set_has_rawmessage() { _oneof_case_[0] = kRawMessage; } inline void BackupKeyEntropy::clear_rawmessage() { if (_internal_has_rawmessage()) { data_.rawmessage_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); clear_has_data(); } } inline const std::string& BackupKeyEntropy::rawmessage() const { // @@protoc_insertion_point(field_get:backup.BackupKeyEntropy.rawMessage) return _internal_rawmessage(); } inline void BackupKeyEntropy::set_rawmessage(const std::string& value) { _internal_set_rawmessage(value); // @@protoc_insertion_point(field_set:backup.BackupKeyEntropy.rawMessage) } inline std::string* BackupKeyEntropy::mutable_rawmessage() { // @@protoc_insertion_point(field_mutable:backup.BackupKeyEntropy.rawMessage) return _internal_mutable_rawmessage(); } inline const std::string& BackupKeyEntropy::_internal_rawmessage() const { if (_internal_has_rawmessage()) { return data_.rawmessage_.Get(); } return ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(); } inline void BackupKeyEntropy::_internal_set_rawmessage(const std::string& value) { if (!_internal_has_rawmessage()) { clear_data(); set_has_rawmessage(); data_.rawmessage_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } data_.rawmessage_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void BackupKeyEntropy::set_rawmessage(std::string&& value) { // @@protoc_insertion_point(field_set:backup.BackupKeyEntropy.rawMessage) if (!_internal_has_rawmessage()) { clear_data(); set_has_rawmessage(); data_.rawmessage_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } data_.rawmessage_.Set( ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:backup.BackupKeyEntropy.rawMessage) } inline void BackupKeyEntropy::set_rawmessage(const char* value) { GOOGLE_DCHECK(value != nullptr); if (!_internal_has_rawmessage()) { clear_data(); set_has_rawmessage(); data_.rawmessage_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } data_.rawmessage_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:backup.BackupKeyEntropy.rawMessage) } inline void BackupKeyEntropy::set_rawmessage(const void* value, size_t size) { if (!_internal_has_rawmessage()) { clear_data(); set_has_rawmessage(); data_.rawmessage_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } data_.rawmessage_.Set( ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:backup.BackupKeyEntropy.rawMessage) } inline std::string* BackupKeyEntropy::_internal_mutable_rawmessage() { if (!_internal_has_rawmessage()) { clear_data(); set_has_rawmessage(); data_.rawmessage_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } return data_.rawmessage_.Mutable( ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* BackupKeyEntropy::release_rawmessage() { // @@protoc_insertion_point(field_release:backup.BackupKeyEntropy.rawMessage) if (_internal_has_rawmessage()) { clear_has_data(); return data_.rawmessage_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } else { return nullptr; } } inline void BackupKeyEntropy::set_allocated_rawmessage(std::string* rawmessage) { if (has_data()) { clear_data(); } if (rawmessage != nullptr) { set_has_rawmessage(); data_.rawmessage_.UnsafeSetDefault(rawmessage); ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); if (arena != nullptr) { arena->Own(rawmessage); } } // @@protoc_insertion_point(field_set_allocated:backup.BackupKeyEntropy.rawMessage) } inline bool BackupKeyEntropy::has_data() const { return data_case() != DATA_NOT_SET; } inline void BackupKeyEntropy::clear_has_data() { _oneof_case_[0] = DATA_NOT_SET; } inline BackupKeyEntropy::DataCase BackupKeyEntropy::data_case() const { return BackupKeyEntropy::DataCase(_oneof_case_[0]); } // ------------------------------------------------------------------- // CreateNewBackupRequest // .backup.FullAuthenticationRequestData authenticationRequestData = 1; inline bool CreateNewBackupRequest::_internal_has_authenticationrequestdata() const { return data_case() == kAuthenticationRequestData; } inline bool CreateNewBackupRequest::has_authenticationrequestdata() const { return _internal_has_authenticationrequestdata(); } inline void CreateNewBackupRequest::set_has_authenticationrequestdata() { _oneof_case_[0] = kAuthenticationRequestData; } inline void CreateNewBackupRequest::clear_authenticationrequestdata() { if (_internal_has_authenticationrequestdata()) { if (GetArena() == nullptr) { delete data_.authenticationrequestdata_; } clear_has_data(); } } inline ::backup::FullAuthenticationRequestData* CreateNewBackupRequest::release_authenticationrequestdata() { // @@protoc_insertion_point(field_release:backup.CreateNewBackupRequest.authenticationRequestData) if (_internal_has_authenticationrequestdata()) { clear_has_data(); ::backup::FullAuthenticationRequestData* temp = data_.authenticationrequestdata_; if (GetArena() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } data_.authenticationrequestdata_ = nullptr; return temp; } else { return nullptr; } } inline const ::backup::FullAuthenticationRequestData& CreateNewBackupRequest::_internal_authenticationrequestdata() const { return _internal_has_authenticationrequestdata() ? *data_.authenticationrequestdata_ : reinterpret_cast< ::backup::FullAuthenticationRequestData&>(::backup::_FullAuthenticationRequestData_default_instance_); } inline const ::backup::FullAuthenticationRequestData& CreateNewBackupRequest::authenticationrequestdata() const { // @@protoc_insertion_point(field_get:backup.CreateNewBackupRequest.authenticationRequestData) return _internal_authenticationrequestdata(); } inline ::backup::FullAuthenticationRequestData* CreateNewBackupRequest::unsafe_arena_release_authenticationrequestdata() { // @@protoc_insertion_point(field_unsafe_arena_release:backup.CreateNewBackupRequest.authenticationRequestData) if (_internal_has_authenticationrequestdata()) { clear_has_data(); ::backup::FullAuthenticationRequestData* temp = data_.authenticationrequestdata_; data_.authenticationrequestdata_ = nullptr; return temp; } else { return nullptr; } } inline void CreateNewBackupRequest::unsafe_arena_set_allocated_authenticationrequestdata(::backup::FullAuthenticationRequestData* authenticationrequestdata) { clear_data(); if (authenticationrequestdata) { set_has_authenticationrequestdata(); data_.authenticationrequestdata_ = authenticationrequestdata; } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:backup.CreateNewBackupRequest.authenticationRequestData) } inline ::backup::FullAuthenticationRequestData* CreateNewBackupRequest::_internal_mutable_authenticationrequestdata() { if (!_internal_has_authenticationrequestdata()) { clear_data(); set_has_authenticationrequestdata(); data_.authenticationrequestdata_ = CreateMaybeMessage< ::backup::FullAuthenticationRequestData >(GetArena()); } return data_.authenticationrequestdata_; } inline ::backup::FullAuthenticationRequestData* CreateNewBackupRequest::mutable_authenticationrequestdata() { // @@protoc_insertion_point(field_mutable:backup.CreateNewBackupRequest.authenticationRequestData) return _internal_mutable_authenticationrequestdata(); } // .backup.BackupKeyEntropy backupKeyEntropy = 2; inline bool CreateNewBackupRequest::_internal_has_backupkeyentropy() const { return data_case() == kBackupKeyEntropy; } inline bool CreateNewBackupRequest::has_backupkeyentropy() const { return _internal_has_backupkeyentropy(); } inline void CreateNewBackupRequest::set_has_backupkeyentropy() { _oneof_case_[0] = kBackupKeyEntropy; } inline void CreateNewBackupRequest::clear_backupkeyentropy() { if (_internal_has_backupkeyentropy()) { if (GetArena() == nullptr) { delete data_.backupkeyentropy_; } clear_has_data(); } } inline ::backup::BackupKeyEntropy* CreateNewBackupRequest::release_backupkeyentropy() { // @@protoc_insertion_point(field_release:backup.CreateNewBackupRequest.backupKeyEntropy) if (_internal_has_backupkeyentropy()) { clear_has_data(); ::backup::BackupKeyEntropy* temp = data_.backupkeyentropy_; if (GetArena() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } data_.backupkeyentropy_ = nullptr; return temp; } else { return nullptr; } } inline const ::backup::BackupKeyEntropy& CreateNewBackupRequest::_internal_backupkeyentropy() const { return _internal_has_backupkeyentropy() ? *data_.backupkeyentropy_ : reinterpret_cast< ::backup::BackupKeyEntropy&>(::backup::_BackupKeyEntropy_default_instance_); } inline const ::backup::BackupKeyEntropy& CreateNewBackupRequest::backupkeyentropy() const { // @@protoc_insertion_point(field_get:backup.CreateNewBackupRequest.backupKeyEntropy) return _internal_backupkeyentropy(); } inline ::backup::BackupKeyEntropy* CreateNewBackupRequest::unsafe_arena_release_backupkeyentropy() { // @@protoc_insertion_point(field_unsafe_arena_release:backup.CreateNewBackupRequest.backupKeyEntropy) if (_internal_has_backupkeyentropy()) { clear_has_data(); ::backup::BackupKeyEntropy* temp = data_.backupkeyentropy_; data_.backupkeyentropy_ = nullptr; return temp; } else { return nullptr; } } inline void CreateNewBackupRequest::unsafe_arena_set_allocated_backupkeyentropy(::backup::BackupKeyEntropy* backupkeyentropy) { clear_data(); if (backupkeyentropy) { set_has_backupkeyentropy(); data_.backupkeyentropy_ = backupkeyentropy; } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:backup.CreateNewBackupRequest.backupKeyEntropy) } inline ::backup::BackupKeyEntropy* CreateNewBackupRequest::_internal_mutable_backupkeyentropy() { if (!_internal_has_backupkeyentropy()) { clear_data(); set_has_backupkeyentropy(); data_.backupkeyentropy_ = CreateMaybeMessage< ::backup::BackupKeyEntropy >(GetArena()); } return data_.backupkeyentropy_; } inline ::backup::BackupKeyEntropy* CreateNewBackupRequest::mutable_backupkeyentropy() { // @@protoc_insertion_point(field_mutable:backup.CreateNewBackupRequest.backupKeyEntropy) return _internal_mutable_backupkeyentropy(); } -// bytes newCompactionChunk = 3; +// bytes newCompactionHash = 3; +inline bool CreateNewBackupRequest::_internal_has_newcompactionhash() const { + return data_case() == kNewCompactionHash; +} +inline bool CreateNewBackupRequest::has_newcompactionhash() const { + return _internal_has_newcompactionhash(); +} +inline void CreateNewBackupRequest::set_has_newcompactionhash() { + _oneof_case_[0] = kNewCompactionHash; +} +inline void CreateNewBackupRequest::clear_newcompactionhash() { + if (_internal_has_newcompactionhash()) { + data_.newcompactionhash_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); + clear_has_data(); + } +} +inline const std::string& CreateNewBackupRequest::newcompactionhash() const { + // @@protoc_insertion_point(field_get:backup.CreateNewBackupRequest.newCompactionHash) + return _internal_newcompactionhash(); +} +inline void CreateNewBackupRequest::set_newcompactionhash(const std::string& value) { + _internal_set_newcompactionhash(value); + // @@protoc_insertion_point(field_set:backup.CreateNewBackupRequest.newCompactionHash) +} +inline std::string* CreateNewBackupRequest::mutable_newcompactionhash() { + // @@protoc_insertion_point(field_mutable:backup.CreateNewBackupRequest.newCompactionHash) + return _internal_mutable_newcompactionhash(); +} +inline const std::string& CreateNewBackupRequest::_internal_newcompactionhash() const { + if (_internal_has_newcompactionhash()) { + return data_.newcompactionhash_.Get(); + } + return ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(); +} +inline void CreateNewBackupRequest::_internal_set_newcompactionhash(const std::string& value) { + if (!_internal_has_newcompactionhash()) { + clear_data(); + set_has_newcompactionhash(); + data_.newcompactionhash_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + } + data_.newcompactionhash_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); +} +inline void CreateNewBackupRequest::set_newcompactionhash(std::string&& value) { + // @@protoc_insertion_point(field_set:backup.CreateNewBackupRequest.newCompactionHash) + if (!_internal_has_newcompactionhash()) { + clear_data(); + set_has_newcompactionhash(); + data_.newcompactionhash_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + } + data_.newcompactionhash_.Set( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); + // @@protoc_insertion_point(field_set_rvalue:backup.CreateNewBackupRequest.newCompactionHash) +} +inline void CreateNewBackupRequest::set_newcompactionhash(const char* value) { + GOOGLE_DCHECK(value != nullptr); + if (!_internal_has_newcompactionhash()) { + clear_data(); + set_has_newcompactionhash(); + data_.newcompactionhash_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + } + data_.newcompactionhash_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, + ::std::string(value), GetArena()); + // @@protoc_insertion_point(field_set_char:backup.CreateNewBackupRequest.newCompactionHash) +} +inline void CreateNewBackupRequest::set_newcompactionhash(const void* value, + size_t size) { + if (!_internal_has_newcompactionhash()) { + clear_data(); + set_has_newcompactionhash(); + data_.newcompactionhash_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + } + data_.newcompactionhash_.Set( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( + reinterpret_cast(value), size), + GetArena()); + // @@protoc_insertion_point(field_set_pointer:backup.CreateNewBackupRequest.newCompactionHash) +} +inline std::string* CreateNewBackupRequest::_internal_mutable_newcompactionhash() { + if (!_internal_has_newcompactionhash()) { + clear_data(); + set_has_newcompactionhash(); + data_.newcompactionhash_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + } + return data_.newcompactionhash_.Mutable( + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); +} +inline std::string* CreateNewBackupRequest::release_newcompactionhash() { + // @@protoc_insertion_point(field_release:backup.CreateNewBackupRequest.newCompactionHash) + if (_internal_has_newcompactionhash()) { + clear_has_data(); + return data_.newcompactionhash_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + } else { + return nullptr; + } +} +inline void CreateNewBackupRequest::set_allocated_newcompactionhash(std::string* newcompactionhash) { + if (has_data()) { + clear_data(); + } + if (newcompactionhash != nullptr) { + set_has_newcompactionhash(); + data_.newcompactionhash_.UnsafeSetDefault(newcompactionhash); + ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); + if (arena != nullptr) { + arena->Own(newcompactionhash); + } + } + // @@protoc_insertion_point(field_set_allocated:backup.CreateNewBackupRequest.newCompactionHash) +} + +// bytes newCompactionChunk = 4; inline bool CreateNewBackupRequest::_internal_has_newcompactionchunk() const { return data_case() == kNewCompactionChunk; } inline bool CreateNewBackupRequest::has_newcompactionchunk() const { return _internal_has_newcompactionchunk(); } inline void CreateNewBackupRequest::set_has_newcompactionchunk() { _oneof_case_[0] = kNewCompactionChunk; } inline void CreateNewBackupRequest::clear_newcompactionchunk() { if (_internal_has_newcompactionchunk()) { data_.newcompactionchunk_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); clear_has_data(); } } inline const std::string& CreateNewBackupRequest::newcompactionchunk() const { // @@protoc_insertion_point(field_get:backup.CreateNewBackupRequest.newCompactionChunk) return _internal_newcompactionchunk(); } inline void CreateNewBackupRequest::set_newcompactionchunk(const std::string& value) { _internal_set_newcompactionchunk(value); // @@protoc_insertion_point(field_set:backup.CreateNewBackupRequest.newCompactionChunk) } inline std::string* CreateNewBackupRequest::mutable_newcompactionchunk() { // @@protoc_insertion_point(field_mutable:backup.CreateNewBackupRequest.newCompactionChunk) return _internal_mutable_newcompactionchunk(); } inline const std::string& CreateNewBackupRequest::_internal_newcompactionchunk() const { if (_internal_has_newcompactionchunk()) { return data_.newcompactionchunk_.Get(); } return ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(); } inline void CreateNewBackupRequest::_internal_set_newcompactionchunk(const std::string& value) { if (!_internal_has_newcompactionchunk()) { clear_data(); set_has_newcompactionchunk(); data_.newcompactionchunk_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } data_.newcompactionchunk_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void CreateNewBackupRequest::set_newcompactionchunk(std::string&& value) { // @@protoc_insertion_point(field_set:backup.CreateNewBackupRequest.newCompactionChunk) if (!_internal_has_newcompactionchunk()) { clear_data(); set_has_newcompactionchunk(); data_.newcompactionchunk_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } data_.newcompactionchunk_.Set( ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:backup.CreateNewBackupRequest.newCompactionChunk) } inline void CreateNewBackupRequest::set_newcompactionchunk(const char* value) { GOOGLE_DCHECK(value != nullptr); if (!_internal_has_newcompactionchunk()) { clear_data(); set_has_newcompactionchunk(); data_.newcompactionchunk_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } data_.newcompactionchunk_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:backup.CreateNewBackupRequest.newCompactionChunk) } inline void CreateNewBackupRequest::set_newcompactionchunk(const void* value, size_t size) { if (!_internal_has_newcompactionchunk()) { clear_data(); set_has_newcompactionchunk(); data_.newcompactionchunk_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } data_.newcompactionchunk_.Set( ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:backup.CreateNewBackupRequest.newCompactionChunk) } inline std::string* CreateNewBackupRequest::_internal_mutable_newcompactionchunk() { if (!_internal_has_newcompactionchunk()) { clear_data(); set_has_newcompactionchunk(); data_.newcompactionchunk_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } return data_.newcompactionchunk_.Mutable( ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* CreateNewBackupRequest::release_newcompactionchunk() { // @@protoc_insertion_point(field_release:backup.CreateNewBackupRequest.newCompactionChunk) if (_internal_has_newcompactionchunk()) { clear_has_data(); return data_.newcompactionchunk_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } else { return nullptr; } } inline void CreateNewBackupRequest::set_allocated_newcompactionchunk(std::string* newcompactionchunk) { if (has_data()) { clear_data(); } if (newcompactionchunk != nullptr) { set_has_newcompactionchunk(); data_.newcompactionchunk_.UnsafeSetDefault(newcompactionchunk); ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); if (arena != nullptr) { arena->Own(newcompactionchunk); } } // @@protoc_insertion_point(field_set_allocated:backup.CreateNewBackupRequest.newCompactionChunk) } inline bool CreateNewBackupRequest::has_data() const { return data_case() != DATA_NOT_SET; } inline void CreateNewBackupRequest::clear_has_data() { _oneof_case_[0] = DATA_NOT_SET; } inline CreateNewBackupRequest::DataCase CreateNewBackupRequest::data_case() const { return CreateNewBackupRequest::DataCase(_oneof_case_[0]); } // ------------------------------------------------------------------- // CreateNewBackupResponse // .backup.FullAuthenticationResponseData authenticationResponseData = 1; inline bool CreateNewBackupResponse::_internal_has_authenticationresponsedata() const { return data_case() == kAuthenticationResponseData; } inline bool CreateNewBackupResponse::has_authenticationresponsedata() const { return _internal_has_authenticationresponsedata(); } inline void CreateNewBackupResponse::set_has_authenticationresponsedata() { _oneof_case_[0] = kAuthenticationResponseData; } inline void CreateNewBackupResponse::clear_authenticationresponsedata() { if (_internal_has_authenticationresponsedata()) { if (GetArena() == nullptr) { delete data_.authenticationresponsedata_; } clear_has_data(); } } inline ::backup::FullAuthenticationResponseData* CreateNewBackupResponse::release_authenticationresponsedata() { // @@protoc_insertion_point(field_release:backup.CreateNewBackupResponse.authenticationResponseData) if (_internal_has_authenticationresponsedata()) { clear_has_data(); ::backup::FullAuthenticationResponseData* temp = data_.authenticationresponsedata_; if (GetArena() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } data_.authenticationresponsedata_ = nullptr; return temp; } else { return nullptr; } } inline const ::backup::FullAuthenticationResponseData& CreateNewBackupResponse::_internal_authenticationresponsedata() const { return _internal_has_authenticationresponsedata() ? *data_.authenticationresponsedata_ : reinterpret_cast< ::backup::FullAuthenticationResponseData&>(::backup::_FullAuthenticationResponseData_default_instance_); } inline const ::backup::FullAuthenticationResponseData& CreateNewBackupResponse::authenticationresponsedata() const { // @@protoc_insertion_point(field_get:backup.CreateNewBackupResponse.authenticationResponseData) return _internal_authenticationresponsedata(); } inline ::backup::FullAuthenticationResponseData* CreateNewBackupResponse::unsafe_arena_release_authenticationresponsedata() { // @@protoc_insertion_point(field_unsafe_arena_release:backup.CreateNewBackupResponse.authenticationResponseData) if (_internal_has_authenticationresponsedata()) { clear_has_data(); ::backup::FullAuthenticationResponseData* temp = data_.authenticationresponsedata_; data_.authenticationresponsedata_ = nullptr; return temp; } else { return nullptr; } } inline void CreateNewBackupResponse::unsafe_arena_set_allocated_authenticationresponsedata(::backup::FullAuthenticationResponseData* authenticationresponsedata) { clear_data(); if (authenticationresponsedata) { set_has_authenticationresponsedata(); data_.authenticationresponsedata_ = authenticationresponsedata; } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:backup.CreateNewBackupResponse.authenticationResponseData) } inline ::backup::FullAuthenticationResponseData* CreateNewBackupResponse::_internal_mutable_authenticationresponsedata() { if (!_internal_has_authenticationresponsedata()) { clear_data(); set_has_authenticationresponsedata(); data_.authenticationresponsedata_ = CreateMaybeMessage< ::backup::FullAuthenticationResponseData >(GetArena()); } return data_.authenticationresponsedata_; } inline ::backup::FullAuthenticationResponseData* CreateNewBackupResponse::mutable_authenticationresponsedata() { // @@protoc_insertion_point(field_mutable:backup.CreateNewBackupResponse.authenticationResponseData) return _internal_mutable_authenticationresponsedata(); } // bool entropyValid = 2; inline bool CreateNewBackupResponse::_internal_has_entropyvalid() const { return data_case() == kEntropyValid; } inline bool CreateNewBackupResponse::has_entropyvalid() const { return _internal_has_entropyvalid(); } inline void CreateNewBackupResponse::set_has_entropyvalid() { _oneof_case_[0] = kEntropyValid; } inline void CreateNewBackupResponse::clear_entropyvalid() { if (_internal_has_entropyvalid()) { data_.entropyvalid_ = false; clear_has_data(); } } inline bool CreateNewBackupResponse::_internal_entropyvalid() const { if (_internal_has_entropyvalid()) { return data_.entropyvalid_; } return false; } inline void CreateNewBackupResponse::_internal_set_entropyvalid(bool value) { if (!_internal_has_entropyvalid()) { clear_data(); set_has_entropyvalid(); } data_.entropyvalid_ = value; } inline bool CreateNewBackupResponse::entropyvalid() const { // @@protoc_insertion_point(field_get:backup.CreateNewBackupResponse.entropyValid) return _internal_entropyvalid(); } inline void CreateNewBackupResponse::set_entropyvalid(bool value) { _internal_set_entropyvalid(value); // @@protoc_insertion_point(field_set:backup.CreateNewBackupResponse.entropyValid) } // string backupID = 3; inline bool CreateNewBackupResponse::_internal_has_backupid() const { return data_case() == kBackupID; } inline bool CreateNewBackupResponse::has_backupid() const { return _internal_has_backupid(); } inline void CreateNewBackupResponse::set_has_backupid() { _oneof_case_[0] = kBackupID; } inline void CreateNewBackupResponse::clear_backupid() { if (_internal_has_backupid()) { data_.backupid_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); clear_has_data(); } } inline const std::string& CreateNewBackupResponse::backupid() const { // @@protoc_insertion_point(field_get:backup.CreateNewBackupResponse.backupID) return _internal_backupid(); } inline void CreateNewBackupResponse::set_backupid(const std::string& value) { _internal_set_backupid(value); // @@protoc_insertion_point(field_set:backup.CreateNewBackupResponse.backupID) } inline std::string* CreateNewBackupResponse::mutable_backupid() { // @@protoc_insertion_point(field_mutable:backup.CreateNewBackupResponse.backupID) return _internal_mutable_backupid(); } inline const std::string& CreateNewBackupResponse::_internal_backupid() const { if (_internal_has_backupid()) { return data_.backupid_.Get(); } return ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(); } inline void CreateNewBackupResponse::_internal_set_backupid(const std::string& value) { if (!_internal_has_backupid()) { clear_data(); set_has_backupid(); data_.backupid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } data_.backupid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void CreateNewBackupResponse::set_backupid(std::string&& value) { // @@protoc_insertion_point(field_set:backup.CreateNewBackupResponse.backupID) if (!_internal_has_backupid()) { clear_data(); set_has_backupid(); data_.backupid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } data_.backupid_.Set( ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:backup.CreateNewBackupResponse.backupID) } inline void CreateNewBackupResponse::set_backupid(const char* value) { GOOGLE_DCHECK(value != nullptr); if (!_internal_has_backupid()) { clear_data(); set_has_backupid(); data_.backupid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } data_.backupid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:backup.CreateNewBackupResponse.backupID) } inline void CreateNewBackupResponse::set_backupid(const char* value, size_t size) { if (!_internal_has_backupid()) { clear_data(); set_has_backupid(); data_.backupid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } data_.backupid_.Set( ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:backup.CreateNewBackupResponse.backupID) } inline std::string* CreateNewBackupResponse::_internal_mutable_backupid() { if (!_internal_has_backupid()) { clear_data(); set_has_backupid(); data_.backupid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } return data_.backupid_.Mutable( ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* CreateNewBackupResponse::release_backupid() { // @@protoc_insertion_point(field_release:backup.CreateNewBackupResponse.backupID) if (_internal_has_backupid()) { clear_has_data(); return data_.backupid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } else { return nullptr; } } inline void CreateNewBackupResponse::set_allocated_backupid(std::string* backupid) { if (has_data()) { clear_data(); } if (backupid != nullptr) { set_has_backupid(); data_.backupid_.UnsafeSetDefault(backupid); ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); if (arena != nullptr) { arena->Own(backupid); } } // @@protoc_insertion_point(field_set_allocated:backup.CreateNewBackupResponse.backupID) } inline bool CreateNewBackupResponse::has_data() const { return data_case() != DATA_NOT_SET; } inline void CreateNewBackupResponse::clear_has_data() { _oneof_case_[0] = DATA_NOT_SET; } inline CreateNewBackupResponse::DataCase CreateNewBackupResponse::data_case() const { return CreateNewBackupResponse::DataCase(_oneof_case_[0]); } // ------------------------------------------------------------------- // SendLogRequest // .backup.SimpleAuthenticationRequestData authenticationData = 1; inline bool SendLogRequest::_internal_has_authenticationdata() const { return this != internal_default_instance() && authenticationdata_ != nullptr; } inline bool SendLogRequest::has_authenticationdata() const { return _internal_has_authenticationdata(); } inline void SendLogRequest::clear_authenticationdata() { if (GetArena() == nullptr && authenticationdata_ != nullptr) { delete authenticationdata_; } authenticationdata_ = nullptr; } inline const ::backup::SimpleAuthenticationRequestData& SendLogRequest::_internal_authenticationdata() const { const ::backup::SimpleAuthenticationRequestData* p = authenticationdata_; return p != nullptr ? *p : reinterpret_cast( ::backup::_SimpleAuthenticationRequestData_default_instance_); } inline const ::backup::SimpleAuthenticationRequestData& SendLogRequest::authenticationdata() const { // @@protoc_insertion_point(field_get:backup.SendLogRequest.authenticationData) return _internal_authenticationdata(); } inline void SendLogRequest::unsafe_arena_set_allocated_authenticationdata( ::backup::SimpleAuthenticationRequestData* authenticationdata) { if (GetArena() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(authenticationdata_); } authenticationdata_ = authenticationdata; if (authenticationdata) { } else { } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:backup.SendLogRequest.authenticationData) } inline ::backup::SimpleAuthenticationRequestData* SendLogRequest::release_authenticationdata() { ::backup::SimpleAuthenticationRequestData* temp = authenticationdata_; authenticationdata_ = nullptr; if (GetArena() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } return temp; } inline ::backup::SimpleAuthenticationRequestData* SendLogRequest::unsafe_arena_release_authenticationdata() { // @@protoc_insertion_point(field_release:backup.SendLogRequest.authenticationData) ::backup::SimpleAuthenticationRequestData* temp = authenticationdata_; authenticationdata_ = nullptr; return temp; } inline ::backup::SimpleAuthenticationRequestData* SendLogRequest::_internal_mutable_authenticationdata() { if (authenticationdata_ == nullptr) { auto* p = CreateMaybeMessage<::backup::SimpleAuthenticationRequestData>(GetArena()); authenticationdata_ = p; } return authenticationdata_; } inline ::backup::SimpleAuthenticationRequestData* SendLogRequest::mutable_authenticationdata() { // @@protoc_insertion_point(field_mutable:backup.SendLogRequest.authenticationData) return _internal_mutable_authenticationdata(); } inline void SendLogRequest::set_allocated_authenticationdata(::backup::SimpleAuthenticationRequestData* authenticationdata) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete authenticationdata_; } if (authenticationdata) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(authenticationdata); if (message_arena != submessage_arena) { authenticationdata = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, authenticationdata, submessage_arena); } } else { } authenticationdata_ = authenticationdata; // @@protoc_insertion_point(field_set_allocated:backup.SendLogRequest.authenticationData) } // bytes logData = 2; inline void SendLogRequest::clear_logdata() { logdata_.ClearToEmpty(); } inline const std::string& SendLogRequest::logdata() const { // @@protoc_insertion_point(field_get:backup.SendLogRequest.logData) return _internal_logdata(); } inline void SendLogRequest::set_logdata(const std::string& value) { _internal_set_logdata(value); // @@protoc_insertion_point(field_set:backup.SendLogRequest.logData) } inline std::string* SendLogRequest::mutable_logdata() { // @@protoc_insertion_point(field_mutable:backup.SendLogRequest.logData) return _internal_mutable_logdata(); } inline const std::string& SendLogRequest::_internal_logdata() const { return logdata_.Get(); } inline void SendLogRequest::_internal_set_logdata(const std::string& value) { logdata_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void SendLogRequest::set_logdata(std::string&& value) { logdata_.Set( ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:backup.SendLogRequest.logData) } inline void SendLogRequest::set_logdata(const char* value) { GOOGLE_DCHECK(value != nullptr); logdata_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:backup.SendLogRequest.logData) } inline void SendLogRequest::set_logdata(const void* value, size_t size) { logdata_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:backup.SendLogRequest.logData) } inline std::string* SendLogRequest::_internal_mutable_logdata() { return logdata_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* SendLogRequest::release_logdata() { // @@protoc_insertion_point(field_release:backup.SendLogRequest.logData) return logdata_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void SendLogRequest::set_allocated_logdata(std::string* logdata) { if (logdata != nullptr) { } else { } logdata_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), logdata, GetArena()); // @@protoc_insertion_point(field_set_allocated:backup.SendLogRequest.logData) } // ------------------------------------------------------------------- // RecoverBackupKeyRequest // .backup.FullAuthenticationRequestData authenticationData = 1; inline bool RecoverBackupKeyRequest::_internal_has_authenticationdata() const { return this != internal_default_instance() && authenticationdata_ != nullptr; } inline bool RecoverBackupKeyRequest::has_authenticationdata() const { return _internal_has_authenticationdata(); } inline void RecoverBackupKeyRequest::clear_authenticationdata() { if (GetArena() == nullptr && authenticationdata_ != nullptr) { delete authenticationdata_; } authenticationdata_ = nullptr; } inline const ::backup::FullAuthenticationRequestData& RecoverBackupKeyRequest::_internal_authenticationdata() const { const ::backup::FullAuthenticationRequestData* p = authenticationdata_; return p != nullptr ? *p : reinterpret_cast( ::backup::_FullAuthenticationRequestData_default_instance_); } inline const ::backup::FullAuthenticationRequestData& RecoverBackupKeyRequest::authenticationdata() const { // @@protoc_insertion_point(field_get:backup.RecoverBackupKeyRequest.authenticationData) return _internal_authenticationdata(); } inline void RecoverBackupKeyRequest::unsafe_arena_set_allocated_authenticationdata( ::backup::FullAuthenticationRequestData* authenticationdata) { if (GetArena() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(authenticationdata_); } authenticationdata_ = authenticationdata; if (authenticationdata) { } else { } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:backup.RecoverBackupKeyRequest.authenticationData) } inline ::backup::FullAuthenticationRequestData* RecoverBackupKeyRequest::release_authenticationdata() { ::backup::FullAuthenticationRequestData* temp = authenticationdata_; authenticationdata_ = nullptr; if (GetArena() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } return temp; } inline ::backup::FullAuthenticationRequestData* RecoverBackupKeyRequest::unsafe_arena_release_authenticationdata() { // @@protoc_insertion_point(field_release:backup.RecoverBackupKeyRequest.authenticationData) ::backup::FullAuthenticationRequestData* temp = authenticationdata_; authenticationdata_ = nullptr; return temp; } inline ::backup::FullAuthenticationRequestData* RecoverBackupKeyRequest::_internal_mutable_authenticationdata() { if (authenticationdata_ == nullptr) { auto* p = CreateMaybeMessage<::backup::FullAuthenticationRequestData>(GetArena()); authenticationdata_ = p; } return authenticationdata_; } inline ::backup::FullAuthenticationRequestData* RecoverBackupKeyRequest::mutable_authenticationdata() { // @@protoc_insertion_point(field_mutable:backup.RecoverBackupKeyRequest.authenticationData) return _internal_mutable_authenticationdata(); } inline void RecoverBackupKeyRequest::set_allocated_authenticationdata(::backup::FullAuthenticationRequestData* authenticationdata) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete authenticationdata_; } if (authenticationdata) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(authenticationdata); if (message_arena != submessage_arena) { authenticationdata = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, authenticationdata, submessage_arena); } } else { } authenticationdata_ = authenticationdata; // @@protoc_insertion_point(field_set_allocated:backup.RecoverBackupKeyRequest.authenticationData) } // ------------------------------------------------------------------- // RecoverBackupKeyResponse // .backup.FullAuthenticationResponseData authenticationResponseData = 1; inline bool RecoverBackupKeyResponse::_internal_has_authenticationresponsedata() const { return data_case() == kAuthenticationResponseData; } inline bool RecoverBackupKeyResponse::has_authenticationresponsedata() const { return _internal_has_authenticationresponsedata(); } inline void RecoverBackupKeyResponse::set_has_authenticationresponsedata() { _oneof_case_[0] = kAuthenticationResponseData; } inline void RecoverBackupKeyResponse::clear_authenticationresponsedata() { if (_internal_has_authenticationresponsedata()) { if (GetArena() == nullptr) { delete data_.authenticationresponsedata_; } clear_has_data(); } } inline ::backup::FullAuthenticationResponseData* RecoverBackupKeyResponse::release_authenticationresponsedata() { // @@protoc_insertion_point(field_release:backup.RecoverBackupKeyResponse.authenticationResponseData) if (_internal_has_authenticationresponsedata()) { clear_has_data(); ::backup::FullAuthenticationResponseData* temp = data_.authenticationresponsedata_; if (GetArena() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } data_.authenticationresponsedata_ = nullptr; return temp; } else { return nullptr; } } inline const ::backup::FullAuthenticationResponseData& RecoverBackupKeyResponse::_internal_authenticationresponsedata() const { return _internal_has_authenticationresponsedata() ? *data_.authenticationresponsedata_ : reinterpret_cast< ::backup::FullAuthenticationResponseData&>(::backup::_FullAuthenticationResponseData_default_instance_); } inline const ::backup::FullAuthenticationResponseData& RecoverBackupKeyResponse::authenticationresponsedata() const { // @@protoc_insertion_point(field_get:backup.RecoverBackupKeyResponse.authenticationResponseData) return _internal_authenticationresponsedata(); } inline ::backup::FullAuthenticationResponseData* RecoverBackupKeyResponse::unsafe_arena_release_authenticationresponsedata() { // @@protoc_insertion_point(field_unsafe_arena_release:backup.RecoverBackupKeyResponse.authenticationResponseData) if (_internal_has_authenticationresponsedata()) { clear_has_data(); ::backup::FullAuthenticationResponseData* temp = data_.authenticationresponsedata_; data_.authenticationresponsedata_ = nullptr; return temp; } else { return nullptr; } } inline void RecoverBackupKeyResponse::unsafe_arena_set_allocated_authenticationresponsedata(::backup::FullAuthenticationResponseData* authenticationresponsedata) { clear_data(); if (authenticationresponsedata) { set_has_authenticationresponsedata(); data_.authenticationresponsedata_ = authenticationresponsedata; } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:backup.RecoverBackupKeyResponse.authenticationResponseData) } inline ::backup::FullAuthenticationResponseData* RecoverBackupKeyResponse::_internal_mutable_authenticationresponsedata() { if (!_internal_has_authenticationresponsedata()) { clear_data(); set_has_authenticationresponsedata(); data_.authenticationresponsedata_ = CreateMaybeMessage< ::backup::FullAuthenticationResponseData >(GetArena()); } return data_.authenticationresponsedata_; } inline ::backup::FullAuthenticationResponseData* RecoverBackupKeyResponse::mutable_authenticationresponsedata() { // @@protoc_insertion_point(field_mutable:backup.RecoverBackupKeyResponse.authenticationResponseData) return _internal_mutable_authenticationresponsedata(); } // .backup.BackupKeyEntropy backupKeyEntropy = 2; inline bool RecoverBackupKeyResponse::_internal_has_backupkeyentropy() const { return data_case() == kBackupKeyEntropy; } inline bool RecoverBackupKeyResponse::has_backupkeyentropy() const { return _internal_has_backupkeyentropy(); } inline void RecoverBackupKeyResponse::set_has_backupkeyentropy() { _oneof_case_[0] = kBackupKeyEntropy; } inline void RecoverBackupKeyResponse::clear_backupkeyentropy() { if (_internal_has_backupkeyentropy()) { if (GetArena() == nullptr) { delete data_.backupkeyentropy_; } clear_has_data(); } } inline ::backup::BackupKeyEntropy* RecoverBackupKeyResponse::release_backupkeyentropy() { // @@protoc_insertion_point(field_release:backup.RecoverBackupKeyResponse.backupKeyEntropy) if (_internal_has_backupkeyentropy()) { clear_has_data(); ::backup::BackupKeyEntropy* temp = data_.backupkeyentropy_; if (GetArena() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } data_.backupkeyentropy_ = nullptr; return temp; } else { return nullptr; } } inline const ::backup::BackupKeyEntropy& RecoverBackupKeyResponse::_internal_backupkeyentropy() const { return _internal_has_backupkeyentropy() ? *data_.backupkeyentropy_ : reinterpret_cast< ::backup::BackupKeyEntropy&>(::backup::_BackupKeyEntropy_default_instance_); } inline const ::backup::BackupKeyEntropy& RecoverBackupKeyResponse::backupkeyentropy() const { // @@protoc_insertion_point(field_get:backup.RecoverBackupKeyResponse.backupKeyEntropy) return _internal_backupkeyentropy(); } inline ::backup::BackupKeyEntropy* RecoverBackupKeyResponse::unsafe_arena_release_backupkeyentropy() { // @@protoc_insertion_point(field_unsafe_arena_release:backup.RecoverBackupKeyResponse.backupKeyEntropy) if (_internal_has_backupkeyentropy()) { clear_has_data(); ::backup::BackupKeyEntropy* temp = data_.backupkeyentropy_; data_.backupkeyentropy_ = nullptr; return temp; } else { return nullptr; } } inline void RecoverBackupKeyResponse::unsafe_arena_set_allocated_backupkeyentropy(::backup::BackupKeyEntropy* backupkeyentropy) { clear_data(); if (backupkeyentropy) { set_has_backupkeyentropy(); data_.backupkeyentropy_ = backupkeyentropy; } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:backup.RecoverBackupKeyResponse.backupKeyEntropy) } inline ::backup::BackupKeyEntropy* RecoverBackupKeyResponse::_internal_mutable_backupkeyentropy() { if (!_internal_has_backupkeyentropy()) { clear_data(); set_has_backupkeyentropy(); data_.backupkeyentropy_ = CreateMaybeMessage< ::backup::BackupKeyEntropy >(GetArena()); } return data_.backupkeyentropy_; } inline ::backup::BackupKeyEntropy* RecoverBackupKeyResponse::mutable_backupkeyentropy() { // @@protoc_insertion_point(field_mutable:backup.RecoverBackupKeyResponse.backupKeyEntropy) return _internal_mutable_backupkeyentropy(); } // string backupID = 4; inline bool RecoverBackupKeyResponse::_internal_has_backupid() const { return data_case() == kBackupID; } inline bool RecoverBackupKeyResponse::has_backupid() const { return _internal_has_backupid(); } inline void RecoverBackupKeyResponse::set_has_backupid() { _oneof_case_[0] = kBackupID; } inline void RecoverBackupKeyResponse::clear_backupid() { if (_internal_has_backupid()) { data_.backupid_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); clear_has_data(); } } inline const std::string& RecoverBackupKeyResponse::backupid() const { // @@protoc_insertion_point(field_get:backup.RecoverBackupKeyResponse.backupID) return _internal_backupid(); } inline void RecoverBackupKeyResponse::set_backupid(const std::string& value) { _internal_set_backupid(value); // @@protoc_insertion_point(field_set:backup.RecoverBackupKeyResponse.backupID) } inline std::string* RecoverBackupKeyResponse::mutable_backupid() { // @@protoc_insertion_point(field_mutable:backup.RecoverBackupKeyResponse.backupID) return _internal_mutable_backupid(); } inline const std::string& RecoverBackupKeyResponse::_internal_backupid() const { if (_internal_has_backupid()) { return data_.backupid_.Get(); } return ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(); } inline void RecoverBackupKeyResponse::_internal_set_backupid(const std::string& value) { if (!_internal_has_backupid()) { clear_data(); set_has_backupid(); data_.backupid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } data_.backupid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void RecoverBackupKeyResponse::set_backupid(std::string&& value) { // @@protoc_insertion_point(field_set:backup.RecoverBackupKeyResponse.backupID) if (!_internal_has_backupid()) { clear_data(); set_has_backupid(); data_.backupid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } data_.backupid_.Set( ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:backup.RecoverBackupKeyResponse.backupID) } inline void RecoverBackupKeyResponse::set_backupid(const char* value) { GOOGLE_DCHECK(value != nullptr); if (!_internal_has_backupid()) { clear_data(); set_has_backupid(); data_.backupid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } data_.backupid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:backup.RecoverBackupKeyResponse.backupID) } inline void RecoverBackupKeyResponse::set_backupid(const char* value, size_t size) { if (!_internal_has_backupid()) { clear_data(); set_has_backupid(); data_.backupid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } data_.backupid_.Set( ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:backup.RecoverBackupKeyResponse.backupID) } inline std::string* RecoverBackupKeyResponse::_internal_mutable_backupid() { if (!_internal_has_backupid()) { clear_data(); set_has_backupid(); data_.backupid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } return data_.backupid_.Mutable( ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* RecoverBackupKeyResponse::release_backupid() { // @@protoc_insertion_point(field_release:backup.RecoverBackupKeyResponse.backupID) if (_internal_has_backupid()) { clear_has_data(); return data_.backupid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } else { return nullptr; } } inline void RecoverBackupKeyResponse::set_allocated_backupid(std::string* backupid) { if (has_data()) { clear_data(); } if (backupid != nullptr) { set_has_backupid(); data_.backupid_.UnsafeSetDefault(backupid); ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); if (arena != nullptr) { arena->Own(backupid); } } // @@protoc_insertion_point(field_set_allocated:backup.RecoverBackupKeyResponse.backupID) } inline bool RecoverBackupKeyResponse::has_data() const { return data_case() != DATA_NOT_SET; } inline void RecoverBackupKeyResponse::clear_has_data() { _oneof_case_[0] = DATA_NOT_SET; } inline RecoverBackupKeyResponse::DataCase RecoverBackupKeyResponse::data_case() const { return RecoverBackupKeyResponse::DataCase(_oneof_case_[0]); } // ------------------------------------------------------------------- // PullBackupRequest // .backup.SimpleAuthenticationRequestData authenticationData = 1; inline bool PullBackupRequest::_internal_has_authenticationdata() const { return this != internal_default_instance() && authenticationdata_ != nullptr; } inline bool PullBackupRequest::has_authenticationdata() const { return _internal_has_authenticationdata(); } inline void PullBackupRequest::clear_authenticationdata() { if (GetArena() == nullptr && authenticationdata_ != nullptr) { delete authenticationdata_; } authenticationdata_ = nullptr; } inline const ::backup::SimpleAuthenticationRequestData& PullBackupRequest::_internal_authenticationdata() const { const ::backup::SimpleAuthenticationRequestData* p = authenticationdata_; return p != nullptr ? *p : reinterpret_cast( ::backup::_SimpleAuthenticationRequestData_default_instance_); } inline const ::backup::SimpleAuthenticationRequestData& PullBackupRequest::authenticationdata() const { // @@protoc_insertion_point(field_get:backup.PullBackupRequest.authenticationData) return _internal_authenticationdata(); } inline void PullBackupRequest::unsafe_arena_set_allocated_authenticationdata( ::backup::SimpleAuthenticationRequestData* authenticationdata) { if (GetArena() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(authenticationdata_); } authenticationdata_ = authenticationdata; if (authenticationdata) { } else { } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:backup.PullBackupRequest.authenticationData) } inline ::backup::SimpleAuthenticationRequestData* PullBackupRequest::release_authenticationdata() { ::backup::SimpleAuthenticationRequestData* temp = authenticationdata_; authenticationdata_ = nullptr; if (GetArena() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } return temp; } inline ::backup::SimpleAuthenticationRequestData* PullBackupRequest::unsafe_arena_release_authenticationdata() { // @@protoc_insertion_point(field_release:backup.PullBackupRequest.authenticationData) ::backup::SimpleAuthenticationRequestData* temp = authenticationdata_; authenticationdata_ = nullptr; return temp; } inline ::backup::SimpleAuthenticationRequestData* PullBackupRequest::_internal_mutable_authenticationdata() { if (authenticationdata_ == nullptr) { auto* p = CreateMaybeMessage<::backup::SimpleAuthenticationRequestData>(GetArena()); authenticationdata_ = p; } return authenticationdata_; } inline ::backup::SimpleAuthenticationRequestData* PullBackupRequest::mutable_authenticationdata() { // @@protoc_insertion_point(field_mutable:backup.PullBackupRequest.authenticationData) return _internal_mutable_authenticationdata(); } inline void PullBackupRequest::set_allocated_authenticationdata(::backup::SimpleAuthenticationRequestData* authenticationdata) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete authenticationdata_; } if (authenticationdata) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(authenticationdata); if (message_arena != submessage_arena) { authenticationdata = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, authenticationdata, submessage_arena); } } else { } authenticationdata_ = authenticationdata; // @@protoc_insertion_point(field_set_allocated:backup.PullBackupRequest.authenticationData) } // ------------------------------------------------------------------- // PullBackupResponse // bytes compactionChunk = 1; inline bool PullBackupResponse::_internal_has_compactionchunk() const { return data_case() == kCompactionChunk; } inline bool PullBackupResponse::has_compactionchunk() const { return _internal_has_compactionchunk(); } inline void PullBackupResponse::set_has_compactionchunk() { _oneof_case_[0] = kCompactionChunk; } inline void PullBackupResponse::clear_compactionchunk() { if (_internal_has_compactionchunk()) { data_.compactionchunk_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); clear_has_data(); } } inline const std::string& PullBackupResponse::compactionchunk() const { // @@protoc_insertion_point(field_get:backup.PullBackupResponse.compactionChunk) return _internal_compactionchunk(); } inline void PullBackupResponse::set_compactionchunk(const std::string& value) { _internal_set_compactionchunk(value); // @@protoc_insertion_point(field_set:backup.PullBackupResponse.compactionChunk) } inline std::string* PullBackupResponse::mutable_compactionchunk() { // @@protoc_insertion_point(field_mutable:backup.PullBackupResponse.compactionChunk) return _internal_mutable_compactionchunk(); } inline const std::string& PullBackupResponse::_internal_compactionchunk() const { if (_internal_has_compactionchunk()) { return data_.compactionchunk_.Get(); } return ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(); } inline void PullBackupResponse::_internal_set_compactionchunk(const std::string& value) { if (!_internal_has_compactionchunk()) { clear_data(); set_has_compactionchunk(); data_.compactionchunk_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } data_.compactionchunk_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void PullBackupResponse::set_compactionchunk(std::string&& value) { // @@protoc_insertion_point(field_set:backup.PullBackupResponse.compactionChunk) if (!_internal_has_compactionchunk()) { clear_data(); set_has_compactionchunk(); data_.compactionchunk_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } data_.compactionchunk_.Set( ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:backup.PullBackupResponse.compactionChunk) } inline void PullBackupResponse::set_compactionchunk(const char* value) { GOOGLE_DCHECK(value != nullptr); if (!_internal_has_compactionchunk()) { clear_data(); set_has_compactionchunk(); data_.compactionchunk_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } data_.compactionchunk_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:backup.PullBackupResponse.compactionChunk) } inline void PullBackupResponse::set_compactionchunk(const void* value, size_t size) { if (!_internal_has_compactionchunk()) { clear_data(); set_has_compactionchunk(); data_.compactionchunk_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } data_.compactionchunk_.Set( ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:backup.PullBackupResponse.compactionChunk) } inline std::string* PullBackupResponse::_internal_mutable_compactionchunk() { if (!_internal_has_compactionchunk()) { clear_data(); set_has_compactionchunk(); data_.compactionchunk_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } return data_.compactionchunk_.Mutable( ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* PullBackupResponse::release_compactionchunk() { // @@protoc_insertion_point(field_release:backup.PullBackupResponse.compactionChunk) if (_internal_has_compactionchunk()) { clear_has_data(); return data_.compactionchunk_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } else { return nullptr; } } inline void PullBackupResponse::set_allocated_compactionchunk(std::string* compactionchunk) { if (has_data()) { clear_data(); } if (compactionchunk != nullptr) { set_has_compactionchunk(); data_.compactionchunk_.UnsafeSetDefault(compactionchunk); ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); if (arena != nullptr) { arena->Own(compactionchunk); } } // @@protoc_insertion_point(field_set_allocated:backup.PullBackupResponse.compactionChunk) } // bytes logChunk = 2; inline bool PullBackupResponse::_internal_has_logchunk() const { return data_case() == kLogChunk; } inline bool PullBackupResponse::has_logchunk() const { return _internal_has_logchunk(); } inline void PullBackupResponse::set_has_logchunk() { _oneof_case_[0] = kLogChunk; } inline void PullBackupResponse::clear_logchunk() { if (_internal_has_logchunk()) { data_.logchunk_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); clear_has_data(); } } inline const std::string& PullBackupResponse::logchunk() const { // @@protoc_insertion_point(field_get:backup.PullBackupResponse.logChunk) return _internal_logchunk(); } inline void PullBackupResponse::set_logchunk(const std::string& value) { _internal_set_logchunk(value); // @@protoc_insertion_point(field_set:backup.PullBackupResponse.logChunk) } inline std::string* PullBackupResponse::mutable_logchunk() { // @@protoc_insertion_point(field_mutable:backup.PullBackupResponse.logChunk) return _internal_mutable_logchunk(); } inline const std::string& PullBackupResponse::_internal_logchunk() const { if (_internal_has_logchunk()) { return data_.logchunk_.Get(); } return ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(); } inline void PullBackupResponse::_internal_set_logchunk(const std::string& value) { if (!_internal_has_logchunk()) { clear_data(); set_has_logchunk(); data_.logchunk_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } data_.logchunk_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void PullBackupResponse::set_logchunk(std::string&& value) { // @@protoc_insertion_point(field_set:backup.PullBackupResponse.logChunk) if (!_internal_has_logchunk()) { clear_data(); set_has_logchunk(); data_.logchunk_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } data_.logchunk_.Set( ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:backup.PullBackupResponse.logChunk) } inline void PullBackupResponse::set_logchunk(const char* value) { GOOGLE_DCHECK(value != nullptr); if (!_internal_has_logchunk()) { clear_data(); set_has_logchunk(); data_.logchunk_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } data_.logchunk_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:backup.PullBackupResponse.logChunk) } inline void PullBackupResponse::set_logchunk(const void* value, size_t size) { if (!_internal_has_logchunk()) { clear_data(); set_has_logchunk(); data_.logchunk_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } data_.logchunk_.Set( ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:backup.PullBackupResponse.logChunk) } inline std::string* PullBackupResponse::_internal_mutable_logchunk() { if (!_internal_has_logchunk()) { clear_data(); set_has_logchunk(); data_.logchunk_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } return data_.logchunk_.Mutable( ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* PullBackupResponse::release_logchunk() { // @@protoc_insertion_point(field_release:backup.PullBackupResponse.logChunk) if (_internal_has_logchunk()) { clear_has_data(); return data_.logchunk_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } else { return nullptr; } } inline void PullBackupResponse::set_allocated_logchunk(std::string* logchunk) { if (has_data()) { clear_data(); } if (logchunk != nullptr) { set_has_logchunk(); data_.logchunk_.UnsafeSetDefault(logchunk); ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); if (arena != nullptr) { arena->Own(logchunk); } } // @@protoc_insertion_point(field_set_allocated:backup.PullBackupResponse.logChunk) } inline bool PullBackupResponse::has_data() const { return data_case() != DATA_NOT_SET; } inline void PullBackupResponse::clear_has_data() { _oneof_case_[0] = DATA_NOT_SET; } inline PullBackupResponse::DataCase PullBackupResponse::data_case() const { return PullBackupResponse::DataCase(_oneof_case_[0]); } #ifdef __GNUC__ #pragma GCC diagnostic pop #endif // __GNUC__ // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // @@protoc_insertion_point(namespace_scope) } // namespace backup // @@protoc_insertion_point(global_scope) #include #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_backup_2eproto diff --git a/native/cpp/CommonCpp/grpc/protos/backup.proto b/native/cpp/CommonCpp/grpc/protos/backup.proto index ffde66b9e..2ff572477 100644 --- a/native/cpp/CommonCpp/grpc/protos/backup.proto +++ b/native/cpp/CommonCpp/grpc/protos/backup.proto @@ -1,140 +1,71 @@ syntax = "proto3"; package backup; import "google/protobuf/empty.proto"; /** * API - description * CreateNewBackup - This method is called when we want to create a new backup. * We send a new backup key encrypted with the user's password and also the * new compaction. New logs that will be sent from now on will be assigned to * this backup. * SendLog - User sends a new log to the backup service. The log is being * assigned to the latest(or desired) backup's compaction item. * RecoverBackupKey - Pulls data necessary for regenerating the backup key * on the client-side for the latest(or desired) backup * PullBackup - Fetches compaction + all logs assigned to it for the * specified backup(default is the last backup) */ service BackupService { rpc CreateNewBackup(stream CreateNewBackupRequest) returns (stream CreateNewBackupResponse) {} rpc SendLog(stream SendLogRequest) returns (google.protobuf.Empty) {} rpc RecoverBackupKey(stream RecoverBackupKeyRequest) returns (stream RecoverBackupKeyResponse) {} rpc PullBackup(stream PullBackupRequest) returns (stream PullBackupResponse) {} } -// Helper types - -message PakeRegistrationRequestAndUserID { - string userID = 1; - bytes pakeRegistrationRequest = 2; -} - -message PakeAuthenticationRequestData { - oneof data { - PakeRegistrationRequestAndUserID pakeRegistrationRequestAndUserID = 1; - bytes pakeRegistrationUpload = 2; - bytes pakeCredentialRequest = 3; - bytes pakeCredentialFinalization = 4; - bytes pakeClientMAC = 5; - } -} - -message WalletAuthenticationRequestData { - string userID = 1; - string walletAddress = 2; - bytes signedMessage = 3; -} - -message FullAuthenticationRequestData { - oneof data { - PakeAuthenticationRequestData pakeAuthenticationRequestData = 1; - WalletAuthenticationRequestData walletAuthenticationRequestData = 2; - } -} - -message WalletAuthenticationResponseData { - bool success = 1; -} - -message PakeAuthenticationResponseData { - oneof data { - bytes pakeRegistrationResponse = 1; - bool pakeRegistrationSuccess = 2; - bytes pakeCredentialResponse = 3; - bytes pakeServerMAC = 4; - } -} - -message FullAuthenticationResponseData { - oneof data { - PakeAuthenticationResponseData pakeAuthenticationResponseData = 1; - WalletAuthenticationResponseData walletAuthenticationResponseData = 2; - } -} - -message SimpleAuthenticationRequestData { - string backupID = 1; - string userID = 2; -} - -message BackupKeyEntropy { - oneof data { - bytes nonce = 1; - bytes rawMessage = 2; - } -} - // CreateNewBackup message CreateNewBackupRequest { oneof data { - FullAuthenticationRequestData authenticationRequestData = 1; - BackupKeyEntropy backupKeyEntropy = 2; + bytes keyEntropy = 1; + bytes newCompactionHash = 2; bytes newCompactionChunk = 3; } } message CreateNewBackupResponse { - oneof data { - FullAuthenticationResponseData authenticationResponseData = 1; - bool entropyValid = 2; - string backupID = 3; - } + string backupID = 1; } // SendLog message SendLogRequest { - SimpleAuthenticationRequestData authenticationData = 1; - bytes logData = 2; + bytes logData = 1; } // RecoverBackupKey message RecoverBackupKeyRequest { - FullAuthenticationRequestData authenticationData = 1; + string userID = 1; } message RecoverBackupKeyResponse { oneof data { - FullAuthenticationResponseData authenticationResponseData = 1; - BackupKeyEntropy backupKeyEntropy = 2; string backupID = 4; } } // PullBackup message PullBackupRequest { - SimpleAuthenticationRequestData authenticationData = 1; + string userID = 1; } message PullBackupResponse { oneof data { bytes compactionChunk = 1; bytes logChunk = 2; } }