diff --git a/Package.swift b/Package.swift index 0dcf7c9b..513f3aef 100644 --- a/Package.swift +++ b/Package.swift @@ -5,10 +5,10 @@ import PackageDescription let package = Package( name: "AtalaPRISMSDK", - platforms: [.iOS(.v15), .watchOS(.v8), .macCatalyst(.v14), .macOS(.v12)], + platforms: [.iOS(.v15)], products: [ .library( - name: "Domain", + name: "AtalaDomain", targets: ["Domain"] ), .library( @@ -45,7 +45,9 @@ let package = Package( url: "https://github.com/apple/swift-log.git", from: "1.4.4" ), - .package(path: "OpenAPI/PrismAgentAPI") + .package(url: "https://github.com/apple/swift-protobuf", from: "1.7.0"), + .package(url: "https://github.com/antlr/antlr4", branch: "master"), + .package(name: "PrismAPI", path: "PrismAPISDK") ], targets: [ .target( @@ -59,7 +61,7 @@ let package = Package( ), .target( name: "Apollo", - dependencies: ["Domain", "Core"], + dependencies: ["Domain", "Core", "PrismAPI"], path: "Apollo/Sources" ), .testTarget( @@ -69,17 +71,26 @@ let package = Package( ), .target( name: "Castor", - dependencies: ["Domain", "Core", .product(name: "PrismAgentAPI", package: "PrismAgentAPI")], + dependencies: [ + "Domain", + "Core", + "PrismAPI", + .product(name: "SwiftProtobuf", package: "swift-protobuf"), + .product(name: "Antlr4", package: "antlr4") + ], path: "Castor/Sources" ), .testTarget( name: "CastorTests", - dependencies: ["Castor"], + dependencies: ["Castor", "Apollo"], path: "Castor/Tests" ), .target( name: "Pollux", - dependencies: ["Domain", "Core", .product(name: "PrismAgentAPI", package: "PrismAgentAPI")], + dependencies: [ + "Domain", + "Core" + ], path: "Pollux/Sources" ), .testTarget( @@ -99,7 +110,7 @@ let package = Package( ), .target( name: "Pluto", - dependencies: ["Domain", "Core"], + dependencies: ["Domain"], path: "Pluto/Sources" ), .testTarget( diff --git a/PrismAPISDK/Package.swift b/PrismAPISDK/Package.swift new file mode 100644 index 00000000..59730af4 --- /dev/null +++ b/PrismAPISDK/Package.swift @@ -0,0 +1,21 @@ +// swift-tools-version:5.3 +import PackageDescription + +let package = Package( + name: "PrismAPI", + platforms: [ + .iOS(.v13) + ], + products: [ + .library( + name: "PrismAPI", + targets: ["PrismAPI"] + ), + ], + targets: [ + .binaryTarget( + name: "PrismAPI", + path: "./PrismAPI.xcframework" + ), + ] +) diff --git a/PrismAPISDK/PrismAPI-v1.3.3-snapshot-1648480628-f01fd72.zip b/PrismAPISDK/PrismAPI-v1.3.3-snapshot-1648480628-f01fd72.zip new file mode 100644 index 00000000..9b4623bf Binary files /dev/null and b/PrismAPISDK/PrismAPI-v1.3.3-snapshot-1648480628-f01fd72.zip differ diff --git a/PrismAPISDK/PrismAPI.xcframework/Info.plist b/PrismAPISDK/PrismAPI.xcframework/Info.plist new file mode 100644 index 00000000..84a30c92 --- /dev/null +++ b/PrismAPISDK/PrismAPI.xcframework/Info.plist @@ -0,0 +1,39 @@ + + + + + AvailableLibraries + + + LibraryIdentifier + ios-x86_64-simulator + LibraryPath + PrismAPI.framework + SupportedArchitectures + + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + simulator + + + LibraryIdentifier + ios-arm64 + LibraryPath + PrismAPI.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + + + CFBundlePackageType + XFWK + XCFrameworkFormatVersion + 1.0 + + diff --git a/PrismAPISDK/PrismAPI.xcframework/ios-arm64/PrismAPI.framework/Headers/PrismAPI.h b/PrismAPISDK/PrismAPI.xcframework/ios-arm64/PrismAPI.framework/Headers/PrismAPI.h new file mode 100644 index 00000000..57d6088a --- /dev/null +++ b/PrismAPISDK/PrismAPI.xcframework/ios-arm64/PrismAPI.framework/Headers/PrismAPI.h @@ -0,0 +1,27929 @@ +#import +#import +#import +#import +#import +#import +#import + +@class PAPICredentialBatchIdCompanion, PAPICredentialBatchId, PAPIMerkleRoot, PAPISha256Digest, PAPIKotlinThrowable, PAPIKotlinArray, PAPIKotlinException, PAPIECPublicKey, PAPIPrismCredential, PAPIECPrivateKey, PAPICredentialContent, PAPIKotlinByteArray, PAPIECSignature, PAPIJsonBasedCredentialCompanion, PAPIJsonBasedCredential, PAPIJsonElement, PAPICredentialContentCompanion, PAPIPrismDid, PAPIPublicKeyUsageCompanion, PAPIKeyUsage, PAPIPublicKeyUsage, PAPIAuthenticationKeyUsage, PAPIPrismDidCompanion, PAPICanonicalPrismDid, PAPIDid, PAPICommunicationKeyUsage, PAPIDidMethod, PAPIDidMethodSpecificId, PAPIDidCompanion, PAPIDidEntryValue, PAPIDidDataModelCompanion, PAPIDidDataModel, PAPIPrismKeyInformation, PAPIDidEntryPair, PAPIDidEntryValueDidEntryBoolean, PAPIInstant, PAPIDidEntryValueDidEntryDatetime, PAPIDidEntryValueDidEntryDouble, PAPIDidEntryValueDidEntryInteger, PAPIDidEntryValueDidEntryList, PAPIDidEntryValueDidEntryMap, PAPIDidEntryValueDidEntryNull, PAPIDidEntryValueDidEntrySet, PAPIDidEntryValueDidEntryString, PAPIDidMethodCompanion, PAPIDidMethodSpecificIdCompanion, PAPIDidPublicKey, PAPIPublicKey, PAPIDidUrlCompanion, PAPIDidUrl, PAPIIssuingKeyUsage, PAPIAtalaOperation, PAPILongFormPrismDid, PAPIMasterKeyUsage, PAPIPrismDidFormatException, PAPIPrismDidFormatExceptionCanonicalSuffixMatchStateException, PAPIAtalaOperationOperation, PAPIPrismDidFormatExceptionUnrecognizedPrismDidException, PAPILedgerData, PAPIRevocationKeyUsage, PAPIAes, PAPIAesEncryptedData, PAPISymmetricKey, PAPIAesEncryptedDataCompanion, PAPIECKeyPair, PAPIECPoint, PAPIBigInteger, PAPIECAbstract, PAPIEC, PAPIECConfig, PAPIHmacSha256, PAPIMerkleInclusionProofCompanion, PAPIMerkleInclusionProof, PAPIMerkleProofs, PAPISha256, PAPISha256DigestCompanion, PAPIECSignatureCommon, PAPIDerivationAxisCompanion, PAPIDerivationAxis, PAPIDerivationPathCompanion, PAPIDerivationPath, PAPIDeterministicWalletExtendedPrivateKey, PAPIExtendedKey, PAPIKeyDerivation, PAPIMnemonicCode, PAPIMnemonicException, PAPIECCoordinate, PAPIECKey, PAPIECPublicKeyCommon, PAPIBytesOps, PAPIMessageDescriptor, PAPIUnknownField, PAPIEncodedPublicKey, PAPIAddConnectionFromTokenRequestCompanion, PAPIAddConnectionFromTokenRequest, PAPIConnectionInfo, PAPIAddConnectionFromTokenResponseCompanion, PAPIAddConnectionFromTokenResponse, PAPIAddKeyActionCompanion, PAPIAddKeyAction, PAPIArchiveCredentialTypeCategoryRequestCompanion, PAPIArchiveCredentialTypeCategoryRequest, PAPICredentialTypeCategory, PAPIArchiveCredentialTypeCategoryResponseCompanion, PAPIArchiveCredentialTypeCategoryResponse, PAPISignedAtalaOperation, PAPIAtalaBlockCompanion, PAPIAtalaBlock, PAPIStatus, PAPIAtalaErrorMessageCompanion, PAPIAtalaErrorMessage, PAPIAtalaMessageMessage, PAPIAtalaMessageCompanion, PAPIAtalaMessage, PAPICredentialRevoked, PAPIAny, PAPIEncryptedMessage, PAPIPlainTextCredential, PAPIProofRequest, PAPIMessageOneOf, PAPIAtalaObjectCompanion, PAPIAtalaObject, PAPIAtalaOperationCompanion, PAPICreateDIDOperation, PAPIIssueCredentialBatchOperation, PAPIProtocolVersionUpdateOperation, PAPIRevokeCredentialsOperation, PAPIUpdateDIDOperation, PAPITimestamp, PAPIBlockInfoCompanion, PAPIBlockInfo, PAPIByteArr, PAPIContactConnectionStatus, PAPICManagerGenericCredentialCompanion, PAPICManagerGenericCredential, PAPICompressedECKeyDataCompanion, PAPICompressedECKeyData, PAPIConnectionCompanion, PAPIConnection, PAPIConnectionInfoCompanion, PAPIConnectionKeyCompanion, PAPIConnectionKey, PAPIConnectionsStatusRequestCompanion, PAPIConnectionsStatusRequest, PAPIContactConnection, PAPIConnectionsStatusResponseCompanion, PAPIConnectionsStatusResponse, PAPIConnectorPublicKeyCompanion, PAPIConnectorPublicKey, PAPIConnectorRequestMetadataCompanion, PAPIConnectorRequestMetadata, PAPIPrismMetadata, PAPIGenerateConnectionTokenRequest, PAPIGenerateConnectionTokenResponse, PAPIGetBuildInfoRequest, PAPIGetBuildInfoResponse, PAPIGetConnectionByIdRequest, PAPIGetConnectionByIdResponse, PAPIGetConnectionByTokenRequest, PAPIGetConnectionByTokenResponse, PAPIGetConnectionCommunicationKeysRequest, PAPIGetConnectionCommunicationKeysResponse, PAPIGetConnectionTokenInfoRequest, PAPIGetConnectionTokenInfoResponse, PAPIGetConnectionsPaginatedRequest, PAPIGetConnectionsPaginatedResponse, PAPIGetCurrentUserRequest, PAPIGetCurrentUserResponse, PAPIGetMessageStreamRequest, PAPIGetMessagesForConnectionRequest, PAPIGetMessagesForConnectionResponse, PAPIGetMessagesPaginatedRequest, PAPIGetMessagesPaginatedResponse, PAPIHealthCheckRequest, PAPIHealthCheckResponse, PAPIRegisterDIDRequest, PAPIRegisterDIDResponse, PAPIRevokeConnectionRequest, PAPIRevokeConnectionResponse, PAPISendMessageRequest, PAPISendMessageResponse, PAPISendMessagesRequest, PAPISendMessagesResponse, PAPIUpdateProfileRequest, PAPIUpdateProfileResponse, PAPIGrpcClient, PAPIGetConsoleCurrentUserRequest, PAPIGetConsoleCurrentUserResponse, PAPIGetStatisticsRequest, PAPIGetStatisticsResponse, PAPIRegisterConsoleDIDRequest, PAPIRegisterConsoleDIDResponse, PAPIConsoleUpdateProfileRequest, PAPIConsoleUpdateProfileResponse, PAPIConsoleUpdateProfileRequestCompanion, PAPIConsoleUpdateProfileResponseCompanion, PAPIContactCompanion, PAPIContact, PAPIContactConnectionCompanion, PAPIContactConnectionStatusCompanion, PAPIContactConnectionStatusSTATUS_CONNECTION_ACCEPTED, PAPIContactConnectionStatusSTATUS_CONNECTION_MISSING, PAPIContactConnectionStatusSTATUS_CONNECTION_REVOKED, PAPIContactConnectionStatusSTATUS_INVITATION_MISSING, PAPIContactConnectionStatusSTATUS_MISSING, PAPICreateContactRequest, PAPICreateContactResponse, PAPICreateContactsRequest, PAPICreateContactsResponse, PAPIDeleteContactRequest, PAPIDeleteContactResponse, PAPIGenerateConnectionTokenForContactRequest, PAPIGenerateConnectionTokenForContactResponse, PAPIGetContactRequest, PAPIGetContactResponse, PAPIGetContactsRequest, PAPIGetContactsResponse, PAPIUpdateContactRequest, PAPIUpdateContactResponse, PAPICopyGroupRequestCompanion, PAPICopyGroupRequest, PAPICopyGroupResponseCompanion, PAPICopyGroupResponse, PAPICreateContactRequestCompanion, PAPICreateContactResponseCompanion, PAPICreateContactsRequestContact, PAPICreateContactsRequestCompanion, PAPICreateContactsRequestContactCompanion, PAPICreateContactsResponseCompanion, PAPICredentialIssuanceContact, PAPICreateCredentialIssuanceRequestCompanion, PAPICreateCredentialIssuanceRequest, PAPICreateCredentialIssuanceResponseCompanion, PAPICreateCredentialIssuanceResponse, PAPICreateCredentialTypeField, PAPICreateCredentialTypeCompanion, PAPICreateCredentialType, PAPICredentialTypeCategoryState, PAPICreateCredentialTypeCategoryCompanion, PAPICreateCredentialTypeCategory, PAPICreateCredentialTypeCategoryRequestCompanion, PAPICreateCredentialTypeCategoryRequest, PAPICreateCredentialTypeCategoryResponseCompanion, PAPICreateCredentialTypeCategoryResponse, PAPICredentialTypeFieldType, PAPICreateCredentialTypeFieldCompanion, PAPICreateCredentialTypeRequestCompanion, PAPICreateCredentialTypeRequest, PAPICredentialTypeWithRequiredFields, PAPICreateCredentialTypeResponseCompanion, PAPICreateCredentialTypeResponse, PAPICreateDIDOperationDIDCreationData, PAPICreateDIDOperationCompanion, PAPICreateDIDOperationDIDCreationDataCompanion, PAPICreateDIDOutputCompanion, PAPICreateDIDOutput, PAPICreateGenericCredentialBulkRequestCompanion, PAPICreateGenericCredentialBulkRequest, PAPICreateGenericCredentialBulkResponseCompanion, PAPICreateGenericCredentialBulkResponse, PAPICreateGenericCredentialRequestCompanion, PAPICreateGenericCredentialRequest, PAPICreateGenericCredentialResponseCompanion, PAPICreateGenericCredentialResponse, PAPICreateGroupRequestCompanion, PAPICreateGroupRequest, PAPIGroup, PAPICreateGroupResponseCompanion, PAPICreateGroupResponse, PAPICredentialBatchDataCompanion, PAPICredentialBatchData, PAPICredentialIssuanceContactCompanion, PAPIGetCredentialIssuanceRequest, PAPIGetCredentialIssuanceResponse, PAPICredentialRevokedCompanion, PAPICredentialTypeState, PAPICredentialTypeCompanion, PAPICredentialType, PAPIGetCredentialTypeCategoriesRequest, PAPIGetCredentialTypeCategoriesResponse, PAPIUnArchiveCredentialTypeCategoryRequest, PAPIUnArchiveCredentialTypeCategoryResponse, PAPICredentialTypeCategoryCompanion, PAPICredentialTypeCategoryStateCompanion, PAPICredentialTypeCategoryStateCREDENTIAL_TYPE_CATEGORY_ARCHIVED, PAPICredentialTypeCategoryStateCREDENTIAL_TYPE_CATEGORY_DRAFT, PAPICredentialTypeCategoryStateCREDENTIAL_TYPE_CATEGORY_READY, PAPICredentialTypeFieldCompanion, PAPICredentialTypeField, PAPICredentialTypeFieldTypeCompanion, PAPICredentialTypeFieldTypeCREDENTIAL_TYPE_FIELD_BOOLEAN, PAPICredentialTypeFieldTypeCREDENTIAL_TYPE_FIELD_DATE, PAPICredentialTypeFieldTypeCREDENTIAL_TYPE_FIELD_INT, PAPICredentialTypeFieldTypeCREDENTIAL_TYPE_FIELD_STRING, PAPICredentialTypeFieldTypeCREDENTIAL_TYPE_FIELD_UNKNOWN, PAPICredentialTypeStateCompanion, PAPICredentialTypeStateCREDENTIAL_TYPE_ARCHIVED, PAPICredentialTypeStateCREDENTIAL_TYPE_DRAFT, PAPICredentialTypeStateCREDENTIAL_TYPE_READY, PAPICredentialTypeStateCREDENTIAL_TYPE_UNKNOWN, PAPICredentialTypeWithRequiredFieldsCompanion, PAPIGetCredentialTypeRequest, PAPIGetCredentialTypeResponse, PAPIGetCredentialTypesRequest, PAPIGetCredentialTypesResponse, PAPIMarkAsArchivedCredentialTypeRequest, PAPIMarkAsArchivedCredentialTypeResponse, PAPIMarkAsReadyCredentialTypeRequest, PAPIMarkAsReadyCredentialTypeResponse, PAPIUpdateCredentialTypeRequest, PAPIUpdateCredentialTypeResponse, PAPIDeleteCredentialsRequest, PAPIDeleteCredentialsResponse, PAPIGetBlockchainDataRequest, PAPIGetBlockchainDataResponse, PAPIGetContactCredentialsRequest, PAPIGetContactCredentialsResponse, PAPIGetGenericCredentialsRequest, PAPIGetGenericCredentialsResponse, PAPIGetLedgerDataRequest, PAPIGetLedgerDataResponse, PAPIPublishBatchRequest, PAPIPublishBatchResponse, PAPIRevokePublishedCredentialRequest, PAPIRevokePublishedCredentialResponse, PAPIShareCredentialRequest, PAPIShareCredentialResponse, PAPIShareCredentialsRequest, PAPIShareCredentialsResponse, PAPIStorePublishedCredentialRequest, PAPIStorePublishedCredentialResponse, PAPIGetLatestCredentialExternalIdRequest, PAPIGetLatestCredentialExternalIdResponse, PAPIGetStoredCredentialsForRequest, PAPIGetStoredCredentialsForResponse, PAPIStoreCredentialRequest, PAPIStoreCredentialResponse, PAPIDIDDataCompanion, PAPIDIDData, PAPIDateCompanion, PAPIDate, PAPIDeleteContactRequestCompanion, PAPIDeleteContactResponseCompanion, PAPIDeleteCredentialsRequestCompanion, PAPIDeleteCredentialsResponseCompanion, PAPIDeleteGroupRequestCompanion, PAPIDeleteGroupRequest, PAPIDeleteGroupResponseCompanion, PAPIDeleteGroupResponse, PAPIECKeyDataCompanion, PAPIECKeyData, PAPIEncodedPublicKeyCompanion, PAPIEncryptedMessageCompanion, PAPIGenerateConnectionTokenForContactRequestCompanion, PAPIGenerateConnectionTokenForContactResponseCompanion, PAPIGenerateConnectionTokenRequestCompanion, PAPIGenerateConnectionTokenResponseCompanion, PAPIGetBatchStateRequestCompanion, PAPIGetBatchStateRequest, PAPILedgerData_, PAPIGetBatchStateResponseCompanion, PAPIGetBatchStateResponse, PAPIGetBlockchainDataRequestCompanion, PAPITransactionInfo, PAPIGetBlockchainDataResponseCompanion, PAPIGetBuildInfoRequestCompanion, PAPIGetBuildInfoResponseCompanion, PAPIGetConnectionByIdRequestCompanion, PAPIGetConnectionByIdResponseCompanion, PAPIGetConnectionByTokenRequestCompanion, PAPIGetConnectionByTokenResponseCompanion, PAPIGetConnectionCommunicationKeysRequestCompanion, PAPIGetConnectionCommunicationKeysResponseCompanion, PAPIGetConnectionTokenInfoRequestCompanion, PAPIGetConnectionTokenInfoResponseCompanion, PAPIGetConnectionsPaginatedRequestCompanion, PAPIGetConnectionsPaginatedResponseCompanion, PAPIGetConsoleCurrentUserRequestCompanion, PAPIGetConsoleCurrentUserResponseCompanion, PAPIGetContactCredentialsRequestCompanion, PAPIGetContactCredentialsResponseCompanion, PAPIGetContactRequestCompanion, PAPIStoredSignedCredential, PAPIGetContactResponseCompanion, PAPIGetContactsRequestFilterBy, PAPIGetContactsRequestSortBy, PAPIGetContactsRequestCompanion, PAPIGetContactsRequestFilterByCompanion, PAPIGetContactsRequestSortByField, PAPISortByDirection, PAPIGetContactsRequestSortByCompanion, PAPIGetContactsRequestSortByFieldCompanion, PAPIGetContactsRequestSortByFieldCREATED_AT, PAPIGetContactsRequestSortByFieldEXTERNAL_ID, PAPIGetContactsRequestSortByFieldNAME, PAPIGetContactsRequestSortByFieldUNKNOWN, PAPIGetContactsResponseContactDetails, PAPIGetContactsResponseCompanion, PAPIGetContactsResponseContactDetailsCompanion, PAPIGetCredentialIssuanceRequestCompanion, PAPIGetCredentialIssuanceResponseCompanion, PAPIGetCredentialRevocationTimeRequestCompanion, PAPIGetCredentialRevocationTimeRequest, PAPIGetCredentialRevocationTimeResponseCompanion, PAPIGetCredentialRevocationTimeResponse, PAPIGetCredentialTypeCategoriesRequestCompanion, PAPIGetCredentialTypeCategoriesResponseCompanion, PAPIGetCredentialTypeRequestCompanion, PAPIGetCredentialTypeResponseCompanion, PAPIGetCredentialTypesRequestCompanion, PAPIGetCredentialTypesResponseCompanion, PAPIGetCurrentUserRequestCompanion, PAPIGetCurrentUserResponseRole, PAPIGetCurrentUserResponseCompanion, PAPIGetCurrentUserResponseRoleCompanion, PAPIGetCurrentUserResponseRoleISSUER, PAPIGetCurrentUserResponseRoleVERIFIER, PAPIGetDidDocumentRequestCompanion, PAPIGetDidDocumentRequest, PAPIGetDidDocumentResponseCompanion, PAPIGetDidDocumentResponse, PAPIGetGenericCredentialsRequestFilterBy, PAPIGetGenericCredentialsRequestSortBy, PAPIGetGenericCredentialsRequestCompanion, PAPIGetGenericCredentialsRequestFilterByCompanion, PAPIGetGenericCredentialsRequestSortByField, PAPIGetGenericCredentialsRequestSortByCompanion, PAPIGetGenericCredentialsRequestSortByFieldCompanion, PAPIGetGenericCredentialsRequestSortByFieldCREATED_ON, PAPIGetGenericCredentialsRequestSortByFieldCREDENTIAL_TYPE, PAPIGetGenericCredentialsRequestSortByFieldUNKNOWN, PAPIGetGenericCredentialsResponseCompanion, PAPIGetGroupsRequestFilterBy, PAPIGetGroupsRequestSortBy, PAPIGetGroupsRequestCompanion, PAPIGetGroupsRequest, PAPIGetGroupsRequestFilterByCompanion, PAPIGetGroupsRequestSortByField, PAPIGetGroupsRequestSortByCompanion, PAPIGetGroupsRequestSortByFieldCompanion, PAPIGetGroupsRequestSortByFieldCREATED_AT, PAPIGetGroupsRequestSortByFieldNAME, PAPIGetGroupsRequestSortByFieldNUMBER_OF_CONTACTS, PAPIGetGroupsRequestSortByFieldUNKNOWN, PAPIGetGroupsResponseCompanion, PAPIGetGroupsResponse, PAPIGetLastSyncedBlockTimestampRequestCompanion, PAPIGetLastSyncedBlockTimestampRequest, PAPIGetLastSyncedBlockTimestampResponseCompanion, PAPIGetLastSyncedBlockTimestampResponse, PAPIGetLatestCredentialExternalIdRequestCompanion, PAPIGetLatestCredentialExternalIdResponseCompanion, PAPIGetLedgerDataRequestCompanion, PAPIGetLedgerDataResponseCompanion, PAPIGetMessageStreamRequestCompanion, PAPIReceivedMessage, PAPIGetMessageStreamResponseCompanion, PAPIGetMessageStreamResponse, PAPIGetMessagesForConnectionRequestCompanion, PAPIGetMessagesForConnectionResponseCompanion, PAPIGetMessagesPaginatedRequestCompanion, PAPIGetMessagesPaginatedResponseCompanion, PAPIGetNodeBuildInfoRequestCompanion, PAPIGetNodeBuildInfoRequest, PAPIGetNodeBuildInfoResponseCompanion, PAPIGetNodeBuildInfoResponse, PAPIGetOperationInfoRequestCompanion, PAPIGetOperationInfoRequest, PAPIOperationStatus, PAPIGetOperationInfoResponseCompanion, PAPIGetOperationInfoResponse, PAPITimeInterval, PAPIGetStatisticsRequestCompanion, PAPIGetStatisticsResponseCompanion, PAPIGetStoredCredentialsForRequestCompanion, PAPIGetStoredCredentialsForResponseCompanion, PAPIGroupCompanion, PAPIUpdateGroupRequest, PAPIUpdateGroupResponse, PAPIGrpcOptions, PAPIHealthCheckRequestCompanion, PAPIHealthCheckResponseCompanion, PAPIIssueCredentialBatchOperationCompanion, PAPIIssueCredentialBatchOutputCompanion, PAPIIssueCredentialBatchOutput, PAPIKeyUsageCompanion, PAPIKeyUsageAUTHENTICATION_KEY, PAPIKeyUsageCOMMUNICATION_KEY, PAPIKeyUsageISSUING_KEY, PAPIKeyUsageMASTER_KEY, PAPIKeyUsageREVOCATION_KEY, PAPIKeyUsageUNKNOWN_KEY, PAPILedgerCompanion, PAPILedger, PAPILedgerCARDANO_MAINNET, PAPILedgerCARDANO_TESTNET, PAPILedgerIN_MEMORY, PAPILedgerUNKNOWN_LEDGER, PAPITimestampInfo, PAPILedgerData_Companion, PAPIMarkAsArchivedCredentialTypeRequestCompanion, PAPIMarkAsArchivedCredentialTypeResponseCompanion, PAPIMarkAsReadyCredentialTypeRequestCompanion, PAPIMarkAsReadyCredentialTypeResponseCompanion, PAPIMessageToSendByConnectionTokenCompanion, PAPIMessageToSendByConnectionToken, PAPIScheduleOperationsRequest, PAPIScheduleOperationsResponse, PAPIOperationOutputResult, PAPIOperationOutputOperationMaybe, PAPIOperationOutputCompanion, PAPIOperationOutput, PAPIProtocolVersionUpdateOutput, PAPIRevokeCredentialsOutput, PAPIUpdateDIDOutput, PAPIOperationStatusCompanion, PAPIOperationStatusAWAIT_CONFIRMATION, PAPIOperationStatusCONFIRMED_AND_APPLIED, PAPIOperationStatusCONFIRMED_AND_REJECTED, PAPIOperationStatusPENDING_SUBMISSION, PAPIOperationStatusUNKNOWN_OPERATION, PAPIPlainTextCredentialCompanion, PAPIProofRequestCompanion, PAPIProtocolVersionInfoCompanion, PAPIProtocolVersionInfo, PAPIProtocolVersionUpdateOperationCompanion, PAPIProtocolVersionUpdateOutputCompanion, PAPIPublicKeyKeyData, PAPIPublicKeyCompanion, PAPIPublishBatchRequestCompanion, PAPIPublishBatchResponseCompanion, PAPIReceivedMessageCompanion, PAPIRegisterConsoleDIDRequestCompanion, PAPIRegisterConsoleDIDResponseCompanion, PAPIRegisterDIDRequestRole, PAPIRegisterDIDRequestRegisterWith, PAPIRegisterDIDRequestCompanion, PAPIRegisterDIDRequestRoleCompanion, PAPIRegisterDIDRequestRoleISSUER, PAPIRegisterDIDRequestRoleVERIFIER, PAPIRegisterDIDResponseCompanion, PAPIRemoveKeyActionCompanion, PAPIRemoveKeyAction, PAPIRevokeConnectionRequestCompanion, PAPIRevokeConnectionResponseCompanion, PAPIRevokeCredentialsOperationCompanion, PAPIRevokeCredentialsOutputCompanion, PAPIRevokePublishedCredentialRequestCompanion, PAPIRevokePublishedCredentialResponseCompanion, PAPIScheduleOperationsRequestCompanion, PAPIScheduleOperationsResponseCompanion, PAPISendMessageRequestCompanion, PAPISendMessageResponseCompanion, PAPISendMessagesRequestCompanion, PAPISendMessagesResponseCompanion, PAPIShareCredentialRequestCompanion, PAPIShareCredentialResponseCompanion, PAPIShareCredentialsRequestCompanion, PAPIShareCredentialsResponseCompanion, PAPISignedAtalaOperationCompanion, PAPISortByDirectionCompanion, PAPISortByDirectionASCENDING, PAPISortByDirectionDESCENDING, PAPISortByDirectionUNKNOWN, PAPIStatusCompanion, PAPIStoreCredentialRequestCompanion, PAPIStoreCredentialResponseCompanion, PAPIStorePublishedCredentialRequestCompanion, PAPIStorePublishedCredentialResponseCompanion, PAPIStoredSignedCredentialCompanion, PAPITimeIntervalCompanion, PAPITimestampInfoCompanion, PAPITransactionInfoCompanion, PAPIUnArchiveCredentialTypeCategoryRequestCompanion, PAPIUnArchiveCredentialTypeCategoryResponseCompanion, PAPIUpdateContactRequestCompanion, PAPIUpdateContactResponseCompanion, PAPIUpdateCredentialTypeCompanion, PAPIUpdateCredentialType, PAPIUpdateCredentialTypeRequestCompanion, PAPIUpdateCredentialTypeResponseCompanion, PAPIUpdateDIDActionAction, PAPIUpdateDIDActionCompanion, PAPIUpdateDIDAction, PAPIUpdateDIDOperationCompanion, PAPIUpdateDIDOutputCompanion, PAPIUpdateGroupRequestCompanion, PAPIUpdateGroupResponseCompanion, PAPIUpdateProfileRequestCompanion, PAPIUpdateProfileResponseCompanion, PAPILedger_, PAPITimestampInfo_, PAPIBase64Utils, PAPIByteArrCompanion, PAPIFieldDescriptor, PAPIExtensionFieldSet, PAPIFieldDescriptorType, PAPIFieldOptions, PAPIFieldDescriptorTypePrimitive, PAPIKotlinRuntimeException, PAPIUnknownFieldValue, PAPIJsonConfigCompanion, PAPIJsonConfig, PAPIAnyCompanion, PAPIMethod, PAPIOption, PAPISourceContext, PAPIMixin, PAPISyntax, PAPIApiCompanion, PAPIApi, PAPIBoolValueCompanion, PAPIBoolValue, PAPIBytesValueCompanion, PAPIBytesValue, PAPIFieldDescriptorProto, PAPIDescriptorProto, PAPIEnumDescriptorProto, PAPIDescriptorProtoExtensionRange, PAPIOneofDescriptorProto, PAPIMessageOptions, PAPIDescriptorProtoReservedRange, PAPIDescriptorProtoCompanion, PAPIExtensionRangeOptions, PAPIDescriptorProtoExtensionRangeCompanion, PAPIDescriptorProtoReservedRangeCompanion, PAPIDoubleValueCompanion, PAPIDoubleValue, PAPIDurationCompanion, PAPIDuration, PAPIEmptyCompanion, PAPIEmpty, PAPIEnumValue, PAPIEnumCompanion, PAPIEnum, PAPIEnumValueDescriptorProto, PAPIEnumOptions, PAPIEnumDescriptorProtoEnumReservedRange, PAPIEnumDescriptorProtoCompanion, PAPIEnumDescriptorProtoEnumReservedRangeCompanion, PAPIUninterpretedOption, PAPIEnumOptionsCompanion, PAPIEnumValueCompanion, PAPIEnumValueOptions, PAPIEnumValueDescriptorProtoCompanion, PAPIEnumValueOptionsCompanion, PAPIExtensionRangeOptionsCompanion, PAPIFieldKind, PAPIFieldCardinality, PAPIFieldCompanion, PAPIField, PAPIFieldCardinalityCompanion, PAPIFieldCardinalityOPTIONAL, PAPIFieldCardinalityREPEATED, PAPIFieldCardinalityREQUIRED, PAPIFieldCardinalityUNKNOWN, PAPIFieldKindCompanion, PAPIFieldKindTYPE_BOOL, PAPIFieldKindTYPE_BYTES, PAPIFieldKindTYPE_DOUBLE, PAPIFieldKindTYPE_ENUM, PAPIFieldKindTYPE_FIXED32, PAPIFieldKindTYPE_FIXED64, PAPIFieldKindTYPE_FLOAT, PAPIFieldKindTYPE_GROUP, PAPIFieldKindTYPE_INT32, PAPIFieldKindTYPE_INT64, PAPIFieldKindTYPE_MESSAGE, PAPIFieldKindTYPE_SFIXED32, PAPIFieldKindTYPE_SFIXED64, PAPIFieldKindTYPE_SINT32, PAPIFieldKindTYPE_SINT64, PAPIFieldKindTYPE_STRING, PAPIFieldKindTYPE_UINT32, PAPIFieldKindTYPE_UINT64, PAPIFieldKindTYPE_UNKNOWN, PAPIFieldDescriptorProtoLabel, PAPIFieldDescriptorProtoType, PAPIFieldDescriptorProtoCompanion, PAPIFieldDescriptorProtoLabelCompanion, PAPIFieldDescriptorProtoLabelOPTIONAL, PAPIFieldDescriptorProtoLabelREPEATED, PAPIFieldDescriptorProtoLabelREQUIRED, PAPIFieldDescriptorProtoTypeCompanion, PAPIFieldDescriptorProtoTypeBOOL, PAPIFieldDescriptorProtoTypeBYTES, PAPIFieldDescriptorProtoTypeDOUBLE, PAPIFieldDescriptorProtoTypeENUM, PAPIFieldDescriptorProtoTypeFIXED32, PAPIFieldDescriptorProtoTypeFIXED64, PAPIFieldDescriptorProtoTypeFLOAT, PAPIFieldDescriptorProtoTypeGROUP, PAPIFieldDescriptorProtoTypeINT32, PAPIFieldDescriptorProtoTypeINT64, PAPIFieldDescriptorProtoTypeMESSAGE, PAPIFieldDescriptorProtoTypeSFIXED32, PAPIFieldDescriptorProtoTypeSFIXED64, PAPIFieldDescriptorProtoTypeSINT32, PAPIFieldDescriptorProtoTypeSINT64, PAPIFieldDescriptorProtoTypeSTRING, PAPIFieldDescriptorProtoTypeUINT32, PAPIFieldDescriptorProtoTypeUINT64, PAPIFieldMaskCompanion, PAPIFieldMask, PAPIFieldOptionsCType, PAPIFieldOptionsJSType, PAPIFieldOptionsCompanion, PAPIFieldOptionsCTypeCompanion, PAPIFieldOptionsCTypeCORD, PAPIFieldOptionsCTypeSTRING, PAPIFieldOptionsCTypeSTRING_PIECE, PAPIFieldOptionsJSTypeCompanion, PAPIFieldOptionsJSTypeJS_NORMAL, PAPIFieldOptionsJSTypeJS_NUMBER, PAPIFieldOptionsJSTypeJS_STRING, PAPIServiceDescriptorProto, PAPIFileOptions, PAPISourceCodeInfo, PAPIFileDescriptorProtoCompanion, PAPIFileDescriptorProto, PAPIFileDescriptorSetCompanion, PAPIFileDescriptorSet, PAPIFileOptionsOptimizeMode, PAPIFileOptionsCompanion, PAPIFileOptionsOptimizeModeCompanion, PAPIFileOptionsOptimizeModeCODE_SIZE, PAPIFileOptionsOptimizeModeLITE_RUNTIME, PAPIFileOptionsOptimizeModeSPEED, PAPIFloatValueCompanion, PAPIFloatValue, PAPIGeneratedCodeInfoAnnotation, PAPIGeneratedCodeInfoCompanion, PAPIGeneratedCodeInfo, PAPIGeneratedCodeInfoAnnotationCompanion, PAPIInt32ValueCompanion, PAPIInt32Value, PAPIInt64ValueCompanion, PAPIInt64Value, PAPIValue, PAPIListValueCompanion, PAPIListValue, PAPIMessageOptionsCompanion, PAPIMethodCompanion, PAPIMethodOptions, PAPIMethodDescriptorProtoCompanion, PAPIMethodDescriptorProto, PAPIMethodOptionsIdempotencyLevel, PAPIMethodOptionsCompanion, PAPIMethodOptionsIdempotencyLevelCompanion, PAPIMethodOptionsIdempotencyLevelIDEMPOTENCY_UNKNOWN, PAPIMethodOptionsIdempotencyLevelIDEMPOTENT, PAPIMethodOptionsIdempotencyLevelNO_SIDE_EFFECTS, PAPIMixinCompanion, PAPINullValueCompanion, PAPINullValue, PAPINullValueNULL_VALUE, PAPIOneofOptions, PAPIOneofDescriptorProtoCompanion, PAPIOneofOptionsCompanion, PAPIOptionCompanion, PAPIServiceOptions, PAPIServiceDescriptorProtoCompanion, PAPIServiceOptionsCompanion, PAPISourceCodeInfoLocation, PAPISourceCodeInfoCompanion, PAPISourceCodeInfoLocationCompanion, PAPISourceContextCompanion, PAPIStringValueCompanion, PAPIStringValue, PAPIStructCompanion, PAPIStruct, PAPIStructFieldsEntryCompanion, PAPIStructFieldsEntry, PAPISyntaxCompanion, PAPISyntaxPROTO2, PAPISyntaxPROTO3, PAPITimestampCompanion, PAPITypeCompanion, PAPIType, PAPIUInt32ValueCompanion, PAPIUInt32Value, PAPIUInt64ValueCompanion, PAPIUInt64Value, PAPIUninterpretedOptionNamePart, PAPIUninterpretedOptionCompanion, PAPIUninterpretedOptionNamePartCompanion, PAPIValueKind, PAPIValueCompanion, PAPIClockCompanion, PAPIClockSystem, PAPIDateTimePeriodCompanion, PAPIDateTimePeriod, PAPIDatePeriodCompanion, PAPIDatePeriod, PAPIDateTimeUnitCompanion, PAPIDateTimeUnit, PAPIDateTimeUnitDateBasedMonthBased, PAPIDateTimeUnitDateBasedDayBased, PAPIDateTimeUnitTimeBased, PAPIDateTimeUnitDateBasedCompanion, PAPIDateTimeUnitDateBased, PAPIDateTimeUnitDateBasedDayBasedCompanion, PAPIDateTimeUnitDateBasedMonthBasedCompanion, PAPIDateTimeUnitTimeBasedCompanion, PAPIKotlinEnumCompanion, PAPIKotlinEnum, PAPIDayOfWeek, PAPIKotlinIllegalArgumentException, PAPIInstantCompanion, PAPIMonth, PAPILocalDateCompanion, PAPILocalDate, PAPILocalDateTimeCompanion, PAPILocalDateTime, PAPITimeZoneCompanion, PAPITimeZone, PAPIZoneOffsetCompanion, PAPIAbstractPolymorphicSerializer, PAPIDateBasedDateTimeUnitSerializer, PAPIDatePeriodComponentSerializer, PAPIDatePeriodIso8601Serializer, PAPIDateTimePeriodComponentSerializer, PAPIDateTimePeriodIso8601Serializer, PAPIDateTimeUnitSerializer, PAPIDayBasedDateTimeUnitSerializer, PAPIDayOfWeekSerializer, PAPIInstantComponentSerializer, PAPIInstantIso8601Serializer, PAPILocalDateComponentSerializer, PAPILocalDateIso8601Serializer, PAPILocalDateTimeComponentSerializer, PAPILocalDateTimeIso8601Serializer, PAPIMonthBasedDateTimeUnitSerializer, PAPIMonthSerializer, PAPITimeBasedDateTimeUnitSerializer, PAPITimeZoneSerializer, PAPIZoneOffsetSerializer, PAPIZoneOffset, PAPIUuid, PAPISerializersModule, PAPIJsonConfiguration, PAPIJsonDefault, PAPIJson, PAPIKotlinNothing, PAPIJsonElementCompanion, PAPIJsonPrimitiveCompanion, PAPIJsonPrimitive, PAPIJsonNull, PAPIMemory, PAPIIoBuffer, PAPIKotlinUnit, PAPIByteReadPacket, PAPIByteOrder, PAPIBuffer, PAPIBytePacketBuilder, PAPIByteReadChannelCompanion, PAPIKotlinIllegalStateException, PAPIKotlinCancellationException, PAPIMemoryCompanion, PAPIChunkBuffer, PAPIAbstractInputCompanion, PAPIKotlinCharArray, PAPIAbstractOutput, PAPIBufferCompanion, PAPIByteOrderCompanion, PAPIBytePacketBuilderBase, PAPIBytePacketBuilderPlatformBase, PAPIAbstractInput, PAPIByteReadPacketBaseCompanion, PAPIByteReadPacketBase, PAPIByteReadPacketPlatformBase, PAPIByteReadPacketCompanion, PAPIChunkBufferCompanion, PAPIIoBufferCompanion, PAPISynchronizedObject, PAPICharsetCompanion, PAPICharsetDecoder, PAPICharsetEncoder, PAPICharset, PAPICharsets, PAPIMalformedInputException, PAPIIOException, PAPIPosixExceptionCompanion, PAPIPosixException, PAPILiftToSyntaxTreeOptions, PAPISyntaxTree<__covariant T>, PAPIKotlinIntRange, PAPITuple1, PAPITuple10, PAPITuple11, PAPITuple12, PAPITuple13, PAPITuple14, PAPITuple15, PAPITuple16, PAPITuple2, PAPITuple3, PAPITuple4, PAPITuple5, PAPITuple6, PAPITuple7, PAPITuple8, PAPITuple9, PAPIParseResult<__covariant T>, PAPITokenMatchesSequence, PAPITokenMatch, PAPIToken, PAPIKotlinRegex, PAPIParsed<__covariant T>, PAPIErrorResult, PAPIAlternativesFailure, PAPIEmptyParser, PAPIMismatchedToken, PAPINoMatchingToken, PAPIUnexpectedEof, PAPIUnparsedRemainder, PAPISeparated, PAPIGrammar<__covariant T>, PAPIJobSupport, PAPICoroutineStart, PAPICoroutineDispatcher, PAPIKotlinAbstractCoroutineContextElement, PAPICoroutineDispatcherKey, PAPIKotlinAbstractCoroutineContextKey, PAPICoroutineExceptionHandlerKey, PAPICoroutineNameKey, PAPICoroutineName, PAPIDispatchers, PAPIMainCoroutineDispatcher, PAPIGlobalScope, PAPIJobKey, PAPINonCancellable, PAPINonDisposableHandle, PAPITimeoutCancellationException, PAPIBufferOverflow, PAPIChannelFactory, PAPIKotlinNoSuchElementException, PAPISharingCommand, PAPISharingStartedCompanion, PAPIChannelFlow, PAPIAtomicDesc, PAPILockFreeLinkedListNodePrepareOp, PAPIAtomicOp<__contravariant T>, PAPIOpDescriptor, PAPILockFreeLinkedListNode, PAPILockFreeLinkedListNodeAddLastDesc, PAPILockFreeLinkedListNodeRemoveFirstDesc, PAPILockFreeLinkedListNodeAbstractAtomicDesc, PAPISynchronizedObjectLockState, PAPIKotlinAtomicReference, PAPIThreadSafeHeap, PAPIKotlinPair<__covariant A, __covariant B>, PAPISign, PAPIEndianness, PAPIModularBigInteger, PAPIModularQuotientAndRemainder, PAPIQuotientAndRemainder, PAPIModularBigIntegerCompanion, PAPIBigDecimalCompanion, PAPIBigDecimal, PAPIDecimalMode, PAPIRoundingMode, PAPIDecimalModeCompanion, PAPIBigIntegerCompanion, PAPIBigIntegerQuotientAndRemainder, PAPIBigIntegerBigIntegerRange, PAPIBigIntegerSqareRootAndRemainder, PAPIKotlinIntArray, PAPIKotlinLongArray, PAPIComparisonWorkaround, PAPIQuadruple, PAPIQuintuple, PAPISextuple, PAPIAESCompanion, PAPIPadding, PAPIHMACCompanion, PAPIHasher, PAPIMD4Companion, PAPIHasherFactory, PAPIMD5Companion, PAPIPBKDF2Companion, PAPIPaddingCompanion, PAPISHA, PAPISHA1Companion, PAPISHA256Companion, PAPIKotlinRandomDefault, PAPIKotlinRandom, PAPISecureRandom, PAPIASCII, PAPIBase64, PAPIHex, PAPIBase58, PAPIBase58Prefix, PAPIBase58Check, PAPIByteVector, PAPIBech32, PAPIKotlinTriple<__covariant A, __covariant B, __covariant C>, PAPIBitcoin, PAPIByteVector32, PAPIScriptElt, PAPIPublicKey_, PAPIBlockHeader, PAPITransaction, PAPIBlockCompanion, PAPIBlock, PAPIBtcSerializerCompanion, PAPIBtcSerializer, PAPIBlockHeaderCompanion, PAPIUInt256, PAPIByteVectorCompanion, PAPIByteVector32Companion, PAPIByteVector64Companion, PAPIByteVector64, PAPICrypto, PAPIByteArrayInput, PAPIPrivateKey, PAPIDeterministicWallet, PAPIKeyPath, PAPIDeterministicWalletExtendedPublicKey, PAPIDeterministicWalletExtendedPrivateKeyCompanion, PAPIDeterministicWalletExtendedPublicKeyCompanion, PAPIKeyPathCompanion, PAPILexicographicalOrdering, PAPIOutPoint, PAPITxIn, PAPITxOut, PAPIMerkleTree, PAPIMnemonicCode_, PAPIScriptEltCompanion, PAPIOP_0, PAPIOP_0NOTEQUAL, PAPIOP_1, PAPIOP_10, PAPIOP_11, PAPIOP_12, PAPIOP_13, PAPIOP_14, PAPIOP_15, PAPIOP_16, PAPIOP_1ADD, PAPIOP_1NEGATE, PAPIOP_1SUB, PAPIOP_2, PAPIOP_2DIV, PAPIOP_2DROP, PAPIOP_2DUP, PAPIOP_2MUL, PAPIOP_2OVER, PAPIOP_2ROT, PAPIOP_2SWAP, PAPIOP_3, PAPIOP_3DUP, PAPIOP_4, PAPIOP_5, PAPIOP_6, PAPIOP_7, PAPIOP_8, PAPIOP_9, PAPIOP_ABS, PAPIOP_ADD, PAPIOP_AND, PAPIOP_BOOLAND, PAPIOP_BOOLOR, PAPIOP_CAT, PAPIOP_CHECKLOCKTIMEVERIFY, PAPIOP_CHECKMULTISIG, PAPIOP_CHECKMULTISIGVERIFY, PAPIOP_CHECKSEQUENCEVERIFY, PAPIOP_CHECKSIG, PAPIOP_CHECKSIGVERIFY, PAPIOP_CODESEPARATOR, PAPIOP_DEPTH, PAPIOP_DIV, PAPIOP_DROP, PAPIOP_DUP, PAPIOP_ELSE, PAPIOP_ENDIF, PAPIOP_EQUAL, PAPIOP_EQUALVERIFY, PAPIOP_FROMALTSTACK, PAPIOP_GREATERTHAN, PAPIOP_GREATERTHANOREQUAL, PAPIOP_HASH160, PAPIOP_HASH256, PAPIOP_IF, PAPIOP_IFDUP, PAPIOP_INVALID, PAPIOP_INVALIDOPCODE, PAPIOP_INVERT, PAPIOP_LEFT, PAPIOP_LESSTHAN, PAPIOP_LESSTHANOREQUAL, PAPIOP_LSHIFT, PAPIOP_MAX, PAPIOP_MIN, PAPIOP_MOD, PAPIOP_MUL, PAPIOP_NEGATE, PAPIOP_NIP, PAPIOP_NOP, PAPIOP_NOP1, PAPIOP_NOP10, PAPIOP_NOP4, PAPIOP_NOP5, PAPIOP_NOP6, PAPIOP_NOP7, PAPIOP_NOP8, PAPIOP_NOP9, PAPIOP_NOT, PAPIOP_NOTIF, PAPIOP_NUMEQUAL, PAPIOP_NUMEQUALVERIFY, PAPIOP_NUMNOTEQUAL, PAPIOP_OR, PAPIOP_OVER, PAPIOP_PICK, PAPIOP_PUSHDATACompanion, PAPIOP_PUSHDATA, PAPIOP_PUSHDATA1, PAPIOP_PUSHDATA2, PAPIOP_PUSHDATA4, PAPIOP_RESERVED, PAPIOP_RESERVED1, PAPIOP_RESERVED2, PAPIOP_RETURN, PAPIOP_RIGHT, PAPIOP_RIPEMD160, PAPIOP_ROLL, PAPIOP_ROT, PAPIOP_RSHIFT, PAPIOP_SHA1, PAPIOP_SHA256, PAPIOP_SIZE, PAPIOP_SMALLINTEGER, PAPIOP_SUB, PAPIOP_SUBSTR, PAPIOP_SWAP, PAPIOP_TOALTSTACK, PAPIOP_TUCK, PAPIOP_VER, PAPIOP_VERIF, PAPIOP_VERIFY, PAPIOP_VERNOTIF, PAPIOP_WITHIN, PAPIOP_XOR, PAPIOutPointCompanion, PAPIPrivateKeyCompanion, PAPIProtocol, PAPIPublicKey_Companion, PAPISatoshi, PAPIScript, PAPIScriptContext, PAPIScriptRunnerCompanionState, PAPIScriptRunnerCompanion, PAPIScriptWitness, PAPIScriptEltMapping, PAPIScriptFlags, PAPIScriptWitnessCompanion, PAPISigHash, PAPISigVersion, PAPITransactionCompanion, PAPITxInCompanion, PAPITxOutCompanion, PAPIUInt256Companion, PAPIDigestCompanion, PAPIPack, PAPIPbkdf2, PAPIAbstractCollectionSerializer, PAPITaggedDecoder, PAPITaggedEncoder, PAPISerialKind, PAPIPolymorphicKind, PAPIPolymorphicKindOPEN, PAPIPolymorphicKindSEALED, PAPIPrimitiveKind, PAPIPrimitiveKindBOOLEAN, PAPIPrimitiveKindBYTE, PAPIPrimitiveKindCHAR, PAPIPrimitiveKindDOUBLE, PAPIPrimitiveKindFLOAT, PAPIPrimitiveKindINT, PAPIPrimitiveKindLONG, PAPIPrimitiveKindSHORT, PAPIPrimitiveKindSTRING, PAPISerialKindCONTEXTUAL, PAPISerialKindENUM, PAPIStructureKind, PAPIStructureKindCLASS, PAPIStructureKindLIST, PAPIStructureKindMAP, PAPIStructureKindOBJECT, PAPILongAsStringSerializer, PAPICompositeDecoderCompanion, PAPITraceBase, PAPITraceBaseNone, PAPISynchronizedObjectStatus, PAPIHex_, PAPISecp256k1Companion, PAPISecp256k1Native, PAPICredentialBatch, PAPICredentialBatches, PAPICredentialClaim, PAPICredentialInfo, PAPIVerificationResult, PAPIKeyGenerator, PAPIPrismDidDocument, PAPIProtoUtils, PAPIProtocolVersion, PAPIRequestUtils, PAPIVerifiableCredentialCompanion, PAPIVerifiableCredential, PAPIVerificationError, PAPIVerificationErrorBatchNotFoundOnChain, PAPIVerificationErrorBatchPublicationTimestampNotFoundOnChain, PAPIVerificationErrorBatchWasRevokedOn, PAPIVerificationErrorCredentialWasRevokedOn, PAPIVerificationErrorInvalidMerkleProof, PAPIVerificationErrorInvalidSignature, PAPIVerificationErrorIssuanceKeyPublicationTimestampNotFoundOnChain, PAPIVerificationErrorIssuerDidDocumentNotFoundOnChain, PAPIVerificationErrorIssuerDidNotFoundInCredential, PAPIVerificationErrorIssuerKeyNotFoundInCredential, PAPIVerificationErrorIssuingKeyIdNotFoundOnChain, PAPIVerificationErrorKeyAddedAfterIssuance, PAPIVerificationErrorKeyAddedTimestampEqualsIssuance, PAPIVerificationErrorKeyRevokedTimestampEqualsIssuance, PAPIVerificationErrorKeyWasRevoked, PAPIVerificationErrorOnChainIssuingKeyCannotBeParsed, PAPIBatchState, PAPIPrismPayload, PAPICreateDidInfo, PAPIGetCredentialRevocationTimeResult, PAPIIssueCredentialsInfo, PAPIAtalaOperationId, PAPIPrismDidState, PAPIAtalaOperationInfo, PAPIProtocolVersionUpdateInfo, PAPIRevokeCredentialsInfo, PAPIUpdateDidInfo, PAPIPrismDidDataModel, PAPIAtalaOperationIdCompanion, PAPIAtalaOperationStatus, PAPIDidValidation, PAPIValidated<__covariant R, E>, PAPIValidatedApplicative, PAPIValidatedInvalid<__covariant R, E>, PAPIValidatedValid<__covariant R, E>, PAPIAuthDetails, PAPIConnectorConnectionInfo, PAPIConnectorConnectionReference, PAPIConnectorTokenInfo, PAPIRole, PAPIConnectorParticipantInfo, PAPIRoleISSUER, PAPIRoleVERIFIER, NSDate, NSDateComponents, NSTimeZone, PAPIJsonArrayBuilder, PAPIJsonObjectBuilder, PAPIByteChannelSequentialBase, PAPIKotlinDoubleArray, PAPIKotlinFloatArray, PAPIKotlinShortArray, PAPIKotlinByteIterator, PAPIAndCombinator<__covariant R>, PAPISkipParser, PAPIKotlinIntProgressionCompanion, PAPIKotlinIntIterator, PAPIKotlinIntProgression, PAPIKotlinIntRangeCompanion, PAPIKotlinLongIterator, PAPIKotlinLongProgressionCompanion, PAPIKotlinLongProgression, PAPIKotlinLongRangeCompanion, PAPIKotlinLongRange, PAPISerializersModuleBuilder, PAPIPolymorphicModuleBuilder<__contravariant Base>, PAPIClassSerialDescriptorBuilder, PAPIKotlinBooleanCompanion, PAPIKotlinByteCompanion, PAPIKotlinCharCompanion, PAPIKotlinDoubleCompanion, PAPIKotlinFloatCompanion, PAPIKotlinIntCompanion, PAPIKotlinLongCompanion, PAPIKotlinShortCompanion, PAPIKotlinStringCompanion, PAPIKotlinUByteCompanion, PAPIKotlinUIntCompanion, PAPIKotlinULongCompanion, PAPIKotlinUShortCompanion, PAPIJsonBuilder, PAPIKotlinCValuesRef, PAPIRegexToken, PAPIMapCombinator, PAPISingleThreadDispatcher, PAPITraceFormat, PAPIAtomicArray, PAPIKotlinCharIterator, PAPIKotlinRegexOption, PAPIKotlinRegexCompanion, PAPIKotlinDoubleIterator, PAPIKotlinFloatIterator, PAPIKotlinShortIterator, PAPIKotlinKTypeProjection, PAPIKotlinTimeMark, PAPIKotlinAutofreeScope, PAPIKotlinMatchResultDestructured, PAPIKotlinKVariance, PAPIKotlinKTypeProjectionCompanion, PAPIKotlinDeferScope, PAPIKotlinMatchGroup; + +@protocol PAPIEncodable, PAPIMessage, PAPIMessageDecoder, PAPIMessageCompanion, PAPIFlow, PAPICloseable, PAPIConnectorServiceCoroutine, PAPIConsoleServiceCoroutine, PAPIContactConnectionServiceCoroutine, PAPIMessageEnum, PAPIMessageEnumCompanion, PAPIContactsServiceCoroutine, PAPICredentialIssuanceServiceCoroutine, PAPICredentialTypeCategoriesServiceCoroutine, PAPICredentialTypesServiceCoroutine, PAPICredentialsServiceCoroutine, PAPICredentialsStoreServiceCoroutine, PAPIGroupsServiceCoroutine, PAPINodeServiceCoroutine, PAPIKotlinKClass, PAPIExtendableMessage, PAPIKotlinMapEntry, PAPIClock, PAPIKSerializer, PAPIKotlinComparable, PAPIEncoder, PAPISerialDescriptor, PAPISerializationStrategy, PAPIDecoder, PAPIDeserializationStrategy, PAPICompositeDecoder, PAPISerialFormat, PAPIStringFormat, PAPICompositeEncoder, PAPIJob, PAPIReadSession, PAPIKotlinSuspendFunction1, PAPIKotlinAppendable, PAPIByteReadChannel, PAPIByteWriteChannel, PAPIByteChannel, PAPISuspendableReadSession, PAPIObjectPool, PAPIWriterSuspendSession, PAPIChildHandle, PAPIChildJob, PAPIDisposableHandle, PAPIKotlinSequence, PAPISelectClause0, PAPIKotlinCoroutineContextKey, PAPIKotlinCoroutineContextElement, PAPIKotlinCoroutineContext, PAPICoroutineScope, PAPIWriterSession, PAPIInput, PAPIOutput, PAPIParser, PAPILiftToSyntaxTreeTransformerDefaultTransformerReference, PAPITuple, PAPITokenizer, PAPIKotlinIterator, PAPITokenProducer, PAPIKotlinKProperty, PAPIParentJob, PAPISelectInstance, PAPIKotlinSuspendFunction0, PAPIKotlinContinuation, PAPISelectClause1, PAPIDeferred, PAPIKotlinContinuationInterceptor, PAPIRunnable, PAPICancellableContinuation, PAPICopyableThrowable, PAPIReceiveChannel, PAPISelectClause2, PAPISendChannel, PAPIChannelIterator, PAPIBroadcastChannel, PAPIFlowCollector, PAPIStateFlow, PAPISharedFlow, PAPIMutableSharedFlow, PAPISharingStarted, PAPIFusibleFlow, PAPIProducerScope, PAPIMainDispatcherFactory, PAPIBigNumber, PAPIBigNumberCreator, PAPIByteArraySerializable, PAPIBitwiseCapable, PAPIKotlinClosedRange, PAPIKotlinIterable, PAPIBigNumberUtil, PAPIByteArrayDeserializable, PAPIInput_, PAPIOutput_, PAPIBtcSerializable, PAPIDigest, PAPISerializersModuleCollector, PAPIKotlinAnnotation, PAPISecp256k1, PAPINodePublicApi, PAPINodeAuthApi, PAPIConnectorAuthApi, PAPIConnectorPublicApi, PAPILiftToSyntaxTreeTransformer, PAPIKotlinKType, PAPIMessageEncoder, PAPIKotlinTimeSource, PAPIUuidHasher, PAPIReaderJob, PAPIWriterJob, PAPIKotlinNativePlacement, PAPIKotlinNativeFreeablePlacement, PAPIKotlinReadWriteProperty, PAPIKotlinReadOnlyProperty, PAPICompletableJob, PAPICompletableDeferred, PAPICoroutineExceptionHandler, PAPIChannel, PAPIKotlinSuspendFunction2, PAPIKotlinSuspendFunction3, PAPIMutableStateFlow, PAPIKotlinSuspendFunction5, PAPIKotlinSuspendFunction4, PAPIKotlinSuspendFunction6, PAPISelectBuilder, PAPIMutex, PAPISemaphore, PAPIBinaryFormat, PAPIKotlinKDeclarationContainer, PAPIKotlinKAnnotatedElement, PAPIKotlinKClassifier, PAPIKotlinFunction, PAPIKotlinMatchResult, PAPIKotlinKCallable, PAPIKotlinMatchGroupCollection, PAPIKotlinCollection; + +NS_ASSUME_NONNULL_BEGIN +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wunknown-warning-option" +#pragma clang diagnostic ignored "-Wincompatible-property-type" +#pragma clang diagnostic ignored "-Wnullability" + +#pragma push_macro("_Nullable_result") +#if !__has_feature(nullability_nullable_result) +#undef _Nullable_result +#define _Nullable_result _Nullable +#endif + +__attribute__((swift_name("KotlinBase"))) +@interface PAPIBase : NSObject +- (instancetype)init __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (void)initialize __attribute__((objc_requires_super)); +@end; + +@interface PAPIBase (PAPIBaseCopying) +@end; + +__attribute__((swift_name("KotlinMutableSet"))) +@interface PAPIMutableSet : NSMutableSet +@end; + +__attribute__((swift_name("KotlinMutableDictionary"))) +@interface PAPIMutableDictionary : NSMutableDictionary +@end; + +@interface NSError (NSErrorPAPIKotlinException) +@property (readonly) id _Nullable kotlinException; +@end; + +__attribute__((swift_name("KotlinNumber"))) +@interface PAPINumber : NSNumber +- (instancetype)initWithChar:(char)value __attribute__((unavailable)); +- (instancetype)initWithUnsignedChar:(unsigned char)value __attribute__((unavailable)); +- (instancetype)initWithShort:(short)value __attribute__((unavailable)); +- (instancetype)initWithUnsignedShort:(unsigned short)value __attribute__((unavailable)); +- (instancetype)initWithInt:(int)value __attribute__((unavailable)); +- (instancetype)initWithUnsignedInt:(unsigned int)value __attribute__((unavailable)); +- (instancetype)initWithLong:(long)value __attribute__((unavailable)); +- (instancetype)initWithUnsignedLong:(unsigned long)value __attribute__((unavailable)); +- (instancetype)initWithLongLong:(long long)value __attribute__((unavailable)); +- (instancetype)initWithUnsignedLongLong:(unsigned long long)value __attribute__((unavailable)); +- (instancetype)initWithFloat:(float)value __attribute__((unavailable)); +- (instancetype)initWithDouble:(double)value __attribute__((unavailable)); +- (instancetype)initWithBool:(BOOL)value __attribute__((unavailable)); +- (instancetype)initWithInteger:(NSInteger)value __attribute__((unavailable)); +- (instancetype)initWithUnsignedInteger:(NSUInteger)value __attribute__((unavailable)); ++ (instancetype)numberWithChar:(char)value __attribute__((unavailable)); ++ (instancetype)numberWithUnsignedChar:(unsigned char)value __attribute__((unavailable)); ++ (instancetype)numberWithShort:(short)value __attribute__((unavailable)); ++ (instancetype)numberWithUnsignedShort:(unsigned short)value __attribute__((unavailable)); ++ (instancetype)numberWithInt:(int)value __attribute__((unavailable)); ++ (instancetype)numberWithUnsignedInt:(unsigned int)value __attribute__((unavailable)); ++ (instancetype)numberWithLong:(long)value __attribute__((unavailable)); ++ (instancetype)numberWithUnsignedLong:(unsigned long)value __attribute__((unavailable)); ++ (instancetype)numberWithLongLong:(long long)value __attribute__((unavailable)); ++ (instancetype)numberWithUnsignedLongLong:(unsigned long long)value __attribute__((unavailable)); ++ (instancetype)numberWithFloat:(float)value __attribute__((unavailable)); ++ (instancetype)numberWithDouble:(double)value __attribute__((unavailable)); ++ (instancetype)numberWithBool:(BOOL)value __attribute__((unavailable)); ++ (instancetype)numberWithInteger:(NSInteger)value __attribute__((unavailable)); ++ (instancetype)numberWithUnsignedInteger:(NSUInteger)value __attribute__((unavailable)); +@end; + +__attribute__((swift_name("KotlinByte"))) +@interface PAPIByte : PAPINumber +- (instancetype)initWithChar:(char)value; ++ (instancetype)numberWithChar:(char)value; +@end; + +__attribute__((swift_name("KotlinUByte"))) +@interface PAPIUByte : PAPINumber +- (instancetype)initWithUnsignedChar:(unsigned char)value; ++ (instancetype)numberWithUnsignedChar:(unsigned char)value; +@end; + +__attribute__((swift_name("KotlinShort"))) +@interface PAPIShort : PAPINumber +- (instancetype)initWithShort:(short)value; ++ (instancetype)numberWithShort:(short)value; +@end; + +__attribute__((swift_name("KotlinUShort"))) +@interface PAPIUShort : PAPINumber +- (instancetype)initWithUnsignedShort:(unsigned short)value; ++ (instancetype)numberWithUnsignedShort:(unsigned short)value; +@end; + +__attribute__((swift_name("KotlinInt"))) +@interface PAPIInt : PAPINumber +- (instancetype)initWithInt:(int)value; ++ (instancetype)numberWithInt:(int)value; +@end; + +__attribute__((swift_name("KotlinUInt"))) +@interface PAPIUInt : PAPINumber +- (instancetype)initWithUnsignedInt:(unsigned int)value; ++ (instancetype)numberWithUnsignedInt:(unsigned int)value; +@end; + +__attribute__((swift_name("KotlinLong"))) +@interface PAPILong : PAPINumber +- (instancetype)initWithLongLong:(long long)value; ++ (instancetype)numberWithLongLong:(long long)value; +@end; + +__attribute__((swift_name("KotlinULong"))) +@interface PAPIULong : PAPINumber +- (instancetype)initWithUnsignedLongLong:(unsigned long long)value; ++ (instancetype)numberWithUnsignedLongLong:(unsigned long long)value; +@end; + +__attribute__((swift_name("KotlinFloat"))) +@interface PAPIFloat : PAPINumber +- (instancetype)initWithFloat:(float)value; ++ (instancetype)numberWithFloat:(float)value; +@end; + +__attribute__((swift_name("KotlinDouble"))) +@interface PAPIDouble : PAPINumber +- (instancetype)initWithDouble:(double)value; ++ (instancetype)numberWithDouble:(double)value; +@end; + +__attribute__((swift_name("KotlinBoolean"))) +@interface PAPIBoolean : PAPINumber +- (instancetype)initWithBool:(BOOL)value; ++ (instancetype)numberWithBool:(BOOL)value; +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialBatchId"))) +@interface PAPICredentialBatchId : PAPIBase +@property (class, readonly, getter=companion) PAPICredentialBatchIdCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPICredentialBatchId *)doCopyId:(NSString *)id __attribute__((swift_name("doCopy(id:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *id __attribute__((swift_name("id"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialBatchId.Companion"))) +@interface PAPICredentialBatchIdCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICredentialBatchIdCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICredentialBatchId *)fromBatchDataIssuerDidSuffix:(NSString *)issuerDidSuffix merkleRoot:(PAPIMerkleRoot *)merkleRoot __attribute__((swift_name("fromBatchData(issuerDidSuffix:merkleRoot:)"))); +- (PAPICredentialBatchId *)fromDigestDigest:(PAPISha256Digest *)digest __attribute__((swift_name("fromDigest(digest:)"))); +- (PAPICredentialBatchId * _Nullable)fromStringId:(NSString *)id __attribute__((swift_name("fromString(id:)"))); +- (PAPICredentialBatchId *)random __attribute__((swift_name("random()"))); +@end; + +__attribute__((swift_name("KotlinThrowable"))) +@interface PAPIKotlinThrowable : PAPIBase +- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)); +- (PAPIKotlinArray *)getStackTrace __attribute__((swift_name("getStackTrace()"))); +- (void)printStackTrace __attribute__((swift_name("printStackTrace()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIKotlinThrowable * _Nullable cause __attribute__((swift_name("cause"))); +@property (readonly) NSString * _Nullable message __attribute__((swift_name("message"))); +- (NSError *)asError __attribute__((swift_name("asError()"))); +@end; + +__attribute__((swift_name("KotlinException"))) +@interface PAPIKotlinException : PAPIKotlinThrowable +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialParsingError"))) +@interface PAPICredentialParsingError : PAPIKotlinException +- (instancetype)initWithMessage:(NSString *)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (instancetype)initWithCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((swift_name("PrismCredential"))) +@interface PAPIPrismCredential : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (PAPISha256Digest *)hash_ __attribute__((swift_name("hash_()"))); +- (BOOL)isValidSignaturePublicKey:(PAPIECPublicKey *)publicKey __attribute__((swift_name("isValidSignature(publicKey:)"))); +- (BOOL)isVerifiable __attribute__((swift_name("isVerifiable()"))); +- (PAPIPrismCredential *)signPrivateKey:(PAPIECPrivateKey *)privateKey __attribute__((swift_name("sign(privateKey:)"))); +@property (readonly) NSString *canonicalForm __attribute__((swift_name("canonicalForm"))); +@property (readonly) PAPICredentialContent *content __attribute__((swift_name("content"))); +@property (readonly) PAPIKotlinByteArray *contentBytes __attribute__((swift_name("contentBytes"))); +@property (readonly) PAPIECSignature * _Nullable signature __attribute__((swift_name("signature"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("JsonBasedCredential"))) +@interface PAPIJsonBasedCredential : PAPIPrismCredential +- (instancetype)initWithContent:(PAPICredentialContent *)content signature:(PAPIECSignature * _Nullable)signature __attribute__((swift_name("init(content:signature:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +@property (class, readonly, getter=companion) PAPIJsonBasedCredentialCompanion *companion __attribute__((swift_name("companion"))); +- (PAPICredentialContent *)component1 __attribute__((swift_name("component1()"))); +- (PAPIECSignature * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (PAPIJsonBasedCredential *)doCopyContent:(PAPICredentialContent *)content signature:(PAPIECSignature * _Nullable)signature __attribute__((swift_name("doCopy(content:signature:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIPrismCredential *)signPrivateKey:(PAPIECPrivateKey *)privateKey __attribute__((swift_name("sign(privateKey:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *canonicalForm __attribute__((swift_name("canonicalForm"))); +@property (readonly) PAPICredentialContent *content __attribute__((swift_name("content"))); +@property (readonly) PAPIKotlinByteArray *contentBytes __attribute__((swift_name("contentBytes"))); +@property (readonly) PAPIECSignature * _Nullable signature __attribute__((swift_name("signature"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("JsonBasedCredential.Companion"))) +@interface PAPIJsonBasedCredentialCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIJsonBasedCredentialCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIJsonBasedCredential *)fromStringCredential:(NSString *)credential __attribute__((swift_name("fromString(credential:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialContent"))) +@interface PAPICredentialContent : PAPIBase +- (instancetype)initWithFields:(NSDictionary *)fields __attribute__((swift_name("init(fields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICredentialContentCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPICredentialContent *)doCopyFields:(NSDictionary *)fields __attribute__((swift_name("doCopy(fields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSArray * _Nullable)getArrayField:(NSString *)field __attribute__((swift_name("getArray(field:)"))); +- (PAPIBoolean * _Nullable)getBooleanField:(NSString *)field __attribute__((swift_name("getBoolean(field:)"))); +- (NSString * _Nullable)getCredentialSubject __attribute__((swift_name("getCredentialSubject()"))); +- (PAPIJsonElement * _Nullable)getFieldFieldName:(NSString *)fieldName __attribute__((swift_name("getField(fieldName:)"))); +- (PAPIInt * _Nullable)getIntField:(NSString *)field __attribute__((swift_name("getInt(field:)"))); +- (NSString * _Nullable)getIssuanceKeyId __attribute__((swift_name("getIssuanceKeyId()"))); +- (PAPIPrismDid * _Nullable)getIssuerDid __attribute__((swift_name("getIssuerDid()"))); +- (NSString * _Nullable)getStringField:(NSString *)field __attribute__((swift_name("getString(field:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSDictionary *fields __attribute__((swift_name("fields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialContent.Companion"))) +@interface PAPICredentialContentCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICredentialContentCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICredentialContent *)fromStringValue:(NSString *)value __attribute__((swift_name("fromString(value:)"))); +@end; + +__attribute__((swift_name("PublicKeyUsage"))) +@interface PAPIPublicKeyUsage : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +@property (class, readonly, getter=companion) PAPIPublicKeyUsageCompanion *companion __attribute__((swift_name("companion"))); +- (int32_t)derivationIndex __attribute__((swift_name("derivationIndex()"))); +- (NSString *)name __attribute__((swift_name("name()"))); +- (PAPIKeyUsage *)toProto __attribute__((swift_name("toProto()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AuthenticationKeyUsage"))) +@interface PAPIAuthenticationKeyUsage : PAPIPublicKeyUsage ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)authenticationKeyUsage __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIAuthenticationKeyUsage *shared __attribute__((swift_name("shared"))); +- (int32_t)derivationIndex __attribute__((swift_name("derivationIndex()"))); +- (PAPIKeyUsage *)toProto __attribute__((swift_name("toProto()"))); +@end; + +__attribute__((swift_name("PrismDid"))) +@interface PAPIPrismDid : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +@property (class, readonly, getter=companion) PAPIPrismDidCompanion *companion __attribute__((swift_name("companion"))); +- (PAPICanonicalPrismDid *)asCanonical __attribute__((swift_name("asCanonical()"))); +@property (readonly) PAPIDid *did __attribute__((swift_name("did"))); +@property (readonly) PAPISha256Digest *stateHash __attribute__((swift_name("stateHash"))); +@property (readonly) NSString *suffix __attribute__((swift_name("suffix"))); +@property (readonly) NSString *value __attribute__((swift_name("value"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CanonicalPrismDid"))) +@interface PAPICanonicalPrismDid : PAPIPrismDid +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (PAPICanonicalPrismDid *)asCanonical __attribute__((swift_name("asCanonical()"))); +- (PAPIDid *)component1 __attribute__((swift_name("component1()"))); +- (PAPISha256Digest *)component2 __attribute__((swift_name("component2()"))); +- (PAPICanonicalPrismDid *)doCopyDid:(PAPIDid *)did stateHash:(PAPISha256Digest *)stateHash __attribute__((swift_name("doCopy(did:stateHash:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIDid *did __attribute__((swift_name("did"))); +@property (readonly) PAPISha256Digest *stateHash __attribute__((swift_name("stateHash"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CommunicationKeyUsage"))) +@interface PAPICommunicationKeyUsage : PAPIPublicKeyUsage ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)communicationKeyUsage __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICommunicationKeyUsage *shared __attribute__((swift_name("shared"))); +- (int32_t)derivationIndex __attribute__((swift_name("derivationIndex()"))); +- (PAPIKeyUsage *)toProto __attribute__((swift_name("toProto()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Did"))) +@interface PAPIDid : PAPIBase +- (instancetype)initWithMethod:(PAPIDidMethod *)method methodSpecificId:(PAPIDidMethodSpecificId *)methodSpecificId __attribute__((swift_name("init(method:methodSpecificId:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIDidCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIDidMethod *)component1 __attribute__((swift_name("component1()"))); +- (PAPIDidMethodSpecificId *)component2 __attribute__((swift_name("component2()"))); +- (PAPIDid *)doCopyMethod:(PAPIDidMethod *)method methodSpecificId:(PAPIDidMethodSpecificId *)methodSpecificId __attribute__((swift_name("doCopy(method:methodSpecificId:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIDidMethod *method __attribute__((swift_name("method"))); +@property (readonly) PAPIDidMethodSpecificId *methodSpecificId __attribute__((swift_name("methodSpecificId"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Did.Companion"))) +@interface PAPIDidCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDidCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIDid *)fromStringString:(NSString *)string __attribute__((swift_name("fromString(string:)"))); +@property (readonly) NSString *DID_SCHEME __attribute__((swift_name("DID_SCHEME"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DidDataModel"))) +@interface PAPIDidDataModel : PAPIBase +- (instancetype)initWithCoreProperties:(NSDictionary *)coreProperties representationSpecificProperties:(NSDictionary *)representationSpecificProperties __attribute__((swift_name("init(coreProperties:representationSpecificProperties:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIDidDataModelCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIDidDataModel *)doCopyCoreProperties:(NSDictionary *)coreProperties representationSpecificProperties:(NSDictionary *)representationSpecificProperties __attribute__((swift_name("doCopy(coreProperties:representationSpecificProperties:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSSet * _Nullable alsoKnownAs __attribute__((swift_name("alsoKnownAs"))); +@property (readonly) NSDictionary *coreProperties __attribute__((swift_name("coreProperties"))); +@property (readonly) NSString *id __attribute__((swift_name("id"))); +@property (readonly) NSDictionary *representationSpecificProperties __attribute__((swift_name("representationSpecificProperties"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DidDataModel.Companion"))) +@interface PAPIDidDataModelCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDidDataModelCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIDidDataModel *)fromDid:(PAPIPrismDid *)did publicKeys:(PAPIKotlinArray *)publicKeys __attribute__((swift_name("from(did:publicKeys:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DidEntryPair"))) +@interface PAPIDidEntryPair : PAPIBase +- (instancetype)initWithKey:(NSString *)key entry:(PAPIDidEntryValue *)entry __attribute__((swift_name("init(key:entry:)"))) __attribute__((objc_designated_initializer)); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIDidEntryValue *)component2 __attribute__((swift_name("component2()"))); +- (PAPIDidEntryPair *)doCopyKey:(NSString *)key entry:(PAPIDidEntryValue *)entry __attribute__((swift_name("doCopy(key:entry:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIDidEntryValue *entry __attribute__((swift_name("entry"))); +@property (readonly) NSString *key __attribute__((swift_name("key"))); +@end; + +__attribute__((swift_name("DidEntryValue"))) +@interface PAPIDidEntryValue : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DidEntryValue.DidEntryBoolean"))) +@interface PAPIDidEntryValueDidEntryBoolean : PAPIDidEntryValue +- (instancetype)initWithValue:(BOOL)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (BOOL)component1 __attribute__((swift_name("component1()"))); +- (PAPIDidEntryValueDidEntryBoolean *)doCopyValue:(BOOL)value __attribute__((swift_name("doCopy(value:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) BOOL value __attribute__((swift_name("value"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DidEntryValue.DidEntryDatetime"))) +@interface PAPIDidEntryValueDidEntryDatetime : PAPIDidEntryValue +- (instancetype)initWithValue:(PAPIInstant *)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (PAPIInstant *)component1 __attribute__((swift_name("component1()"))); +- (PAPIDidEntryValueDidEntryDatetime *)doCopyValue:(PAPIInstant *)value __attribute__((swift_name("doCopy(value:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIInstant *value __attribute__((swift_name("value"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DidEntryValue.DidEntryDouble"))) +@interface PAPIDidEntryValueDidEntryDouble : PAPIDidEntryValue +- (instancetype)initWithValue:(double)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (double)component1 __attribute__((swift_name("component1()"))); +- (PAPIDidEntryValueDidEntryDouble *)doCopyValue:(double)value __attribute__((swift_name("doCopy(value:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) double value __attribute__((swift_name("value"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DidEntryValue.DidEntryInteger"))) +@interface PAPIDidEntryValueDidEntryInteger : PAPIDidEntryValue +- (instancetype)initWithValue:(int32_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (int32_t)component1 __attribute__((swift_name("component1()"))); +- (PAPIDidEntryValueDidEntryInteger *)doCopyValue:(int32_t)value __attribute__((swift_name("doCopy(value:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) int32_t value __attribute__((swift_name("value"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DidEntryValue.DidEntryList"))) +@interface PAPIDidEntryValueDidEntryList : PAPIDidEntryValue +- (instancetype)initWithEntries:(PAPIKotlinArray *)entries __attribute__((swift_name("init(entries:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(NSArray *)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (PAPIDidEntryValueDidEntryList *)doCopyValue:(NSArray *)value __attribute__((swift_name("doCopy(value:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSArray *value __attribute__((swift_name("value"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DidEntryValue.DidEntryMap"))) +@interface PAPIDidEntryValueDidEntryMap : PAPIDidEntryValue +- (instancetype)initWithEntries:(PAPIKotlinArray *)entries __attribute__((swift_name("init(entries:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (PAPIDidEntryValueDidEntryMap *)doCopyInternal:(PAPIMutableDictionary *)internal __attribute__((swift_name("doCopy(internal:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSDictionary *value __attribute__((swift_name("value"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DidEntryValue.DidEntryNull"))) +@interface PAPIDidEntryValueDidEntryNull : PAPIDidEntryValue ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)didEntryNull __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDidEntryValueDidEntryNull *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DidEntryValue.DidEntrySet"))) +@interface PAPIDidEntryValueDidEntrySet : PAPIDidEntryValue +- (instancetype)initWithEntries:(PAPIKotlinArray *)entries __attribute__((swift_name("init(entries:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (PAPIDidEntryValueDidEntrySet *)doCopyInternal:(PAPIMutableSet *)internal __attribute__((swift_name("doCopy(internal:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSSet *value __attribute__((swift_name("value"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DidEntryValue.DidEntryString"))) +@interface PAPIDidEntryValueDidEntryString : PAPIDidEntryValue +- (instancetype)initWithValue:(NSString *)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIDidEntryValueDidEntryString *)doCopyValue:(NSString *)value __attribute__((swift_name("doCopy(value:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *value __attribute__((swift_name("value"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DidMethod"))) +@interface PAPIDidMethod : PAPIBase +@property (class, readonly, getter=companion) PAPIDidMethodCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIDidMethod *)doCopyValue:(NSString *)value __attribute__((swift_name("doCopy(value:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DidMethod.Companion"))) +@interface PAPIDidMethodCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDidMethodCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIDidMethod *)fromStringString:(NSString *)string __attribute__((swift_name("fromString(string:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DidMethodSpecificId"))) +@interface PAPIDidMethodSpecificId : PAPIBase +@property (class, readonly, getter=companion) PAPIDidMethodSpecificIdCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIDidMethodSpecificId *)doCopyValue:(NSString *)value __attribute__((swift_name("doCopy(value:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIKotlinArray *sections __attribute__((swift_name("sections"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DidMethodSpecificId.Companion"))) +@interface PAPIDidMethodSpecificIdCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDidMethodSpecificIdCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIDidMethodSpecificId *)fromSectionsSections:(PAPIKotlinArray *)sections __attribute__((swift_name("fromSections(sections:)"))); +- (PAPIDidMethodSpecificId *)fromStringString:(NSString *)string __attribute__((swift_name("fromString(string:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DidPublicKey"))) +@interface PAPIDidPublicKey : PAPIBase +- (instancetype)initWithId:(NSString *)id usage:(PAPIPublicKeyUsage *)usage publicKey:(PAPIECPublicKey *)publicKey __attribute__((swift_name("init(id:usage:publicKey:)"))) __attribute__((objc_designated_initializer)); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIPublicKeyUsage *)component2 __attribute__((swift_name("component2()"))); +- (PAPIECPublicKey *)component3 __attribute__((swift_name("component3()"))); +- (PAPIDidPublicKey *)doCopyId:(NSString *)id usage:(PAPIPublicKeyUsage *)usage publicKey:(PAPIECPublicKey *)publicKey __attribute__((swift_name("doCopy(id:usage:publicKey:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIPublicKey *)toProto __attribute__((swift_name("toProto()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *id __attribute__((swift_name("id"))); +@property (readonly) PAPIECPublicKey *publicKey __attribute__((swift_name("publicKey"))); +@property (readonly) PAPIPublicKeyUsage *usage __attribute__((swift_name("usage"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DidUrl"))) +@interface PAPIDidUrl : PAPIBase +- (instancetype)initWithDid:(PAPIDid *)did path:(NSArray *)path parameters:(NSDictionary *> *)parameters fragment:(NSString * _Nullable)fragment __attribute__((swift_name("init(did:path:parameters:fragment:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIDidUrlCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIDid *)component1 __attribute__((swift_name("component1()"))); +- (NSArray *)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *> *)component3 __attribute__((swift_name("component3()"))); +- (NSString * _Nullable)component4 __attribute__((swift_name("component4()"))); +- (PAPIDidUrl *)doCopyDid:(PAPIDid *)did path:(NSArray *)path parameters:(NSDictionary *> *)parameters fragment:(NSString * _Nullable)fragment __attribute__((swift_name("doCopy(did:path:parameters:fragment:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIDid *did __attribute__((swift_name("did"))); +@property (readonly) NSString * _Nullable fragment __attribute__((swift_name("fragment"))); +@property (readonly) NSString * _Nullable keyId __attribute__((swift_name("keyId"))); +@property (readonly) NSDictionary *> *parameters __attribute__((swift_name("parameters"))); +@property (readonly) NSArray *path __attribute__((swift_name("path"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DidUrl.Companion"))) +@interface PAPIDidUrlCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDidUrlCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIDidUrl *)fromStringRawDidUrl:(NSString *)rawDidUrl __attribute__((swift_name("fromString(rawDidUrl:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("IssuingKeyUsage"))) +@interface PAPIIssuingKeyUsage : PAPIPublicKeyUsage ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)issuingKeyUsage __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIIssuingKeyUsage *shared __attribute__((swift_name("shared"))); +- (int32_t)derivationIndex __attribute__((swift_name("derivationIndex()"))); +- (PAPIKeyUsage *)toProto __attribute__((swift_name("toProto()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("LongFormPrismDid"))) +@interface PAPILongFormPrismDid : PAPIPrismDid +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (PAPICanonicalPrismDid *)asCanonical __attribute__((swift_name("asCanonical()"))); +- (PAPIDid *)component1 __attribute__((swift_name("component1()"))); +- (PAPISha256Digest *)component2 __attribute__((swift_name("component2()"))); +- (PAPIAtalaOperation *)component3 __attribute__((swift_name("component3()"))); +- (PAPILongFormPrismDid *)doCopyDid:(PAPIDid *)did stateHash:(PAPISha256Digest *)stateHash initialState:(PAPIAtalaOperation *)initialState __attribute__((swift_name("doCopy(did:stateHash:initialState:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIDid *did __attribute__((swift_name("did"))); +@property (readonly) PAPIAtalaOperation *initialState __attribute__((swift_name("initialState"))); +@property (readonly) PAPISha256Digest *stateHash __attribute__((swift_name("stateHash"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MasterKeyUsage"))) +@interface PAPIMasterKeyUsage : PAPIPublicKeyUsage ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)masterKeyUsage __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIMasterKeyUsage *shared __attribute__((swift_name("shared"))); +- (int32_t)derivationIndex __attribute__((swift_name("derivationIndex()"))); +- (PAPIKeyUsage *)toProto __attribute__((swift_name("toProto()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PrismDid.Companion"))) +@interface PAPIPrismDidCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIPrismDidCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICanonicalPrismDid *)buildCanonicalStateHash:(PAPISha256Digest *)stateHash __attribute__((swift_name("buildCanonical(stateHash:)"))); +- (PAPICanonicalPrismDid *)buildCanonicalFromKeysDidPublicKeys:(NSArray *)didPublicKeys __attribute__((swift_name("buildCanonicalFromKeys(didPublicKeys:)"))); +- (PAPICanonicalPrismDid *)buildCanonicalFromMasterPublicKeyMasterKey:(PAPIECPublicKey *)masterKey __attribute__((swift_name("buildCanonicalFromMasterPublicKey(masterKey:)"))); +- (PAPICanonicalPrismDid *)buildCanonicalFromOperationAtalaOperation:(PAPIAtalaOperation *)atalaOperation __attribute__((swift_name("buildCanonicalFromOperation(atalaOperation:)"))); +- (PAPICanonicalPrismDid *)buildExperimentalCanonicalFromKeysMasterKey:(PAPIECPublicKey *)masterKey issuingKey:(PAPIECPublicKey *)issuingKey revocationKey:(PAPIECPublicKey *)revocationKey __attribute__((swift_name("buildExperimentalCanonicalFromKeys(masterKey:issuingKey:revocationKey:)"))); +- (PAPILongFormPrismDid *)buildExperimentalLongFormFromKeysMasterKey:(PAPIECPublicKey *)masterKey issuingKey:(PAPIECPublicKey *)issuingKey revocationKey:(PAPIECPublicKey *)revocationKey __attribute__((swift_name("buildExperimentalLongFormFromKeys(masterKey:issuingKey:revocationKey:)"))); +- (PAPILongFormPrismDid *)buildLongFormStateHash:(PAPISha256Digest *)stateHash encodedState:(PAPIKotlinByteArray *)encodedState __attribute__((swift_name("buildLongForm(stateHash:encodedState:)"))); +- (PAPILongFormPrismDid *)buildLongFormFromMasterPublicKeyMasterKey:(PAPIECPublicKey *)masterKey __attribute__((swift_name("buildLongFormFromMasterPublicKey(masterKey:)"))); +- (PAPILongFormPrismDid *)buildLongFormFromOperationAtalaOperation:(PAPIAtalaOperation *)atalaOperation __attribute__((swift_name("buildLongFormFromOperation(atalaOperation:)"))); +- (PAPILongFormPrismDid *)buildLongFormFromPublicKeysDidPublicKeys:(NSArray *)didPublicKeys __attribute__((swift_name("buildLongFormFromPublicKeys(didPublicKeys:)"))); +- (PAPICanonicalPrismDid *)canonicalFromStringString:(NSString *)string __attribute__((swift_name("canonicalFromString(string:)"))); +- (PAPIPrismDid *)fromDidDid:(PAPIDid *)did __attribute__((swift_name("fromDid(did:)"))); +- (PAPIPrismDid *)fromStringString:(NSString *)string __attribute__((swift_name("fromString(string:)"))); +@property (readonly) NSString *DEFAULT_AUTHENTICATION_KEY_ID __attribute__((swift_name("DEFAULT_AUTHENTICATION_KEY_ID"))); +@property (readonly) NSString *DEFAULT_COMMUNICATION_KEY_ID __attribute__((swift_name("DEFAULT_COMMUNICATION_KEY_ID"))); +@property (readonly) NSString *DEFAULT_ISSUING_KEY_ID __attribute__((swift_name("DEFAULT_ISSUING_KEY_ID"))); +@property (readonly) NSString *DEFAULT_MASTER_KEY_ID __attribute__((swift_name("DEFAULT_MASTER_KEY_ID"))); +@property (readonly) NSString *DEFAULT_REVOCATION_KEY_ID __attribute__((swift_name("DEFAULT_REVOCATION_KEY_ID"))); +@property (readonly) PAPIDidMethod *PRISM_METHOD __attribute__((swift_name("PRISM_METHOD"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PrismDidDataModel"))) +@interface PAPIPrismDidDataModel : PAPIBase +- (instancetype)initWithDid:(PAPIPrismDid *)did publicKeys:(PAPIKotlinArray *)publicKeys __attribute__((swift_name("init(did:publicKeys:)"))) __attribute__((objc_designated_initializer)); +@property (readonly) PAPIPrismDid *did __attribute__((swift_name("did"))); +@property (readonly) PAPIDidDataModel *didDataModel __attribute__((swift_name("didDataModel"))); +@property (readonly) PAPIKotlinArray *publicKeys __attribute__((swift_name("publicKeys"))); +@end; + +__attribute__((swift_name("PrismDidFormatException"))) +@interface PAPIPrismDidFormatException : PAPIKotlinException +- (instancetype)initWithMsg:(NSString *)msg cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(msg:cause:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (instancetype)initWithCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PrismDidFormatException.CanonicalSuffixMatchStateException"))) +@interface PAPIPrismDidFormatExceptionCanonicalSuffixMatchStateException : PAPIPrismDidFormatException ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithMsg:(NSString *)msg cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(msg:cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)canonicalSuffixMatchStateException __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIPrismDidFormatExceptionCanonicalSuffixMatchStateException *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PrismDidFormatException.CreateDidExpectedAsInitialState"))) +@interface PAPIPrismDidFormatExceptionCreateDidExpectedAsInitialState : PAPIPrismDidFormatException +- (instancetype)initWithOperation:(PAPIAtalaOperationOperation *)operation __attribute__((swift_name("init(operation:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithMsg:(NSString *)msg cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(msg:cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PrismDidFormatException.InvalidAtalaOperationException"))) +@interface PAPIPrismDidFormatExceptionInvalidAtalaOperationException : PAPIPrismDidFormatException +- (instancetype)initWithE:(PAPIKotlinException *)e __attribute__((swift_name("init(e:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithMsg:(NSString *)msg cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(msg:cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PrismDidFormatException.UnrecognizedPrismDidException"))) +@interface PAPIPrismDidFormatExceptionUnrecognizedPrismDidException : PAPIPrismDidFormatException ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithMsg:(NSString *)msg cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(msg:cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)unrecognizedPrismDidException __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIPrismDidFormatExceptionUnrecognizedPrismDidException *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PrismKeyInformation"))) +@interface PAPIPrismKeyInformation : PAPIBase +- (instancetype)initWithDidPublicKey:(PAPIDidPublicKey *)didPublicKey addedOn:(PAPILedgerData * _Nullable)addedOn revokedOn:(PAPILedgerData * _Nullable)revokedOn __attribute__((swift_name("init(didPublicKey:addedOn:revokedOn:)"))) __attribute__((objc_designated_initializer)); +- (PAPIDidPublicKey *)component1 __attribute__((swift_name("component1()"))); +- (PAPILedgerData * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (PAPILedgerData * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (PAPIPrismKeyInformation *)doCopyDidPublicKey:(PAPIDidPublicKey *)didPublicKey addedOn:(PAPILedgerData * _Nullable)addedOn revokedOn:(PAPILedgerData * _Nullable)revokedOn __attribute__((swift_name("doCopy(didPublicKey:addedOn:revokedOn:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPILedgerData * _Nullable addedOn __attribute__((swift_name("addedOn"))); +@property (readonly) PAPIDidPublicKey *didPublicKey __attribute__((swift_name("didPublicKey"))); +@property (readonly) PAPILedgerData * _Nullable revokedOn __attribute__((swift_name("revokedOn"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PublicKeyUsage.Companion"))) +@interface PAPIPublicKeyUsageCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIPublicKeyUsageCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIPublicKeyUsage *)fromProtoKeyUsage:(PAPIKeyUsage *)keyUsage __attribute__((swift_name("fromProto(keyUsage:)"))); +@property (readonly) NSArray *values __attribute__((swift_name("values"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RevocationKeyUsage"))) +@interface PAPIRevocationKeyUsage : PAPIPublicKeyUsage ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)revocationKeyUsage __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIRevocationKeyUsage *shared __attribute__((swift_name("shared"))); +- (int32_t)derivationIndex __attribute__((swift_name("derivationIndex()"))); +- (PAPIKeyUsage *)toProto __attribute__((swift_name("toProto()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Aes"))) +@interface PAPIAes : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)aes __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIAes *shared __attribute__((swift_name("shared"))); +- (PAPIKotlinByteArray *)decryptEncryptedData:(PAPIAesEncryptedData *)encryptedData key:(PAPISymmetricKey *)key __attribute__((swift_name("decrypt(encryptedData:key:)"))); +- (PAPIAesEncryptedData *)encryptData:(PAPIKotlinByteArray *)data key:(PAPISymmetricKey *)key __attribute__((swift_name("encrypt(data:key:)"))); +- (PAPIAesEncryptedData *)encryptData:(PAPIKotlinByteArray *)data key:(PAPISymmetricKey *)key iv:(PAPIKotlinByteArray *)iv __attribute__((swift_name("encrypt(data:key:iv:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AesEncryptedData"))) +@interface PAPIAesEncryptedData : PAPIBase +- (instancetype)initWithData:(PAPIKotlinByteArray *)data iv:(PAPIKotlinByteArray *)iv salt:(PAPIKotlinByteArray * _Nullable)salt __attribute__((swift_name("init(data:iv:salt:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIAesEncryptedDataCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIKotlinByteArray *)combined __attribute__((swift_name("combined()"))); +- (PAPIKotlinByteArray *)component1 __attribute__((swift_name("component1()"))); +- (PAPIKotlinByteArray *)component2 __attribute__((swift_name("component2()"))); +- (PAPIKotlinByteArray * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (PAPIAesEncryptedData *)doCopyData:(PAPIKotlinByteArray *)data iv:(PAPIKotlinByteArray *)iv salt:(PAPIKotlinByteArray * _Nullable)salt __attribute__((swift_name("doCopy(data:iv:salt:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIKotlinByteArray *data __attribute__((swift_name("data"))); +@property (readonly) PAPIKotlinByteArray *iv __attribute__((swift_name("iv"))); +@property (readonly) PAPIKotlinByteArray * _Nullable salt __attribute__((swift_name("salt"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AesEncryptedData.Companion"))) +@interface PAPIAesEncryptedDataCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIAesEncryptedDataCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIAesEncryptedData *)fromCombinedBytes:(PAPIKotlinByteArray *)bytes __attribute__((swift_name("fromCombined(bytes:)"))); +@end; + +__attribute__((swift_name("ECAbstract"))) +@interface PAPIECAbstract : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (PAPIECKeyPair *)generateKeyPair __attribute__((swift_name("generateKeyPair()"))); +- (BOOL)isSecp256k1Point:(PAPIECPoint *)point __attribute__((swift_name("isSecp256k1(point:)"))); +- (PAPIECSignature *)signBytesData:(PAPIKotlinByteArray *)data privateKey:(PAPIECPrivateKey *)privateKey __attribute__((swift_name("signBytes(data:privateKey:)"))); +- (PAPIECSignature *)signTextText:(NSString *)text privateKey:(PAPIECPrivateKey *)privateKey __attribute__((swift_name("signText(text:privateKey:)"))); +- (PAPIECPrivateKey *)toPrivateKeyFromBigIntegerD:(PAPIBigInteger *)d __attribute__((swift_name("toPrivateKeyFromBigInteger(d:)"))); +- (PAPIECPrivateKey *)toPrivateKeyFromBytesEncoded:(PAPIKotlinByteArray *)encoded __attribute__((swift_name("toPrivateKeyFromBytes(encoded:)"))); +- (PAPIECPublicKey *)toPublicKeyFromBigIntegerCoordinatesX:(PAPIBigInteger *)x y:(PAPIBigInteger *)y __attribute__((swift_name("toPublicKeyFromBigIntegerCoordinates(x:y:)"))); +- (PAPIECPublicKey *)toPublicKeyFromByteCoordinatesX:(PAPIKotlinByteArray *)x y:(PAPIKotlinByteArray *)y __attribute__((swift_name("toPublicKeyFromByteCoordinates(x:y:)"))); +- (PAPIECPublicKey *)toPublicKeyFromBytesEncoded:(PAPIKotlinByteArray *)encoded __attribute__((swift_name("toPublicKeyFromBytes(encoded:)"))); +- (PAPIECPublicKey *)toPublicKeyFromCompressedCompressed:(PAPIKotlinByteArray *)compressed __attribute__((swift_name("toPublicKeyFromCompressed(compressed:)"))); +- (PAPIECPublicKey *)toPublicKeyFromPrivateKeyPrivateKey:(PAPIECPrivateKey *)privateKey __attribute__((swift_name("toPublicKeyFromPrivateKey(privateKey:)"))); +- (PAPIECSignature *)toSignatureFromBytesEncoded:(PAPIKotlinByteArray *)encoded __attribute__((swift_name("toSignatureFromBytes(encoded:)"))); +- (BOOL)verifyBytesData:(PAPIKotlinByteArray *)data publicKey:(PAPIECPublicKey *)publicKey signature:(PAPIECSignature *)signature __attribute__((swift_name("verifyBytes(data:publicKey:signature:)"))); +- (BOOL)verifyTextText:(NSString *)text publicKey:(PAPIECPublicKey *)publicKey signature:(PAPIECSignature *)signature __attribute__((swift_name("verifyText(text:publicKey:signature:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("EC"))) +@interface PAPIEC : PAPIECAbstract ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)eC __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIEC *shared __attribute__((swift_name("shared"))); +- (PAPIECKeyPair *)generateKeyPair __attribute__((swift_name("generateKeyPair()"))); +- (PAPIECSignature *)signBytesData:(PAPIKotlinByteArray *)data privateKey:(PAPIECPrivateKey *)privateKey __attribute__((swift_name("signBytes(data:privateKey:)"))); +- (PAPIECPrivateKey *)toPrivateKeyFromBigIntegerD:(PAPIBigInteger *)d __attribute__((swift_name("toPrivateKeyFromBigInteger(d:)"))); +- (PAPIECPublicKey *)toPublicKeyFromBigIntegerCoordinatesX:(PAPIBigInteger *)x y:(PAPIBigInteger *)y __attribute__((swift_name("toPublicKeyFromBigIntegerCoordinates(x:y:)"))); +- (PAPIECPublicKey *)toPublicKeyFromCompressedCompressed:(PAPIKotlinByteArray *)compressed __attribute__((swift_name("toPublicKeyFromCompressed(compressed:)"))); +- (PAPIECPublicKey *)toPublicKeyFromPrivateKeyPrivateKey:(PAPIECPrivateKey *)privateKey __attribute__((swift_name("toPublicKeyFromPrivateKey(privateKey:)"))); +- (BOOL)verifyBytesData:(PAPIKotlinByteArray *)data publicKey:(PAPIECPublicKey *)publicKey signature:(PAPIECSignature *)signature __attribute__((swift_name("verifyBytes(data:publicKey:signature:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ECConfig"))) +@interface PAPIECConfig : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)eCConfig __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIECConfig *shared __attribute__((swift_name("shared"))); +@property (readonly) NSString *CURVE_NAME __attribute__((swift_name("CURVE_NAME"))); +@property (readonly) int32_t PRIVATE_KEY_BYTE_SIZE __attribute__((swift_name("PRIVATE_KEY_BYTE_SIZE"))); +@property (readonly) int32_t PUBLIC_KEY_BYTE_SIZE __attribute__((swift_name("PUBLIC_KEY_BYTE_SIZE"))); +@property (readonly) int32_t PUBLIC_KEY_COMPRESSED_BYTE_SIZE __attribute__((swift_name("PUBLIC_KEY_COMPRESSED_BYTE_SIZE"))); +@property (readonly) int32_t PUBLIC_KEY_COORDINATE_BYTE_SIZE __attribute__((swift_name("PUBLIC_KEY_COORDINATE_BYTE_SIZE"))); +@property (readonly) int32_t SIGNATURE_MAX_BYTE_SIZE __attribute__((swift_name("SIGNATURE_MAX_BYTE_SIZE"))); +@end; + +__attribute__((swift_name("Encodable"))) +@protocol PAPIEncodable +@required +- (PAPIKotlinByteArray *)getEncoded __attribute__((swift_name("getEncoded()"))); +- (NSString *)getHexEncoded __attribute__((swift_name("getHexEncoded()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("HmacSha256"))) +@interface PAPIHmacSha256 : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)hmacSha256 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIHmacSha256 *shared __attribute__((swift_name("shared"))); +- (PAPIKotlinByteArray *)computeData:(PAPIKotlinByteArray *)data key:(PAPISymmetricKey *)key __attribute__((swift_name("compute(data:key:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MerkleInclusionProof"))) +@interface PAPIMerkleInclusionProof : PAPIBase +- (instancetype)initWithHash:(PAPISha256Digest *)hash index:(int32_t)index siblings:(NSArray *)siblings __attribute__((swift_name("init(hash:index:siblings:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIMerkleInclusionProofCompanion *companion __attribute__((swift_name("companion"))); +- (PAPISha256Digest *)component1 __attribute__((swift_name("component1()"))); +- (int32_t)component2 __attribute__((swift_name("component2()"))); +- (NSArray *)component3 __attribute__((swift_name("component3()"))); +- (PAPIMerkleInclusionProof *)doCopyHash:(PAPISha256Digest *)hash index:(int32_t)index siblings:(NSArray *)siblings __attribute__((swift_name("doCopy(hash:index:siblings:)"))); +- (PAPIMerkleRoot *)derivedRoot __attribute__((swift_name("derivedRoot()"))); +- (NSString *)encode __attribute__((swift_name("encode()"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSDictionary *)toJson __attribute__((swift_name("toJson()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly, getter=hash_) PAPISha256Digest *hash __attribute__((swift_name("hash"))); +@property (readonly) int32_t index __attribute__((swift_name("index"))); +@property (readonly) NSArray *siblings __attribute__((swift_name("siblings"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MerkleInclusionProof.Companion"))) +@interface PAPIMerkleInclusionProofCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIMerkleInclusionProofCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIMerkleInclusionProof *)decodeEncoded:(NSString *)encoded __attribute__((swift_name("decode(encoded:)"))); +- (PAPIMerkleInclusionProof *)decodeJsonJson:(NSDictionary *)json __attribute__((swift_name("decodeJson(json:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MerkleProofs"))) +@interface PAPIMerkleProofs : PAPIBase +- (instancetype)initWithRoot:(PAPIMerkleRoot *)root proofs:(NSArray *)proofs __attribute__((swift_name("init(root:proofs:)"))) __attribute__((objc_designated_initializer)); +- (PAPIMerkleRoot *)component1 __attribute__((swift_name("component1()"))); +- (NSArray *)component2 __attribute__((swift_name("component2()"))); +- (PAPIMerkleProofs *)doCopyRoot:(PAPIMerkleRoot *)root proofs:(NSArray *)proofs __attribute__((swift_name("doCopy(root:proofs:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSArray *proofs __attribute__((swift_name("proofs"))); +@property (readonly) PAPIMerkleRoot *root __attribute__((swift_name("root"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MerkleRoot"))) +@interface PAPIMerkleRoot : PAPIBase +- (instancetype)initWithHash:(PAPISha256Digest *)hash __attribute__((swift_name("init(hash:)"))) __attribute__((objc_designated_initializer)); +- (PAPISha256Digest *)component1 __attribute__((swift_name("component1()"))); +- (PAPIMerkleRoot *)doCopyHash:(PAPISha256Digest *)hash __attribute__((swift_name("doCopy(hash:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly, getter=hash_) PAPISha256Digest *hash __attribute__((swift_name("hash"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Sha256"))) +@interface PAPISha256 : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)sha256 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPISha256 *shared __attribute__((swift_name("shared"))); +- (PAPISha256Digest *)computeBytes:(PAPIKotlinByteArray *)bytes __attribute__((swift_name("compute(bytes:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Sha256Digest"))) +@interface PAPISha256Digest : PAPIBase +@property (class, readonly, getter=companion) PAPISha256DigestCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIKotlinByteArray *)component1 __attribute__((swift_name("component1()"))); +- (PAPISha256Digest *)doCopyValue:(PAPIKotlinByteArray *)value __attribute__((swift_name("doCopy(value:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *hexValue __attribute__((swift_name("hexValue"))); +@property (readonly) PAPIKotlinByteArray *value __attribute__((swift_name("value"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Sha256Digest.Companion"))) +@interface PAPISha256DigestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPISha256DigestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPISha256Digest *)fromBytesBytes:(PAPIKotlinByteArray *)bytes __attribute__((swift_name("fromBytes(bytes:)"))); +- (PAPISha256Digest *)fromHexString:(NSString *)string __attribute__((swift_name("fromHex(string:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SymmetricKey"))) +@interface PAPISymmetricKey : PAPIBase +- (instancetype)initWithRaw:(PAPIKotlinByteArray *)raw __attribute__((swift_name("init(raw:)"))) __attribute__((objc_designated_initializer)); +- (PAPISymmetricKey *)doCopyRaw:(PAPIKotlinByteArray *)raw __attribute__((swift_name("doCopy(raw:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@end; + +__attribute__((swift_name("ECSignatureCommon"))) +@interface PAPIECSignatureCommon : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ECSignature"))) +@interface PAPIECSignature : PAPIECSignatureCommon +- (instancetype)initWithData:(PAPIKotlinByteArray *)data __attribute__((swift_name("init(data:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (PAPIKotlinByteArray *)getEncoded __attribute__((swift_name("getEncoded()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DerivationAxis"))) +@interface PAPIDerivationAxis : PAPIBase +@property (class, readonly, getter=companion) PAPIDerivationAxisCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) BOOL hardened __attribute__((swift_name("hardened"))); +@property (readonly) int32_t i __attribute__((swift_name("i"))); +@property (readonly) int32_t number __attribute__((swift_name("number"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DerivationAxis.Companion"))) +@interface PAPIDerivationAxisCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDerivationAxisCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIDerivationAxis *)hardenedNum:(int32_t)num __attribute__((swift_name("hardened(num:)"))); +- (PAPIDerivationAxis *)normalNum:(int32_t)num __attribute__((swift_name("normal(num:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DerivationPath"))) +@interface PAPIDerivationPath : PAPIBase +- (instancetype)initWithAxes:(NSArray *)axes __attribute__((swift_name("init(axes:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIDerivationPathCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (PAPIDerivationPath *)doCopyAxes:(NSArray *)axes __attribute__((swift_name("doCopy(axes:)"))); +- (PAPIDerivationPath *)deriveAxis:(PAPIDerivationAxis *)axis __attribute__((swift_name("derive(axis:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSArray *axes __attribute__((swift_name("axes"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DerivationPath.Companion"))) +@interface PAPIDerivationPathCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDerivationPathCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIDerivationPath *)empty __attribute__((swift_name("empty()"))); +- (PAPIDerivationPath *)fromPathPath:(NSString *)path __attribute__((swift_name("fromPath(path:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ExtendedKey"))) +@interface PAPIExtendedKey : PAPIBase +- (instancetype)initWithKey:(PAPIDeterministicWalletExtendedPrivateKey *)key __attribute__((swift_name("init(key:)"))) __attribute__((objc_designated_initializer)); +- (PAPIExtendedKey *)deriveAxis:(PAPIDerivationAxis *)axis __attribute__((swift_name("derive(axis:)"))); +- (PAPIECKeyPair *)keyPair __attribute__((swift_name("keyPair()"))); +- (PAPIDerivationPath *)path __attribute__((swift_name("path()"))); +- (PAPIECPrivateKey *)privateKey __attribute__((swift_name("privateKey()"))); +- (PAPIECPublicKey *)publicKey __attribute__((swift_name("publicKey()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KeyDerivation"))) +@interface PAPIKeyDerivation : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)keyDerivation __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKeyDerivation *shared __attribute__((swift_name("shared"))); +- (PAPIKotlinByteArray *)binarySeedSeed:(PAPIMnemonicCode *)seed passphrase:(NSString *)passphrase __attribute__((swift_name("binarySeed(seed:passphrase:)"))); +- (PAPIExtendedKey *)derivationRootSeed:(PAPIKotlinByteArray *)seed __attribute__((swift_name("derivationRoot(seed:)"))); +- (PAPIExtendedKey *)deriveKeySeed:(PAPIKotlinByteArray *)seed path:(PAPIDerivationPath *)path __attribute__((swift_name("deriveKey(seed:path:)"))); +- (NSArray *)getValidMnemonicWords __attribute__((swift_name("getValidMnemonicWords()"))); +- (BOOL)isValidMnemonicWordWord:(NSString *)word __attribute__((swift_name("isValidMnemonicWord(word:)"))); +- (PAPIMnemonicCode *)randomMnemonicCode __attribute__((swift_name("randomMnemonicCode()"))); +@end; + +__attribute__((swift_name("MnemonicException"))) +@interface PAPIMnemonicException : PAPIKotlinException +- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (instancetype)initWithCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MnemonicChecksumException"))) +@interface PAPIMnemonicChecksumException : PAPIMnemonicException +- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MnemonicCode"))) +@interface PAPIMnemonicCode : PAPIBase +- (instancetype)initWithWords:(NSArray *)words __attribute__((swift_name("init(words:)"))) __attribute__((objc_designated_initializer)); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (PAPIMnemonicCode *)doCopyWords:(NSArray *)words __attribute__((swift_name("doCopy(words:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSArray *words __attribute__((swift_name("words"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MnemonicLengthException"))) +@interface PAPIMnemonicLengthException : PAPIMnemonicException +- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MnemonicWordException"))) +@interface PAPIMnemonicWordException : PAPIMnemonicException +- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ECCoordinate"))) +@interface PAPIECCoordinate : PAPIBase +- (instancetype)initWithCoordinate:(PAPIBigInteger *)coordinate __attribute__((swift_name("init(coordinate:)"))) __attribute__((objc_designated_initializer)); +- (PAPIKotlinByteArray *)bytes __attribute__((swift_name("bytes()"))); +- (PAPIBigInteger *)component1 __attribute__((swift_name("component1()"))); +- (PAPIECCoordinate *)doCopyCoordinate:(PAPIBigInteger *)coordinate __attribute__((swift_name("doCopy(coordinate:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIBigInteger *coordinate __attribute__((swift_name("coordinate"))); +@end; + +__attribute__((swift_name("ECKey"))) +@interface PAPIECKey : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ECKeyPair"))) +@interface PAPIECKeyPair : PAPIBase +- (instancetype)initWithPublicKey:(PAPIECPublicKey *)publicKey privateKey:(PAPIECPrivateKey *)privateKey __attribute__((swift_name("init(publicKey:privateKey:)"))) __attribute__((objc_designated_initializer)); +- (PAPIECPublicKey *)component1 __attribute__((swift_name("component1()"))); +- (PAPIECPrivateKey *)component2 __attribute__((swift_name("component2()"))); +- (PAPIECKeyPair *)doCopyPublicKey:(PAPIECPublicKey *)publicKey privateKey:(PAPIECPrivateKey *)privateKey __attribute__((swift_name("doCopy(publicKey:privateKey:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIECPrivateKey *privateKey __attribute__((swift_name("privateKey"))); +@property (readonly) PAPIECPublicKey *publicKey __attribute__((swift_name("publicKey"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ECPoint"))) +@interface PAPIECPoint : PAPIBase +- (instancetype)initWithX:(PAPIBigInteger *)x y:(PAPIBigInteger *)y __attribute__((swift_name("init(x:y:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithX:(PAPIECCoordinate *)x y_:(PAPIECCoordinate *)y __attribute__((swift_name("init(x:y_:)"))) __attribute__((objc_designated_initializer)); +- (PAPIECCoordinate *)component1 __attribute__((swift_name("component1()"))); +- (PAPIECCoordinate *)component2 __attribute__((swift_name("component2()"))); +- (PAPIECPoint *)doCopyX:(PAPIECCoordinate *)x y:(PAPIECCoordinate *)y __attribute__((swift_name("doCopy(x:y:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIECCoordinate *x __attribute__((swift_name("x"))); +@property (readonly) PAPIECCoordinate *y __attribute__((swift_name("y"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ECPrivateKey"))) +@interface PAPIECPrivateKey : PAPIECKey +- (instancetype)initWithKey:(id)key __attribute__((swift_name("init(key:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (PAPIBigInteger *)getD __attribute__((swift_name("getD()"))); +- (PAPIKotlinByteArray *)getEncoded __attribute__((swift_name("getEncoded()"))); +@end; + +__attribute__((swift_name("ECPublicKeyCommon"))) +@interface PAPIECPublicKeyCommon : PAPIECKey +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (PAPIECPoint *)getCurvePoint __attribute__((swift_name("getCurvePoint()"))); +- (PAPIKotlinByteArray *)getEncoded __attribute__((swift_name("getEncoded()"))); +- (PAPIKotlinByteArray *)getEncodedCompressed __attribute__((swift_name("getEncodedCompressed()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ECPublicKey"))) +@interface PAPIECPublicKey : PAPIECPublicKeyCommon +- (instancetype)initWithKey:(id)key __attribute__((swift_name("init(key:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (PAPIECPoint *)getCurvePoint __attribute__((swift_name("getCurvePoint()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BytesOps"))) +@interface PAPIBytesOps : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)bytesOps __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIBytesOps *shared __attribute__((swift_name("shared"))); +- (NSString *)bytesToHexBytes:(PAPIKotlinByteArray *)bytes __attribute__((swift_name("bytesToHex(bytes:)"))); +- (PAPIKotlinByteArray *)hexToBytesString:(NSString *)string __attribute__((swift_name("hexToBytes(string:)"))); +@end; + +__attribute__((swift_name("Message"))) +@protocol PAPIMessage +@required +- (id)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +@property (readonly) PAPIMessageDescriptor> *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AddConnectionFromTokenRequest"))) +@interface PAPIAddConnectionFromTokenRequest : PAPIBase +- (instancetype)initWithToken:(NSString *)token holderEncodedPublicKey:(PAPIEncodedPublicKey * _Nullable)holderEncodedPublicKey unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(token:holderEncodedPublicKey:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIAddConnectionFromTokenRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIEncodedPublicKey * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIAddConnectionFromTokenRequest *)doCopyToken:(NSString *)token holderEncodedPublicKey:(PAPIEncodedPublicKey * _Nullable)holderEncodedPublicKey unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(token:holderEncodedPublicKey:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIAddConnectionFromTokenRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIEncodedPublicKey * _Nullable holderEncodedPublicKey __attribute__((swift_name("holderEncodedPublicKey"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSString *token __attribute__((swift_name("token"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((swift_name("MessageCompanion"))) +@protocol PAPIMessageCompanion +@required +- (id)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIMessageDescriptor> *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AddConnectionFromTokenRequest.Companion"))) +@interface PAPIAddConnectionFromTokenRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIAddConnectionFromTokenRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIAddConnectionFromTokenRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIAddConnectionFromTokenRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AddConnectionFromTokenResponse"))) +@interface PAPIAddConnectionFromTokenResponse : PAPIBase +- (instancetype)initWithConnection:(PAPIConnectionInfo * _Nullable)connection unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(connection:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIAddConnectionFromTokenResponseCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIConnectionInfo * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIAddConnectionFromTokenResponse *)doCopyConnection:(PAPIConnectionInfo * _Nullable)connection unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(connection:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIAddConnectionFromTokenResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIConnectionInfo * _Nullable connection __attribute__((swift_name("connection"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AddConnectionFromTokenResponse.Companion"))) +@interface PAPIAddConnectionFromTokenResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIAddConnectionFromTokenResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIAddConnectionFromTokenResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIAddConnectionFromTokenResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AddKeyAction"))) +@interface PAPIAddKeyAction : PAPIBase +- (instancetype)initWithKey:(PAPIPublicKey * _Nullable)key unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(key:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIAddKeyActionCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIPublicKey * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIAddKeyAction *)doCopyKey:(PAPIPublicKey * _Nullable)key unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(key:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIAddKeyAction *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIPublicKey * _Nullable key __attribute__((swift_name("key"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AddKeyAction.Companion"))) +@interface PAPIAddKeyActionCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIAddKeyActionCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIAddKeyAction *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIAddKeyAction *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ArchiveCredentialTypeCategoryRequest"))) +@interface PAPIArchiveCredentialTypeCategoryRequest : PAPIBase +- (instancetype)initWithCredentialTypeCategoryId:(NSString *)credentialTypeCategoryId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(credentialTypeCategoryId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIArchiveCredentialTypeCategoryRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIArchiveCredentialTypeCategoryRequest *)doCopyCredentialTypeCategoryId:(NSString *)credentialTypeCategoryId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(credentialTypeCategoryId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIArchiveCredentialTypeCategoryRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *credentialTypeCategoryId __attribute__((swift_name("credentialTypeCategoryId"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ArchiveCredentialTypeCategoryRequest.Companion"))) +@interface PAPIArchiveCredentialTypeCategoryRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIArchiveCredentialTypeCategoryRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIArchiveCredentialTypeCategoryRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIArchiveCredentialTypeCategoryRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ArchiveCredentialTypeCategoryResponse"))) +@interface PAPIArchiveCredentialTypeCategoryResponse : PAPIBase +- (instancetype)initWithCredentialTypeCategory:(PAPICredentialTypeCategory * _Nullable)credentialTypeCategory unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(credentialTypeCategory:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIArchiveCredentialTypeCategoryResponseCompanion *companion __attribute__((swift_name("companion"))); +- (PAPICredentialTypeCategory * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIArchiveCredentialTypeCategoryResponse *)doCopyCredentialTypeCategory:(PAPICredentialTypeCategory * _Nullable)credentialTypeCategory unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(credentialTypeCategory:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIArchiveCredentialTypeCategoryResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPICredentialTypeCategory * _Nullable credentialTypeCategory __attribute__((swift_name("credentialTypeCategory"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ArchiveCredentialTypeCategoryResponse.Companion"))) +@interface PAPIArchiveCredentialTypeCategoryResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIArchiveCredentialTypeCategoryResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIArchiveCredentialTypeCategoryResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIArchiveCredentialTypeCategoryResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtalaBlock"))) +@interface PAPIAtalaBlock : PAPIBase +- (instancetype)initWithOperations:(NSArray *)operations unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(operations:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIAtalaBlockCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIAtalaBlock *)doCopyOperations:(NSArray *)operations unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(operations:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIAtalaBlock *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSArray *operations __attribute__((swift_name("operations"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtalaBlock.Companion"))) +@interface PAPIAtalaBlockCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIAtalaBlockCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIAtalaBlock *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIAtalaBlock *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtalaErrorMessage"))) +@interface PAPIAtalaErrorMessage : PAPIBase +- (instancetype)initWithStatus:(PAPIStatus * _Nullable)status unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(status:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIAtalaErrorMessageCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIStatus * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIAtalaErrorMessage *)doCopyStatus:(PAPIStatus * _Nullable)status unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(status:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIAtalaErrorMessage *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPIStatus * _Nullable status __attribute__((swift_name("status"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtalaErrorMessage.Companion"))) +@interface PAPIAtalaErrorMessageCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIAtalaErrorMessageCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIAtalaErrorMessage *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIAtalaErrorMessage *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtalaMessage"))) +@interface PAPIAtalaMessage : PAPIBase +- (instancetype)initWithReplyTo:(NSString *)replyTo message:(PAPIAtalaMessageMessage * _Nullable)message unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(replyTo:message:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIAtalaMessageCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIAtalaMessageMessage * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIAtalaMessage *)doCopyReplyTo:(NSString *)replyTo message:(PAPIAtalaMessageMessage * _Nullable)message unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(replyTo:message:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIAtalaMessage *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIAtalaErrorMessage * _Nullable atalaErrorMessage __attribute__((swift_name("atalaErrorMessage"))); +@property (readonly) PAPICredentialRevoked * _Nullable credentialRevoked __attribute__((swift_name("credentialRevoked"))); +@property (readonly) PAPIAny * _Nullable customMessage __attribute__((swift_name("customMessage"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIEncryptedMessage * _Nullable encryptedMessage __attribute__((swift_name("encryptedMessage"))); +@property (readonly) PAPIAtalaMessageMessage * _Nullable message __attribute__((swift_name("message"))); +@property (readonly) PAPIPlainTextCredential * _Nullable plainCredential __attribute__((swift_name("plainCredential"))); +@property (readonly) PAPIProofRequest * _Nullable proofRequest __attribute__((swift_name("proofRequest"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSString *replyTo __attribute__((swift_name("replyTo"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtalaMessage.Companion"))) +@interface PAPIAtalaMessageCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIAtalaMessageCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIAtalaMessage *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIAtalaMessage *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("MessageOneOf"))) +@interface PAPIMessageOneOf : PAPIBase +- (instancetype)initWithValue:(T _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) T _Nullable value __attribute__((swift_name("value"))); +@end; + +__attribute__((swift_name("AtalaMessageMessage"))) +@interface PAPIAtalaMessageMessage : PAPIMessageOneOf +- (instancetype)initWithValue:(V _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtalaMessageMessageAtalaErrorMessage"))) +@interface PAPIAtalaMessageMessageAtalaErrorMessage : PAPIAtalaMessageMessage +- (instancetype)initWithAtalaErrorMessage:(PAPIAtalaErrorMessage *)atalaErrorMessage __attribute__((swift_name("init(atalaErrorMessage:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(id _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtalaMessageMessageCredentialRevoked"))) +@interface PAPIAtalaMessageMessageCredentialRevoked : PAPIAtalaMessageMessage +- (instancetype)initWithCredentialRevoked:(PAPICredentialRevoked *)credentialRevoked __attribute__((swift_name("init(credentialRevoked:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(id _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtalaMessageMessageCustomMessage"))) +@interface PAPIAtalaMessageMessageCustomMessage : PAPIAtalaMessageMessage +- (instancetype)initWithCustomMessage:(PAPIAny *)customMessage __attribute__((swift_name("init(customMessage:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(id _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtalaMessageMessageEncryptedMessage"))) +@interface PAPIAtalaMessageMessageEncryptedMessage : PAPIAtalaMessageMessage +- (instancetype)initWithEncryptedMessage:(PAPIEncryptedMessage *)encryptedMessage __attribute__((swift_name("init(encryptedMessage:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(id _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtalaMessageMessagePlainCredential"))) +@interface PAPIAtalaMessageMessagePlainCredential : PAPIAtalaMessageMessage +- (instancetype)initWithPlainCredential:(PAPIPlainTextCredential *)plainCredential __attribute__((swift_name("init(plainCredential:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(id _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtalaMessageMessageProofRequest"))) +@interface PAPIAtalaMessageMessageProofRequest : PAPIAtalaMessageMessage +- (instancetype)initWithProofRequest:(PAPIProofRequest *)proofRequest __attribute__((swift_name("init(proofRequest:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(id _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtalaObject"))) +@interface PAPIAtalaObject : PAPIBase +- (instancetype)initWithBlockOperationCount:(int32_t)blockOperationCount blockByteLength:(int32_t)blockByteLength blockContent:(PAPIAtalaBlock * _Nullable)blockContent unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(blockOperationCount:blockByteLength:blockContent:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIAtalaObjectCompanion *companion __attribute__((swift_name("companion"))); +- (int32_t)component1 __attribute__((swift_name("component1()"))); +- (int32_t)component2 __attribute__((swift_name("component2()"))); +- (PAPIAtalaBlock * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPIAtalaObject *)doCopyBlockOperationCount:(int32_t)blockOperationCount blockByteLength:(int32_t)blockByteLength blockContent:(PAPIAtalaBlock * _Nullable)blockContent unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(blockOperationCount:blockByteLength:blockContent:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIAtalaObject *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) int32_t blockByteLength __attribute__((swift_name("blockByteLength"))); +@property (readonly) PAPIAtalaBlock * _Nullable blockContent __attribute__((swift_name("blockContent"))); +@property (readonly) int32_t blockOperationCount __attribute__((swift_name("blockOperationCount"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtalaObject.Companion"))) +@interface PAPIAtalaObjectCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIAtalaObjectCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIAtalaObject *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIAtalaObject *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtalaOperation"))) +@interface PAPIAtalaOperation : PAPIBase +- (instancetype)initWithOperation:(PAPIAtalaOperationOperation * _Nullable)operation unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(operation:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIAtalaOperationCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIAtalaOperationOperation * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIAtalaOperation *)doCopyOperation:(PAPIAtalaOperationOperation * _Nullable)operation unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(operation:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIAtalaOperation *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPICreateDIDOperation * _Nullable createDid __attribute__((swift_name("createDid"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIIssueCredentialBatchOperation * _Nullable issueCredentialBatch __attribute__((swift_name("issueCredentialBatch"))); +@property (readonly) PAPIAtalaOperationOperation * _Nullable operation __attribute__((swift_name("operation"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPIProtocolVersionUpdateOperation * _Nullable protocolVersionUpdate __attribute__((swift_name("protocolVersionUpdate"))); +@property (readonly) PAPIRevokeCredentialsOperation * _Nullable revokeCredentials __attribute__((swift_name("revokeCredentials"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@property (readonly) PAPIUpdateDIDOperation * _Nullable updateDid __attribute__((swift_name("updateDid"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtalaOperation.Companion"))) +@interface PAPIAtalaOperationCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIAtalaOperationCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIAtalaOperation *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIAtalaOperation *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("AtalaOperationOperation"))) +@interface PAPIAtalaOperationOperation : PAPIMessageOneOf +- (instancetype)initWithValue:(V _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtalaOperationOperationCreateDid"))) +@interface PAPIAtalaOperationOperationCreateDid : PAPIAtalaOperationOperation +- (instancetype)initWithCreateDid:(PAPICreateDIDOperation *)createDid __attribute__((swift_name("init(createDid:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(id _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtalaOperationOperationIssueCredentialBatch"))) +@interface PAPIAtalaOperationOperationIssueCredentialBatch : PAPIAtalaOperationOperation +- (instancetype)initWithIssueCredentialBatch:(PAPIIssueCredentialBatchOperation *)issueCredentialBatch __attribute__((swift_name("init(issueCredentialBatch:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(id _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtalaOperationOperationProtocolVersionUpdate"))) +@interface PAPIAtalaOperationOperationProtocolVersionUpdate : PAPIAtalaOperationOperation +- (instancetype)initWithProtocolVersionUpdate:(PAPIProtocolVersionUpdateOperation *)protocolVersionUpdate __attribute__((swift_name("init(protocolVersionUpdate:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(id _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtalaOperationOperationRevokeCredentials"))) +@interface PAPIAtalaOperationOperationRevokeCredentials : PAPIAtalaOperationOperation +- (instancetype)initWithRevokeCredentials:(PAPIRevokeCredentialsOperation *)revokeCredentials __attribute__((swift_name("init(revokeCredentials:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(id _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtalaOperationOperationUpdateDid"))) +@interface PAPIAtalaOperationOperationUpdateDid : PAPIAtalaOperationOperation +- (instancetype)initWithUpdateDid:(PAPIUpdateDIDOperation *)updateDid __attribute__((swift_name("init(updateDid:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(id _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BlockInfo"))) +@interface PAPIBlockInfo : PAPIBase +- (instancetype)initWithNumber:(int32_t)number index:(int32_t)index timestamp:(PAPITimestamp * _Nullable)timestamp unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(number:index:timestamp:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIBlockInfoCompanion *companion __attribute__((swift_name("companion"))); +- (int32_t)component1 __attribute__((swift_name("component1()"))); +- (int32_t)component2 __attribute__((swift_name("component2()"))); +- (PAPITimestamp * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPIBlockInfo *)doCopyNumber:(int32_t)number index:(int32_t)index timestamp:(PAPITimestamp * _Nullable)timestamp unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(number:index:timestamp:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIBlockInfo *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t index __attribute__((swift_name("index"))); +@property (readonly) int32_t number __attribute__((swift_name("number"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPITimestamp * _Nullable timestamp __attribute__((swift_name("timestamp"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BlockInfo.Companion"))) +@interface PAPIBlockInfoCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIBlockInfoCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIBlockInfo *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIBlockInfo *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CManagerGenericCredential"))) +@interface PAPICManagerGenericCredential : PAPIBase +- (instancetype)initWithCredentialId:(NSString *)credentialId issuerId:(NSString *)issuerId contactId:(NSString *)contactId credentialData:(NSString *)credentialData issuerName:(NSString *)issuerName contactData:(NSString *)contactData issuanceOperationHash:(PAPIByteArr *)issuanceOperationHash encodedSignedCredential:(NSString *)encodedSignedCredential externalId:(NSString *)externalId connectionStatus:(PAPIContactConnectionStatus *)connectionStatus batchInclusionProof:(NSString *)batchInclusionProof batchId:(NSString *)batchId publicationStoredAt:(PAPITimestamp * _Nullable)publicationStoredAt sharedAt:(PAPITimestamp * _Nullable)sharedAt revokedOnOperationId:(PAPIByteArr *)revokedOnOperationId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(credentialId:issuerId:contactId:credentialData:issuerName:contactData:issuanceOperationHash:encodedSignedCredential:externalId:connectionStatus:batchInclusionProof:batchId:publicationStoredAt:sharedAt:revokedOnOperationId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICManagerGenericCredentialCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIContactConnectionStatus *)component10 __attribute__((swift_name("component10()"))); +- (NSString *)component11 __attribute__((swift_name("component11()"))); +- (NSString *)component12 __attribute__((swift_name("component12()"))); +- (PAPITimestamp * _Nullable)component13 __attribute__((swift_name("component13()"))); +- (PAPITimestamp * _Nullable)component14 __attribute__((swift_name("component14()"))); +- (PAPIByteArr *)component15 __attribute__((swift_name("component15()"))); +- (NSDictionary *)component16 __attribute__((swift_name("component16()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (NSString *)component3 __attribute__((swift_name("component3()"))); +- (NSString *)component4 __attribute__((swift_name("component4()"))); +- (NSString *)component5 __attribute__((swift_name("component5()"))); +- (NSString *)component6 __attribute__((swift_name("component6()"))); +- (PAPIByteArr *)component7 __attribute__((swift_name("component7()"))); +- (NSString *)component8 __attribute__((swift_name("component8()"))); +- (NSString *)component9 __attribute__((swift_name("component9()"))); +- (PAPICManagerGenericCredential *)doCopyCredentialId:(NSString *)credentialId issuerId:(NSString *)issuerId contactId:(NSString *)contactId credentialData:(NSString *)credentialData issuerName:(NSString *)issuerName contactData:(NSString *)contactData issuanceOperationHash:(PAPIByteArr *)issuanceOperationHash encodedSignedCredential:(NSString *)encodedSignedCredential externalId:(NSString *)externalId connectionStatus:(PAPIContactConnectionStatus *)connectionStatus batchInclusionProof:(NSString *)batchInclusionProof batchId:(NSString *)batchId publicationStoredAt:(PAPITimestamp * _Nullable)publicationStoredAt sharedAt:(PAPITimestamp * _Nullable)sharedAt revokedOnOperationId:(PAPIByteArr *)revokedOnOperationId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(credentialId:issuerId:contactId:credentialData:issuerName:contactData:issuanceOperationHash:encodedSignedCredential:externalId:connectionStatus:batchInclusionProof:batchId:publicationStoredAt:sharedAt:revokedOnOperationId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICManagerGenericCredential *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *batchId __attribute__((swift_name("batchId"))); +@property (readonly) NSString *batchInclusionProof __attribute__((swift_name("batchInclusionProof"))); +@property (readonly) PAPIContactConnectionStatus *connectionStatus __attribute__((swift_name("connectionStatus"))); +@property (readonly) NSString *contactData __attribute__((swift_name("contactData"))); +@property (readonly) NSString *contactId __attribute__((swift_name("contactId"))); +@property (readonly) NSString *credentialData __attribute__((swift_name("credentialData"))); +@property (readonly) NSString *credentialId __attribute__((swift_name("credentialId"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *encodedSignedCredential __attribute__((swift_name("encodedSignedCredential"))); +@property (readonly) NSString *externalId __attribute__((swift_name("externalId"))); +@property (readonly) PAPIByteArr *issuanceOperationHash __attribute__((swift_name("issuanceOperationHash"))); +@property (readonly) NSString *issuerId __attribute__((swift_name("issuerId"))); +@property (readonly) NSString *issuerName __attribute__((swift_name("issuerName"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPITimestamp * _Nullable publicationStoredAt __attribute__((swift_name("publicationStoredAt"))); +@property (readonly) PAPIByteArr *revokedOnOperationId __attribute__((swift_name("revokedOnOperationId"))); +@property (readonly) PAPITimestamp * _Nullable sharedAt __attribute__((swift_name("sharedAt"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CManagerGenericCredential.Companion"))) +@interface PAPICManagerGenericCredentialCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICManagerGenericCredentialCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICManagerGenericCredential *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICManagerGenericCredential *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CompressedECKeyData"))) +@interface PAPICompressedECKeyData : PAPIBase +- (instancetype)initWithCurve:(NSString *)curve data:(PAPIByteArr *)data unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(curve:data:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICompressedECKeyDataCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIByteArr *)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPICompressedECKeyData *)doCopyCurve:(NSString *)curve data:(PAPIByteArr *)data unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(curve:data:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICompressedECKeyData *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *curve __attribute__((swift_name("curve"))); +@property (readonly) PAPIByteArr *data __attribute__((swift_name("data"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CompressedECKeyData.Companion"))) +@interface PAPICompressedECKeyDataCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICompressedECKeyDataCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICompressedECKeyData *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICompressedECKeyData *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Connection"))) +@interface PAPIConnection : PAPIBase +- (instancetype)initWithConnectionToken:(NSString *)connectionToken connectionId:(NSString *)connectionId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(connectionToken:connectionId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIConnectionCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIConnection *)doCopyConnectionToken:(NSString *)connectionToken connectionId:(NSString *)connectionId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(connectionToken:connectionId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIConnection *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *connectionId __attribute__((swift_name("connectionId"))); +@property (readonly) NSString *connectionToken __attribute__((swift_name("connectionToken"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Connection.Companion"))) +@interface PAPIConnectionCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIConnectionCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIConnection *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIConnection *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ConnectionInfo"))) +@interface PAPIConnectionInfo : PAPIBase +- (instancetype)initWithConnectionId:(NSString *)connectionId token:(NSString *)token participantName:(NSString *)participantName participantLogo:(PAPIByteArr *)participantLogo participantDid:(NSString *)participantDid created:(PAPITimestamp * _Nullable)created unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(connectionId:token:participantName:participantLogo:participantDid:created:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIConnectionInfoCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (NSString *)component3 __attribute__((swift_name("component3()"))); +- (PAPIByteArr *)component4 __attribute__((swift_name("component4()"))); +- (NSString *)component5 __attribute__((swift_name("component5()"))); +- (PAPITimestamp * _Nullable)component6 __attribute__((swift_name("component6()"))); +- (NSDictionary *)component7 __attribute__((swift_name("component7()"))); +- (PAPIConnectionInfo *)doCopyConnectionId:(NSString *)connectionId token:(NSString *)token participantName:(NSString *)participantName participantLogo:(PAPIByteArr *)participantLogo participantDid:(NSString *)participantDid created:(PAPITimestamp * _Nullable)created unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(connectionId:token:participantName:participantLogo:participantDid:created:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIConnectionInfo *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *connectionId __attribute__((swift_name("connectionId"))); +@property (readonly) PAPITimestamp * _Nullable created __attribute__((swift_name("created"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *participantDid __attribute__((swift_name("participantDid"))); +@property (readonly) PAPIByteArr *participantLogo __attribute__((swift_name("participantLogo"))); +@property (readonly) NSString *participantName __attribute__((swift_name("participantName"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSString *token __attribute__((swift_name("token"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ConnectionInfo.Companion"))) +@interface PAPIConnectionInfoCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIConnectionInfoCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIConnectionInfo *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIConnectionInfo *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ConnectionKey"))) +@interface PAPIConnectionKey : PAPIBase +- (instancetype)initWithKeyId:(NSString *)keyId key:(PAPIEncodedPublicKey * _Nullable)key unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(keyId:key:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIConnectionKeyCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIEncodedPublicKey * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIConnectionKey *)doCopyKeyId:(NSString *)keyId key:(PAPIEncodedPublicKey * _Nullable)key unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(keyId:key:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIConnectionKey *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIEncodedPublicKey * _Nullable key __attribute__((swift_name("key"))); +@property (readonly) NSString *keyId __attribute__((swift_name("keyId"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ConnectionKey.Companion"))) +@interface PAPIConnectionKeyCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIConnectionKeyCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIConnectionKey *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIConnectionKey *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ConnectionsStatusRequest"))) +@interface PAPIConnectionsStatusRequest : PAPIBase +- (instancetype)initWithConnectionTokens:(NSArray *)connectionTokens unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(connectionTokens:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIConnectionsStatusRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIConnectionsStatusRequest *)doCopyConnectionTokens:(NSArray *)connectionTokens unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(connectionTokens:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIConnectionsStatusRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSArray *connectionTokens __attribute__((swift_name("connectionTokens"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ConnectionsStatusRequest.Companion"))) +@interface PAPIConnectionsStatusRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIConnectionsStatusRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIConnectionsStatusRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIConnectionsStatusRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ConnectionsStatusResponse"))) +@interface PAPIConnectionsStatusResponse : PAPIBase +- (instancetype)initWithConnections:(NSArray *)connections unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(connections:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIConnectionsStatusResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIConnectionsStatusResponse *)doCopyConnections:(NSArray *)connections unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(connections:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIConnectionsStatusResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSArray *connections __attribute__((swift_name("connections"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ConnectionsStatusResponse.Companion"))) +@interface PAPIConnectionsStatusResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIConnectionsStatusResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIConnectionsStatusResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIConnectionsStatusResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ConnectorPublicKey"))) +@interface PAPIConnectorPublicKey : PAPIBase +- (instancetype)initWithX:(NSString *)x y:(NSString *)y unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(x:y:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIConnectorPublicKeyCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIConnectorPublicKey *)doCopyX:(NSString *)x y:(NSString *)y unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(x:y:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIConnectorPublicKey *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@property (readonly) NSString *x __attribute__((swift_name("x"))); +@property (readonly) NSString *y __attribute__((swift_name("y"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ConnectorPublicKey.Companion"))) +@interface PAPIConnectorPublicKeyCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIConnectorPublicKeyCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIConnectorPublicKey *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIConnectorPublicKey *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ConnectorRequestMetadata"))) +@interface PAPIConnectorRequestMetadata : PAPIBase +- (instancetype)initWithDid:(NSString *)did didKeyId:(NSString *)didKeyId didSignature:(NSString *)didSignature requestNonce:(NSString *)requestNonce unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(did:didKeyId:didSignature:requestNonce:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIConnectorRequestMetadataCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (NSString *)component3 __attribute__((swift_name("component3()"))); +- (NSString *)component4 __attribute__((swift_name("component4()"))); +- (NSDictionary *)component5 __attribute__((swift_name("component5()"))); +- (PAPIConnectorRequestMetadata *)doCopyDid:(NSString *)did didKeyId:(NSString *)didKeyId didSignature:(NSString *)didSignature requestNonce:(NSString *)requestNonce unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(did:didKeyId:didSignature:requestNonce:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIConnectorRequestMetadata *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *did __attribute__((swift_name("did"))); +@property (readonly) NSString *didKeyId __attribute__((swift_name("didKeyId"))); +@property (readonly) NSString *didSignature __attribute__((swift_name("didSignature"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSString *requestNonce __attribute__((swift_name("requestNonce"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ConnectorRequestMetadata.Companion"))) +@interface PAPIConnectorRequestMetadataCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIConnectorRequestMetadataCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIConnectorRequestMetadata *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIConnectorRequestMetadata *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("Closeable"))) +@protocol PAPICloseable +@required +- (void)close __attribute__((swift_name("close()"))); +@end; + +__attribute__((swift_name("ConnectorServiceCoroutine"))) +@protocol PAPIConnectorServiceCoroutine +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)AddConnectionFromTokenReq:(PAPIAddConnectionFromTokenRequest *)req completionHandler:(void (^)(PAPIAddConnectionFromTokenResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("AddConnectionFromToken(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)AddConnectionFromTokenAuthReq:(PAPIAddConnectionFromTokenRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIAddConnectionFromTokenResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("AddConnectionFromTokenAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GenerateConnectionTokenReq:(PAPIGenerateConnectionTokenRequest *)req completionHandler:(void (^)(PAPIGenerateConnectionTokenResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GenerateConnectionToken(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GenerateConnectionTokenAuthReq:(PAPIGenerateConnectionTokenRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGenerateConnectionTokenResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GenerateConnectionTokenAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetBuildInfoReq:(PAPIGetBuildInfoRequest *)req completionHandler:(void (^)(PAPIGetBuildInfoResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetBuildInfo(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetBuildInfoAuthReq:(PAPIGetBuildInfoRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetBuildInfoResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetBuildInfoAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetConnectionByIdReq:(PAPIGetConnectionByIdRequest *)req completionHandler:(void (^)(PAPIGetConnectionByIdResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetConnectionById(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetConnectionByIdAuthReq:(PAPIGetConnectionByIdRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetConnectionByIdResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetConnectionByIdAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetConnectionByTokenReq:(PAPIGetConnectionByTokenRequest *)req completionHandler:(void (^)(PAPIGetConnectionByTokenResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetConnectionByToken(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetConnectionByTokenAuthReq:(PAPIGetConnectionByTokenRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetConnectionByTokenResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetConnectionByTokenAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetConnectionCommunicationKeysReq:(PAPIGetConnectionCommunicationKeysRequest *)req completionHandler:(void (^)(PAPIGetConnectionCommunicationKeysResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetConnectionCommunicationKeys(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetConnectionCommunicationKeysAuthReq:(PAPIGetConnectionCommunicationKeysRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetConnectionCommunicationKeysResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetConnectionCommunicationKeysAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetConnectionTokenInfoReq:(PAPIGetConnectionTokenInfoRequest *)req completionHandler:(void (^)(PAPIGetConnectionTokenInfoResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetConnectionTokenInfo(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetConnectionTokenInfoAuthReq:(PAPIGetConnectionTokenInfoRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetConnectionTokenInfoResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetConnectionTokenInfoAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetConnectionsPaginatedReq:(PAPIGetConnectionsPaginatedRequest *)req completionHandler:(void (^)(PAPIGetConnectionsPaginatedResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetConnectionsPaginated(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetConnectionsPaginatedAuthReq:(PAPIGetConnectionsPaginatedRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetConnectionsPaginatedResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetConnectionsPaginatedAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetCurrentUserReq:(PAPIGetCurrentUserRequest *)req completionHandler:(void (^)(PAPIGetCurrentUserResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetCurrentUser(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetCurrentUserAuthReq:(PAPIGetCurrentUserRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetCurrentUserResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetCurrentUserAuth(req:metadata:completionHandler:)"))); +- (id)GetMessageStreamReq:(PAPIGetMessageStreamRequest *)req __attribute__((swift_name("GetMessageStream(req:)"))); +- (id)GetMessageStreamAuthReq:(PAPIGetMessageStreamRequest *)req metadata:(PAPIPrismMetadata *)metadata __attribute__((swift_name("GetMessageStreamAuth(req:metadata:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetMessagesForConnectionReq:(PAPIGetMessagesForConnectionRequest *)req completionHandler:(void (^)(PAPIGetMessagesForConnectionResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetMessagesForConnection(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetMessagesForConnectionAuthReq:(PAPIGetMessagesForConnectionRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetMessagesForConnectionResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetMessagesForConnectionAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetMessagesPaginatedReq:(PAPIGetMessagesPaginatedRequest *)req completionHandler:(void (^)(PAPIGetMessagesPaginatedResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetMessagesPaginated(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetMessagesPaginatedAuthReq:(PAPIGetMessagesPaginatedRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetMessagesPaginatedResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetMessagesPaginatedAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)HealthCheckReq:(PAPIHealthCheckRequest *)req completionHandler:(void (^)(PAPIHealthCheckResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("HealthCheck(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)HealthCheckAuthReq:(PAPIHealthCheckRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIHealthCheckResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("HealthCheckAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)RegisterDIDReq:(PAPIRegisterDIDRequest *)req completionHandler:(void (^)(PAPIRegisterDIDResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("RegisterDID(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)RegisterDIDAuthReq:(PAPIRegisterDIDRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIRegisterDIDResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("RegisterDIDAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)RevokeConnectionReq:(PAPIRevokeConnectionRequest *)req completionHandler:(void (^)(PAPIRevokeConnectionResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("RevokeConnection(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)RevokeConnectionAuthReq:(PAPIRevokeConnectionRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIRevokeConnectionResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("RevokeConnectionAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)SendMessageReq:(PAPISendMessageRequest *)req completionHandler:(void (^)(PAPISendMessageResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("SendMessage(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)SendMessageAuthReq:(PAPISendMessageRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPISendMessageResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("SendMessageAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)SendMessagesReq:(PAPISendMessagesRequest *)req completionHandler:(void (^)(PAPISendMessagesResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("SendMessages(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)SendMessagesAuthReq:(PAPISendMessagesRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPISendMessagesResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("SendMessagesAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)UpdateParticipantProfileReq:(PAPIUpdateProfileRequest *)req completionHandler:(void (^)(PAPIUpdateProfileResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("UpdateParticipantProfile(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)UpdateParticipantProfileAuthReq:(PAPIUpdateProfileRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIUpdateProfileResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("UpdateParticipantProfileAuth(req:metadata:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ConnectorServiceCoroutineClient"))) +@interface PAPIConnectorServiceCoroutineClient : PAPIBase +- (instancetype)initWithClient:(PAPIGrpcClient *)client __attribute__((swift_name("init(client:)"))) __attribute__((objc_designated_initializer)); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)AddConnectionFromTokenReq:(PAPIAddConnectionFromTokenRequest *)req completionHandler:(void (^)(PAPIAddConnectionFromTokenResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("AddConnectionFromToken(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)AddConnectionFromTokenAuthReq:(PAPIAddConnectionFromTokenRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIAddConnectionFromTokenResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("AddConnectionFromTokenAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GenerateConnectionTokenReq:(PAPIGenerateConnectionTokenRequest *)req completionHandler:(void (^)(PAPIGenerateConnectionTokenResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GenerateConnectionToken(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GenerateConnectionTokenAuthReq:(PAPIGenerateConnectionTokenRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGenerateConnectionTokenResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GenerateConnectionTokenAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetBuildInfoReq:(PAPIGetBuildInfoRequest *)req completionHandler:(void (^)(PAPIGetBuildInfoResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetBuildInfo(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetBuildInfoAuthReq:(PAPIGetBuildInfoRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetBuildInfoResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetBuildInfoAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetConnectionByIdReq:(PAPIGetConnectionByIdRequest *)req completionHandler:(void (^)(PAPIGetConnectionByIdResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetConnectionById(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetConnectionByIdAuthReq:(PAPIGetConnectionByIdRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetConnectionByIdResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetConnectionByIdAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetConnectionByTokenReq:(PAPIGetConnectionByTokenRequest *)req completionHandler:(void (^)(PAPIGetConnectionByTokenResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetConnectionByToken(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetConnectionByTokenAuthReq:(PAPIGetConnectionByTokenRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetConnectionByTokenResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetConnectionByTokenAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetConnectionCommunicationKeysReq:(PAPIGetConnectionCommunicationKeysRequest *)req completionHandler:(void (^)(PAPIGetConnectionCommunicationKeysResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetConnectionCommunicationKeys(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetConnectionCommunicationKeysAuthReq:(PAPIGetConnectionCommunicationKeysRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetConnectionCommunicationKeysResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetConnectionCommunicationKeysAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetConnectionTokenInfoReq:(PAPIGetConnectionTokenInfoRequest *)req completionHandler:(void (^)(PAPIGetConnectionTokenInfoResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetConnectionTokenInfo(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetConnectionTokenInfoAuthReq:(PAPIGetConnectionTokenInfoRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetConnectionTokenInfoResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetConnectionTokenInfoAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetConnectionsPaginatedReq:(PAPIGetConnectionsPaginatedRequest *)req completionHandler:(void (^)(PAPIGetConnectionsPaginatedResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetConnectionsPaginated(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetConnectionsPaginatedAuthReq:(PAPIGetConnectionsPaginatedRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetConnectionsPaginatedResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetConnectionsPaginatedAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetCurrentUserReq:(PAPIGetCurrentUserRequest *)req completionHandler:(void (^)(PAPIGetCurrentUserResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetCurrentUser(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetCurrentUserAuthReq:(PAPIGetCurrentUserRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetCurrentUserResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetCurrentUserAuth(req:metadata:completionHandler:)"))); +- (id)GetMessageStreamReq:(PAPIGetMessageStreamRequest *)req __attribute__((swift_name("GetMessageStream(req:)"))); +- (id)GetMessageStreamAuthReq:(PAPIGetMessageStreamRequest *)req metadata:(PAPIPrismMetadata *)metadata __attribute__((swift_name("GetMessageStreamAuth(req:metadata:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetMessagesForConnectionReq:(PAPIGetMessagesForConnectionRequest *)req completionHandler:(void (^)(PAPIGetMessagesForConnectionResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetMessagesForConnection(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetMessagesForConnectionAuthReq:(PAPIGetMessagesForConnectionRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetMessagesForConnectionResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetMessagesForConnectionAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetMessagesPaginatedReq:(PAPIGetMessagesPaginatedRequest *)req completionHandler:(void (^)(PAPIGetMessagesPaginatedResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetMessagesPaginated(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetMessagesPaginatedAuthReq:(PAPIGetMessagesPaginatedRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetMessagesPaginatedResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetMessagesPaginatedAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)HealthCheckReq:(PAPIHealthCheckRequest *)req completionHandler:(void (^)(PAPIHealthCheckResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("HealthCheck(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)HealthCheckAuthReq:(PAPIHealthCheckRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIHealthCheckResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("HealthCheckAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)RegisterDIDReq:(PAPIRegisterDIDRequest *)req completionHandler:(void (^)(PAPIRegisterDIDResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("RegisterDID(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)RegisterDIDAuthReq:(PAPIRegisterDIDRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIRegisterDIDResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("RegisterDIDAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)RevokeConnectionReq:(PAPIRevokeConnectionRequest *)req completionHandler:(void (^)(PAPIRevokeConnectionResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("RevokeConnection(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)RevokeConnectionAuthReq:(PAPIRevokeConnectionRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIRevokeConnectionResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("RevokeConnectionAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)SendMessageReq:(PAPISendMessageRequest *)req completionHandler:(void (^)(PAPISendMessageResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("SendMessage(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)SendMessageAuthReq:(PAPISendMessageRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPISendMessageResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("SendMessageAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)SendMessagesReq:(PAPISendMessagesRequest *)req completionHandler:(void (^)(PAPISendMessagesResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("SendMessages(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)SendMessagesAuthReq:(PAPISendMessagesRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPISendMessagesResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("SendMessagesAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)UpdateParticipantProfileReq:(PAPIUpdateProfileRequest *)req completionHandler:(void (^)(PAPIUpdateProfileResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("UpdateParticipantProfile(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)UpdateParticipantProfileAuthReq:(PAPIUpdateProfileRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIUpdateProfileResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("UpdateParticipantProfileAuth(req:metadata:completionHandler:)"))); +- (void)close __attribute__((swift_name("close()"))); +@property (readonly) PAPIGrpcClient *client __attribute__((swift_name("client"))); +@end; + +__attribute__((swift_name("ConsoleServiceCoroutine"))) +@protocol PAPIConsoleServiceCoroutine +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetCurrentUserReq:(PAPIGetConsoleCurrentUserRequest *)req completionHandler_:(void (^)(PAPIGetConsoleCurrentUserResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetCurrentUser(req:completionHandler_:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetCurrentUserAuthReq:(PAPIGetConsoleCurrentUserRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler_:(void (^)(PAPIGetConsoleCurrentUserResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetCurrentUserAuth(req:metadata:completionHandler_:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetStatisticsReq:(PAPIGetStatisticsRequest *)req completionHandler:(void (^)(PAPIGetStatisticsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetStatistics(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetStatisticsAuthReq:(PAPIGetStatisticsRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetStatisticsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetStatisticsAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)HealthCheckReq:(PAPIHealthCheckRequest *)req completionHandler:(void (^)(PAPIHealthCheckResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("HealthCheck(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)HealthCheckAuthReq:(PAPIHealthCheckRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIHealthCheckResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("HealthCheckAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)RegisterDIDReq:(PAPIRegisterConsoleDIDRequest *)req completionHandler_:(void (^)(PAPIRegisterConsoleDIDResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("RegisterDID(req:completionHandler_:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)RegisterDIDAuthReq:(PAPIRegisterConsoleDIDRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler_:(void (^)(PAPIRegisterConsoleDIDResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("RegisterDIDAuth(req:metadata:completionHandler_:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)UpdateParticipantProfileReq:(PAPIConsoleUpdateProfileRequest *)req completionHandler_:(void (^)(PAPIConsoleUpdateProfileResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("UpdateParticipantProfile(req:completionHandler_:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)UpdateParticipantProfileAuthReq:(PAPIConsoleUpdateProfileRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler_:(void (^)(PAPIConsoleUpdateProfileResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("UpdateParticipantProfileAuth(req:metadata:completionHandler_:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ConsoleServiceCoroutineClient"))) +@interface PAPIConsoleServiceCoroutineClient : PAPIBase +- (instancetype)initWithClient:(PAPIGrpcClient *)client __attribute__((swift_name("init(client:)"))) __attribute__((objc_designated_initializer)); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetCurrentUserReq:(PAPIGetConsoleCurrentUserRequest *)req completionHandler_:(void (^)(PAPIGetConsoleCurrentUserResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetCurrentUser(req:completionHandler_:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetCurrentUserAuthReq:(PAPIGetConsoleCurrentUserRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler_:(void (^)(PAPIGetConsoleCurrentUserResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetCurrentUserAuth(req:metadata:completionHandler_:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetStatisticsReq:(PAPIGetStatisticsRequest *)req completionHandler:(void (^)(PAPIGetStatisticsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetStatistics(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetStatisticsAuthReq:(PAPIGetStatisticsRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetStatisticsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetStatisticsAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)HealthCheckReq:(PAPIHealthCheckRequest *)req completionHandler:(void (^)(PAPIHealthCheckResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("HealthCheck(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)HealthCheckAuthReq:(PAPIHealthCheckRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIHealthCheckResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("HealthCheckAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)RegisterDIDReq:(PAPIRegisterConsoleDIDRequest *)req completionHandler_:(void (^)(PAPIRegisterConsoleDIDResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("RegisterDID(req:completionHandler_:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)RegisterDIDAuthReq:(PAPIRegisterConsoleDIDRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler_:(void (^)(PAPIRegisterConsoleDIDResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("RegisterDIDAuth(req:metadata:completionHandler_:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)UpdateParticipantProfileReq:(PAPIConsoleUpdateProfileRequest *)req completionHandler_:(void (^)(PAPIConsoleUpdateProfileResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("UpdateParticipantProfile(req:completionHandler_:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)UpdateParticipantProfileAuthReq:(PAPIConsoleUpdateProfileRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler_:(void (^)(PAPIConsoleUpdateProfileResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("UpdateParticipantProfileAuth(req:metadata:completionHandler_:)"))); +- (void)close __attribute__((swift_name("close()"))); +@property (readonly) PAPIGrpcClient *client __attribute__((swift_name("client"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ConsoleUpdateProfileRequest"))) +@interface PAPIConsoleUpdateProfileRequest : PAPIBase +- (instancetype)initWithName:(NSString *)name logo:(PAPIByteArr *)logo unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(name:logo:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIConsoleUpdateProfileRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIByteArr *)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIConsoleUpdateProfileRequest *)doCopyName:(NSString *)name logo:(PAPIByteArr *)logo unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(name:logo:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIConsoleUpdateProfileRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIByteArr *logo __attribute__((swift_name("logo"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ConsoleUpdateProfileRequest.Companion"))) +@interface PAPIConsoleUpdateProfileRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIConsoleUpdateProfileRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIConsoleUpdateProfileRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIConsoleUpdateProfileRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ConsoleUpdateProfileResponse"))) +@interface PAPIConsoleUpdateProfileResponse : PAPIBase +- (instancetype)initWithUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIConsoleUpdateProfileResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPIConsoleUpdateProfileResponse *)doCopyUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIConsoleUpdateProfileResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ConsoleUpdateProfileResponse.Companion"))) +@interface PAPIConsoleUpdateProfileResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIConsoleUpdateProfileResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIConsoleUpdateProfileResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIConsoleUpdateProfileResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Contact"))) +@interface PAPIContact : PAPIBase +- (instancetype)initWithContactId:(NSString *)contactId externalId:(NSString *)externalId jsonData:(NSString *)jsonData connectionStatus:(PAPIContactConnectionStatus *)connectionStatus connectionToken:(NSString *)connectionToken connectionId:(NSString *)connectionId name:(NSString *)name createdAt:(PAPITimestamp * _Nullable)createdAt unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(contactId:externalId:jsonData:connectionStatus:connectionToken:connectionId:name:createdAt:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIContactCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (NSString *)component3 __attribute__((swift_name("component3()"))); +- (PAPIContactConnectionStatus *)component4 __attribute__((swift_name("component4()"))); +- (NSString *)component5 __attribute__((swift_name("component5()"))); +- (NSString *)component6 __attribute__((swift_name("component6()"))); +- (NSString *)component7 __attribute__((swift_name("component7()"))); +- (PAPITimestamp * _Nullable)component8 __attribute__((swift_name("component8()"))); +- (NSDictionary *)component9 __attribute__((swift_name("component9()"))); +- (PAPIContact *)doCopyContactId:(NSString *)contactId externalId:(NSString *)externalId jsonData:(NSString *)jsonData connectionStatus:(PAPIContactConnectionStatus *)connectionStatus connectionToken:(NSString *)connectionToken connectionId:(NSString *)connectionId name:(NSString *)name createdAt:(PAPITimestamp * _Nullable)createdAt unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(contactId:externalId:jsonData:connectionStatus:connectionToken:connectionId:name:createdAt:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIContact *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *connectionId __attribute__((swift_name("connectionId"))); +@property (readonly) PAPIContactConnectionStatus *connectionStatus __attribute__((swift_name("connectionStatus"))); +@property (readonly) NSString *connectionToken __attribute__((swift_name("connectionToken"))); +@property (readonly) NSString *contactId __attribute__((swift_name("contactId"))); +@property (readonly) PAPITimestamp * _Nullable createdAt __attribute__((swift_name("createdAt"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *externalId __attribute__((swift_name("externalId"))); +@property (readonly) NSString *jsonData __attribute__((swift_name("jsonData"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Contact.Companion"))) +@interface PAPIContactCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIContactCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIContact *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIContact *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ContactConnection"))) +@interface PAPIContactConnection : PAPIBase +- (instancetype)initWithConnectionId:(NSString *)connectionId connectionToken:(NSString *)connectionToken connectionStatus:(PAPIContactConnectionStatus *)connectionStatus unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(connectionId:connectionToken:connectionStatus:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIContactConnectionCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (PAPIContactConnectionStatus *)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPIContactConnection *)doCopyConnectionId:(NSString *)connectionId connectionToken:(NSString *)connectionToken connectionStatus:(PAPIContactConnectionStatus *)connectionStatus unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(connectionId:connectionToken:connectionStatus:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIContactConnection *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *connectionId __attribute__((swift_name("connectionId"))); +@property (readonly) PAPIContactConnectionStatus *connectionStatus __attribute__((swift_name("connectionStatus"))); +@property (readonly) NSString *connectionToken __attribute__((swift_name("connectionToken"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ContactConnection.Companion"))) +@interface PAPIContactConnectionCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIContactConnectionCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIContactConnection *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIContactConnection *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("ContactConnectionServiceCoroutine"))) +@protocol PAPIContactConnectionServiceCoroutine +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetConnectionStatusReq:(PAPIConnectionsStatusRequest *)req completionHandler:(void (^)(PAPIConnectionsStatusResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetConnectionStatus(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetConnectionStatusAuthReq:(PAPIConnectionsStatusRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIConnectionsStatusResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetConnectionStatusAuth(req:metadata:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ContactConnectionServiceCoroutineClient"))) +@interface PAPIContactConnectionServiceCoroutineClient : PAPIBase +- (instancetype)initWithClient:(PAPIGrpcClient *)client __attribute__((swift_name("init(client:)"))) __attribute__((objc_designated_initializer)); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetConnectionStatusReq:(PAPIConnectionsStatusRequest *)req completionHandler:(void (^)(PAPIConnectionsStatusResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetConnectionStatus(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetConnectionStatusAuthReq:(PAPIConnectionsStatusRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIConnectionsStatusResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetConnectionStatusAuth(req:metadata:completionHandler:)"))); +- (void)close __attribute__((swift_name("close()"))); +@property (readonly) PAPIGrpcClient *client __attribute__((swift_name("client"))); +@end; + +__attribute__((swift_name("MessageEnum"))) +@protocol PAPIMessageEnum +@required +@property (readonly, getter=name_) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) int32_t value_ __attribute__((swift_name("value_"))); +@end; + +__attribute__((swift_name("ContactConnectionStatus"))) +@interface PAPIContactConnectionStatus : PAPIBase +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIContactConnectionStatusCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly, getter=name_) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) int32_t value_ __attribute__((swift_name("value_"))); +@end; + +__attribute__((swift_name("MessageEnumCompanion"))) +@protocol PAPIMessageEnumCompanion +@required +- (id)fromNameName:(NSString *)name __attribute__((swift_name("fromName(name:)"))); +- (id)fromValueValue:(int32_t)value __attribute__((swift_name("fromValue(value:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ContactConnectionStatus.Companion"))) +@interface PAPIContactConnectionStatusCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIContactConnectionStatusCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIContactConnectionStatus *)fromNameName:(NSString *)name __attribute__((swift_name("fromName(name:)"))); +- (PAPIContactConnectionStatus *)fromValueValue:(int32_t)value __attribute__((swift_name("fromValue(value:)"))); +@property (readonly) NSArray *values __attribute__((swift_name("values"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ContactConnectionStatus.STATUS_CONNECTION_ACCEPTED"))) +@interface PAPIContactConnectionStatusSTATUS_CONNECTION_ACCEPTED : PAPIContactConnectionStatus ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)sTATUS_CONNECTION_ACCEPTED __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIContactConnectionStatusSTATUS_CONNECTION_ACCEPTED *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ContactConnectionStatus.STATUS_CONNECTION_MISSING"))) +@interface PAPIContactConnectionStatusSTATUS_CONNECTION_MISSING : PAPIContactConnectionStatus ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)sTATUS_CONNECTION_MISSING __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIContactConnectionStatusSTATUS_CONNECTION_MISSING *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ContactConnectionStatus.STATUS_CONNECTION_REVOKED"))) +@interface PAPIContactConnectionStatusSTATUS_CONNECTION_REVOKED : PAPIContactConnectionStatus ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)sTATUS_CONNECTION_REVOKED __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIContactConnectionStatusSTATUS_CONNECTION_REVOKED *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ContactConnectionStatus.STATUS_INVITATION_MISSING"))) +@interface PAPIContactConnectionStatusSTATUS_INVITATION_MISSING : PAPIContactConnectionStatus ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)sTATUS_INVITATION_MISSING __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIContactConnectionStatusSTATUS_INVITATION_MISSING *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ContactConnectionStatus.STATUS_MISSING"))) +@interface PAPIContactConnectionStatusSTATUS_MISSING : PAPIContactConnectionStatus ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)sTATUS_MISSING __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIContactConnectionStatusSTATUS_MISSING *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ContactConnectionStatus.UNRECOGNIZED"))) +@interface PAPIContactConnectionStatusUNRECOGNIZED : PAPIContactConnectionStatus +- (instancetype)initWithValue:(int32_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((swift_name("ContactsServiceCoroutine"))) +@protocol PAPIContactsServiceCoroutine +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateContactReq:(PAPICreateContactRequest *)req completionHandler:(void (^)(PAPICreateContactResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateContact(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateContactAuthReq:(PAPICreateContactRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPICreateContactResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateContactAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateContactsReq:(PAPICreateContactsRequest *)req completionHandler:(void (^)(PAPICreateContactsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateContacts(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateContactsAuthReq:(PAPICreateContactsRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPICreateContactsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateContactsAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)DeleteContactReq:(PAPIDeleteContactRequest *)req completionHandler:(void (^)(PAPIDeleteContactResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("DeleteContact(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)DeleteContactAuthReq:(PAPIDeleteContactRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIDeleteContactResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("DeleteContactAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GenerateConnectionTokenForContactReq:(PAPIGenerateConnectionTokenForContactRequest *)req completionHandler:(void (^)(PAPIGenerateConnectionTokenForContactResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GenerateConnectionTokenForContact(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GenerateConnectionTokenForContactAuthReq:(PAPIGenerateConnectionTokenForContactRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGenerateConnectionTokenForContactResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GenerateConnectionTokenForContactAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetContactReq:(PAPIGetContactRequest *)req completionHandler:(void (^)(PAPIGetContactResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetContact(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetContactAuthReq:(PAPIGetContactRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetContactResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetContactAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetContactsReq:(PAPIGetContactsRequest *)req completionHandler:(void (^)(PAPIGetContactsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetContacts(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetContactsAuthReq:(PAPIGetContactsRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetContactsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetContactsAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)UpdateContactReq:(PAPIUpdateContactRequest *)req completionHandler:(void (^)(PAPIUpdateContactResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("UpdateContact(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)UpdateContactAuthReq:(PAPIUpdateContactRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIUpdateContactResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("UpdateContactAuth(req:metadata:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ContactsServiceCoroutineClient"))) +@interface PAPIContactsServiceCoroutineClient : PAPIBase +- (instancetype)initWithClient:(PAPIGrpcClient *)client __attribute__((swift_name("init(client:)"))) __attribute__((objc_designated_initializer)); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateContactReq:(PAPICreateContactRequest *)req completionHandler:(void (^)(PAPICreateContactResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateContact(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateContactAuthReq:(PAPICreateContactRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPICreateContactResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateContactAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateContactsReq:(PAPICreateContactsRequest *)req completionHandler:(void (^)(PAPICreateContactsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateContacts(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateContactsAuthReq:(PAPICreateContactsRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPICreateContactsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateContactsAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)DeleteContactReq:(PAPIDeleteContactRequest *)req completionHandler:(void (^)(PAPIDeleteContactResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("DeleteContact(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)DeleteContactAuthReq:(PAPIDeleteContactRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIDeleteContactResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("DeleteContactAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GenerateConnectionTokenForContactReq:(PAPIGenerateConnectionTokenForContactRequest *)req completionHandler:(void (^)(PAPIGenerateConnectionTokenForContactResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GenerateConnectionTokenForContact(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GenerateConnectionTokenForContactAuthReq:(PAPIGenerateConnectionTokenForContactRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGenerateConnectionTokenForContactResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GenerateConnectionTokenForContactAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetContactReq:(PAPIGetContactRequest *)req completionHandler:(void (^)(PAPIGetContactResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetContact(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetContactAuthReq:(PAPIGetContactRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetContactResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetContactAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetContactsReq:(PAPIGetContactsRequest *)req completionHandler:(void (^)(PAPIGetContactsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetContacts(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetContactsAuthReq:(PAPIGetContactsRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetContactsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetContactsAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)UpdateContactReq:(PAPIUpdateContactRequest *)req completionHandler:(void (^)(PAPIUpdateContactResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("UpdateContact(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)UpdateContactAuthReq:(PAPIUpdateContactRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIUpdateContactResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("UpdateContactAuth(req:metadata:completionHandler:)"))); +- (void)close __attribute__((swift_name("close()"))); +@property (readonly) PAPIGrpcClient *client __attribute__((swift_name("client"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CopyGroupRequest"))) +@interface PAPICopyGroupRequest : PAPIBase +- (instancetype)initWithGroupId:(NSString *)groupId name:(NSString *)name unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(groupId:name:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICopyGroupRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPICopyGroupRequest *)doCopyGroupId:(NSString *)groupId name:(NSString *)name unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(groupId:name:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICopyGroupRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *groupId __attribute__((swift_name("groupId"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CopyGroupRequest.Companion"))) +@interface PAPICopyGroupRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICopyGroupRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICopyGroupRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICopyGroupRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CopyGroupResponse"))) +@interface PAPICopyGroupResponse : PAPIBase +- (instancetype)initWithGroupId:(NSString *)groupId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(groupId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICopyGroupResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPICopyGroupResponse *)doCopyGroupId:(NSString *)groupId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(groupId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICopyGroupResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *groupId __attribute__((swift_name("groupId"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CopyGroupResponse.Companion"))) +@interface PAPICopyGroupResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICopyGroupResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICopyGroupResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICopyGroupResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateContactRequest"))) +@interface PAPICreateContactRequest : PAPIBase +- (instancetype)initWithGroupName:(NSString *)groupName jsonData:(NSString *)jsonData externalId:(NSString *)externalId name:(NSString *)name generateConnectionTokensRequestMetadata:(PAPIConnectorRequestMetadata * _Nullable)generateConnectionTokensRequestMetadata unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(groupName:jsonData:externalId:name:generateConnectionTokensRequestMetadata:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICreateContactRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (NSString *)component3 __attribute__((swift_name("component3()"))); +- (NSString *)component4 __attribute__((swift_name("component4()"))); +- (PAPIConnectorRequestMetadata * _Nullable)component5 __attribute__((swift_name("component5()"))); +- (NSDictionary *)component6 __attribute__((swift_name("component6()"))); +- (PAPICreateContactRequest *)doCopyGroupName:(NSString *)groupName jsonData:(NSString *)jsonData externalId:(NSString *)externalId name:(NSString *)name generateConnectionTokensRequestMetadata:(PAPIConnectorRequestMetadata * _Nullable)generateConnectionTokensRequestMetadata unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(groupName:jsonData:externalId:name:generateConnectionTokensRequestMetadata:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICreateContactRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *externalId __attribute__((swift_name("externalId"))); +@property (readonly) PAPIConnectorRequestMetadata * _Nullable generateConnectionTokensRequestMetadata __attribute__((swift_name("generateConnectionTokensRequestMetadata"))); +@property (readonly) NSString *groupName __attribute__((swift_name("groupName"))); +@property (readonly) NSString *jsonData __attribute__((swift_name("jsonData"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateContactRequest.Companion"))) +@interface PAPICreateContactRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICreateContactRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICreateContactRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICreateContactRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateContactResponse"))) +@interface PAPICreateContactResponse : PAPIBase +- (instancetype)initWithContact:(PAPIContact * _Nullable)contact unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(contact:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICreateContactResponseCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIContact * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPICreateContactResponse *)doCopyContact:(PAPIContact * _Nullable)contact unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(contact:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICreateContactResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIContact * _Nullable contact __attribute__((swift_name("contact"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateContactResponse.Companion"))) +@interface PAPICreateContactResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICreateContactResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICreateContactResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICreateContactResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateContactsRequest"))) +@interface PAPICreateContactsRequest : PAPIBase +- (instancetype)initWithGroups:(NSArray *)groups contacts:(NSArray *)contacts generateConnectionTokensRequestMetadata:(PAPIConnectorRequestMetadata * _Nullable)generateConnectionTokensRequestMetadata unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(groups:contacts:generateConnectionTokensRequestMetadata:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICreateContactsRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSArray *)component2 __attribute__((swift_name("component2()"))); +- (PAPIConnectorRequestMetadata * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPICreateContactsRequest *)doCopyGroups:(NSArray *)groups contacts:(NSArray *)contacts generateConnectionTokensRequestMetadata:(PAPIConnectorRequestMetadata * _Nullable)generateConnectionTokensRequestMetadata unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(groups:contacts:generateConnectionTokensRequestMetadata:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICreateContactsRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSArray *contacts __attribute__((swift_name("contacts"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIConnectorRequestMetadata * _Nullable generateConnectionTokensRequestMetadata __attribute__((swift_name("generateConnectionTokensRequestMetadata"))); +@property (readonly) NSArray *groups __attribute__((swift_name("groups"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateContactsRequest.Companion"))) +@interface PAPICreateContactsRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICreateContactsRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICreateContactsRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICreateContactsRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateContactsRequest.Contact"))) +@interface PAPICreateContactsRequestContact : PAPIBase +- (instancetype)initWithExternalId:(NSString *)externalId name:(NSString *)name jsonData:(NSString *)jsonData unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(externalId:name:jsonData:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICreateContactsRequestContactCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (NSString *)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPICreateContactsRequestContact *)doCopyExternalId:(NSString *)externalId name:(NSString *)name jsonData:(NSString *)jsonData unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(externalId:name:jsonData:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICreateContactsRequestContact *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *externalId __attribute__((swift_name("externalId"))); +@property (readonly) NSString *jsonData __attribute__((swift_name("jsonData"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateContactsRequest.ContactCompanion"))) +@interface PAPICreateContactsRequestContactCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICreateContactsRequestContactCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICreateContactsRequestContact *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICreateContactsRequestContact *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateContactsResponse"))) +@interface PAPICreateContactsResponse : PAPIBase +- (instancetype)initWithContactsCreated:(int32_t)contactsCreated unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(contactsCreated:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICreateContactsResponseCompanion *companion __attribute__((swift_name("companion"))); +- (int32_t)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPICreateContactsResponse *)doCopyContactsCreated:(int32_t)contactsCreated unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(contactsCreated:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICreateContactsResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) int32_t contactsCreated __attribute__((swift_name("contactsCreated"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateContactsResponse.Companion"))) +@interface PAPICreateContactsResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICreateContactsResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICreateContactsResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICreateContactsResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateCredentialIssuanceRequest"))) +@interface PAPICreateCredentialIssuanceRequest : PAPIBase +- (instancetype)initWithName:(NSString *)name credentialTypeId:(NSString *)credentialTypeId credentialIssuanceContacts:(NSArray *)credentialIssuanceContacts unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(name:credentialTypeId:credentialIssuanceContacts:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICreateCredentialIssuanceRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (NSArray *)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPICreateCredentialIssuanceRequest *)doCopyName:(NSString *)name credentialTypeId:(NSString *)credentialTypeId credentialIssuanceContacts:(NSArray *)credentialIssuanceContacts unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(name:credentialTypeId:credentialIssuanceContacts:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICreateCredentialIssuanceRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSArray *credentialIssuanceContacts __attribute__((swift_name("credentialIssuanceContacts"))); +@property (readonly) NSString *credentialTypeId __attribute__((swift_name("credentialTypeId"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateCredentialIssuanceRequest.Companion"))) +@interface PAPICreateCredentialIssuanceRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICreateCredentialIssuanceRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICreateCredentialIssuanceRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICreateCredentialIssuanceRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateCredentialIssuanceResponse"))) +@interface PAPICreateCredentialIssuanceResponse : PAPIBase +- (instancetype)initWithCredentialIssuanceId:(NSString *)credentialIssuanceId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(credentialIssuanceId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICreateCredentialIssuanceResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPICreateCredentialIssuanceResponse *)doCopyCredentialIssuanceId:(NSString *)credentialIssuanceId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(credentialIssuanceId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICreateCredentialIssuanceResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *credentialIssuanceId __attribute__((swift_name("credentialIssuanceId"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateCredentialIssuanceResponse.Companion"))) +@interface PAPICreateCredentialIssuanceResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICreateCredentialIssuanceResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICreateCredentialIssuanceResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICreateCredentialIssuanceResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateCredentialType"))) +@interface PAPICreateCredentialType : PAPIBase +- (instancetype)initWithName:(NSString *)name template:(NSString *)template_ icon:(PAPIByteArr *)icon fields:(NSArray *)fields unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(name:template:icon:fields:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICreateCredentialTypeCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (PAPIByteArr *)component3 __attribute__((swift_name("component3()"))); +- (NSArray *)component4 __attribute__((swift_name("component4()"))); +- (NSDictionary *)component5 __attribute__((swift_name("component5()"))); +- (PAPICreateCredentialType *)doCopyName:(NSString *)name template:(NSString *)template_ icon:(PAPIByteArr *)icon fields:(NSArray *)fields unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(name:template:icon:fields:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICreateCredentialType *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSArray *fields __attribute__((swift_name("fields"))); +@property (readonly) PAPIByteArr *icon __attribute__((swift_name("icon"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly, getter=template) NSString *template_ __attribute__((swift_name("template_"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateCredentialType.Companion"))) +@interface PAPICreateCredentialTypeCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICreateCredentialTypeCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICreateCredentialType *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICreateCredentialType *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateCredentialTypeCategory"))) +@interface PAPICreateCredentialTypeCategory : PAPIBase +- (instancetype)initWithName:(NSString *)name state:(PAPICredentialTypeCategoryState *)state unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(name:state:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICreateCredentialTypeCategoryCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPICredentialTypeCategoryState *)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPICreateCredentialTypeCategory *)doCopyName:(NSString *)name state:(PAPICredentialTypeCategoryState *)state unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(name:state:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICreateCredentialTypeCategory *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPICredentialTypeCategoryState *state __attribute__((swift_name("state"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateCredentialTypeCategory.Companion"))) +@interface PAPICreateCredentialTypeCategoryCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICreateCredentialTypeCategoryCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICreateCredentialTypeCategory *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICreateCredentialTypeCategory *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateCredentialTypeCategoryRequest"))) +@interface PAPICreateCredentialTypeCategoryRequest : PAPIBase +- (instancetype)initWithCredentialTypeCategory:(PAPICreateCredentialTypeCategory * _Nullable)credentialTypeCategory unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(credentialTypeCategory:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICreateCredentialTypeCategoryRequestCompanion *companion __attribute__((swift_name("companion"))); +- (PAPICreateCredentialTypeCategory * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPICreateCredentialTypeCategoryRequest *)doCopyCredentialTypeCategory:(PAPICreateCredentialTypeCategory * _Nullable)credentialTypeCategory unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(credentialTypeCategory:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICreateCredentialTypeCategoryRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPICreateCredentialTypeCategory * _Nullable credentialTypeCategory __attribute__((swift_name("credentialTypeCategory"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateCredentialTypeCategoryRequest.Companion"))) +@interface PAPICreateCredentialTypeCategoryRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICreateCredentialTypeCategoryRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICreateCredentialTypeCategoryRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICreateCredentialTypeCategoryRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateCredentialTypeCategoryResponse"))) +@interface PAPICreateCredentialTypeCategoryResponse : PAPIBase +- (instancetype)initWithCredentialTypeCategory:(PAPICredentialTypeCategory * _Nullable)credentialTypeCategory unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(credentialTypeCategory:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICreateCredentialTypeCategoryResponseCompanion *companion __attribute__((swift_name("companion"))); +- (PAPICredentialTypeCategory * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPICreateCredentialTypeCategoryResponse *)doCopyCredentialTypeCategory:(PAPICredentialTypeCategory * _Nullable)credentialTypeCategory unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(credentialTypeCategory:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICreateCredentialTypeCategoryResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPICredentialTypeCategory * _Nullable credentialTypeCategory __attribute__((swift_name("credentialTypeCategory"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateCredentialTypeCategoryResponse.Companion"))) +@interface PAPICreateCredentialTypeCategoryResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICreateCredentialTypeCategoryResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICreateCredentialTypeCategoryResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICreateCredentialTypeCategoryResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateCredentialTypeField"))) +@interface PAPICreateCredentialTypeField : PAPIBase +- (instancetype)initWithName:(NSString *)name description:(NSString *)description type:(PAPICredentialTypeFieldType *)type unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(name:description:type:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICreateCredentialTypeFieldCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (PAPICredentialTypeFieldType *)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPICreateCredentialTypeField *)doCopyName:(NSString *)name description:(NSString *)description type:(PAPICredentialTypeFieldType *)type unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(name:description:type:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICreateCredentialTypeField *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *description_ __attribute__((swift_name("description_"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPICredentialTypeFieldType *type __attribute__((swift_name("type"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateCredentialTypeField.Companion"))) +@interface PAPICreateCredentialTypeFieldCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICreateCredentialTypeFieldCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICreateCredentialTypeField *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICreateCredentialTypeField *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateCredentialTypeRequest"))) +@interface PAPICreateCredentialTypeRequest : PAPIBase +- (instancetype)initWithCredentialType:(PAPICreateCredentialType * _Nullable)credentialType unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(credentialType:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICreateCredentialTypeRequestCompanion *companion __attribute__((swift_name("companion"))); +- (PAPICreateCredentialType * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPICreateCredentialTypeRequest *)doCopyCredentialType:(PAPICreateCredentialType * _Nullable)credentialType unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(credentialType:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICreateCredentialTypeRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPICreateCredentialType * _Nullable credentialType __attribute__((swift_name("credentialType"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateCredentialTypeRequest.Companion"))) +@interface PAPICreateCredentialTypeRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICreateCredentialTypeRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICreateCredentialTypeRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICreateCredentialTypeRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateCredentialTypeResponse"))) +@interface PAPICreateCredentialTypeResponse : PAPIBase +- (instancetype)initWithCredentialType:(PAPICredentialTypeWithRequiredFields * _Nullable)credentialType unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(credentialType:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICreateCredentialTypeResponseCompanion *companion __attribute__((swift_name("companion"))); +- (PAPICredentialTypeWithRequiredFields * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPICreateCredentialTypeResponse *)doCopyCredentialType:(PAPICredentialTypeWithRequiredFields * _Nullable)credentialType unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(credentialType:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICreateCredentialTypeResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPICredentialTypeWithRequiredFields * _Nullable credentialType __attribute__((swift_name("credentialType"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateCredentialTypeResponse.Companion"))) +@interface PAPICreateCredentialTypeResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICreateCredentialTypeResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICreateCredentialTypeResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICreateCredentialTypeResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateDIDOperation"))) +@interface PAPICreateDIDOperation : PAPIBase +- (instancetype)initWithDidData:(PAPICreateDIDOperationDIDCreationData * _Nullable)didData unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(didData:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICreateDIDOperationCompanion *companion __attribute__((swift_name("companion"))); +- (PAPICreateDIDOperationDIDCreationData * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPICreateDIDOperation *)doCopyDidData:(PAPICreateDIDOperationDIDCreationData * _Nullable)didData unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(didData:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICreateDIDOperation *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPICreateDIDOperationDIDCreationData * _Nullable didData __attribute__((swift_name("didData"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateDIDOperation.Companion"))) +@interface PAPICreateDIDOperationCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICreateDIDOperationCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICreateDIDOperation *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICreateDIDOperation *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateDIDOperation.DIDCreationData"))) +@interface PAPICreateDIDOperationDIDCreationData : PAPIBase +- (instancetype)initWithPublicKeys:(NSArray *)publicKeys unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(publicKeys:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICreateDIDOperationDIDCreationDataCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPICreateDIDOperationDIDCreationData *)doCopyPublicKeys:(NSArray *)publicKeys unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(publicKeys:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICreateDIDOperationDIDCreationData *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSArray *publicKeys __attribute__((swift_name("publicKeys"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateDIDOperation.DIDCreationDataCompanion"))) +@interface PAPICreateDIDOperationDIDCreationDataCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICreateDIDOperationDIDCreationDataCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICreateDIDOperationDIDCreationData *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICreateDIDOperationDIDCreationData *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateDIDOutput"))) +@interface PAPICreateDIDOutput : PAPIBase +- (instancetype)initWithDidSuffix:(NSString *)didSuffix unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(didSuffix:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICreateDIDOutputCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPICreateDIDOutput *)doCopyDidSuffix:(NSString *)didSuffix unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(didSuffix:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICreateDIDOutput *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *didSuffix __attribute__((swift_name("didSuffix"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateDIDOutput.Companion"))) +@interface PAPICreateDIDOutputCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICreateDIDOutputCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICreateDIDOutput *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICreateDIDOutput *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateGenericCredentialBulkRequest"))) +@interface PAPICreateGenericCredentialBulkRequest : PAPIBase +- (instancetype)initWithCredentialsJson:(NSString *)credentialsJson unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(credentialsJson:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICreateGenericCredentialBulkRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPICreateGenericCredentialBulkRequest *)doCopyCredentialsJson:(NSString *)credentialsJson unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(credentialsJson:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICreateGenericCredentialBulkRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *credentialsJson __attribute__((swift_name("credentialsJson"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateGenericCredentialBulkRequest.Companion"))) +@interface PAPICreateGenericCredentialBulkRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICreateGenericCredentialBulkRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICreateGenericCredentialBulkRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICreateGenericCredentialBulkRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateGenericCredentialBulkResponse"))) +@interface PAPICreateGenericCredentialBulkResponse : PAPIBase +- (instancetype)initWithCredentialIssuanceId:(NSString *)credentialIssuanceId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(credentialIssuanceId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICreateGenericCredentialBulkResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPICreateGenericCredentialBulkResponse *)doCopyCredentialIssuanceId:(NSString *)credentialIssuanceId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(credentialIssuanceId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICreateGenericCredentialBulkResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *credentialIssuanceId __attribute__((swift_name("credentialIssuanceId"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateGenericCredentialBulkResponse.Companion"))) +@interface PAPICreateGenericCredentialBulkResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICreateGenericCredentialBulkResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICreateGenericCredentialBulkResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICreateGenericCredentialBulkResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateGenericCredentialRequest"))) +@interface PAPICreateGenericCredentialRequest : PAPIBase +- (instancetype)initWithContactId:(NSString *)contactId credentialData:(NSString *)credentialData externalId:(NSString *)externalId credentialTypeId:(NSString *)credentialTypeId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(contactId:credentialData:externalId:credentialTypeId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICreateGenericCredentialRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (NSString *)component3 __attribute__((swift_name("component3()"))); +- (NSString *)component4 __attribute__((swift_name("component4()"))); +- (NSDictionary *)component5 __attribute__((swift_name("component5()"))); +- (PAPICreateGenericCredentialRequest *)doCopyContactId:(NSString *)contactId credentialData:(NSString *)credentialData externalId:(NSString *)externalId credentialTypeId:(NSString *)credentialTypeId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(contactId:credentialData:externalId:credentialTypeId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICreateGenericCredentialRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *contactId __attribute__((swift_name("contactId"))); +@property (readonly) NSString *credentialData __attribute__((swift_name("credentialData"))); +@property (readonly) NSString *credentialTypeId __attribute__((swift_name("credentialTypeId"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *externalId __attribute__((swift_name("externalId"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateGenericCredentialRequest.Companion"))) +@interface PAPICreateGenericCredentialRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICreateGenericCredentialRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICreateGenericCredentialRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICreateGenericCredentialRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateGenericCredentialResponse"))) +@interface PAPICreateGenericCredentialResponse : PAPIBase +- (instancetype)initWithGenericCredential:(PAPICManagerGenericCredential * _Nullable)genericCredential unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(genericCredential:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICreateGenericCredentialResponseCompanion *companion __attribute__((swift_name("companion"))); +- (PAPICManagerGenericCredential * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPICreateGenericCredentialResponse *)doCopyGenericCredential:(PAPICManagerGenericCredential * _Nullable)genericCredential unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(genericCredential:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICreateGenericCredentialResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPICManagerGenericCredential * _Nullable genericCredential __attribute__((swift_name("genericCredential"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateGenericCredentialResponse.Companion"))) +@interface PAPICreateGenericCredentialResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICreateGenericCredentialResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICreateGenericCredentialResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICreateGenericCredentialResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateGroupRequest"))) +@interface PAPICreateGroupRequest : PAPIBase +- (instancetype)initWithName:(NSString *)name contactIds:(NSArray *)contactIds unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(name:contactIds:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICreateGroupRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSArray *)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPICreateGroupRequest *)doCopyName:(NSString *)name contactIds:(NSArray *)contactIds unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(name:contactIds:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICreateGroupRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSArray *contactIds __attribute__((swift_name("contactIds"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateGroupRequest.Companion"))) +@interface PAPICreateGroupRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICreateGroupRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICreateGroupRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICreateGroupRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateGroupResponse"))) +@interface PAPICreateGroupResponse : PAPIBase +- (instancetype)initWithGroup:(PAPIGroup * _Nullable)group unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(group:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICreateGroupResponseCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIGroup * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPICreateGroupResponse *)doCopyGroup:(PAPIGroup * _Nullable)group unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(group:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICreateGroupResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIGroup * _Nullable group __attribute__((swift_name("group"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateGroupResponse.Companion"))) +@interface PAPICreateGroupResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICreateGroupResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICreateGroupResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICreateGroupResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialBatchData"))) +@interface PAPICredentialBatchData : PAPIBase +- (instancetype)initWithIssuerDid:(NSString *)issuerDid merkleRoot:(PAPIByteArr *)merkleRoot unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(issuerDid:merkleRoot:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICredentialBatchDataCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIByteArr *)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPICredentialBatchData *)doCopyIssuerDid:(NSString *)issuerDid merkleRoot:(PAPIByteArr *)merkleRoot unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(issuerDid:merkleRoot:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICredentialBatchData *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *issuerDid __attribute__((swift_name("issuerDid"))); +@property (readonly) PAPIByteArr *merkleRoot __attribute__((swift_name("merkleRoot"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialBatchData.Companion"))) +@interface PAPICredentialBatchDataCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICredentialBatchDataCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICredentialBatchData *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICredentialBatchData *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialIssuanceContact"))) +@interface PAPICredentialIssuanceContact : PAPIBase +- (instancetype)initWithContactId:(NSString *)contactId credentialData:(NSString *)credentialData groupIds:(NSArray *)groupIds unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(contactId:credentialData:groupIds:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICredentialIssuanceContactCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (NSArray *)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPICredentialIssuanceContact *)doCopyContactId:(NSString *)contactId credentialData:(NSString *)credentialData groupIds:(NSArray *)groupIds unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(contactId:credentialData:groupIds:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICredentialIssuanceContact *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *contactId __attribute__((swift_name("contactId"))); +@property (readonly) NSString *credentialData __attribute__((swift_name("credentialData"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSArray *groupIds __attribute__((swift_name("groupIds"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialIssuanceContact.Companion"))) +@interface PAPICredentialIssuanceContactCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICredentialIssuanceContactCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICredentialIssuanceContact *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICredentialIssuanceContact *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("CredentialIssuanceServiceCoroutine"))) +@protocol PAPICredentialIssuanceServiceCoroutine +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateCredentialIssuanceReq:(PAPICreateCredentialIssuanceRequest *)req completionHandler:(void (^)(PAPICreateCredentialIssuanceResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateCredentialIssuance(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateCredentialIssuanceAuthReq:(PAPICreateCredentialIssuanceRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPICreateCredentialIssuanceResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateCredentialIssuanceAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateGenericCredentialBulkReq:(PAPICreateGenericCredentialBulkRequest *)req completionHandler:(void (^)(PAPICreateGenericCredentialBulkResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateGenericCredentialBulk(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateGenericCredentialBulkAuthReq:(PAPICreateGenericCredentialBulkRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPICreateGenericCredentialBulkResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateGenericCredentialBulkAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetCredentialIssuanceReq:(PAPIGetCredentialIssuanceRequest *)req completionHandler:(void (^)(PAPIGetCredentialIssuanceResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetCredentialIssuance(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetCredentialIssuanceAuthReq:(PAPIGetCredentialIssuanceRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetCredentialIssuanceResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetCredentialIssuanceAuth(req:metadata:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialIssuanceServiceCoroutineClient"))) +@interface PAPICredentialIssuanceServiceCoroutineClient : PAPIBase +- (instancetype)initWithClient:(PAPIGrpcClient *)client __attribute__((swift_name("init(client:)"))) __attribute__((objc_designated_initializer)); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateCredentialIssuanceReq:(PAPICreateCredentialIssuanceRequest *)req completionHandler:(void (^)(PAPICreateCredentialIssuanceResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateCredentialIssuance(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateCredentialIssuanceAuthReq:(PAPICreateCredentialIssuanceRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPICreateCredentialIssuanceResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateCredentialIssuanceAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateGenericCredentialBulkReq:(PAPICreateGenericCredentialBulkRequest *)req completionHandler:(void (^)(PAPICreateGenericCredentialBulkResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateGenericCredentialBulk(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateGenericCredentialBulkAuthReq:(PAPICreateGenericCredentialBulkRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPICreateGenericCredentialBulkResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateGenericCredentialBulkAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetCredentialIssuanceReq:(PAPIGetCredentialIssuanceRequest *)req completionHandler:(void (^)(PAPIGetCredentialIssuanceResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetCredentialIssuance(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetCredentialIssuanceAuthReq:(PAPIGetCredentialIssuanceRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetCredentialIssuanceResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetCredentialIssuanceAuth(req:metadata:completionHandler:)"))); +- (void)close __attribute__((swift_name("close()"))); +@property (readonly) PAPIGrpcClient *client __attribute__((swift_name("client"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialRevoked"))) +@interface PAPICredentialRevoked : PAPIBase +- (instancetype)initWithEncodedCredential:(NSString *)encodedCredential reason:(NSString *)reason unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(encodedCredential:reason:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICredentialRevokedCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPICredentialRevoked *)doCopyEncodedCredential:(NSString *)encodedCredential reason:(NSString *)reason unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(encodedCredential:reason:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICredentialRevoked *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *encodedCredential __attribute__((swift_name("encodedCredential"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSString *reason __attribute__((swift_name("reason"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialRevoked.Companion"))) +@interface PAPICredentialRevokedCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICredentialRevokedCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICredentialRevoked *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICredentialRevoked *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialType"))) +@interface PAPICredentialType : PAPIBase +- (instancetype)initWithId:(NSString *)id name:(NSString *)name state:(PAPICredentialTypeState *)state template:(NSString *)template_ createdAt:(PAPITimestamp * _Nullable)createdAt icon:(PAPIByteArr *)icon unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(id:name:state:template:createdAt:icon:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICredentialTypeCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (PAPICredentialTypeState *)component3 __attribute__((swift_name("component3()"))); +- (NSString *)component4 __attribute__((swift_name("component4()"))); +- (PAPITimestamp * _Nullable)component5 __attribute__((swift_name("component5()"))); +- (PAPIByteArr *)component6 __attribute__((swift_name("component6()"))); +- (NSDictionary *)component7 __attribute__((swift_name("component7()"))); +- (PAPICredentialType *)doCopyId:(NSString *)id name:(NSString *)name state:(PAPICredentialTypeState *)state template:(NSString *)template_ createdAt:(PAPITimestamp * _Nullable)createdAt icon:(PAPIByteArr *)icon unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(id:name:state:template:createdAt:icon:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICredentialType *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPITimestamp * _Nullable createdAt __attribute__((swift_name("createdAt"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIByteArr *icon __attribute__((swift_name("icon"))); +@property (readonly) NSString *id __attribute__((swift_name("id"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPICredentialTypeState *state __attribute__((swift_name("state"))); +@property (readonly, getter=template) NSString *template_ __attribute__((swift_name("template_"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialType.Companion"))) +@interface PAPICredentialTypeCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICredentialTypeCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICredentialType *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICredentialType *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("CredentialTypeCategoriesServiceCoroutine"))) +@protocol PAPICredentialTypeCategoriesServiceCoroutine +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)ArchiveCredentialTypeCategoryReq:(PAPIArchiveCredentialTypeCategoryRequest *)req completionHandler:(void (^)(PAPIArchiveCredentialTypeCategoryResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("ArchiveCredentialTypeCategory(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)ArchiveCredentialTypeCategoryAuthReq:(PAPIArchiveCredentialTypeCategoryRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIArchiveCredentialTypeCategoryResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("ArchiveCredentialTypeCategoryAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateCredentialTypeCategoryReq:(PAPICreateCredentialTypeCategoryRequest *)req completionHandler:(void (^)(PAPICreateCredentialTypeCategoryResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateCredentialTypeCategory(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateCredentialTypeCategoryAuthReq:(PAPICreateCredentialTypeCategoryRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPICreateCredentialTypeCategoryResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateCredentialTypeCategoryAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetCredentialTypeCategoriesReq:(PAPIGetCredentialTypeCategoriesRequest *)req completionHandler:(void (^)(PAPIGetCredentialTypeCategoriesResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetCredentialTypeCategories(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetCredentialTypeCategoriesAuthReq:(PAPIGetCredentialTypeCategoriesRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetCredentialTypeCategoriesResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetCredentialTypeCategoriesAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)UnArchiveCredentialTypeCategoryReq:(PAPIUnArchiveCredentialTypeCategoryRequest *)req completionHandler:(void (^)(PAPIUnArchiveCredentialTypeCategoryResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("UnArchiveCredentialTypeCategory(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)UnArchiveCredentialTypeCategoryAuthReq:(PAPIUnArchiveCredentialTypeCategoryRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIUnArchiveCredentialTypeCategoryResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("UnArchiveCredentialTypeCategoryAuth(req:metadata:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialTypeCategoriesServiceCoroutineClient"))) +@interface PAPICredentialTypeCategoriesServiceCoroutineClient : PAPIBase +- (instancetype)initWithClient:(PAPIGrpcClient *)client __attribute__((swift_name("init(client:)"))) __attribute__((objc_designated_initializer)); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)ArchiveCredentialTypeCategoryReq:(PAPIArchiveCredentialTypeCategoryRequest *)req completionHandler:(void (^)(PAPIArchiveCredentialTypeCategoryResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("ArchiveCredentialTypeCategory(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)ArchiveCredentialTypeCategoryAuthReq:(PAPIArchiveCredentialTypeCategoryRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIArchiveCredentialTypeCategoryResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("ArchiveCredentialTypeCategoryAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateCredentialTypeCategoryReq:(PAPICreateCredentialTypeCategoryRequest *)req completionHandler:(void (^)(PAPICreateCredentialTypeCategoryResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateCredentialTypeCategory(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateCredentialTypeCategoryAuthReq:(PAPICreateCredentialTypeCategoryRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPICreateCredentialTypeCategoryResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateCredentialTypeCategoryAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetCredentialTypeCategoriesReq:(PAPIGetCredentialTypeCategoriesRequest *)req completionHandler:(void (^)(PAPIGetCredentialTypeCategoriesResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetCredentialTypeCategories(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetCredentialTypeCategoriesAuthReq:(PAPIGetCredentialTypeCategoriesRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetCredentialTypeCategoriesResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetCredentialTypeCategoriesAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)UnArchiveCredentialTypeCategoryReq:(PAPIUnArchiveCredentialTypeCategoryRequest *)req completionHandler:(void (^)(PAPIUnArchiveCredentialTypeCategoryResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("UnArchiveCredentialTypeCategory(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)UnArchiveCredentialTypeCategoryAuthReq:(PAPIUnArchiveCredentialTypeCategoryRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIUnArchiveCredentialTypeCategoryResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("UnArchiveCredentialTypeCategoryAuth(req:metadata:completionHandler:)"))); +- (void)close __attribute__((swift_name("close()"))); +@property (readonly) PAPIGrpcClient *client __attribute__((swift_name("client"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialTypeCategory"))) +@interface PAPICredentialTypeCategory : PAPIBase +- (instancetype)initWithId:(NSString *)id name:(NSString *)name state:(PAPICredentialTypeCategoryState *)state institutionId:(NSString *)institutionId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(id:name:state:institutionId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICredentialTypeCategoryCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (PAPICredentialTypeCategoryState *)component3 __attribute__((swift_name("component3()"))); +- (NSString *)component4 __attribute__((swift_name("component4()"))); +- (NSDictionary *)component5 __attribute__((swift_name("component5()"))); +- (PAPICredentialTypeCategory *)doCopyId:(NSString *)id name:(NSString *)name state:(PAPICredentialTypeCategoryState *)state institutionId:(NSString *)institutionId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(id:name:state:institutionId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICredentialTypeCategory *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *id __attribute__((swift_name("id"))); +@property (readonly) NSString *institutionId __attribute__((swift_name("institutionId"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPICredentialTypeCategoryState *state __attribute__((swift_name("state"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialTypeCategory.Companion"))) +@interface PAPICredentialTypeCategoryCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICredentialTypeCategoryCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICredentialTypeCategory *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICredentialTypeCategory *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("CredentialTypeCategoryState"))) +@interface PAPICredentialTypeCategoryState : PAPIBase +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICredentialTypeCategoryStateCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly, getter=name_) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) int32_t value_ __attribute__((swift_name("value_"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialTypeCategoryState.CREDENTIAL_TYPE_CATEGORY_ARCHIVED"))) +@interface PAPICredentialTypeCategoryStateCREDENTIAL_TYPE_CATEGORY_ARCHIVED : PAPICredentialTypeCategoryState ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)cREDENTIAL_TYPE_CATEGORY_ARCHIVED __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICredentialTypeCategoryStateCREDENTIAL_TYPE_CATEGORY_ARCHIVED *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialTypeCategoryState.CREDENTIAL_TYPE_CATEGORY_DRAFT"))) +@interface PAPICredentialTypeCategoryStateCREDENTIAL_TYPE_CATEGORY_DRAFT : PAPICredentialTypeCategoryState ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)cREDENTIAL_TYPE_CATEGORY_DRAFT __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICredentialTypeCategoryStateCREDENTIAL_TYPE_CATEGORY_DRAFT *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialTypeCategoryState.CREDENTIAL_TYPE_CATEGORY_READY"))) +@interface PAPICredentialTypeCategoryStateCREDENTIAL_TYPE_CATEGORY_READY : PAPICredentialTypeCategoryState ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)cREDENTIAL_TYPE_CATEGORY_READY __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICredentialTypeCategoryStateCREDENTIAL_TYPE_CATEGORY_READY *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialTypeCategoryState.Companion"))) +@interface PAPICredentialTypeCategoryStateCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICredentialTypeCategoryStateCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICredentialTypeCategoryState *)fromNameName:(NSString *)name __attribute__((swift_name("fromName(name:)"))); +- (PAPICredentialTypeCategoryState *)fromValueValue:(int32_t)value __attribute__((swift_name("fromValue(value:)"))); +@property (readonly) NSArray *values __attribute__((swift_name("values"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialTypeCategoryState.UNRECOGNIZED"))) +@interface PAPICredentialTypeCategoryStateUNRECOGNIZED : PAPICredentialTypeCategoryState +- (instancetype)initWithValue:(int32_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialTypeField"))) +@interface PAPICredentialTypeField : PAPIBase +- (instancetype)initWithId:(NSString *)id credentialTypeId:(NSString *)credentialTypeId name:(NSString *)name description:(NSString *)description type:(PAPICredentialTypeFieldType *)type unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(id:credentialTypeId:name:description:type:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICredentialTypeFieldCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (NSString *)component3 __attribute__((swift_name("component3()"))); +- (NSString *)component4 __attribute__((swift_name("component4()"))); +- (PAPICredentialTypeFieldType *)component5 __attribute__((swift_name("component5()"))); +- (NSDictionary *)component6 __attribute__((swift_name("component6()"))); +- (PAPICredentialTypeField *)doCopyId:(NSString *)id credentialTypeId:(NSString *)credentialTypeId name:(NSString *)name description:(NSString *)description type:(PAPICredentialTypeFieldType *)type unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(id:credentialTypeId:name:description:type:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICredentialTypeField *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *credentialTypeId __attribute__((swift_name("credentialTypeId"))); +@property (readonly) NSString *description_ __attribute__((swift_name("description_"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *id __attribute__((swift_name("id"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPICredentialTypeFieldType *type __attribute__((swift_name("type"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialTypeField.Companion"))) +@interface PAPICredentialTypeFieldCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICredentialTypeFieldCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICredentialTypeField *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICredentialTypeField *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("CredentialTypeFieldType"))) +@interface PAPICredentialTypeFieldType : PAPIBase +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICredentialTypeFieldTypeCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly, getter=name_) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) int32_t value_ __attribute__((swift_name("value_"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialTypeFieldType.CREDENTIAL_TYPE_FIELD_BOOLEAN"))) +@interface PAPICredentialTypeFieldTypeCREDENTIAL_TYPE_FIELD_BOOLEAN : PAPICredentialTypeFieldType ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)cREDENTIAL_TYPE_FIELD_BOOLEAN __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICredentialTypeFieldTypeCREDENTIAL_TYPE_FIELD_BOOLEAN *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialTypeFieldType.CREDENTIAL_TYPE_FIELD_DATE"))) +@interface PAPICredentialTypeFieldTypeCREDENTIAL_TYPE_FIELD_DATE : PAPICredentialTypeFieldType ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)cREDENTIAL_TYPE_FIELD_DATE __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICredentialTypeFieldTypeCREDENTIAL_TYPE_FIELD_DATE *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialTypeFieldType.CREDENTIAL_TYPE_FIELD_INT"))) +@interface PAPICredentialTypeFieldTypeCREDENTIAL_TYPE_FIELD_INT : PAPICredentialTypeFieldType ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)cREDENTIAL_TYPE_FIELD_INT __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICredentialTypeFieldTypeCREDENTIAL_TYPE_FIELD_INT *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialTypeFieldType.CREDENTIAL_TYPE_FIELD_STRING"))) +@interface PAPICredentialTypeFieldTypeCREDENTIAL_TYPE_FIELD_STRING : PAPICredentialTypeFieldType ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)cREDENTIAL_TYPE_FIELD_STRING __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICredentialTypeFieldTypeCREDENTIAL_TYPE_FIELD_STRING *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialTypeFieldType.CREDENTIAL_TYPE_FIELD_UNKNOWN"))) +@interface PAPICredentialTypeFieldTypeCREDENTIAL_TYPE_FIELD_UNKNOWN : PAPICredentialTypeFieldType ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)cREDENTIAL_TYPE_FIELD_UNKNOWN __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICredentialTypeFieldTypeCREDENTIAL_TYPE_FIELD_UNKNOWN *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialTypeFieldType.Companion"))) +@interface PAPICredentialTypeFieldTypeCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICredentialTypeFieldTypeCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICredentialTypeFieldType *)fromNameName:(NSString *)name __attribute__((swift_name("fromName(name:)"))); +- (PAPICredentialTypeFieldType *)fromValueValue:(int32_t)value __attribute__((swift_name("fromValue(value:)"))); +@property (readonly) NSArray *values __attribute__((swift_name("values"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialTypeFieldType.UNRECOGNIZED"))) +@interface PAPICredentialTypeFieldTypeUNRECOGNIZED : PAPICredentialTypeFieldType +- (instancetype)initWithValue:(int32_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((swift_name("CredentialTypeState"))) +@interface PAPICredentialTypeState : PAPIBase +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICredentialTypeStateCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly, getter=name_) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) int32_t value_ __attribute__((swift_name("value_"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialTypeState.CREDENTIAL_TYPE_ARCHIVED"))) +@interface PAPICredentialTypeStateCREDENTIAL_TYPE_ARCHIVED : PAPICredentialTypeState ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)cREDENTIAL_TYPE_ARCHIVED __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICredentialTypeStateCREDENTIAL_TYPE_ARCHIVED *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialTypeState.CREDENTIAL_TYPE_DRAFT"))) +@interface PAPICredentialTypeStateCREDENTIAL_TYPE_DRAFT : PAPICredentialTypeState ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)cREDENTIAL_TYPE_DRAFT __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICredentialTypeStateCREDENTIAL_TYPE_DRAFT *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialTypeState.CREDENTIAL_TYPE_READY"))) +@interface PAPICredentialTypeStateCREDENTIAL_TYPE_READY : PAPICredentialTypeState ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)cREDENTIAL_TYPE_READY __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICredentialTypeStateCREDENTIAL_TYPE_READY *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialTypeState.CREDENTIAL_TYPE_UNKNOWN"))) +@interface PAPICredentialTypeStateCREDENTIAL_TYPE_UNKNOWN : PAPICredentialTypeState ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)cREDENTIAL_TYPE_UNKNOWN __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICredentialTypeStateCREDENTIAL_TYPE_UNKNOWN *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialTypeState.Companion"))) +@interface PAPICredentialTypeStateCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICredentialTypeStateCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICredentialTypeState *)fromNameName:(NSString *)name __attribute__((swift_name("fromName(name:)"))); +- (PAPICredentialTypeState *)fromValueValue:(int32_t)value __attribute__((swift_name("fromValue(value:)"))); +@property (readonly) NSArray *values __attribute__((swift_name("values"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialTypeState.UNRECOGNIZED"))) +@interface PAPICredentialTypeStateUNRECOGNIZED : PAPICredentialTypeState +- (instancetype)initWithValue:(int32_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialTypeWithRequiredFields"))) +@interface PAPICredentialTypeWithRequiredFields : PAPIBase +- (instancetype)initWithCredentialType:(PAPICredentialType * _Nullable)credentialType requiredFields:(NSArray *)requiredFields unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(credentialType:requiredFields:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICredentialTypeWithRequiredFieldsCompanion *companion __attribute__((swift_name("companion"))); +- (PAPICredentialType * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSArray *)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPICredentialTypeWithRequiredFields *)doCopyCredentialType:(PAPICredentialType * _Nullable)credentialType requiredFields:(NSArray *)requiredFields unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(credentialType:requiredFields:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICredentialTypeWithRequiredFields *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPICredentialType * _Nullable credentialType __attribute__((swift_name("credentialType"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSArray *requiredFields __attribute__((swift_name("requiredFields"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialTypeWithRequiredFields.Companion"))) +@interface PAPICredentialTypeWithRequiredFieldsCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICredentialTypeWithRequiredFieldsCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICredentialTypeWithRequiredFields *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICredentialTypeWithRequiredFields *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("CredentialTypesServiceCoroutine"))) +@protocol PAPICredentialTypesServiceCoroutine +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateCredentialTypeReq:(PAPICreateCredentialTypeRequest *)req completionHandler:(void (^)(PAPICreateCredentialTypeResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateCredentialType(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateCredentialTypeAuthReq:(PAPICreateCredentialTypeRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPICreateCredentialTypeResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateCredentialTypeAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetCredentialTypeReq:(PAPIGetCredentialTypeRequest *)req completionHandler:(void (^)(PAPIGetCredentialTypeResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetCredentialType(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetCredentialTypeAuthReq:(PAPIGetCredentialTypeRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetCredentialTypeResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetCredentialTypeAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetCredentialTypesReq:(PAPIGetCredentialTypesRequest *)req completionHandler:(void (^)(PAPIGetCredentialTypesResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetCredentialTypes(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetCredentialTypesAuthReq:(PAPIGetCredentialTypesRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetCredentialTypesResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetCredentialTypesAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)MarkAsArchivedCredentialTypeReq:(PAPIMarkAsArchivedCredentialTypeRequest *)req completionHandler:(void (^)(PAPIMarkAsArchivedCredentialTypeResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("MarkAsArchivedCredentialType(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)MarkAsArchivedCredentialTypeAuthReq:(PAPIMarkAsArchivedCredentialTypeRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIMarkAsArchivedCredentialTypeResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("MarkAsArchivedCredentialTypeAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)MarkAsReadyCredentialTypeReq:(PAPIMarkAsReadyCredentialTypeRequest *)req completionHandler:(void (^)(PAPIMarkAsReadyCredentialTypeResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("MarkAsReadyCredentialType(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)MarkAsReadyCredentialTypeAuthReq:(PAPIMarkAsReadyCredentialTypeRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIMarkAsReadyCredentialTypeResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("MarkAsReadyCredentialTypeAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)UpdateCredentialTypeReq:(PAPIUpdateCredentialTypeRequest *)req completionHandler:(void (^)(PAPIUpdateCredentialTypeResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("UpdateCredentialType(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)UpdateCredentialTypeAuthReq:(PAPIUpdateCredentialTypeRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIUpdateCredentialTypeResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("UpdateCredentialTypeAuth(req:metadata:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialTypesServiceCoroutineClient"))) +@interface PAPICredentialTypesServiceCoroutineClient : PAPIBase +- (instancetype)initWithClient:(PAPIGrpcClient *)client __attribute__((swift_name("init(client:)"))) __attribute__((objc_designated_initializer)); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateCredentialTypeReq:(PAPICreateCredentialTypeRequest *)req completionHandler:(void (^)(PAPICreateCredentialTypeResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateCredentialType(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateCredentialTypeAuthReq:(PAPICreateCredentialTypeRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPICreateCredentialTypeResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateCredentialTypeAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetCredentialTypeReq:(PAPIGetCredentialTypeRequest *)req completionHandler:(void (^)(PAPIGetCredentialTypeResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetCredentialType(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetCredentialTypeAuthReq:(PAPIGetCredentialTypeRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetCredentialTypeResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetCredentialTypeAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetCredentialTypesReq:(PAPIGetCredentialTypesRequest *)req completionHandler:(void (^)(PAPIGetCredentialTypesResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetCredentialTypes(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetCredentialTypesAuthReq:(PAPIGetCredentialTypesRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetCredentialTypesResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetCredentialTypesAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)MarkAsArchivedCredentialTypeReq:(PAPIMarkAsArchivedCredentialTypeRequest *)req completionHandler:(void (^)(PAPIMarkAsArchivedCredentialTypeResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("MarkAsArchivedCredentialType(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)MarkAsArchivedCredentialTypeAuthReq:(PAPIMarkAsArchivedCredentialTypeRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIMarkAsArchivedCredentialTypeResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("MarkAsArchivedCredentialTypeAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)MarkAsReadyCredentialTypeReq:(PAPIMarkAsReadyCredentialTypeRequest *)req completionHandler:(void (^)(PAPIMarkAsReadyCredentialTypeResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("MarkAsReadyCredentialType(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)MarkAsReadyCredentialTypeAuthReq:(PAPIMarkAsReadyCredentialTypeRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIMarkAsReadyCredentialTypeResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("MarkAsReadyCredentialTypeAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)UpdateCredentialTypeReq:(PAPIUpdateCredentialTypeRequest *)req completionHandler:(void (^)(PAPIUpdateCredentialTypeResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("UpdateCredentialType(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)UpdateCredentialTypeAuthReq:(PAPIUpdateCredentialTypeRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIUpdateCredentialTypeResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("UpdateCredentialTypeAuth(req:metadata:completionHandler:)"))); +- (void)close __attribute__((swift_name("close()"))); +@property (readonly) PAPIGrpcClient *client __attribute__((swift_name("client"))); +@end; + +__attribute__((swift_name("CredentialsServiceCoroutine"))) +@protocol PAPICredentialsServiceCoroutine +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateGenericCredentialReq:(PAPICreateGenericCredentialRequest *)req completionHandler:(void (^)(PAPICreateGenericCredentialResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateGenericCredential(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateGenericCredentialAuthReq:(PAPICreateGenericCredentialRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPICreateGenericCredentialResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateGenericCredentialAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)DeleteCredentialsReq:(PAPIDeleteCredentialsRequest *)req completionHandler:(void (^)(PAPIDeleteCredentialsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("DeleteCredentials(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)DeleteCredentialsAuthReq:(PAPIDeleteCredentialsRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIDeleteCredentialsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("DeleteCredentialsAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetBlockchainDataReq:(PAPIGetBlockchainDataRequest *)req completionHandler:(void (^)(PAPIGetBlockchainDataResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetBlockchainData(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetBlockchainDataAuthReq:(PAPIGetBlockchainDataRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetBlockchainDataResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetBlockchainDataAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetContactCredentialsReq:(PAPIGetContactCredentialsRequest *)req completionHandler:(void (^)(PAPIGetContactCredentialsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetContactCredentials(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetContactCredentialsAuthReq:(PAPIGetContactCredentialsRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetContactCredentialsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetContactCredentialsAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetGenericCredentialsReq:(PAPIGetGenericCredentialsRequest *)req completionHandler:(void (^)(PAPIGetGenericCredentialsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetGenericCredentials(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetGenericCredentialsAuthReq:(PAPIGetGenericCredentialsRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetGenericCredentialsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetGenericCredentialsAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetLedgerDataReq:(PAPIGetLedgerDataRequest *)req completionHandler:(void (^)(PAPIGetLedgerDataResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetLedgerData(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetLedgerDataAuthReq:(PAPIGetLedgerDataRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetLedgerDataResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetLedgerDataAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)PublishBatchReq:(PAPIPublishBatchRequest *)req completionHandler:(void (^)(PAPIPublishBatchResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("PublishBatch(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)PublishBatchAuthReq:(PAPIPublishBatchRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIPublishBatchResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("PublishBatchAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)RevokePublishedCredentialReq:(PAPIRevokePublishedCredentialRequest *)req completionHandler:(void (^)(PAPIRevokePublishedCredentialResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("RevokePublishedCredential(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)RevokePublishedCredentialAuthReq:(PAPIRevokePublishedCredentialRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIRevokePublishedCredentialResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("RevokePublishedCredentialAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)ShareCredentialReq:(PAPIShareCredentialRequest *)req completionHandler:(void (^)(PAPIShareCredentialResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("ShareCredential(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)ShareCredentialAuthReq:(PAPIShareCredentialRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIShareCredentialResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("ShareCredentialAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)ShareCredentialsReq:(PAPIShareCredentialsRequest *)req completionHandler:(void (^)(PAPIShareCredentialsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("ShareCredentials(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)ShareCredentialsAuthReq:(PAPIShareCredentialsRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIShareCredentialsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("ShareCredentialsAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)StorePublishedCredentialReq:(PAPIStorePublishedCredentialRequest *)req completionHandler:(void (^)(PAPIStorePublishedCredentialResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("StorePublishedCredential(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)StorePublishedCredentialAuthReq:(PAPIStorePublishedCredentialRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIStorePublishedCredentialResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("StorePublishedCredentialAuth(req:metadata:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialsServiceCoroutineClient"))) +@interface PAPICredentialsServiceCoroutineClient : PAPIBase +- (instancetype)initWithClient:(PAPIGrpcClient *)client __attribute__((swift_name("init(client:)"))) __attribute__((objc_designated_initializer)); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateGenericCredentialReq:(PAPICreateGenericCredentialRequest *)req completionHandler:(void (^)(PAPICreateGenericCredentialResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateGenericCredential(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateGenericCredentialAuthReq:(PAPICreateGenericCredentialRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPICreateGenericCredentialResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateGenericCredentialAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)DeleteCredentialsReq:(PAPIDeleteCredentialsRequest *)req completionHandler:(void (^)(PAPIDeleteCredentialsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("DeleteCredentials(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)DeleteCredentialsAuthReq:(PAPIDeleteCredentialsRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIDeleteCredentialsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("DeleteCredentialsAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetBlockchainDataReq:(PAPIGetBlockchainDataRequest *)req completionHandler:(void (^)(PAPIGetBlockchainDataResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetBlockchainData(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetBlockchainDataAuthReq:(PAPIGetBlockchainDataRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetBlockchainDataResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetBlockchainDataAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetContactCredentialsReq:(PAPIGetContactCredentialsRequest *)req completionHandler:(void (^)(PAPIGetContactCredentialsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetContactCredentials(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetContactCredentialsAuthReq:(PAPIGetContactCredentialsRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetContactCredentialsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetContactCredentialsAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetGenericCredentialsReq:(PAPIGetGenericCredentialsRequest *)req completionHandler:(void (^)(PAPIGetGenericCredentialsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetGenericCredentials(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetGenericCredentialsAuthReq:(PAPIGetGenericCredentialsRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetGenericCredentialsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetGenericCredentialsAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetLedgerDataReq:(PAPIGetLedgerDataRequest *)req completionHandler:(void (^)(PAPIGetLedgerDataResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetLedgerData(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetLedgerDataAuthReq:(PAPIGetLedgerDataRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetLedgerDataResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetLedgerDataAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)PublishBatchReq:(PAPIPublishBatchRequest *)req completionHandler:(void (^)(PAPIPublishBatchResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("PublishBatch(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)PublishBatchAuthReq:(PAPIPublishBatchRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIPublishBatchResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("PublishBatchAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)RevokePublishedCredentialReq:(PAPIRevokePublishedCredentialRequest *)req completionHandler:(void (^)(PAPIRevokePublishedCredentialResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("RevokePublishedCredential(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)RevokePublishedCredentialAuthReq:(PAPIRevokePublishedCredentialRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIRevokePublishedCredentialResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("RevokePublishedCredentialAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)ShareCredentialReq:(PAPIShareCredentialRequest *)req completionHandler:(void (^)(PAPIShareCredentialResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("ShareCredential(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)ShareCredentialAuthReq:(PAPIShareCredentialRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIShareCredentialResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("ShareCredentialAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)ShareCredentialsReq:(PAPIShareCredentialsRequest *)req completionHandler:(void (^)(PAPIShareCredentialsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("ShareCredentials(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)ShareCredentialsAuthReq:(PAPIShareCredentialsRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIShareCredentialsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("ShareCredentialsAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)StorePublishedCredentialReq:(PAPIStorePublishedCredentialRequest *)req completionHandler:(void (^)(PAPIStorePublishedCredentialResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("StorePublishedCredential(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)StorePublishedCredentialAuthReq:(PAPIStorePublishedCredentialRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIStorePublishedCredentialResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("StorePublishedCredentialAuth(req:metadata:completionHandler:)"))); +- (void)close __attribute__((swift_name("close()"))); +@property (readonly) PAPIGrpcClient *client __attribute__((swift_name("client"))); +@end; + +__attribute__((swift_name("CredentialsStoreServiceCoroutine"))) +@protocol PAPICredentialsStoreServiceCoroutine +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetLatestCredentialExternalIdReq:(PAPIGetLatestCredentialExternalIdRequest *)req completionHandler:(void (^)(PAPIGetLatestCredentialExternalIdResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetLatestCredentialExternalId(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetLatestCredentialExternalIdAuthReq:(PAPIGetLatestCredentialExternalIdRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetLatestCredentialExternalIdResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetLatestCredentialExternalIdAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetStoredCredentialsForReq:(PAPIGetStoredCredentialsForRequest *)req completionHandler:(void (^)(PAPIGetStoredCredentialsForResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetStoredCredentialsFor(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetStoredCredentialsForAuthReq:(PAPIGetStoredCredentialsForRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetStoredCredentialsForResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetStoredCredentialsForAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)StoreCredentialReq:(PAPIStoreCredentialRequest *)req completionHandler:(void (^)(PAPIStoreCredentialResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("StoreCredential(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)StoreCredentialAuthReq:(PAPIStoreCredentialRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIStoreCredentialResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("StoreCredentialAuth(req:metadata:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialsStoreServiceCoroutineClient"))) +@interface PAPICredentialsStoreServiceCoroutineClient : PAPIBase +- (instancetype)initWithClient:(PAPIGrpcClient *)client __attribute__((swift_name("init(client:)"))) __attribute__((objc_designated_initializer)); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetLatestCredentialExternalIdReq:(PAPIGetLatestCredentialExternalIdRequest *)req completionHandler:(void (^)(PAPIGetLatestCredentialExternalIdResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetLatestCredentialExternalId(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetLatestCredentialExternalIdAuthReq:(PAPIGetLatestCredentialExternalIdRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetLatestCredentialExternalIdResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetLatestCredentialExternalIdAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetStoredCredentialsForReq:(PAPIGetStoredCredentialsForRequest *)req completionHandler:(void (^)(PAPIGetStoredCredentialsForResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetStoredCredentialsFor(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetStoredCredentialsForAuthReq:(PAPIGetStoredCredentialsForRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetStoredCredentialsForResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetStoredCredentialsForAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)StoreCredentialReq:(PAPIStoreCredentialRequest *)req completionHandler:(void (^)(PAPIStoreCredentialResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("StoreCredential(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)StoreCredentialAuthReq:(PAPIStoreCredentialRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIStoreCredentialResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("StoreCredentialAuth(req:metadata:completionHandler:)"))); +- (void)close __attribute__((swift_name("close()"))); +@property (readonly) PAPIGrpcClient *client __attribute__((swift_name("client"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DIDData"))) +@interface PAPIDIDData : PAPIBase +- (instancetype)initWithId:(NSString *)id publicKeys:(NSArray *)publicKeys unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(id:publicKeys:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIDIDDataCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSArray *)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIDIDData *)doCopyId:(NSString *)id publicKeys:(NSArray *)publicKeys unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(id:publicKeys:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIDIDData *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *id __attribute__((swift_name("id"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSArray *publicKeys __attribute__((swift_name("publicKeys"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DIDData.Companion"))) +@interface PAPIDIDDataCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDIDDataCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIDIDData *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIDIDData *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Date"))) +@interface PAPIDate : PAPIBase +- (instancetype)initWithYear:(int32_t)year month:(int32_t)month day:(int32_t)day unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(year:month:day:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIDateCompanion *companion __attribute__((swift_name("companion"))); +- (int32_t)component1 __attribute__((swift_name("component1()"))); +- (int32_t)component2 __attribute__((swift_name("component2()"))); +- (int32_t)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPIDate *)doCopyYear:(int32_t)year month:(int32_t)month day:(int32_t)day unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(year:month:day:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIDate *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) int32_t day __attribute__((swift_name("day"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t month __attribute__((swift_name("month"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@property (readonly) int32_t year __attribute__((swift_name("year"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Date.Companion"))) +@interface PAPIDateCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDateCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIDate *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIDate *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DeleteContactRequest"))) +@interface PAPIDeleteContactRequest : PAPIBase +- (instancetype)initWithContactId:(NSString *)contactId deleteCredentials:(BOOL)deleteCredentials unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(contactId:deleteCredentials:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIDeleteContactRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (BOOL)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIDeleteContactRequest *)doCopyContactId:(NSString *)contactId deleteCredentials:(BOOL)deleteCredentials unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(contactId:deleteCredentials:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIDeleteContactRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *contactId __attribute__((swift_name("contactId"))); +@property (readonly) BOOL deleteCredentials __attribute__((swift_name("deleteCredentials"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DeleteContactRequest.Companion"))) +@interface PAPIDeleteContactRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDeleteContactRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIDeleteContactRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIDeleteContactRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DeleteContactResponse"))) +@interface PAPIDeleteContactResponse : PAPIBase +- (instancetype)initWithUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIDeleteContactResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPIDeleteContactResponse *)doCopyUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIDeleteContactResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DeleteContactResponse.Companion"))) +@interface PAPIDeleteContactResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDeleteContactResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIDeleteContactResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIDeleteContactResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DeleteCredentialsRequest"))) +@interface PAPIDeleteCredentialsRequest : PAPIBase +- (instancetype)initWithCredentialsIds:(NSArray *)credentialsIds unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(credentialsIds:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIDeleteCredentialsRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIDeleteCredentialsRequest *)doCopyCredentialsIds:(NSArray *)credentialsIds unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(credentialsIds:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIDeleteCredentialsRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSArray *credentialsIds __attribute__((swift_name("credentialsIds"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DeleteCredentialsRequest.Companion"))) +@interface PAPIDeleteCredentialsRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDeleteCredentialsRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIDeleteCredentialsRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIDeleteCredentialsRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DeleteCredentialsResponse"))) +@interface PAPIDeleteCredentialsResponse : PAPIBase +- (instancetype)initWithUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIDeleteCredentialsResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPIDeleteCredentialsResponse *)doCopyUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIDeleteCredentialsResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DeleteCredentialsResponse.Companion"))) +@interface PAPIDeleteCredentialsResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDeleteCredentialsResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIDeleteCredentialsResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIDeleteCredentialsResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DeleteGroupRequest"))) +@interface PAPIDeleteGroupRequest : PAPIBase +- (instancetype)initWithGroupId:(NSString *)groupId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(groupId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIDeleteGroupRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIDeleteGroupRequest *)doCopyGroupId:(NSString *)groupId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(groupId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIDeleteGroupRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *groupId __attribute__((swift_name("groupId"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DeleteGroupRequest.Companion"))) +@interface PAPIDeleteGroupRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDeleteGroupRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIDeleteGroupRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIDeleteGroupRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DeleteGroupResponse"))) +@interface PAPIDeleteGroupResponse : PAPIBase +- (instancetype)initWithUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIDeleteGroupResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPIDeleteGroupResponse *)doCopyUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIDeleteGroupResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DeleteGroupResponse.Companion"))) +@interface PAPIDeleteGroupResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDeleteGroupResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIDeleteGroupResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIDeleteGroupResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ECKeyData"))) +@interface PAPIECKeyData : PAPIBase +- (instancetype)initWithCurve:(NSString *)curve x:(PAPIByteArr *)x y:(PAPIByteArr *)y unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(curve:x:y:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIECKeyDataCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIByteArr *)component2 __attribute__((swift_name("component2()"))); +- (PAPIByteArr *)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPIECKeyData *)doCopyCurve:(NSString *)curve x:(PAPIByteArr *)x y:(PAPIByteArr *)y unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(curve:x:y:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIECKeyData *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *curve __attribute__((swift_name("curve"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@property (readonly) PAPIByteArr *x __attribute__((swift_name("x"))); +@property (readonly) PAPIByteArr *y __attribute__((swift_name("y"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ECKeyData.Companion"))) +@interface PAPIECKeyDataCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIECKeyDataCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIECKeyData *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIECKeyData *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("EncodedPublicKey"))) +@interface PAPIEncodedPublicKey : PAPIBase +- (instancetype)initWithPublicKey:(PAPIByteArr *)publicKey unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(publicKey:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIEncodedPublicKeyCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIByteArr *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIEncodedPublicKey *)doCopyPublicKey:(PAPIByteArr *)publicKey unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(publicKey:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIEncodedPublicKey *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPIByteArr *publicKey __attribute__((swift_name("publicKey"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("EncodedPublicKey.Companion"))) +@interface PAPIEncodedPublicKeyCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIEncodedPublicKeyCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIEncodedPublicKey *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIEncodedPublicKey *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("EncryptedMessage"))) +@interface PAPIEncryptedMessage : PAPIBase +- (instancetype)initWithKeyId:(NSString *)keyId encryptedContent:(PAPIByteArr *)encryptedContent unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(keyId:encryptedContent:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIEncryptedMessageCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIByteArr *)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIEncryptedMessage *)doCopyKeyId:(NSString *)keyId encryptedContent:(PAPIByteArr *)encryptedContent unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(keyId:encryptedContent:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIEncryptedMessage *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIByteArr *encryptedContent __attribute__((swift_name("encryptedContent"))); +@property (readonly) NSString *keyId __attribute__((swift_name("keyId"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("EncryptedMessage.Companion"))) +@interface PAPIEncryptedMessageCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIEncryptedMessageCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIEncryptedMessage *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIEncryptedMessage *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GenerateConnectionTokenForContactRequest"))) +@interface PAPIGenerateConnectionTokenForContactRequest : PAPIBase +- (instancetype)initWithContactId:(NSString *)contactId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(contactId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGenerateConnectionTokenForContactRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGenerateConnectionTokenForContactRequest *)doCopyContactId:(NSString *)contactId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(contactId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGenerateConnectionTokenForContactRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *contactId __attribute__((swift_name("contactId"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GenerateConnectionTokenForContactRequest.Companion"))) +@interface PAPIGenerateConnectionTokenForContactRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGenerateConnectionTokenForContactRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGenerateConnectionTokenForContactRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGenerateConnectionTokenForContactRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GenerateConnectionTokenForContactResponse"))) +@interface PAPIGenerateConnectionTokenForContactResponse : PAPIBase +- (instancetype)initWithToken:(NSString *)token unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(token:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGenerateConnectionTokenForContactResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGenerateConnectionTokenForContactResponse *)doCopyToken:(NSString *)token unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(token:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGenerateConnectionTokenForContactResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSString *token __attribute__((swift_name("token"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GenerateConnectionTokenForContactResponse.Companion"))) +@interface PAPIGenerateConnectionTokenForContactResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGenerateConnectionTokenForContactResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGenerateConnectionTokenForContactResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGenerateConnectionTokenForContactResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GenerateConnectionTokenRequest"))) +@interface PAPIGenerateConnectionTokenRequest : PAPIBase +- (instancetype)initWithCount:(int32_t)count unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(count:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGenerateConnectionTokenRequestCompanion *companion __attribute__((swift_name("companion"))); +- (int32_t)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGenerateConnectionTokenRequest *)doCopyCount:(int32_t)count unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(count:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGenerateConnectionTokenRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) int32_t count __attribute__((swift_name("count"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GenerateConnectionTokenRequest.Companion"))) +@interface PAPIGenerateConnectionTokenRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGenerateConnectionTokenRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGenerateConnectionTokenRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGenerateConnectionTokenRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GenerateConnectionTokenResponse"))) +@interface PAPIGenerateConnectionTokenResponse : PAPIBase +- (instancetype)initWithTokens:(NSArray *)tokens unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(tokens:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGenerateConnectionTokenResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGenerateConnectionTokenResponse *)doCopyTokens:(NSArray *)tokens unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(tokens:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGenerateConnectionTokenResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSArray *tokens __attribute__((swift_name("tokens"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GenerateConnectionTokenResponse.Companion"))) +@interface PAPIGenerateConnectionTokenResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGenerateConnectionTokenResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGenerateConnectionTokenResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGenerateConnectionTokenResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetBatchStateRequest"))) +@interface PAPIGetBatchStateRequest : PAPIBase +- (instancetype)initWithBatchId:(NSString *)batchId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(batchId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetBatchStateRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetBatchStateRequest *)doCopyBatchId:(NSString *)batchId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(batchId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetBatchStateRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *batchId __attribute__((swift_name("batchId"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetBatchStateRequest.Companion"))) +@interface PAPIGetBatchStateRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetBatchStateRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetBatchStateRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetBatchStateRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetBatchStateResponse"))) +@interface PAPIGetBatchStateResponse : PAPIBase +- (instancetype)initWithIssuerDid:(NSString *)issuerDid merkleRoot:(PAPIByteArr *)merkleRoot publicationLedgerData:(PAPILedgerData_ * _Nullable)publicationLedgerData revocationLedgerData:(PAPILedgerData_ * _Nullable)revocationLedgerData lastSyncedBlockTimestamp:(PAPITimestamp * _Nullable)lastSyncedBlockTimestamp issuanceHash:(PAPIByteArr *)issuanceHash unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(issuerDid:merkleRoot:publicationLedgerData:revocationLedgerData:lastSyncedBlockTimestamp:issuanceHash:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetBatchStateResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIByteArr *)component2 __attribute__((swift_name("component2()"))); +- (PAPILedgerData_ * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (PAPILedgerData_ * _Nullable)component4 __attribute__((swift_name("component4()"))); +- (PAPITimestamp * _Nullable)component5 __attribute__((swift_name("component5()"))); +- (PAPIByteArr *)component6 __attribute__((swift_name("component6()"))); +- (NSDictionary *)component7 __attribute__((swift_name("component7()"))); +- (PAPIGetBatchStateResponse *)doCopyIssuerDid:(NSString *)issuerDid merkleRoot:(PAPIByteArr *)merkleRoot publicationLedgerData:(PAPILedgerData_ * _Nullable)publicationLedgerData revocationLedgerData:(PAPILedgerData_ * _Nullable)revocationLedgerData lastSyncedBlockTimestamp:(PAPITimestamp * _Nullable)lastSyncedBlockTimestamp issuanceHash:(PAPIByteArr *)issuanceHash unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(issuerDid:merkleRoot:publicationLedgerData:revocationLedgerData:lastSyncedBlockTimestamp:issuanceHash:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetBatchStateResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIByteArr *issuanceHash __attribute__((swift_name("issuanceHash"))); +@property (readonly) NSString *issuerDid __attribute__((swift_name("issuerDid"))); +@property (readonly) PAPITimestamp * _Nullable lastSyncedBlockTimestamp __attribute__((swift_name("lastSyncedBlockTimestamp"))); +@property (readonly) PAPIByteArr *merkleRoot __attribute__((swift_name("merkleRoot"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPILedgerData_ * _Nullable publicationLedgerData __attribute__((swift_name("publicationLedgerData"))); +@property (readonly) PAPILedgerData_ * _Nullable revocationLedgerData __attribute__((swift_name("revocationLedgerData"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetBatchStateResponse.Companion"))) +@interface PAPIGetBatchStateResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetBatchStateResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetBatchStateResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetBatchStateResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetBlockchainDataRequest"))) +@interface PAPIGetBlockchainDataRequest : PAPIBase +- (instancetype)initWithEncodedSignedCredential:(NSString *)encodedSignedCredential unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(encodedSignedCredential:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetBlockchainDataRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetBlockchainDataRequest *)doCopyEncodedSignedCredential:(NSString *)encodedSignedCredential unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(encodedSignedCredential:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetBlockchainDataRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *encodedSignedCredential __attribute__((swift_name("encodedSignedCredential"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetBlockchainDataRequest.Companion"))) +@interface PAPIGetBlockchainDataRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetBlockchainDataRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetBlockchainDataRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetBlockchainDataRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetBlockchainDataResponse"))) +@interface PAPIGetBlockchainDataResponse : PAPIBase +- (instancetype)initWithIssuanceProof:(PAPITransactionInfo * _Nullable)issuanceProof unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(issuanceProof:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetBlockchainDataResponseCompanion *companion __attribute__((swift_name("companion"))); +- (PAPITransactionInfo * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetBlockchainDataResponse *)doCopyIssuanceProof:(PAPITransactionInfo * _Nullable)issuanceProof unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(issuanceProof:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetBlockchainDataResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPITransactionInfo * _Nullable issuanceProof __attribute__((swift_name("issuanceProof"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetBlockchainDataResponse.Companion"))) +@interface PAPIGetBlockchainDataResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetBlockchainDataResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetBlockchainDataResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetBlockchainDataResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetBuildInfoRequest"))) +@interface PAPIGetBuildInfoRequest : PAPIBase +- (instancetype)initWithUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetBuildInfoRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPIGetBuildInfoRequest *)doCopyUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetBuildInfoRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetBuildInfoRequest.Companion"))) +@interface PAPIGetBuildInfoRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetBuildInfoRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetBuildInfoRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetBuildInfoRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetBuildInfoResponse"))) +@interface PAPIGetBuildInfoResponse : PAPIBase +- (instancetype)initWithVersion:(NSString *)version scalaVersion:(NSString *)scalaVersion sbtVersion:(NSString *)sbtVersion nodeVersion:(NSString *)nodeVersion unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(version:scalaVersion:sbtVersion:nodeVersion:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetBuildInfoResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (NSString *)component3 __attribute__((swift_name("component3()"))); +- (NSString *)component4 __attribute__((swift_name("component4()"))); +- (NSDictionary *)component5 __attribute__((swift_name("component5()"))); +- (PAPIGetBuildInfoResponse *)doCopyVersion:(NSString *)version scalaVersion:(NSString *)scalaVersion sbtVersion:(NSString *)sbtVersion nodeVersion:(NSString *)nodeVersion unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(version:scalaVersion:sbtVersion:nodeVersion:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetBuildInfoResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *nodeVersion __attribute__((swift_name("nodeVersion"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSString *sbtVersion __attribute__((swift_name("sbtVersion"))); +@property (readonly) NSString *scalaVersion __attribute__((swift_name("scalaVersion"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@property (readonly) NSString *version __attribute__((swift_name("version"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetBuildInfoResponse.Companion"))) +@interface PAPIGetBuildInfoResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetBuildInfoResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetBuildInfoResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetBuildInfoResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetConnectionByIdRequest"))) +@interface PAPIGetConnectionByIdRequest : PAPIBase +- (instancetype)initWithId:(NSString *)id unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(id:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetConnectionByIdRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetConnectionByIdRequest *)doCopyId:(NSString *)id unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(id:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetConnectionByIdRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *id __attribute__((swift_name("id"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetConnectionByIdRequest.Companion"))) +@interface PAPIGetConnectionByIdRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetConnectionByIdRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetConnectionByIdRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetConnectionByIdRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetConnectionByIdResponse"))) +@interface PAPIGetConnectionByIdResponse : PAPIBase +- (instancetype)initWithConnection:(PAPIConnectionInfo * _Nullable)connection unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(connection:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetConnectionByIdResponseCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIConnectionInfo * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetConnectionByIdResponse *)doCopyConnection:(PAPIConnectionInfo * _Nullable)connection unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(connection:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetConnectionByIdResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIConnectionInfo * _Nullable connection __attribute__((swift_name("connection"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetConnectionByIdResponse.Companion"))) +@interface PAPIGetConnectionByIdResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetConnectionByIdResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetConnectionByIdResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetConnectionByIdResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetConnectionByTokenRequest"))) +@interface PAPIGetConnectionByTokenRequest : PAPIBase +- (instancetype)initWithToken:(NSString *)token unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(token:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetConnectionByTokenRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetConnectionByTokenRequest *)doCopyToken:(NSString *)token unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(token:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetConnectionByTokenRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSString *token __attribute__((swift_name("token"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetConnectionByTokenRequest.Companion"))) +@interface PAPIGetConnectionByTokenRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetConnectionByTokenRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetConnectionByTokenRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetConnectionByTokenRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetConnectionByTokenResponse"))) +@interface PAPIGetConnectionByTokenResponse : PAPIBase +- (instancetype)initWithConnection:(PAPIConnection * _Nullable)connection unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(connection:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetConnectionByTokenResponseCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIConnection * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetConnectionByTokenResponse *)doCopyConnection:(PAPIConnection * _Nullable)connection unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(connection:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetConnectionByTokenResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIConnection * _Nullable connection __attribute__((swift_name("connection"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetConnectionByTokenResponse.Companion"))) +@interface PAPIGetConnectionByTokenResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetConnectionByTokenResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetConnectionByTokenResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetConnectionByTokenResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetConnectionCommunicationKeysRequest"))) +@interface PAPIGetConnectionCommunicationKeysRequest : PAPIBase +- (instancetype)initWithConnectionId:(NSString *)connectionId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(connectionId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetConnectionCommunicationKeysRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetConnectionCommunicationKeysRequest *)doCopyConnectionId:(NSString *)connectionId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(connectionId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetConnectionCommunicationKeysRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *connectionId __attribute__((swift_name("connectionId"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetConnectionCommunicationKeysRequest.Companion"))) +@interface PAPIGetConnectionCommunicationKeysRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetConnectionCommunicationKeysRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetConnectionCommunicationKeysRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetConnectionCommunicationKeysRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetConnectionCommunicationKeysResponse"))) +@interface PAPIGetConnectionCommunicationKeysResponse : PAPIBase +- (instancetype)initWithKeys:(NSArray *)keys unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(keys:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetConnectionCommunicationKeysResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetConnectionCommunicationKeysResponse *)doCopyKeys:(NSArray *)keys unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(keys:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetConnectionCommunicationKeysResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSArray *keys __attribute__((swift_name("keys"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetConnectionCommunicationKeysResponse.Companion"))) +@interface PAPIGetConnectionCommunicationKeysResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetConnectionCommunicationKeysResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetConnectionCommunicationKeysResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetConnectionCommunicationKeysResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetConnectionTokenInfoRequest"))) +@interface PAPIGetConnectionTokenInfoRequest : PAPIBase +- (instancetype)initWithToken:(NSString *)token unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(token:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetConnectionTokenInfoRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetConnectionTokenInfoRequest *)doCopyToken:(NSString *)token unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(token:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetConnectionTokenInfoRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSString *token __attribute__((swift_name("token"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetConnectionTokenInfoRequest.Companion"))) +@interface PAPIGetConnectionTokenInfoRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetConnectionTokenInfoRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetConnectionTokenInfoRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetConnectionTokenInfoRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetConnectionTokenInfoResponse"))) +@interface PAPIGetConnectionTokenInfoResponse : PAPIBase +- (instancetype)initWithCreatorName:(NSString *)creatorName creatorLogo:(PAPIByteArr *)creatorLogo creatorDid:(NSString *)creatorDid unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(creatorName:creatorLogo:creatorDid:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetConnectionTokenInfoResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIByteArr *)component2 __attribute__((swift_name("component2()"))); +- (NSString *)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPIGetConnectionTokenInfoResponse *)doCopyCreatorName:(NSString *)creatorName creatorLogo:(PAPIByteArr *)creatorLogo creatorDid:(NSString *)creatorDid unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(creatorName:creatorLogo:creatorDid:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetConnectionTokenInfoResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *creatorDid __attribute__((swift_name("creatorDid"))); +@property (readonly) PAPIByteArr *creatorLogo __attribute__((swift_name("creatorLogo"))); +@property (readonly) NSString *creatorName __attribute__((swift_name("creatorName"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetConnectionTokenInfoResponse.Companion"))) +@interface PAPIGetConnectionTokenInfoResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetConnectionTokenInfoResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetConnectionTokenInfoResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetConnectionTokenInfoResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetConnectionsPaginatedRequest"))) +@interface PAPIGetConnectionsPaginatedRequest : PAPIBase +- (instancetype)initWithLastSeenConnectionId:(NSString *)lastSeenConnectionId limit:(int32_t)limit unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(lastSeenConnectionId:limit:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetConnectionsPaginatedRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (int32_t)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIGetConnectionsPaginatedRequest *)doCopyLastSeenConnectionId:(NSString *)lastSeenConnectionId limit:(int32_t)limit unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(lastSeenConnectionId:limit:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetConnectionsPaginatedRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *lastSeenConnectionId __attribute__((swift_name("lastSeenConnectionId"))); +@property (readonly) int32_t limit __attribute__((swift_name("limit"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetConnectionsPaginatedRequest.Companion"))) +@interface PAPIGetConnectionsPaginatedRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetConnectionsPaginatedRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetConnectionsPaginatedRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetConnectionsPaginatedRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetConnectionsPaginatedResponse"))) +@interface PAPIGetConnectionsPaginatedResponse : PAPIBase +- (instancetype)initWithConnections:(NSArray *)connections unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(connections:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetConnectionsPaginatedResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetConnectionsPaginatedResponse *)doCopyConnections:(NSArray *)connections unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(connections:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetConnectionsPaginatedResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSArray *connections __attribute__((swift_name("connections"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetConnectionsPaginatedResponse.Companion"))) +@interface PAPIGetConnectionsPaginatedResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetConnectionsPaginatedResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetConnectionsPaginatedResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetConnectionsPaginatedResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetConsoleCurrentUserRequest"))) +@interface PAPIGetConsoleCurrentUserRequest : PAPIBase +- (instancetype)initWithUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetConsoleCurrentUserRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPIGetConsoleCurrentUserRequest *)doCopyUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetConsoleCurrentUserRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetConsoleCurrentUserRequest.Companion"))) +@interface PAPIGetConsoleCurrentUserRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetConsoleCurrentUserRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetConsoleCurrentUserRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetConsoleCurrentUserRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetConsoleCurrentUserResponse"))) +@interface PAPIGetConsoleCurrentUserResponse : PAPIBase +- (instancetype)initWithName:(NSString *)name logo:(PAPIByteArr *)logo unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(name:logo:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetConsoleCurrentUserResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIByteArr *)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIGetConsoleCurrentUserResponse *)doCopyName:(NSString *)name logo:(PAPIByteArr *)logo unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(name:logo:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetConsoleCurrentUserResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIByteArr *logo __attribute__((swift_name("logo"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetConsoleCurrentUserResponse.Companion"))) +@interface PAPIGetConsoleCurrentUserResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetConsoleCurrentUserResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetConsoleCurrentUserResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetConsoleCurrentUserResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetContactCredentialsRequest"))) +@interface PAPIGetContactCredentialsRequest : PAPIBase +- (instancetype)initWithContactId:(NSString *)contactId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(contactId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetContactCredentialsRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetContactCredentialsRequest *)doCopyContactId:(NSString *)contactId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(contactId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetContactCredentialsRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *contactId __attribute__((swift_name("contactId"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetContactCredentialsRequest.Companion"))) +@interface PAPIGetContactCredentialsRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetContactCredentialsRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetContactCredentialsRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetContactCredentialsRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetContactCredentialsResponse"))) +@interface PAPIGetContactCredentialsResponse : PAPIBase +- (instancetype)initWithGenericCredentials:(NSArray *)genericCredentials unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(genericCredentials:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetContactCredentialsResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetContactCredentialsResponse *)doCopyGenericCredentials:(NSArray *)genericCredentials unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(genericCredentials:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetContactCredentialsResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSArray *genericCredentials __attribute__((swift_name("genericCredentials"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetContactCredentialsResponse.Companion"))) +@interface PAPIGetContactCredentialsResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetContactCredentialsResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetContactCredentialsResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetContactCredentialsResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetContactRequest"))) +@interface PAPIGetContactRequest : PAPIBase +- (instancetype)initWithContactId:(NSString *)contactId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(contactId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetContactRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetContactRequest *)doCopyContactId:(NSString *)contactId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(contactId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetContactRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *contactId __attribute__((swift_name("contactId"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetContactRequest.Companion"))) +@interface PAPIGetContactRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetContactRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetContactRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetContactRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetContactResponse"))) +@interface PAPIGetContactResponse : PAPIBase +- (instancetype)initWithContact:(PAPIContact * _Nullable)contact groups:(NSArray *)groups receivedCredentials:(NSArray *)receivedCredentials issuedCredentials:(NSArray *)issuedCredentials unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(contact:groups:receivedCredentials:issuedCredentials:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetContactResponseCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIContact * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSArray *)component2 __attribute__((swift_name("component2()"))); +- (NSArray *)component3 __attribute__((swift_name("component3()"))); +- (NSArray *)component4 __attribute__((swift_name("component4()"))); +- (NSDictionary *)component5 __attribute__((swift_name("component5()"))); +- (PAPIGetContactResponse *)doCopyContact:(PAPIContact * _Nullable)contact groups:(NSArray *)groups receivedCredentials:(NSArray *)receivedCredentials issuedCredentials:(NSArray *)issuedCredentials unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(contact:groups:receivedCredentials:issuedCredentials:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetContactResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIContact * _Nullable contact __attribute__((swift_name("contact"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSArray *groups __attribute__((swift_name("groups"))); +@property (readonly) NSArray *issuedCredentials __attribute__((swift_name("issuedCredentials"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSArray *receivedCredentials __attribute__((swift_name("receivedCredentials"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetContactResponse.Companion"))) +@interface PAPIGetContactResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetContactResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetContactResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetContactResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetContactsRequest"))) +@interface PAPIGetContactsRequest : PAPIBase +- (instancetype)initWithLimit:(int32_t)limit scrollId:(NSString *)scrollId filterBy:(PAPIGetContactsRequestFilterBy * _Nullable)filterBy sortBy:(PAPIGetContactsRequestSortBy * _Nullable)sortBy unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(limit:scrollId:filterBy:sortBy:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetContactsRequestCompanion *companion __attribute__((swift_name("companion"))); +- (int32_t)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetContactsRequestFilterBy * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (PAPIGetContactsRequestSortBy * _Nullable)component4 __attribute__((swift_name("component4()"))); +- (NSDictionary *)component5 __attribute__((swift_name("component5()"))); +- (PAPIGetContactsRequest *)doCopyLimit:(int32_t)limit scrollId:(NSString *)scrollId filterBy:(PAPIGetContactsRequestFilterBy * _Nullable)filterBy sortBy:(PAPIGetContactsRequestSortBy * _Nullable)sortBy unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(limit:scrollId:filterBy:sortBy:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetContactsRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIGetContactsRequestFilterBy * _Nullable filterBy __attribute__((swift_name("filterBy"))); +@property (readonly) int32_t limit __attribute__((swift_name("limit"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSString *scrollId __attribute__((swift_name("scrollId"))); +@property (readonly) PAPIGetContactsRequestSortBy * _Nullable sortBy __attribute__((swift_name("sortBy"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetContactsRequest.Companion"))) +@interface PAPIGetContactsRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetContactsRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetContactsRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetContactsRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetContactsRequest.FilterBy"))) +@interface PAPIGetContactsRequestFilterBy : PAPIBase +- (instancetype)initWithGroupName:(NSString *)groupName createdAt:(PAPIDate * _Nullable)createdAt nameOrExternalId:(NSString *)nameOrExternalId connectionStatus:(PAPIContactConnectionStatus *)connectionStatus unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(groupName:createdAt:nameOrExternalId:connectionStatus:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetContactsRequestFilterByCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIDate * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (NSString *)component3 __attribute__((swift_name("component3()"))); +- (PAPIContactConnectionStatus *)component4 __attribute__((swift_name("component4()"))); +- (NSDictionary *)component5 __attribute__((swift_name("component5()"))); +- (PAPIGetContactsRequestFilterBy *)doCopyGroupName:(NSString *)groupName createdAt:(PAPIDate * _Nullable)createdAt nameOrExternalId:(NSString *)nameOrExternalId connectionStatus:(PAPIContactConnectionStatus *)connectionStatus unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(groupName:createdAt:nameOrExternalId:connectionStatus:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetContactsRequestFilterBy *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIContactConnectionStatus *connectionStatus __attribute__((swift_name("connectionStatus"))); +@property (readonly) PAPIDate * _Nullable createdAt __attribute__((swift_name("createdAt"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *groupName __attribute__((swift_name("groupName"))); +@property (readonly) NSString *nameOrExternalId __attribute__((swift_name("nameOrExternalId"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetContactsRequest.FilterByCompanion"))) +@interface PAPIGetContactsRequestFilterByCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetContactsRequestFilterByCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetContactsRequestFilterBy *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetContactsRequestFilterBy *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetContactsRequest.SortBy"))) +@interface PAPIGetContactsRequestSortBy : PAPIBase +- (instancetype)initWithField:(PAPIGetContactsRequestSortByField *)field direction:(PAPISortByDirection *)direction unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(field:direction:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetContactsRequestSortByCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIGetContactsRequestSortByField *)component1 __attribute__((swift_name("component1()"))); +- (PAPISortByDirection *)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIGetContactsRequestSortBy *)doCopyField:(PAPIGetContactsRequestSortByField *)field direction:(PAPISortByDirection *)direction unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(field:direction:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetContactsRequestSortBy *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPISortByDirection *direction __attribute__((swift_name("direction"))); +@property (readonly) PAPIGetContactsRequestSortByField *field __attribute__((swift_name("field"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetContactsRequest.SortByCompanion"))) +@interface PAPIGetContactsRequestSortByCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetContactsRequestSortByCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetContactsRequestSortBy *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetContactsRequestSortBy *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("GetContactsRequest.SortByField"))) +@interface PAPIGetContactsRequestSortByField : PAPIBase +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetContactsRequestSortByFieldCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly, getter=name_) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) int32_t value_ __attribute__((swift_name("value_"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetContactsRequest.SortByFieldCREATED_AT"))) +@interface PAPIGetContactsRequestSortByFieldCREATED_AT : PAPIGetContactsRequestSortByField ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)cREATED_AT __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetContactsRequestSortByFieldCREATED_AT *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetContactsRequest.SortByFieldCompanion"))) +@interface PAPIGetContactsRequestSortByFieldCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetContactsRequestSortByFieldCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetContactsRequestSortByField *)fromNameName:(NSString *)name __attribute__((swift_name("fromName(name:)"))); +- (PAPIGetContactsRequestSortByField *)fromValueValue:(int32_t)value __attribute__((swift_name("fromValue(value:)"))); +@property (readonly) NSArray *values __attribute__((swift_name("values"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetContactsRequest.SortByFieldEXTERNAL_ID"))) +@interface PAPIGetContactsRequestSortByFieldEXTERNAL_ID : PAPIGetContactsRequestSortByField ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)eXTERNAL_ID __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetContactsRequestSortByFieldEXTERNAL_ID *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetContactsRequest.SortByFieldNAME"))) +@interface PAPIGetContactsRequestSortByFieldNAME : PAPIGetContactsRequestSortByField ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)nAME __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetContactsRequestSortByFieldNAME *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetContactsRequest.SortByFieldUNKNOWN"))) +@interface PAPIGetContactsRequestSortByFieldUNKNOWN : PAPIGetContactsRequestSortByField ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)uNKNOWN __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetContactsRequestSortByFieldUNKNOWN *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetContactsRequest.SortByFieldUNRECOGNIZED"))) +@interface PAPIGetContactsRequestSortByFieldUNRECOGNIZED : PAPIGetContactsRequestSortByField +- (instancetype)initWithValue:(int32_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetContactsResponse"))) +@interface PAPIGetContactsResponse : PAPIBase +- (instancetype)initWithScrollId:(NSString *)scrollId data:(NSArray *)data unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(scrollId:data:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetContactsResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSArray *)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIGetContactsResponse *)doCopyScrollId:(NSString *)scrollId data:(NSArray *)data unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(scrollId:data:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetContactsResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSArray *data __attribute__((swift_name("data"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSString *scrollId __attribute__((swift_name("scrollId"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetContactsResponse.Companion"))) +@interface PAPIGetContactsResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetContactsResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetContactsResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetContactsResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetContactsResponse.ContactDetails"))) +@interface PAPIGetContactsResponseContactDetails : PAPIBase +- (instancetype)initWithContact:(PAPIContact * _Nullable)contact numberOfCredentialsReceived:(int32_t)numberOfCredentialsReceived numberOfCredentialsCreated:(int32_t)numberOfCredentialsCreated unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(contact:numberOfCredentialsReceived:numberOfCredentialsCreated:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetContactsResponseContactDetailsCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIContact * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (int32_t)component2 __attribute__((swift_name("component2()"))); +- (int32_t)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPIGetContactsResponseContactDetails *)doCopyContact:(PAPIContact * _Nullable)contact numberOfCredentialsReceived:(int32_t)numberOfCredentialsReceived numberOfCredentialsCreated:(int32_t)numberOfCredentialsCreated unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(contact:numberOfCredentialsReceived:numberOfCredentialsCreated:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetContactsResponseContactDetails *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIContact * _Nullable contact __attribute__((swift_name("contact"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t numberOfCredentialsCreated __attribute__((swift_name("numberOfCredentialsCreated"))); +@property (readonly) int32_t numberOfCredentialsReceived __attribute__((swift_name("numberOfCredentialsReceived"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetContactsResponse.ContactDetailsCompanion"))) +@interface PAPIGetContactsResponseContactDetailsCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetContactsResponseContactDetailsCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetContactsResponseContactDetails *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetContactsResponseContactDetails *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetCredentialIssuanceRequest"))) +@interface PAPIGetCredentialIssuanceRequest : PAPIBase +- (instancetype)initWithCredentialIssuanceId:(NSString *)credentialIssuanceId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(credentialIssuanceId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetCredentialIssuanceRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetCredentialIssuanceRequest *)doCopyCredentialIssuanceId:(NSString *)credentialIssuanceId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(credentialIssuanceId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetCredentialIssuanceRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *credentialIssuanceId __attribute__((swift_name("credentialIssuanceId"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetCredentialIssuanceRequest.Companion"))) +@interface PAPIGetCredentialIssuanceRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetCredentialIssuanceRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetCredentialIssuanceRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetCredentialIssuanceRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetCredentialIssuanceResponse"))) +@interface PAPIGetCredentialIssuanceResponse : PAPIBase +- (instancetype)initWithName:(NSString *)name credentialTypeId:(NSString *)credentialTypeId createdAt:(PAPITimestamp * _Nullable)createdAt credentialIssuanceContacts:(NSArray *)credentialIssuanceContacts unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(name:credentialTypeId:createdAt:credentialIssuanceContacts:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetCredentialIssuanceResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (PAPITimestamp * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (NSArray *)component4 __attribute__((swift_name("component4()"))); +- (NSDictionary *)component5 __attribute__((swift_name("component5()"))); +- (PAPIGetCredentialIssuanceResponse *)doCopyName:(NSString *)name credentialTypeId:(NSString *)credentialTypeId createdAt:(PAPITimestamp * _Nullable)createdAt credentialIssuanceContacts:(NSArray *)credentialIssuanceContacts unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(name:credentialTypeId:createdAt:credentialIssuanceContacts:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetCredentialIssuanceResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPITimestamp * _Nullable createdAt __attribute__((swift_name("createdAt"))); +@property (readonly) NSArray *credentialIssuanceContacts __attribute__((swift_name("credentialIssuanceContacts"))); +@property (readonly) NSString *credentialTypeId __attribute__((swift_name("credentialTypeId"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetCredentialIssuanceResponse.Companion"))) +@interface PAPIGetCredentialIssuanceResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetCredentialIssuanceResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetCredentialIssuanceResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetCredentialIssuanceResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetCredentialRevocationTimeRequest"))) +@interface PAPIGetCredentialRevocationTimeRequest : PAPIBase +- (instancetype)initWithBatchId:(NSString *)batchId credentialHash:(PAPIByteArr *)credentialHash unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(batchId:credentialHash:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetCredentialRevocationTimeRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIByteArr *)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIGetCredentialRevocationTimeRequest *)doCopyBatchId:(NSString *)batchId credentialHash:(PAPIByteArr *)credentialHash unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(batchId:credentialHash:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetCredentialRevocationTimeRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *batchId __attribute__((swift_name("batchId"))); +@property (readonly) PAPIByteArr *credentialHash __attribute__((swift_name("credentialHash"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetCredentialRevocationTimeRequest.Companion"))) +@interface PAPIGetCredentialRevocationTimeRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetCredentialRevocationTimeRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetCredentialRevocationTimeRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetCredentialRevocationTimeRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetCredentialRevocationTimeResponse"))) +@interface PAPIGetCredentialRevocationTimeResponse : PAPIBase +- (instancetype)initWithRevocationLedgerData:(PAPILedgerData_ * _Nullable)revocationLedgerData lastSyncedBlockTimestamp:(PAPITimestamp * _Nullable)lastSyncedBlockTimestamp unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(revocationLedgerData:lastSyncedBlockTimestamp:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetCredentialRevocationTimeResponseCompanion *companion __attribute__((swift_name("companion"))); +- (PAPILedgerData_ * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (PAPITimestamp * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIGetCredentialRevocationTimeResponse *)doCopyRevocationLedgerData:(PAPILedgerData_ * _Nullable)revocationLedgerData lastSyncedBlockTimestamp:(PAPITimestamp * _Nullable)lastSyncedBlockTimestamp unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(revocationLedgerData:lastSyncedBlockTimestamp:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetCredentialRevocationTimeResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPITimestamp * _Nullable lastSyncedBlockTimestamp __attribute__((swift_name("lastSyncedBlockTimestamp"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPILedgerData_ * _Nullable revocationLedgerData __attribute__((swift_name("revocationLedgerData"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetCredentialRevocationTimeResponse.Companion"))) +@interface PAPIGetCredentialRevocationTimeResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetCredentialRevocationTimeResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetCredentialRevocationTimeResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetCredentialRevocationTimeResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetCredentialTypeCategoriesRequest"))) +@interface PAPIGetCredentialTypeCategoriesRequest : PAPIBase +- (instancetype)initWithUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetCredentialTypeCategoriesRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPIGetCredentialTypeCategoriesRequest *)doCopyUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetCredentialTypeCategoriesRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetCredentialTypeCategoriesRequest.Companion"))) +@interface PAPIGetCredentialTypeCategoriesRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetCredentialTypeCategoriesRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetCredentialTypeCategoriesRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetCredentialTypeCategoriesRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetCredentialTypeCategoriesResponse"))) +@interface PAPIGetCredentialTypeCategoriesResponse : PAPIBase +- (instancetype)initWithCredentialTypeCategories:(NSArray *)credentialTypeCategories unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(credentialTypeCategories:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetCredentialTypeCategoriesResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetCredentialTypeCategoriesResponse *)doCopyCredentialTypeCategories:(NSArray *)credentialTypeCategories unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(credentialTypeCategories:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetCredentialTypeCategoriesResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSArray *credentialTypeCategories __attribute__((swift_name("credentialTypeCategories"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetCredentialTypeCategoriesResponse.Companion"))) +@interface PAPIGetCredentialTypeCategoriesResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetCredentialTypeCategoriesResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetCredentialTypeCategoriesResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetCredentialTypeCategoriesResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetCredentialTypeRequest"))) +@interface PAPIGetCredentialTypeRequest : PAPIBase +- (instancetype)initWithCredentialTypeId:(NSString *)credentialTypeId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(credentialTypeId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetCredentialTypeRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetCredentialTypeRequest *)doCopyCredentialTypeId:(NSString *)credentialTypeId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(credentialTypeId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetCredentialTypeRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *credentialTypeId __attribute__((swift_name("credentialTypeId"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetCredentialTypeRequest.Companion"))) +@interface PAPIGetCredentialTypeRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetCredentialTypeRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetCredentialTypeRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetCredentialTypeRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetCredentialTypeResponse"))) +@interface PAPIGetCredentialTypeResponse : PAPIBase +- (instancetype)initWithCredentialType:(PAPICredentialTypeWithRequiredFields * _Nullable)credentialType unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(credentialType:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetCredentialTypeResponseCompanion *companion __attribute__((swift_name("companion"))); +- (PAPICredentialTypeWithRequiredFields * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetCredentialTypeResponse *)doCopyCredentialType:(PAPICredentialTypeWithRequiredFields * _Nullable)credentialType unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(credentialType:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetCredentialTypeResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPICredentialTypeWithRequiredFields * _Nullable credentialType __attribute__((swift_name("credentialType"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetCredentialTypeResponse.Companion"))) +@interface PAPIGetCredentialTypeResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetCredentialTypeResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetCredentialTypeResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetCredentialTypeResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetCredentialTypesRequest"))) +@interface PAPIGetCredentialTypesRequest : PAPIBase +- (instancetype)initWithUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetCredentialTypesRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPIGetCredentialTypesRequest *)doCopyUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetCredentialTypesRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetCredentialTypesRequest.Companion"))) +@interface PAPIGetCredentialTypesRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetCredentialTypesRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetCredentialTypesRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetCredentialTypesRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetCredentialTypesResponse"))) +@interface PAPIGetCredentialTypesResponse : PAPIBase +- (instancetype)initWithCredentialTypes:(NSArray *)credentialTypes unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(credentialTypes:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetCredentialTypesResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetCredentialTypesResponse *)doCopyCredentialTypes:(NSArray *)credentialTypes unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(credentialTypes:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetCredentialTypesResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSArray *credentialTypes __attribute__((swift_name("credentialTypes"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetCredentialTypesResponse.Companion"))) +@interface PAPIGetCredentialTypesResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetCredentialTypesResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetCredentialTypesResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetCredentialTypesResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetCurrentUserRequest"))) +@interface PAPIGetCurrentUserRequest : PAPIBase +- (instancetype)initWithUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetCurrentUserRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPIGetCurrentUserRequest *)doCopyUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetCurrentUserRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetCurrentUserRequest.Companion"))) +@interface PAPIGetCurrentUserRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetCurrentUserRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetCurrentUserRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetCurrentUserRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetCurrentUserResponse"))) +@interface PAPIGetCurrentUserResponse : PAPIBase +- (instancetype)initWithRole:(PAPIGetCurrentUserResponseRole *)role name:(NSString *)name logo:(PAPIByteArr *)logo unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(role:name:logo:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetCurrentUserResponseCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIGetCurrentUserResponseRole *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (PAPIByteArr *)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPIGetCurrentUserResponse *)doCopyRole:(PAPIGetCurrentUserResponseRole *)role name:(NSString *)name logo:(PAPIByteArr *)logo unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(role:name:logo:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetCurrentUserResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIByteArr *logo __attribute__((swift_name("logo"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPIGetCurrentUserResponseRole *role __attribute__((swift_name("role"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetCurrentUserResponse.Companion"))) +@interface PAPIGetCurrentUserResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetCurrentUserResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetCurrentUserResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetCurrentUserResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("GetCurrentUserResponse.Role"))) +@interface PAPIGetCurrentUserResponseRole : PAPIBase +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetCurrentUserResponseRoleCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly, getter=name_) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) int32_t value_ __attribute__((swift_name("value_"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetCurrentUserResponse.RoleCompanion"))) +@interface PAPIGetCurrentUserResponseRoleCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetCurrentUserResponseRoleCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetCurrentUserResponseRole *)fromNameName:(NSString *)name __attribute__((swift_name("fromName(name:)"))); +- (PAPIGetCurrentUserResponseRole *)fromValueValue:(int32_t)value __attribute__((swift_name("fromValue(value:)"))); +@property (readonly) NSArray *values __attribute__((swift_name("values"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetCurrentUserResponse.RoleISSUER"))) +@interface PAPIGetCurrentUserResponseRoleISSUER : PAPIGetCurrentUserResponseRole ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)iSSUER __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetCurrentUserResponseRoleISSUER *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetCurrentUserResponse.RoleUNRECOGNIZED"))) +@interface PAPIGetCurrentUserResponseRoleUNRECOGNIZED : PAPIGetCurrentUserResponseRole +- (instancetype)initWithValue:(int32_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetCurrentUserResponse.RoleVERIFIER"))) +@interface PAPIGetCurrentUserResponseRoleVERIFIER : PAPIGetCurrentUserResponseRole ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)vERIFIER __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetCurrentUserResponseRoleVERIFIER *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetDidDocumentRequest"))) +@interface PAPIGetDidDocumentRequest : PAPIBase +- (instancetype)initWithDid:(NSString *)did unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(did:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetDidDocumentRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetDidDocumentRequest *)doCopyDid:(NSString *)did unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(did:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetDidDocumentRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *did __attribute__((swift_name("did"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetDidDocumentRequest.Companion"))) +@interface PAPIGetDidDocumentRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetDidDocumentRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetDidDocumentRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetDidDocumentRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetDidDocumentResponse"))) +@interface PAPIGetDidDocumentResponse : PAPIBase +- (instancetype)initWithDocument:(PAPIDIDData * _Nullable)document lastSyncedBlockTimestamp:(PAPITimestamp * _Nullable)lastSyncedBlockTimestamp lastUpdateOperation:(PAPIByteArr *)lastUpdateOperation unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(document:lastSyncedBlockTimestamp:lastUpdateOperation:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetDidDocumentResponseCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIDIDData * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (PAPITimestamp * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (PAPIByteArr *)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPIGetDidDocumentResponse *)doCopyDocument:(PAPIDIDData * _Nullable)document lastSyncedBlockTimestamp:(PAPITimestamp * _Nullable)lastSyncedBlockTimestamp lastUpdateOperation:(PAPIByteArr *)lastUpdateOperation unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(document:lastSyncedBlockTimestamp:lastUpdateOperation:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetDidDocumentResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIDIDData * _Nullable document __attribute__((swift_name("document"))); +@property (readonly) PAPITimestamp * _Nullable lastSyncedBlockTimestamp __attribute__((swift_name("lastSyncedBlockTimestamp"))); +@property (readonly) PAPIByteArr *lastUpdateOperation __attribute__((swift_name("lastUpdateOperation"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetDidDocumentResponse.Companion"))) +@interface PAPIGetDidDocumentResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetDidDocumentResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetDidDocumentResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetDidDocumentResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetGenericCredentialsRequest"))) +@interface PAPIGetGenericCredentialsRequest : PAPIBase +- (instancetype)initWithLimit:(int32_t)limit offset:(int32_t)offset filterBy:(PAPIGetGenericCredentialsRequestFilterBy * _Nullable)filterBy sortBy:(PAPIGetGenericCredentialsRequestSortBy * _Nullable)sortBy unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(limit:offset:filterBy:sortBy:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetGenericCredentialsRequestCompanion *companion __attribute__((swift_name("companion"))); +- (int32_t)component1 __attribute__((swift_name("component1()"))); +- (int32_t)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetGenericCredentialsRequestFilterBy * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (PAPIGetGenericCredentialsRequestSortBy * _Nullable)component4 __attribute__((swift_name("component4()"))); +- (NSDictionary *)component5 __attribute__((swift_name("component5()"))); +- (PAPIGetGenericCredentialsRequest *)doCopyLimit:(int32_t)limit offset:(int32_t)offset filterBy:(PAPIGetGenericCredentialsRequestFilterBy * _Nullable)filterBy sortBy:(PAPIGetGenericCredentialsRequestSortBy * _Nullable)sortBy unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(limit:offset:filterBy:sortBy:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetGenericCredentialsRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIGetGenericCredentialsRequestFilterBy * _Nullable filterBy __attribute__((swift_name("filterBy"))); +@property (readonly) int32_t limit __attribute__((swift_name("limit"))); +@property (readonly) int32_t offset __attribute__((swift_name("offset"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPIGetGenericCredentialsRequestSortBy * _Nullable sortBy __attribute__((swift_name("sortBy"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetGenericCredentialsRequest.Companion"))) +@interface PAPIGetGenericCredentialsRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetGenericCredentialsRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetGenericCredentialsRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetGenericCredentialsRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetGenericCredentialsRequest.FilterBy"))) +@interface PAPIGetGenericCredentialsRequestFilterBy : PAPIBase +- (instancetype)initWithCredentialType:(NSString *)credentialType createdAfter:(PAPIDate * _Nullable)createdAfter createdBefore:(PAPIDate * _Nullable)createdBefore unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(credentialType:createdAfter:createdBefore:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetGenericCredentialsRequestFilterByCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIDate * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (PAPIDate * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPIGetGenericCredentialsRequestFilterBy *)doCopyCredentialType:(NSString *)credentialType createdAfter:(PAPIDate * _Nullable)createdAfter createdBefore:(PAPIDate * _Nullable)createdBefore unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(credentialType:createdAfter:createdBefore:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetGenericCredentialsRequestFilterBy *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIDate * _Nullable createdAfter __attribute__((swift_name("createdAfter"))); +@property (readonly) PAPIDate * _Nullable createdBefore __attribute__((swift_name("createdBefore"))); +@property (readonly) NSString *credentialType __attribute__((swift_name("credentialType"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetGenericCredentialsRequest.FilterByCompanion"))) +@interface PAPIGetGenericCredentialsRequestFilterByCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetGenericCredentialsRequestFilterByCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetGenericCredentialsRequestFilterBy *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetGenericCredentialsRequestFilterBy *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetGenericCredentialsRequest.SortBy"))) +@interface PAPIGetGenericCredentialsRequestSortBy : PAPIBase +- (instancetype)initWithField:(PAPIGetGenericCredentialsRequestSortByField *)field direction:(PAPISortByDirection *)direction unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(field:direction:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetGenericCredentialsRequestSortByCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIGetGenericCredentialsRequestSortByField *)component1 __attribute__((swift_name("component1()"))); +- (PAPISortByDirection *)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIGetGenericCredentialsRequestSortBy *)doCopyField:(PAPIGetGenericCredentialsRequestSortByField *)field direction:(PAPISortByDirection *)direction unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(field:direction:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetGenericCredentialsRequestSortBy *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPISortByDirection *direction __attribute__((swift_name("direction"))); +@property (readonly) PAPIGetGenericCredentialsRequestSortByField *field __attribute__((swift_name("field"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetGenericCredentialsRequest.SortByCompanion"))) +@interface PAPIGetGenericCredentialsRequestSortByCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetGenericCredentialsRequestSortByCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetGenericCredentialsRequestSortBy *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetGenericCredentialsRequestSortBy *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("GetGenericCredentialsRequest.SortByField"))) +@interface PAPIGetGenericCredentialsRequestSortByField : PAPIBase +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetGenericCredentialsRequestSortByFieldCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly, getter=name_) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) int32_t value_ __attribute__((swift_name("value_"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetGenericCredentialsRequest.SortByFieldCREATED_ON"))) +@interface PAPIGetGenericCredentialsRequestSortByFieldCREATED_ON : PAPIGetGenericCredentialsRequestSortByField ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)cREATED_ON __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetGenericCredentialsRequestSortByFieldCREATED_ON *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetGenericCredentialsRequest.SortByFieldCREDENTIAL_TYPE"))) +@interface PAPIGetGenericCredentialsRequestSortByFieldCREDENTIAL_TYPE : PAPIGetGenericCredentialsRequestSortByField ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)cREDENTIAL_TYPE __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetGenericCredentialsRequestSortByFieldCREDENTIAL_TYPE *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetGenericCredentialsRequest.SortByFieldCompanion"))) +@interface PAPIGetGenericCredentialsRequestSortByFieldCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetGenericCredentialsRequestSortByFieldCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetGenericCredentialsRequestSortByField *)fromNameName:(NSString *)name __attribute__((swift_name("fromName(name:)"))); +- (PAPIGetGenericCredentialsRequestSortByField *)fromValueValue:(int32_t)value __attribute__((swift_name("fromValue(value:)"))); +@property (readonly) NSArray *values __attribute__((swift_name("values"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetGenericCredentialsRequest.SortByFieldUNKNOWN"))) +@interface PAPIGetGenericCredentialsRequestSortByFieldUNKNOWN : PAPIGetGenericCredentialsRequestSortByField ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)uNKNOWN __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetGenericCredentialsRequestSortByFieldUNKNOWN *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetGenericCredentialsRequest.SortByFieldUNRECOGNIZED"))) +@interface PAPIGetGenericCredentialsRequestSortByFieldUNRECOGNIZED : PAPIGetGenericCredentialsRequestSortByField +- (instancetype)initWithValue:(int32_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetGenericCredentialsResponse"))) +@interface PAPIGetGenericCredentialsResponse : PAPIBase +- (instancetype)initWithCredentials:(NSArray *)credentials unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(credentials:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetGenericCredentialsResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetGenericCredentialsResponse *)doCopyCredentials:(NSArray *)credentials unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(credentials:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetGenericCredentialsResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSArray *credentials __attribute__((swift_name("credentials"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetGenericCredentialsResponse.Companion"))) +@interface PAPIGetGenericCredentialsResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetGenericCredentialsResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetGenericCredentialsResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetGenericCredentialsResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetGroupsRequest"))) +@interface PAPIGetGroupsRequest : PAPIBase +- (instancetype)initWithLimit:(int32_t)limit offset:(int32_t)offset filterBy:(PAPIGetGroupsRequestFilterBy * _Nullable)filterBy sortBy:(PAPIGetGroupsRequestSortBy * _Nullable)sortBy unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(limit:offset:filterBy:sortBy:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetGroupsRequestCompanion *companion __attribute__((swift_name("companion"))); +- (int32_t)component1 __attribute__((swift_name("component1()"))); +- (int32_t)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetGroupsRequestFilterBy * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (PAPIGetGroupsRequestSortBy * _Nullable)component4 __attribute__((swift_name("component4()"))); +- (NSDictionary *)component5 __attribute__((swift_name("component5()"))); +- (PAPIGetGroupsRequest *)doCopyLimit:(int32_t)limit offset:(int32_t)offset filterBy:(PAPIGetGroupsRequestFilterBy * _Nullable)filterBy sortBy:(PAPIGetGroupsRequestSortBy * _Nullable)sortBy unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(limit:offset:filterBy:sortBy:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetGroupsRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIGetGroupsRequestFilterBy * _Nullable filterBy __attribute__((swift_name("filterBy"))); +@property (readonly) int32_t limit __attribute__((swift_name("limit"))); +@property (readonly) int32_t offset __attribute__((swift_name("offset"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPIGetGroupsRequestSortBy * _Nullable sortBy __attribute__((swift_name("sortBy"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetGroupsRequest.Companion"))) +@interface PAPIGetGroupsRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetGroupsRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetGroupsRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetGroupsRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetGroupsRequest.FilterBy"))) +@interface PAPIGetGroupsRequestFilterBy : PAPIBase +- (instancetype)initWithName:(NSString *)name createdAfter:(PAPIDate * _Nullable)createdAfter createdBefore:(PAPIDate * _Nullable)createdBefore contactId:(NSString *)contactId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(name:createdAfter:createdBefore:contactId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetGroupsRequestFilterByCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIDate * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (PAPIDate * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (NSString *)component4 __attribute__((swift_name("component4()"))); +- (NSDictionary *)component5 __attribute__((swift_name("component5()"))); +- (PAPIGetGroupsRequestFilterBy *)doCopyName:(NSString *)name createdAfter:(PAPIDate * _Nullable)createdAfter createdBefore:(PAPIDate * _Nullable)createdBefore contactId:(NSString *)contactId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(name:createdAfter:createdBefore:contactId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetGroupsRequestFilterBy *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *contactId __attribute__((swift_name("contactId"))); +@property (readonly) PAPIDate * _Nullable createdAfter __attribute__((swift_name("createdAfter"))); +@property (readonly) PAPIDate * _Nullable createdBefore __attribute__((swift_name("createdBefore"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetGroupsRequest.FilterByCompanion"))) +@interface PAPIGetGroupsRequestFilterByCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetGroupsRequestFilterByCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetGroupsRequestFilterBy *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetGroupsRequestFilterBy *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetGroupsRequest.SortBy"))) +@interface PAPIGetGroupsRequestSortBy : PAPIBase +- (instancetype)initWithField:(PAPIGetGroupsRequestSortByField *)field direction:(PAPISortByDirection *)direction unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(field:direction:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetGroupsRequestSortByCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIGetGroupsRequestSortByField *)component1 __attribute__((swift_name("component1()"))); +- (PAPISortByDirection *)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIGetGroupsRequestSortBy *)doCopyField:(PAPIGetGroupsRequestSortByField *)field direction:(PAPISortByDirection *)direction unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(field:direction:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetGroupsRequestSortBy *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPISortByDirection *direction __attribute__((swift_name("direction"))); +@property (readonly) PAPIGetGroupsRequestSortByField *field __attribute__((swift_name("field"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetGroupsRequest.SortByCompanion"))) +@interface PAPIGetGroupsRequestSortByCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetGroupsRequestSortByCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetGroupsRequestSortBy *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetGroupsRequestSortBy *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("GetGroupsRequest.SortByField"))) +@interface PAPIGetGroupsRequestSortByField : PAPIBase +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetGroupsRequestSortByFieldCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly, getter=name_) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) int32_t value_ __attribute__((swift_name("value_"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetGroupsRequest.SortByFieldCREATED_AT"))) +@interface PAPIGetGroupsRequestSortByFieldCREATED_AT : PAPIGetGroupsRequestSortByField ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)cREATED_AT __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetGroupsRequestSortByFieldCREATED_AT *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetGroupsRequest.SortByFieldCompanion"))) +@interface PAPIGetGroupsRequestSortByFieldCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetGroupsRequestSortByFieldCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetGroupsRequestSortByField *)fromNameName:(NSString *)name __attribute__((swift_name("fromName(name:)"))); +- (PAPIGetGroupsRequestSortByField *)fromValueValue:(int32_t)value __attribute__((swift_name("fromValue(value:)"))); +@property (readonly) NSArray *values __attribute__((swift_name("values"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetGroupsRequest.SortByFieldNAME"))) +@interface PAPIGetGroupsRequestSortByFieldNAME : PAPIGetGroupsRequestSortByField ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)nAME __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetGroupsRequestSortByFieldNAME *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetGroupsRequest.SortByFieldNUMBER_OF_CONTACTS"))) +@interface PAPIGetGroupsRequestSortByFieldNUMBER_OF_CONTACTS : PAPIGetGroupsRequestSortByField ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)nUMBER_OF_CONTACTS __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetGroupsRequestSortByFieldNUMBER_OF_CONTACTS *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetGroupsRequest.SortByFieldUNKNOWN"))) +@interface PAPIGetGroupsRequestSortByFieldUNKNOWN : PAPIGetGroupsRequestSortByField ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)uNKNOWN __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetGroupsRequestSortByFieldUNKNOWN *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetGroupsRequest.SortByFieldUNRECOGNIZED"))) +@interface PAPIGetGroupsRequestSortByFieldUNRECOGNIZED : PAPIGetGroupsRequestSortByField +- (instancetype)initWithValue:(int32_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetGroupsResponse"))) +@interface PAPIGetGroupsResponse : PAPIBase +- (instancetype)initWithGroups:(NSArray *)groups totalNumberOfGroups:(int32_t)totalNumberOfGroups unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(groups:totalNumberOfGroups:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetGroupsResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (int32_t)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIGetGroupsResponse *)doCopyGroups:(NSArray *)groups totalNumberOfGroups:(int32_t)totalNumberOfGroups unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(groups:totalNumberOfGroups:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetGroupsResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSArray *groups __attribute__((swift_name("groups"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) int32_t totalNumberOfGroups __attribute__((swift_name("totalNumberOfGroups"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetGroupsResponse.Companion"))) +@interface PAPIGetGroupsResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetGroupsResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetGroupsResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetGroupsResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetLastSyncedBlockTimestampRequest"))) +@interface PAPIGetLastSyncedBlockTimestampRequest : PAPIBase +- (instancetype)initWithUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetLastSyncedBlockTimestampRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPIGetLastSyncedBlockTimestampRequest *)doCopyUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetLastSyncedBlockTimestampRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetLastSyncedBlockTimestampRequest.Companion"))) +@interface PAPIGetLastSyncedBlockTimestampRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetLastSyncedBlockTimestampRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetLastSyncedBlockTimestampRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetLastSyncedBlockTimestampRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetLastSyncedBlockTimestampResponse"))) +@interface PAPIGetLastSyncedBlockTimestampResponse : PAPIBase +- (instancetype)initWithLastSyncedBlockTimestamp:(PAPITimestamp * _Nullable)lastSyncedBlockTimestamp unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(lastSyncedBlockTimestamp:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetLastSyncedBlockTimestampResponseCompanion *companion __attribute__((swift_name("companion"))); +- (PAPITimestamp * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetLastSyncedBlockTimestampResponse *)doCopyLastSyncedBlockTimestamp:(PAPITimestamp * _Nullable)lastSyncedBlockTimestamp unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(lastSyncedBlockTimestamp:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetLastSyncedBlockTimestampResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPITimestamp * _Nullable lastSyncedBlockTimestamp __attribute__((swift_name("lastSyncedBlockTimestamp"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetLastSyncedBlockTimestampResponse.Companion"))) +@interface PAPIGetLastSyncedBlockTimestampResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetLastSyncedBlockTimestampResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetLastSyncedBlockTimestampResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetLastSyncedBlockTimestampResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetLatestCredentialExternalIdRequest"))) +@interface PAPIGetLatestCredentialExternalIdRequest : PAPIBase +- (instancetype)initWithUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetLatestCredentialExternalIdRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPIGetLatestCredentialExternalIdRequest *)doCopyUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetLatestCredentialExternalIdRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetLatestCredentialExternalIdRequest.Companion"))) +@interface PAPIGetLatestCredentialExternalIdRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetLatestCredentialExternalIdRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetLatestCredentialExternalIdRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetLatestCredentialExternalIdRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetLatestCredentialExternalIdResponse"))) +@interface PAPIGetLatestCredentialExternalIdResponse : PAPIBase +- (instancetype)initWithLatestCredentialExternalId:(NSString *)latestCredentialExternalId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(latestCredentialExternalId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetLatestCredentialExternalIdResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetLatestCredentialExternalIdResponse *)doCopyLatestCredentialExternalId:(NSString *)latestCredentialExternalId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(latestCredentialExternalId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetLatestCredentialExternalIdResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *latestCredentialExternalId __attribute__((swift_name("latestCredentialExternalId"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetLatestCredentialExternalIdResponse.Companion"))) +@interface PAPIGetLatestCredentialExternalIdResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetLatestCredentialExternalIdResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetLatestCredentialExternalIdResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetLatestCredentialExternalIdResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetLedgerDataRequest"))) +@interface PAPIGetLedgerDataRequest : PAPIBase +- (instancetype)initWithBatchId:(NSString *)batchId credentialHash:(PAPIByteArr *)credentialHash unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(batchId:credentialHash:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetLedgerDataRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIByteArr *)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIGetLedgerDataRequest *)doCopyBatchId:(NSString *)batchId credentialHash:(PAPIByteArr *)credentialHash unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(batchId:credentialHash:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetLedgerDataRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *batchId __attribute__((swift_name("batchId"))); +@property (readonly) PAPIByteArr *credentialHash __attribute__((swift_name("credentialHash"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetLedgerDataRequest.Companion"))) +@interface PAPIGetLedgerDataRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetLedgerDataRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetLedgerDataRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetLedgerDataRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetLedgerDataResponse"))) +@interface PAPIGetLedgerDataResponse : PAPIBase +- (instancetype)initWithBatchIssuance:(PAPILedgerData_ * _Nullable)batchIssuance batchRevocation:(PAPILedgerData_ * _Nullable)batchRevocation credentialRevocation:(PAPILedgerData_ * _Nullable)credentialRevocation unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(batchIssuance:batchRevocation:credentialRevocation:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetLedgerDataResponseCompanion *companion __attribute__((swift_name("companion"))); +- (PAPILedgerData_ * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (PAPILedgerData_ * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (PAPILedgerData_ * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPIGetLedgerDataResponse *)doCopyBatchIssuance:(PAPILedgerData_ * _Nullable)batchIssuance batchRevocation:(PAPILedgerData_ * _Nullable)batchRevocation credentialRevocation:(PAPILedgerData_ * _Nullable)credentialRevocation unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(batchIssuance:batchRevocation:credentialRevocation:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetLedgerDataResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPILedgerData_ * _Nullable batchIssuance __attribute__((swift_name("batchIssuance"))); +@property (readonly) PAPILedgerData_ * _Nullable batchRevocation __attribute__((swift_name("batchRevocation"))); +@property (readonly) PAPILedgerData_ * _Nullable credentialRevocation __attribute__((swift_name("credentialRevocation"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetLedgerDataResponse.Companion"))) +@interface PAPIGetLedgerDataResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetLedgerDataResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetLedgerDataResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetLedgerDataResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetMessageStreamRequest"))) +@interface PAPIGetMessageStreamRequest : PAPIBase +- (instancetype)initWithLastSeenMessageId:(NSString *)lastSeenMessageId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(lastSeenMessageId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetMessageStreamRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetMessageStreamRequest *)doCopyLastSeenMessageId:(NSString *)lastSeenMessageId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(lastSeenMessageId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetMessageStreamRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *lastSeenMessageId __attribute__((swift_name("lastSeenMessageId"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetMessageStreamRequest.Companion"))) +@interface PAPIGetMessageStreamRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetMessageStreamRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetMessageStreamRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetMessageStreamRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetMessageStreamResponse"))) +@interface PAPIGetMessageStreamResponse : PAPIBase +- (instancetype)initWithMessage:(PAPIReceivedMessage * _Nullable)message unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(message:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetMessageStreamResponseCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIReceivedMessage * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetMessageStreamResponse *)doCopyMessage:(PAPIReceivedMessage * _Nullable)message unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(message:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetMessageStreamResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIReceivedMessage * _Nullable message __attribute__((swift_name("message"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetMessageStreamResponse.Companion"))) +@interface PAPIGetMessageStreamResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetMessageStreamResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetMessageStreamResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetMessageStreamResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetMessagesForConnectionRequest"))) +@interface PAPIGetMessagesForConnectionRequest : PAPIBase +- (instancetype)initWithConnectionId:(NSString *)connectionId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(connectionId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetMessagesForConnectionRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetMessagesForConnectionRequest *)doCopyConnectionId:(NSString *)connectionId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(connectionId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetMessagesForConnectionRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *connectionId __attribute__((swift_name("connectionId"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetMessagesForConnectionRequest.Companion"))) +@interface PAPIGetMessagesForConnectionRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetMessagesForConnectionRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetMessagesForConnectionRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetMessagesForConnectionRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetMessagesForConnectionResponse"))) +@interface PAPIGetMessagesForConnectionResponse : PAPIBase +- (instancetype)initWithMessages:(NSArray *)messages unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(messages:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetMessagesForConnectionResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetMessagesForConnectionResponse *)doCopyMessages:(NSArray *)messages unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(messages:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetMessagesForConnectionResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSArray *messages __attribute__((swift_name("messages"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetMessagesForConnectionResponse.Companion"))) +@interface PAPIGetMessagesForConnectionResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetMessagesForConnectionResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetMessagesForConnectionResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetMessagesForConnectionResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetMessagesPaginatedRequest"))) +@interface PAPIGetMessagesPaginatedRequest : PAPIBase +- (instancetype)initWithLastSeenMessageId:(NSString *)lastSeenMessageId limit:(int32_t)limit unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(lastSeenMessageId:limit:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetMessagesPaginatedRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (int32_t)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIGetMessagesPaginatedRequest *)doCopyLastSeenMessageId:(NSString *)lastSeenMessageId limit:(int32_t)limit unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(lastSeenMessageId:limit:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetMessagesPaginatedRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *lastSeenMessageId __attribute__((swift_name("lastSeenMessageId"))); +@property (readonly) int32_t limit __attribute__((swift_name("limit"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetMessagesPaginatedRequest.Companion"))) +@interface PAPIGetMessagesPaginatedRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetMessagesPaginatedRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetMessagesPaginatedRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetMessagesPaginatedRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetMessagesPaginatedResponse"))) +@interface PAPIGetMessagesPaginatedResponse : PAPIBase +- (instancetype)initWithMessages:(NSArray *)messages unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(messages:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetMessagesPaginatedResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetMessagesPaginatedResponse *)doCopyMessages:(NSArray *)messages unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(messages:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetMessagesPaginatedResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSArray *messages __attribute__((swift_name("messages"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetMessagesPaginatedResponse.Companion"))) +@interface PAPIGetMessagesPaginatedResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetMessagesPaginatedResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetMessagesPaginatedResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetMessagesPaginatedResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetNodeBuildInfoRequest"))) +@interface PAPIGetNodeBuildInfoRequest : PAPIBase +- (instancetype)initWithUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetNodeBuildInfoRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPIGetNodeBuildInfoRequest *)doCopyUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetNodeBuildInfoRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetNodeBuildInfoRequest.Companion"))) +@interface PAPIGetNodeBuildInfoRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetNodeBuildInfoRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetNodeBuildInfoRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetNodeBuildInfoRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetNodeBuildInfoResponse"))) +@interface PAPIGetNodeBuildInfoResponse : PAPIBase +- (instancetype)initWithVersion:(NSString *)version scalaVersion:(NSString *)scalaVersion sbtVersion:(NSString *)sbtVersion unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(version:scalaVersion:sbtVersion:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetNodeBuildInfoResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (NSString *)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPIGetNodeBuildInfoResponse *)doCopyVersion:(NSString *)version scalaVersion:(NSString *)scalaVersion sbtVersion:(NSString *)sbtVersion unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(version:scalaVersion:sbtVersion:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetNodeBuildInfoResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSString *sbtVersion __attribute__((swift_name("sbtVersion"))); +@property (readonly) NSString *scalaVersion __attribute__((swift_name("scalaVersion"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@property (readonly) NSString *version __attribute__((swift_name("version"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetNodeBuildInfoResponse.Companion"))) +@interface PAPIGetNodeBuildInfoResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetNodeBuildInfoResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetNodeBuildInfoResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetNodeBuildInfoResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetOperationInfoRequest"))) +@interface PAPIGetOperationInfoRequest : PAPIBase +- (instancetype)initWithOperationId:(PAPIByteArr *)operationId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(operationId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetOperationInfoRequestCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIByteArr *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetOperationInfoRequest *)doCopyOperationId:(PAPIByteArr *)operationId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(operationId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetOperationInfoRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIByteArr *operationId __attribute__((swift_name("operationId"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetOperationInfoRequest.Companion"))) +@interface PAPIGetOperationInfoRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetOperationInfoRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetOperationInfoRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetOperationInfoRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetOperationInfoResponse"))) +@interface PAPIGetOperationInfoResponse : PAPIBase +- (instancetype)initWithOperationStatus:(PAPIOperationStatus *)operationStatus transactionId:(NSString *)transactionId lastSyncedBlockTimestamp:(PAPITimestamp * _Nullable)lastSyncedBlockTimestamp details:(NSString *)details unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(operationStatus:transactionId:lastSyncedBlockTimestamp:details:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetOperationInfoResponseCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIOperationStatus *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (PAPITimestamp * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (NSString *)component4 __attribute__((swift_name("component4()"))); +- (NSDictionary *)component5 __attribute__((swift_name("component5()"))); +- (PAPIGetOperationInfoResponse *)doCopyOperationStatus:(PAPIOperationStatus *)operationStatus transactionId:(NSString *)transactionId lastSyncedBlockTimestamp:(PAPITimestamp * _Nullable)lastSyncedBlockTimestamp details:(NSString *)details unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(operationStatus:transactionId:lastSyncedBlockTimestamp:details:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetOperationInfoResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *details __attribute__((swift_name("details"))); +@property (readonly) PAPITimestamp * _Nullable lastSyncedBlockTimestamp __attribute__((swift_name("lastSyncedBlockTimestamp"))); +@property (readonly) PAPIOperationStatus *operationStatus __attribute__((swift_name("operationStatus"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSString *transactionId __attribute__((swift_name("transactionId"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetOperationInfoResponse.Companion"))) +@interface PAPIGetOperationInfoResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetOperationInfoResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetOperationInfoResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetOperationInfoResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetStatisticsRequest"))) +@interface PAPIGetStatisticsRequest : PAPIBase +- (instancetype)initWithInterval:(PAPITimeInterval * _Nullable)interval unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(interval:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetStatisticsRequestCompanion *companion __attribute__((swift_name("companion"))); +- (PAPITimeInterval * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetStatisticsRequest *)doCopyInterval:(PAPITimeInterval * _Nullable)interval unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(interval:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetStatisticsRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPITimeInterval * _Nullable interval __attribute__((swift_name("interval"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetStatisticsRequest.Companion"))) +@interface PAPIGetStatisticsRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetStatisticsRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetStatisticsRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetStatisticsRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetStatisticsResponse"))) +@interface PAPIGetStatisticsResponse : PAPIBase +- (instancetype)initWithNumberOfContacts:(int32_t)numberOfContacts numberOfContactsPendingConnection:(int32_t)numberOfContactsPendingConnection numberOfContactsConnected:(int32_t)numberOfContactsConnected numberOfGroups:(int32_t)numberOfGroups numberOfCredentialsInDraft:(int32_t)numberOfCredentialsInDraft numberOfCredentialsPublished:(int32_t)numberOfCredentialsPublished numberOfCredentialsReceived:(int32_t)numberOfCredentialsReceived unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(numberOfContacts:numberOfContactsPendingConnection:numberOfContactsConnected:numberOfGroups:numberOfCredentialsInDraft:numberOfCredentialsPublished:numberOfCredentialsReceived:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetStatisticsResponseCompanion *companion __attribute__((swift_name("companion"))); +- (int32_t)component1 __attribute__((swift_name("component1()"))); +- (int32_t)component2 __attribute__((swift_name("component2()"))); +- (int32_t)component3 __attribute__((swift_name("component3()"))); +- (int32_t)component4 __attribute__((swift_name("component4()"))); +- (int32_t)component5 __attribute__((swift_name("component5()"))); +- (int32_t)component6 __attribute__((swift_name("component6()"))); +- (int32_t)component7 __attribute__((swift_name("component7()"))); +- (NSDictionary *)component8 __attribute__((swift_name("component8()"))); +- (PAPIGetStatisticsResponse *)doCopyNumberOfContacts:(int32_t)numberOfContacts numberOfContactsPendingConnection:(int32_t)numberOfContactsPendingConnection numberOfContactsConnected:(int32_t)numberOfContactsConnected numberOfGroups:(int32_t)numberOfGroups numberOfCredentialsInDraft:(int32_t)numberOfCredentialsInDraft numberOfCredentialsPublished:(int32_t)numberOfCredentialsPublished numberOfCredentialsReceived:(int32_t)numberOfCredentialsReceived unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(numberOfContacts:numberOfContactsPendingConnection:numberOfContactsConnected:numberOfGroups:numberOfCredentialsInDraft:numberOfCredentialsPublished:numberOfCredentialsReceived:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetStatisticsResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t numberOfContacts __attribute__((swift_name("numberOfContacts"))); +@property (readonly) int32_t numberOfContactsConnected __attribute__((swift_name("numberOfContactsConnected"))); +@property (readonly) int32_t numberOfContactsPendingConnection __attribute__((swift_name("numberOfContactsPendingConnection"))); +@property (readonly) int32_t numberOfCredentialsInDraft __attribute__((swift_name("numberOfCredentialsInDraft"))); +@property (readonly) int32_t numberOfCredentialsPublished __attribute__((swift_name("numberOfCredentialsPublished"))); +@property (readonly) int32_t numberOfCredentialsReceived __attribute__((swift_name("numberOfCredentialsReceived"))); +@property (readonly) int32_t numberOfGroups __attribute__((swift_name("numberOfGroups"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetStatisticsResponse.Companion"))) +@interface PAPIGetStatisticsResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetStatisticsResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetStatisticsResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetStatisticsResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetStoredCredentialsForRequest"))) +@interface PAPIGetStoredCredentialsForRequest : PAPIBase +- (instancetype)initWithIndividualId:(NSString *)individualId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(individualId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetStoredCredentialsForRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetStoredCredentialsForRequest *)doCopyIndividualId:(NSString *)individualId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(individualId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetStoredCredentialsForRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *individualId __attribute__((swift_name("individualId"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetStoredCredentialsForRequest.Companion"))) +@interface PAPIGetStoredCredentialsForRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetStoredCredentialsForRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetStoredCredentialsForRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetStoredCredentialsForRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetStoredCredentialsForResponse"))) +@interface PAPIGetStoredCredentialsForResponse : PAPIBase +- (instancetype)initWithCredentials:(NSArray *)credentials unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(credentials:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetStoredCredentialsForResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetStoredCredentialsForResponse *)doCopyCredentials:(NSArray *)credentials unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(credentials:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetStoredCredentialsForResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSArray *credentials __attribute__((swift_name("credentials"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetStoredCredentialsForResponse.Companion"))) +@interface PAPIGetStoredCredentialsForResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetStoredCredentialsForResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetStoredCredentialsForResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetStoredCredentialsForResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Group"))) +@interface PAPIGroup : PAPIBase +- (instancetype)initWithName:(NSString *)name id:(NSString *)id numberOfContacts:(int32_t)numberOfContacts createdAt:(PAPITimestamp * _Nullable)createdAt unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(name:id:numberOfContacts:createdAt:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGroupCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (int32_t)component3 __attribute__((swift_name("component3()"))); +- (PAPITimestamp * _Nullable)component4 __attribute__((swift_name("component4()"))); +- (NSDictionary *)component5 __attribute__((swift_name("component5()"))); +- (PAPIGroup *)doCopyName:(NSString *)name id:(NSString *)id numberOfContacts:(int32_t)numberOfContacts createdAt:(PAPITimestamp * _Nullable)createdAt unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(name:id:numberOfContacts:createdAt:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGroup *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPITimestamp * _Nullable createdAt __attribute__((swift_name("createdAt"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *id __attribute__((swift_name("id"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) int32_t numberOfContacts __attribute__((swift_name("numberOfContacts"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Group.Companion"))) +@interface PAPIGroupCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGroupCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGroup *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGroup *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("GroupsServiceCoroutine"))) +@protocol PAPIGroupsServiceCoroutine +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CopyGroupReq:(PAPICopyGroupRequest *)req completionHandler:(void (^)(PAPICopyGroupResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CopyGroup(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CopyGroupAuthReq:(PAPICopyGroupRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPICopyGroupResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CopyGroupAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateGroupReq:(PAPICreateGroupRequest *)req completionHandler:(void (^)(PAPICreateGroupResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateGroup(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateGroupAuthReq:(PAPICreateGroupRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPICreateGroupResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateGroupAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)DeleteGroupReq:(PAPIDeleteGroupRequest *)req completionHandler:(void (^)(PAPIDeleteGroupResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("DeleteGroup(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)DeleteGroupAuthReq:(PAPIDeleteGroupRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIDeleteGroupResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("DeleteGroupAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetGroupsReq:(PAPIGetGroupsRequest *)req completionHandler:(void (^)(PAPIGetGroupsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetGroups(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetGroupsAuthReq:(PAPIGetGroupsRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetGroupsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetGroupsAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)UpdateGroupReq:(PAPIUpdateGroupRequest *)req completionHandler:(void (^)(PAPIUpdateGroupResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("UpdateGroup(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)UpdateGroupAuthReq:(PAPIUpdateGroupRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIUpdateGroupResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("UpdateGroupAuth(req:metadata:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GroupsServiceCoroutineClient"))) +@interface PAPIGroupsServiceCoroutineClient : PAPIBase +- (instancetype)initWithClient:(PAPIGrpcClient *)client __attribute__((swift_name("init(client:)"))) __attribute__((objc_designated_initializer)); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CopyGroupReq:(PAPICopyGroupRequest *)req completionHandler:(void (^)(PAPICopyGroupResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CopyGroup(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CopyGroupAuthReq:(PAPICopyGroupRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPICopyGroupResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CopyGroupAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateGroupReq:(PAPICreateGroupRequest *)req completionHandler:(void (^)(PAPICreateGroupResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateGroup(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateGroupAuthReq:(PAPICreateGroupRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPICreateGroupResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateGroupAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)DeleteGroupReq:(PAPIDeleteGroupRequest *)req completionHandler:(void (^)(PAPIDeleteGroupResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("DeleteGroup(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)DeleteGroupAuthReq:(PAPIDeleteGroupRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIDeleteGroupResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("DeleteGroupAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetGroupsReq:(PAPIGetGroupsRequest *)req completionHandler:(void (^)(PAPIGetGroupsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetGroups(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetGroupsAuthReq:(PAPIGetGroupsRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetGroupsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetGroupsAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)UpdateGroupReq:(PAPIUpdateGroupRequest *)req completionHandler:(void (^)(PAPIUpdateGroupResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("UpdateGroup(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)UpdateGroupAuthReq:(PAPIUpdateGroupRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIUpdateGroupResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("UpdateGroupAuth(req:metadata:completionHandler:)"))); +- (void)close __attribute__((swift_name("close()"))); +@property (readonly) PAPIGrpcClient *client __attribute__((swift_name("client"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GrpcClient"))) +@interface PAPIGrpcClient : PAPIBase +- (instancetype)initWithOptions:(PAPIGrpcOptions *)options __attribute__((swift_name("init(options:)"))) __attribute__((objc_designated_initializer)); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)callRequest:(id)request reqCompanion:(id)reqCompanion respCompanion:(id)respCompanion serviceName:(NSString *)serviceName methodName:(NSString *)methodName completionHandler:(void (^)(id _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("call(request:reqCompanion:respCompanion:serviceName:methodName:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)callAuthRequest:(id)request reqCompanion:(id)reqCompanion respCompanion:(id)respCompanion serviceName:(NSString *)serviceName methodName:(NSString *)methodName prismMetadata:(PAPIPrismMetadata *)prismMetadata completionHandler:(void (^)(id _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("callAuth(request:reqCompanion:respCompanion:serviceName:methodName:prismMetadata:completionHandler:)"))); +- (void)close __attribute__((swift_name("close()"))); +- (id)streamRequest:(id)request reqCompanion:(id)reqCompanion respCompanion:(id)respCompanion serviceName:(NSString *)serviceName methodName:(NSString *)methodName __attribute__((swift_name("stream(request:reqCompanion:respCompanion:serviceName:methodName:)"))); +- (id)streamAuthRequest:(id)request reqCompanion:(id)reqCompanion respCompanion:(id)respCompanion serviceName:(NSString *)serviceName methodName:(NSString *)methodName prismMetadata:(PAPIPrismMetadata *)prismMetadata __attribute__((swift_name("streamAuth(request:reqCompanion:respCompanion:serviceName:methodName:prismMetadata:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GrpcOptions"))) +@interface PAPIGrpcOptions : PAPIBase +- (instancetype)initWithProtocol:(NSString *)protocol host:(NSString *)host port:(int32_t)port __attribute__((swift_name("init(protocol:host:port:)"))) __attribute__((objc_designated_initializer)); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (int32_t)component3 __attribute__((swift_name("component3()"))); +- (PAPIGrpcOptions *)doCopyProtocol:(NSString *)protocol host:(NSString *)host port:(int32_t)port __attribute__((swift_name("doCopy(protocol:host:port:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *host __attribute__((swift_name("host"))); +@property (readonly) int32_t port __attribute__((swift_name("port"))); +@property (readonly) NSString *protocol __attribute__((swift_name("protocol"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("HealthCheckRequest"))) +@interface PAPIHealthCheckRequest : PAPIBase +- (instancetype)initWithUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIHealthCheckRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPIHealthCheckRequest *)doCopyUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIHealthCheckRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("HealthCheckRequest.Companion"))) +@interface PAPIHealthCheckRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIHealthCheckRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIHealthCheckRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIHealthCheckRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("HealthCheckResponse"))) +@interface PAPIHealthCheckResponse : PAPIBase +- (instancetype)initWithUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIHealthCheckResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPIHealthCheckResponse *)doCopyUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIHealthCheckResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("HealthCheckResponse.Companion"))) +@interface PAPIHealthCheckResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIHealthCheckResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIHealthCheckResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIHealthCheckResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("IssueCredentialBatchOperation"))) +@interface PAPIIssueCredentialBatchOperation : PAPIBase +- (instancetype)initWithCredentialBatchData:(PAPICredentialBatchData * _Nullable)credentialBatchData unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(credentialBatchData:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIIssueCredentialBatchOperationCompanion *companion __attribute__((swift_name("companion"))); +- (PAPICredentialBatchData * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIIssueCredentialBatchOperation *)doCopyCredentialBatchData:(PAPICredentialBatchData * _Nullable)credentialBatchData unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(credentialBatchData:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIIssueCredentialBatchOperation *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPICredentialBatchData * _Nullable credentialBatchData __attribute__((swift_name("credentialBatchData"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("IssueCredentialBatchOperation.Companion"))) +@interface PAPIIssueCredentialBatchOperationCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIIssueCredentialBatchOperationCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIIssueCredentialBatchOperation *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIIssueCredentialBatchOperation *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("IssueCredentialBatchOutput"))) +@interface PAPIIssueCredentialBatchOutput : PAPIBase +- (instancetype)initWithBatchId:(NSString *)batchId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(batchId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIIssueCredentialBatchOutputCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIIssueCredentialBatchOutput *)doCopyBatchId:(NSString *)batchId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(batchId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIIssueCredentialBatchOutput *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *batchId __attribute__((swift_name("batchId"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("IssueCredentialBatchOutput.Companion"))) +@interface PAPIIssueCredentialBatchOutputCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIIssueCredentialBatchOutputCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIIssueCredentialBatchOutput *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIIssueCredentialBatchOutput *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("KeyUsage"))) +@interface PAPIKeyUsage : PAPIBase +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIKeyUsageCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly, getter=name_) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) int32_t value_ __attribute__((swift_name("value_"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KeyUsage.AUTHENTICATION_KEY"))) +@interface PAPIKeyUsageAUTHENTICATION_KEY : PAPIKeyUsage ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)aUTHENTICATION_KEY __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKeyUsageAUTHENTICATION_KEY *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KeyUsage.COMMUNICATION_KEY"))) +@interface PAPIKeyUsageCOMMUNICATION_KEY : PAPIKeyUsage ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)cOMMUNICATION_KEY __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKeyUsageCOMMUNICATION_KEY *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KeyUsage.Companion"))) +@interface PAPIKeyUsageCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKeyUsageCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIKeyUsage *)fromNameName:(NSString *)name __attribute__((swift_name("fromName(name:)"))); +- (PAPIKeyUsage *)fromValueValue:(int32_t)value __attribute__((swift_name("fromValue(value:)"))); +@property (readonly) NSArray *values __attribute__((swift_name("values"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KeyUsage.ISSUING_KEY"))) +@interface PAPIKeyUsageISSUING_KEY : PAPIKeyUsage ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)iSSUING_KEY __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKeyUsageISSUING_KEY *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KeyUsage.MASTER_KEY"))) +@interface PAPIKeyUsageMASTER_KEY : PAPIKeyUsage ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)mASTER_KEY __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKeyUsageMASTER_KEY *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KeyUsage.REVOCATION_KEY"))) +@interface PAPIKeyUsageREVOCATION_KEY : PAPIKeyUsage ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)rEVOCATION_KEY __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKeyUsageREVOCATION_KEY *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KeyUsage.UNKNOWN_KEY"))) +@interface PAPIKeyUsageUNKNOWN_KEY : PAPIKeyUsage ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)uNKNOWN_KEY __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKeyUsageUNKNOWN_KEY *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KeyUsage.UNRECOGNIZED"))) +@interface PAPIKeyUsageUNRECOGNIZED : PAPIKeyUsage +- (instancetype)initWithValue:(int32_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((swift_name("Ledger"))) +@interface PAPILedger : PAPIBase +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPILedgerCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly, getter=name_) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) int32_t value_ __attribute__((swift_name("value_"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Ledger.CARDANO_MAINNET"))) +@interface PAPILedgerCARDANO_MAINNET : PAPILedger ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)cARDANO_MAINNET __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPILedgerCARDANO_MAINNET *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Ledger.CARDANO_TESTNET"))) +@interface PAPILedgerCARDANO_TESTNET : PAPILedger ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)cARDANO_TESTNET __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPILedgerCARDANO_TESTNET *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Ledger.Companion"))) +@interface PAPILedgerCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPILedgerCompanion *shared __attribute__((swift_name("shared"))); +- (PAPILedger *)fromNameName:(NSString *)name __attribute__((swift_name("fromName(name:)"))); +- (PAPILedger *)fromValueValue:(int32_t)value __attribute__((swift_name("fromValue(value:)"))); +@property (readonly) NSArray *values __attribute__((swift_name("values"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Ledger.IN_MEMORY"))) +@interface PAPILedgerIN_MEMORY : PAPILedger ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)iN_MEMORY __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPILedgerIN_MEMORY *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Ledger.UNKNOWN_LEDGER"))) +@interface PAPILedgerUNKNOWN_LEDGER : PAPILedger ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)uNKNOWN_LEDGER __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPILedgerUNKNOWN_LEDGER *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Ledger.UNRECOGNIZED"))) +@interface PAPILedgerUNRECOGNIZED : PAPILedger +- (instancetype)initWithValue:(int32_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("LedgerData_"))) +@interface PAPILedgerData_ : PAPIBase +- (instancetype)initWithTransactionId:(NSString *)transactionId ledger:(PAPILedger *)ledger timestampInfo:(PAPITimestampInfo * _Nullable)timestampInfo unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(transactionId:ledger:timestampInfo:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPILedgerData_Companion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPILedger *)component2 __attribute__((swift_name("component2()"))); +- (PAPITimestampInfo * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPILedgerData_ *)doCopyTransactionId:(NSString *)transactionId ledger:(PAPILedger *)ledger timestampInfo:(PAPITimestampInfo * _Nullable)timestampInfo unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(transactionId:ledger:timestampInfo:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPILedgerData_ *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPILedger *ledger __attribute__((swift_name("ledger"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPITimestampInfo * _Nullable timestampInfo __attribute__((swift_name("timestampInfo"))); +@property (readonly) NSString *transactionId __attribute__((swift_name("transactionId"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("LedgerData_.Companion"))) +@interface PAPILedgerData_Companion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPILedgerData_Companion *shared __attribute__((swift_name("shared"))); +- (PAPILedgerData_ *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPILedgerData_ *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MarkAsArchivedCredentialTypeRequest"))) +@interface PAPIMarkAsArchivedCredentialTypeRequest : PAPIBase +- (instancetype)initWithCredentialTypeId:(NSString *)credentialTypeId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(credentialTypeId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIMarkAsArchivedCredentialTypeRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIMarkAsArchivedCredentialTypeRequest *)doCopyCredentialTypeId:(NSString *)credentialTypeId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(credentialTypeId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIMarkAsArchivedCredentialTypeRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *credentialTypeId __attribute__((swift_name("credentialTypeId"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MarkAsArchivedCredentialTypeRequest.Companion"))) +@interface PAPIMarkAsArchivedCredentialTypeRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIMarkAsArchivedCredentialTypeRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIMarkAsArchivedCredentialTypeRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIMarkAsArchivedCredentialTypeRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MarkAsArchivedCredentialTypeResponse"))) +@interface PAPIMarkAsArchivedCredentialTypeResponse : PAPIBase +- (instancetype)initWithUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIMarkAsArchivedCredentialTypeResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPIMarkAsArchivedCredentialTypeResponse *)doCopyUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIMarkAsArchivedCredentialTypeResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MarkAsArchivedCredentialTypeResponse.Companion"))) +@interface PAPIMarkAsArchivedCredentialTypeResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIMarkAsArchivedCredentialTypeResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIMarkAsArchivedCredentialTypeResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIMarkAsArchivedCredentialTypeResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MarkAsReadyCredentialTypeRequest"))) +@interface PAPIMarkAsReadyCredentialTypeRequest : PAPIBase +- (instancetype)initWithCredentialTypeId:(NSString *)credentialTypeId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(credentialTypeId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIMarkAsReadyCredentialTypeRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIMarkAsReadyCredentialTypeRequest *)doCopyCredentialTypeId:(NSString *)credentialTypeId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(credentialTypeId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIMarkAsReadyCredentialTypeRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *credentialTypeId __attribute__((swift_name("credentialTypeId"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MarkAsReadyCredentialTypeRequest.Companion"))) +@interface PAPIMarkAsReadyCredentialTypeRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIMarkAsReadyCredentialTypeRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIMarkAsReadyCredentialTypeRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIMarkAsReadyCredentialTypeRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MarkAsReadyCredentialTypeResponse"))) +@interface PAPIMarkAsReadyCredentialTypeResponse : PAPIBase +- (instancetype)initWithUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIMarkAsReadyCredentialTypeResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPIMarkAsReadyCredentialTypeResponse *)doCopyUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIMarkAsReadyCredentialTypeResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MarkAsReadyCredentialTypeResponse.Companion"))) +@interface PAPIMarkAsReadyCredentialTypeResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIMarkAsReadyCredentialTypeResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIMarkAsReadyCredentialTypeResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIMarkAsReadyCredentialTypeResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MessageToSendByConnectionToken"))) +@interface PAPIMessageToSendByConnectionToken : PAPIBase +- (instancetype)initWithConnectionToken:(NSString *)connectionToken message:(PAPIAtalaMessage * _Nullable)message id:(NSString *)id unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(connectionToken:message:id:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIMessageToSendByConnectionTokenCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIAtalaMessage * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (NSString *)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPIMessageToSendByConnectionToken *)doCopyConnectionToken:(NSString *)connectionToken message:(PAPIAtalaMessage * _Nullable)message id:(NSString *)id unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(connectionToken:message:id:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIMessageToSendByConnectionToken *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *connectionToken __attribute__((swift_name("connectionToken"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *id __attribute__((swift_name("id"))); +@property (readonly) PAPIAtalaMessage * _Nullable message __attribute__((swift_name("message"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MessageToSendByConnectionToken.Companion"))) +@interface PAPIMessageToSendByConnectionTokenCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIMessageToSendByConnectionTokenCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIMessageToSendByConnectionToken *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIMessageToSendByConnectionToken *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("NodeServiceCoroutine"))) +@protocol PAPINodeServiceCoroutine +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetBatchStateReq:(PAPIGetBatchStateRequest *)req completionHandler:(void (^)(PAPIGetBatchStateResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetBatchState(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetBatchStateAuthReq:(PAPIGetBatchStateRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetBatchStateResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetBatchStateAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetCredentialRevocationTimeReq:(PAPIGetCredentialRevocationTimeRequest *)req completionHandler:(void (^)(PAPIGetCredentialRevocationTimeResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetCredentialRevocationTime(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetCredentialRevocationTimeAuthReq:(PAPIGetCredentialRevocationTimeRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetCredentialRevocationTimeResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetCredentialRevocationTimeAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetDidDocumentReq:(PAPIGetDidDocumentRequest *)req completionHandler:(void (^)(PAPIGetDidDocumentResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetDidDocument(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetDidDocumentAuthReq:(PAPIGetDidDocumentRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetDidDocumentResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetDidDocumentAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetLastSyncedBlockTimestampReq:(PAPIGetLastSyncedBlockTimestampRequest *)req completionHandler:(void (^)(PAPIGetLastSyncedBlockTimestampResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetLastSyncedBlockTimestamp(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetLastSyncedBlockTimestampAuthReq:(PAPIGetLastSyncedBlockTimestampRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetLastSyncedBlockTimestampResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetLastSyncedBlockTimestampAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetNodeBuildInfoReq:(PAPIGetNodeBuildInfoRequest *)req completionHandler:(void (^)(PAPIGetNodeBuildInfoResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetNodeBuildInfo(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetNodeBuildInfoAuthReq:(PAPIGetNodeBuildInfoRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetNodeBuildInfoResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetNodeBuildInfoAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetOperationInfoReq:(PAPIGetOperationInfoRequest *)req completionHandler:(void (^)(PAPIGetOperationInfoResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetOperationInfo(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetOperationInfoAuthReq:(PAPIGetOperationInfoRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetOperationInfoResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetOperationInfoAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)HealthCheckReq:(PAPIHealthCheckRequest *)req completionHandler:(void (^)(PAPIHealthCheckResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("HealthCheck(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)HealthCheckAuthReq:(PAPIHealthCheckRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIHealthCheckResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("HealthCheckAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)ScheduleOperationsReq:(PAPIScheduleOperationsRequest *)req completionHandler:(void (^)(PAPIScheduleOperationsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("ScheduleOperations(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)ScheduleOperationsAuthReq:(PAPIScheduleOperationsRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIScheduleOperationsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("ScheduleOperationsAuth(req:metadata:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("NodeServiceCoroutineClient"))) +@interface PAPINodeServiceCoroutineClient : PAPIBase +- (instancetype)initWithClient:(PAPIGrpcClient *)client __attribute__((swift_name("init(client:)"))) __attribute__((objc_designated_initializer)); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetBatchStateReq:(PAPIGetBatchStateRequest *)req completionHandler:(void (^)(PAPIGetBatchStateResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetBatchState(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetBatchStateAuthReq:(PAPIGetBatchStateRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetBatchStateResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetBatchStateAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetCredentialRevocationTimeReq:(PAPIGetCredentialRevocationTimeRequest *)req completionHandler:(void (^)(PAPIGetCredentialRevocationTimeResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetCredentialRevocationTime(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetCredentialRevocationTimeAuthReq:(PAPIGetCredentialRevocationTimeRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetCredentialRevocationTimeResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetCredentialRevocationTimeAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetDidDocumentReq:(PAPIGetDidDocumentRequest *)req completionHandler:(void (^)(PAPIGetDidDocumentResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetDidDocument(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetDidDocumentAuthReq:(PAPIGetDidDocumentRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetDidDocumentResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetDidDocumentAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetLastSyncedBlockTimestampReq:(PAPIGetLastSyncedBlockTimestampRequest *)req completionHandler:(void (^)(PAPIGetLastSyncedBlockTimestampResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetLastSyncedBlockTimestamp(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetLastSyncedBlockTimestampAuthReq:(PAPIGetLastSyncedBlockTimestampRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetLastSyncedBlockTimestampResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetLastSyncedBlockTimestampAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetNodeBuildInfoReq:(PAPIGetNodeBuildInfoRequest *)req completionHandler:(void (^)(PAPIGetNodeBuildInfoResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetNodeBuildInfo(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetNodeBuildInfoAuthReq:(PAPIGetNodeBuildInfoRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetNodeBuildInfoResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetNodeBuildInfoAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetOperationInfoReq:(PAPIGetOperationInfoRequest *)req completionHandler:(void (^)(PAPIGetOperationInfoResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetOperationInfo(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetOperationInfoAuthReq:(PAPIGetOperationInfoRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetOperationInfoResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetOperationInfoAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)HealthCheckReq:(PAPIHealthCheckRequest *)req completionHandler:(void (^)(PAPIHealthCheckResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("HealthCheck(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)HealthCheckAuthReq:(PAPIHealthCheckRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIHealthCheckResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("HealthCheckAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)ScheduleOperationsReq:(PAPIScheduleOperationsRequest *)req completionHandler:(void (^)(PAPIScheduleOperationsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("ScheduleOperations(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)ScheduleOperationsAuthReq:(PAPIScheduleOperationsRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIScheduleOperationsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("ScheduleOperationsAuth(req:metadata:completionHandler:)"))); +- (void)close __attribute__((swift_name("close()"))); +@property (readonly) PAPIGrpcClient *client __attribute__((swift_name("client"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OperationOutput"))) +@interface PAPIOperationOutput : PAPIBase +- (instancetype)initWithResult:(PAPIOperationOutputResult * _Nullable)result operationMaybe:(PAPIOperationOutputOperationMaybe * _Nullable)operationMaybe unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(result:operationMaybe:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIOperationOutputCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIOperationOutputResult * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (PAPIOperationOutputOperationMaybe * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIOperationOutput *)doCopyResult:(PAPIOperationOutputResult * _Nullable)result operationMaybe:(PAPIOperationOutputOperationMaybe * _Nullable)operationMaybe unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(result:operationMaybe:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIOperationOutput *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIIssueCredentialBatchOutput * _Nullable batchOutput __attribute__((swift_name("batchOutput"))); +@property (readonly) PAPICreateDIDOutput * _Nullable createDidOutput __attribute__((swift_name("createDidOutput"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString * _Nullable error __attribute__((swift_name("error"))); +@property (readonly) PAPIByteArr * _Nullable operationId __attribute__((swift_name("operationId"))); +@property (readonly) PAPIOperationOutputOperationMaybe * _Nullable operationMaybe __attribute__((swift_name("operationMaybe"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPIProtocolVersionUpdateOutput * _Nullable protocolVersionUpdateOutput __attribute__((swift_name("protocolVersionUpdateOutput"))); +@property (readonly) PAPIOperationOutputResult * _Nullable result __attribute__((swift_name("result"))); +@property (readonly) PAPIRevokeCredentialsOutput * _Nullable revokeCredentialsOutput __attribute__((swift_name("revokeCredentialsOutput"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@property (readonly) PAPIUpdateDIDOutput * _Nullable updateDidOutput __attribute__((swift_name("updateDidOutput"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OperationOutput.Companion"))) +@interface PAPIOperationOutputCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOperationOutputCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIOperationOutput *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIOperationOutput *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("OperationOutputOperationMaybe"))) +@interface PAPIOperationOutputOperationMaybe : PAPIMessageOneOf +- (instancetype)initWithValue:(V _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OperationOutputOperationMaybeError"))) +@interface PAPIOperationOutputOperationMaybeError : PAPIOperationOutputOperationMaybe +- (instancetype)initWithError:(NSString *)error __attribute__((swift_name("init(error:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(id _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OperationOutputOperationMaybeOperationId"))) +@interface PAPIOperationOutputOperationMaybeOperationId : PAPIOperationOutputOperationMaybe +- (instancetype)initWithOperationId:(PAPIByteArr *)operationId __attribute__((swift_name("init(operationId:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(id _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((swift_name("OperationOutputResult"))) +@interface PAPIOperationOutputResult : PAPIMessageOneOf +- (instancetype)initWithValue:(V _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OperationOutputResultBatchOutput"))) +@interface PAPIOperationOutputResultBatchOutput : PAPIOperationOutputResult +- (instancetype)initWithBatchOutput:(PAPIIssueCredentialBatchOutput *)batchOutput __attribute__((swift_name("init(batchOutput:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(id _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OperationOutputResultCreateDidOutput"))) +@interface PAPIOperationOutputResultCreateDidOutput : PAPIOperationOutputResult +- (instancetype)initWithCreateDidOutput:(PAPICreateDIDOutput *)createDidOutput __attribute__((swift_name("init(createDidOutput:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(id _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OperationOutputResultProtocolVersionUpdateOutput"))) +@interface PAPIOperationOutputResultProtocolVersionUpdateOutput : PAPIOperationOutputResult +- (instancetype)initWithProtocolVersionUpdateOutput:(PAPIProtocolVersionUpdateOutput *)protocolVersionUpdateOutput __attribute__((swift_name("init(protocolVersionUpdateOutput:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(id _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OperationOutputResultRevokeCredentialsOutput"))) +@interface PAPIOperationOutputResultRevokeCredentialsOutput : PAPIOperationOutputResult +- (instancetype)initWithRevokeCredentialsOutput:(PAPIRevokeCredentialsOutput *)revokeCredentialsOutput __attribute__((swift_name("init(revokeCredentialsOutput:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(id _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OperationOutputResultUpdateDidOutput"))) +@interface PAPIOperationOutputResultUpdateDidOutput : PAPIOperationOutputResult +- (instancetype)initWithUpdateDidOutput:(PAPIUpdateDIDOutput *)updateDidOutput __attribute__((swift_name("init(updateDidOutput:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(id _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((swift_name("OperationStatus"))) +@interface PAPIOperationStatus : PAPIBase +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIOperationStatusCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly, getter=name_) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) int32_t value_ __attribute__((swift_name("value_"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OperationStatus.AWAIT_CONFIRMATION"))) +@interface PAPIOperationStatusAWAIT_CONFIRMATION : PAPIOperationStatus ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)aWAIT_CONFIRMATION __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOperationStatusAWAIT_CONFIRMATION *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OperationStatus.CONFIRMED_AND_APPLIED"))) +@interface PAPIOperationStatusCONFIRMED_AND_APPLIED : PAPIOperationStatus ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)cONFIRMED_AND_APPLIED __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOperationStatusCONFIRMED_AND_APPLIED *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OperationStatus.CONFIRMED_AND_REJECTED"))) +@interface PAPIOperationStatusCONFIRMED_AND_REJECTED : PAPIOperationStatus ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)cONFIRMED_AND_REJECTED __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOperationStatusCONFIRMED_AND_REJECTED *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OperationStatus.Companion"))) +@interface PAPIOperationStatusCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOperationStatusCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIOperationStatus *)fromNameName:(NSString *)name __attribute__((swift_name("fromName(name:)"))); +- (PAPIOperationStatus *)fromValueValue:(int32_t)value __attribute__((swift_name("fromValue(value:)"))); +@property (readonly) NSArray *values __attribute__((swift_name("values"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OperationStatus.PENDING_SUBMISSION"))) +@interface PAPIOperationStatusPENDING_SUBMISSION : PAPIOperationStatus ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)pENDING_SUBMISSION __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOperationStatusPENDING_SUBMISSION *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OperationStatus.UNKNOWN_OPERATION"))) +@interface PAPIOperationStatusUNKNOWN_OPERATION : PAPIOperationStatus ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)uNKNOWN_OPERATION __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOperationStatusUNKNOWN_OPERATION *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OperationStatus.UNRECOGNIZED"))) +@interface PAPIOperationStatusUNRECOGNIZED : PAPIOperationStatus +- (instancetype)initWithValue:(int32_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PlainTextCredential"))) +@interface PAPIPlainTextCredential : PAPIBase +- (instancetype)initWithEncodedCredential:(NSString *)encodedCredential encodedMerkleProof:(NSString *)encodedMerkleProof unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(encodedCredential:encodedMerkleProof:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIPlainTextCredentialCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIPlainTextCredential *)doCopyEncodedCredential:(NSString *)encodedCredential encodedMerkleProof:(NSString *)encodedMerkleProof unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(encodedCredential:encodedMerkleProof:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIPlainTextCredential *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *encodedCredential __attribute__((swift_name("encodedCredential"))); +@property (readonly) NSString *encodedMerkleProof __attribute__((swift_name("encodedMerkleProof"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PlainTextCredential.Companion"))) +@interface PAPIPlainTextCredentialCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIPlainTextCredentialCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIPlainTextCredential *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIPlainTextCredential *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PrismMetadata"))) +@interface PAPIPrismMetadata : PAPIBase +- (instancetype)initWithDid:(NSString *)did didKeyId:(NSString *)didKeyId didSignature:(PAPIKotlinByteArray *)didSignature requestNonce:(PAPIKotlinByteArray *)requestNonce __attribute__((swift_name("init(did:didKeyId:didSignature:requestNonce:)"))) __attribute__((objc_designated_initializer)); +@property (readonly) NSString *did __attribute__((swift_name("did"))); +@property (readonly) NSString *didKeyId __attribute__((swift_name("didKeyId"))); +@property (readonly) PAPIKotlinByteArray *didSignature __attribute__((swift_name("didSignature"))); +@property (readonly) PAPIKotlinByteArray *requestNonce __attribute__((swift_name("requestNonce"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ProofRequest"))) +@interface PAPIProofRequest : PAPIBase +- (instancetype)initWithTypeIds:(NSArray *)typeIds connectionToken:(NSString *)connectionToken unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(typeIds:connectionToken:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIProofRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIProofRequest *)doCopyTypeIds:(NSArray *)typeIds connectionToken:(NSString *)connectionToken unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(typeIds:connectionToken:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIProofRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *connectionToken __attribute__((swift_name("connectionToken"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSArray *typeIds __attribute__((swift_name("typeIds"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ProofRequest.Companion"))) +@interface PAPIProofRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIProofRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIProofRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIProofRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ProtocolVersionInfo"))) +@interface PAPIProtocolVersionInfo : PAPIBase +- (instancetype)initWithVersionName:(NSString *)versionName majorVersion:(int32_t)majorVersion minorVersion:(int32_t)minorVersion effectiveSince:(int32_t)effectiveSince unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(versionName:majorVersion:minorVersion:effectiveSince:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIProtocolVersionInfoCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (int32_t)component2 __attribute__((swift_name("component2()"))); +- (int32_t)component3 __attribute__((swift_name("component3()"))); +- (int32_t)component4 __attribute__((swift_name("component4()"))); +- (NSDictionary *)component5 __attribute__((swift_name("component5()"))); +- (PAPIProtocolVersionInfo *)doCopyVersionName:(NSString *)versionName majorVersion:(int32_t)majorVersion minorVersion:(int32_t)minorVersion effectiveSince:(int32_t)effectiveSince unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(versionName:majorVersion:minorVersion:effectiveSince:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIProtocolVersionInfo *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t effectiveSince __attribute__((swift_name("effectiveSince"))); +@property (readonly) int32_t majorVersion __attribute__((swift_name("majorVersion"))); +@property (readonly) int32_t minorVersion __attribute__((swift_name("minorVersion"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@property (readonly) NSString *versionName __attribute__((swift_name("versionName"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ProtocolVersionInfo.Companion"))) +@interface PAPIProtocolVersionInfoCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIProtocolVersionInfoCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIProtocolVersionInfo *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIProtocolVersionInfo *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ProtocolVersionUpdateOperation"))) +@interface PAPIProtocolVersionUpdateOperation : PAPIBase +- (instancetype)initWithProposerDid:(NSString *)proposerDid version:(PAPIProtocolVersionInfo * _Nullable)version unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(proposerDid:version:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIProtocolVersionUpdateOperationCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIProtocolVersionInfo * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIProtocolVersionUpdateOperation *)doCopyProposerDid:(NSString *)proposerDid version:(PAPIProtocolVersionInfo * _Nullable)version unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(proposerDid:version:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIProtocolVersionUpdateOperation *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *proposerDid __attribute__((swift_name("proposerDid"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@property (readonly) PAPIProtocolVersionInfo * _Nullable version __attribute__((swift_name("version"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ProtocolVersionUpdateOperation.Companion"))) +@interface PAPIProtocolVersionUpdateOperationCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIProtocolVersionUpdateOperationCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIProtocolVersionUpdateOperation *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIProtocolVersionUpdateOperation *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ProtocolVersionUpdateOutput"))) +@interface PAPIProtocolVersionUpdateOutput : PAPIBase +- (instancetype)initWithUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIProtocolVersionUpdateOutputCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPIProtocolVersionUpdateOutput *)doCopyUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIProtocolVersionUpdateOutput *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ProtocolVersionUpdateOutput.Companion"))) +@interface PAPIProtocolVersionUpdateOutputCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIProtocolVersionUpdateOutputCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIProtocolVersionUpdateOutput *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIProtocolVersionUpdateOutput *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PublicKey"))) +@interface PAPIPublicKey : PAPIBase +- (instancetype)initWithId:(NSString *)id usage:(PAPIKeyUsage *)usage addedOn:(PAPILedgerData_ * _Nullable)addedOn revokedOn:(PAPILedgerData_ * _Nullable)revokedOn keyData:(PAPIPublicKeyKeyData * _Nullable)keyData unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(id:usage:addedOn:revokedOn:keyData:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIPublicKeyCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIKeyUsage *)component2 __attribute__((swift_name("component2()"))); +- (PAPILedgerData_ * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (PAPILedgerData_ * _Nullable)component4 __attribute__((swift_name("component4()"))); +- (PAPIPublicKeyKeyData * _Nullable)component5 __attribute__((swift_name("component5()"))); +- (NSDictionary *)component6 __attribute__((swift_name("component6()"))); +- (PAPIPublicKey *)doCopyId:(NSString *)id usage:(PAPIKeyUsage *)usage addedOn:(PAPILedgerData_ * _Nullable)addedOn revokedOn:(PAPILedgerData_ * _Nullable)revokedOn keyData:(PAPIPublicKeyKeyData * _Nullable)keyData unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(id:usage:addedOn:revokedOn:keyData:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIPublicKey *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPILedgerData_ * _Nullable addedOn __attribute__((swift_name("addedOn"))); +@property (readonly) PAPICompressedECKeyData * _Nullable compressedEcKeyData __attribute__((swift_name("compressedEcKeyData"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIECKeyData * _Nullable ecKeyData __attribute__((swift_name("ecKeyData"))); +@property (readonly) NSString *id __attribute__((swift_name("id"))); +@property (readonly) PAPIPublicKeyKeyData * _Nullable keyData __attribute__((swift_name("keyData"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPILedgerData_ * _Nullable revokedOn __attribute__((swift_name("revokedOn"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@property (readonly) PAPIKeyUsage *usage __attribute__((swift_name("usage"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PublicKey.Companion"))) +@interface PAPIPublicKeyCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIPublicKeyCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIPublicKey *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIPublicKey *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("PublicKeyKeyData"))) +@interface PAPIPublicKeyKeyData : PAPIMessageOneOf +- (instancetype)initWithValue:(V _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PublicKeyKeyDataCompressedEcKeyData"))) +@interface PAPIPublicKeyKeyDataCompressedEcKeyData : PAPIPublicKeyKeyData +- (instancetype)initWithCompressedEcKeyData:(PAPICompressedECKeyData *)compressedEcKeyData __attribute__((swift_name("init(compressedEcKeyData:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(id _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PublicKeyKeyDataEcKeyData"))) +@interface PAPIPublicKeyKeyDataEcKeyData : PAPIPublicKeyKeyData +- (instancetype)initWithEcKeyData:(PAPIECKeyData *)ecKeyData __attribute__((swift_name("init(ecKeyData:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(id _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PublishBatchRequest"))) +@interface PAPIPublishBatchRequest : PAPIBase +- (instancetype)initWithIssueCredentialBatchOperation:(PAPISignedAtalaOperation * _Nullable)issueCredentialBatchOperation unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(issueCredentialBatchOperation:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIPublishBatchRequestCompanion *companion __attribute__((swift_name("companion"))); +- (PAPISignedAtalaOperation * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIPublishBatchRequest *)doCopyIssueCredentialBatchOperation:(PAPISignedAtalaOperation * _Nullable)issueCredentialBatchOperation unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(issueCredentialBatchOperation:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIPublishBatchRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPISignedAtalaOperation * _Nullable issueCredentialBatchOperation __attribute__((swift_name("issueCredentialBatchOperation"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PublishBatchRequest.Companion"))) +@interface PAPIPublishBatchRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIPublishBatchRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIPublishBatchRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIPublishBatchRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PublishBatchResponse"))) +@interface PAPIPublishBatchResponse : PAPIBase +- (instancetype)initWithBatchId:(NSString *)batchId operationId:(PAPIByteArr *)operationId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(batchId:operationId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIPublishBatchResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIByteArr *)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIPublishBatchResponse *)doCopyBatchId:(NSString *)batchId operationId:(PAPIByteArr *)operationId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(batchId:operationId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIPublishBatchResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *batchId __attribute__((swift_name("batchId"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIByteArr *operationId __attribute__((swift_name("operationId"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PublishBatchResponse.Companion"))) +@interface PAPIPublishBatchResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIPublishBatchResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIPublishBatchResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIPublishBatchResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ReceivedMessage"))) +@interface PAPIReceivedMessage : PAPIBase +- (instancetype)initWithId:(NSString *)id connectionId:(NSString *)connectionId message:(PAPIByteArr *)message received:(PAPITimestamp * _Nullable)received unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(id:connectionId:message:received:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIReceivedMessageCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (PAPIByteArr *)component3 __attribute__((swift_name("component3()"))); +- (PAPITimestamp * _Nullable)component4 __attribute__((swift_name("component4()"))); +- (NSDictionary *)component5 __attribute__((swift_name("component5()"))); +- (PAPIReceivedMessage *)doCopyId:(NSString *)id connectionId:(NSString *)connectionId message:(PAPIByteArr *)message received:(PAPITimestamp * _Nullable)received unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(id:connectionId:message:received:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIReceivedMessage *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *connectionId __attribute__((swift_name("connectionId"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *id __attribute__((swift_name("id"))); +@property (readonly) PAPIByteArr *message __attribute__((swift_name("message"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPITimestamp * _Nullable received __attribute__((swift_name("received"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ReceivedMessage.Companion"))) +@interface PAPIReceivedMessageCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIReceivedMessageCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIReceivedMessage *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIReceivedMessage *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RegisterConsoleDIDRequest"))) +@interface PAPIRegisterConsoleDIDRequest : PAPIBase +- (instancetype)initWithDid:(NSString *)did name:(NSString *)name logo:(PAPIByteArr *)logo unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(did:name:logo:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIRegisterConsoleDIDRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (PAPIByteArr *)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPIRegisterConsoleDIDRequest *)doCopyDid:(NSString *)did name:(NSString *)name logo:(PAPIByteArr *)logo unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(did:name:logo:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIRegisterConsoleDIDRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *did __attribute__((swift_name("did"))); +@property (readonly) PAPIByteArr *logo __attribute__((swift_name("logo"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RegisterConsoleDIDRequest.Companion"))) +@interface PAPIRegisterConsoleDIDRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIRegisterConsoleDIDRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIRegisterConsoleDIDRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIRegisterConsoleDIDRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RegisterConsoleDIDResponse"))) +@interface PAPIRegisterConsoleDIDResponse : PAPIBase +- (instancetype)initWithUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIRegisterConsoleDIDResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPIRegisterConsoleDIDResponse *)doCopyUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIRegisterConsoleDIDResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RegisterConsoleDIDResponse.Companion"))) +@interface PAPIRegisterConsoleDIDResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIRegisterConsoleDIDResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIRegisterConsoleDIDResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIRegisterConsoleDIDResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RegisterDIDRequest"))) +@interface PAPIRegisterDIDRequest : PAPIBase +- (instancetype)initWithRole:(PAPIRegisterDIDRequestRole *)role name:(NSString *)name logo:(PAPIByteArr *)logo registerWith:(PAPIRegisterDIDRequestRegisterWith * _Nullable)registerWith unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(role:name:logo:registerWith:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIRegisterDIDRequestCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIRegisterDIDRequestRole *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (PAPIByteArr *)component3 __attribute__((swift_name("component3()"))); +- (PAPIRegisterDIDRequestRegisterWith * _Nullable)component4 __attribute__((swift_name("component4()"))); +- (NSDictionary *)component5 __attribute__((swift_name("component5()"))); +- (PAPIRegisterDIDRequest *)doCopyRole:(PAPIRegisterDIDRequestRole *)role name:(NSString *)name logo:(PAPIByteArr *)logo registerWith:(PAPIRegisterDIDRequestRegisterWith * _Nullable)registerWith unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(role:name:logo:registerWith:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIRegisterDIDRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPISignedAtalaOperation * _Nullable createDidOperation __attribute__((swift_name("createDidOperation"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString * _Nullable existingDid __attribute__((swift_name("existingDid"))); +@property (readonly) PAPIByteArr *logo __attribute__((swift_name("logo"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPIRegisterDIDRequestRegisterWith * _Nullable registerWith __attribute__((swift_name("registerWith"))); +@property (readonly) PAPIRegisterDIDRequestRole *role __attribute__((swift_name("role"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RegisterDIDRequest.Companion"))) +@interface PAPIRegisterDIDRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIRegisterDIDRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIRegisterDIDRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIRegisterDIDRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("RegisterDIDRequestRegisterWith"))) +@interface PAPIRegisterDIDRequestRegisterWith : PAPIMessageOneOf +- (instancetype)initWithValue:(V _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RegisterDIDRequestRegisterWithCreateDidOperation"))) +@interface PAPIRegisterDIDRequestRegisterWithCreateDidOperation : PAPIRegisterDIDRequestRegisterWith +- (instancetype)initWithCreateDidOperation:(PAPISignedAtalaOperation *)createDidOperation __attribute__((swift_name("init(createDidOperation:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(id _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RegisterDIDRequestRegisterWithExistingDid"))) +@interface PAPIRegisterDIDRequestRegisterWithExistingDid : PAPIRegisterDIDRequestRegisterWith +- (instancetype)initWithExistingDid:(NSString *)existingDid __attribute__((swift_name("init(existingDid:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(id _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((swift_name("RegisterDIDRequest.Role"))) +@interface PAPIRegisterDIDRequestRole : PAPIBase +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIRegisterDIDRequestRoleCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly, getter=name_) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) int32_t value_ __attribute__((swift_name("value_"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RegisterDIDRequest.RoleCompanion"))) +@interface PAPIRegisterDIDRequestRoleCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIRegisterDIDRequestRoleCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIRegisterDIDRequestRole *)fromNameName:(NSString *)name __attribute__((swift_name("fromName(name:)"))); +- (PAPIRegisterDIDRequestRole *)fromValueValue:(int32_t)value __attribute__((swift_name("fromValue(value:)"))); +@property (readonly) NSArray *values __attribute__((swift_name("values"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RegisterDIDRequest.RoleISSUER"))) +@interface PAPIRegisterDIDRequestRoleISSUER : PAPIRegisterDIDRequestRole ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)iSSUER __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIRegisterDIDRequestRoleISSUER *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RegisterDIDRequest.RoleUNRECOGNIZED"))) +@interface PAPIRegisterDIDRequestRoleUNRECOGNIZED : PAPIRegisterDIDRequestRole +- (instancetype)initWithValue:(int32_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RegisterDIDRequest.RoleVERIFIER"))) +@interface PAPIRegisterDIDRequestRoleVERIFIER : PAPIRegisterDIDRequestRole ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)vERIFIER __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIRegisterDIDRequestRoleVERIFIER *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RegisterDIDResponse"))) +@interface PAPIRegisterDIDResponse : PAPIBase +- (instancetype)initWithDid:(NSString *)did operationId:(PAPIByteArr *)operationId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(did:operationId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIRegisterDIDResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIByteArr *)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIRegisterDIDResponse *)doCopyDid:(NSString *)did operationId:(PAPIByteArr *)operationId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(did:operationId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIRegisterDIDResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *did __attribute__((swift_name("did"))); +@property (readonly) PAPIByteArr *operationId __attribute__((swift_name("operationId"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RegisterDIDResponse.Companion"))) +@interface PAPIRegisterDIDResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIRegisterDIDResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIRegisterDIDResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIRegisterDIDResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RemoveKeyAction"))) +@interface PAPIRemoveKeyAction : PAPIBase +- (instancetype)initWithKeyId:(NSString *)keyId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(keyId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIRemoveKeyActionCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIRemoveKeyAction *)doCopyKeyId:(NSString *)keyId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(keyId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIRemoveKeyAction *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *keyId __attribute__((swift_name("keyId"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RemoveKeyAction.Companion"))) +@interface PAPIRemoveKeyActionCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIRemoveKeyActionCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIRemoveKeyAction *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIRemoveKeyAction *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RevokeConnectionRequest"))) +@interface PAPIRevokeConnectionRequest : PAPIBase +- (instancetype)initWithConnectionId:(NSString *)connectionId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(connectionId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIRevokeConnectionRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIRevokeConnectionRequest *)doCopyConnectionId:(NSString *)connectionId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(connectionId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIRevokeConnectionRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *connectionId __attribute__((swift_name("connectionId"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RevokeConnectionRequest.Companion"))) +@interface PAPIRevokeConnectionRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIRevokeConnectionRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIRevokeConnectionRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIRevokeConnectionRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RevokeConnectionResponse"))) +@interface PAPIRevokeConnectionResponse : PAPIBase +- (instancetype)initWithUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIRevokeConnectionResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPIRevokeConnectionResponse *)doCopyUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIRevokeConnectionResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RevokeConnectionResponse.Companion"))) +@interface PAPIRevokeConnectionResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIRevokeConnectionResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIRevokeConnectionResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIRevokeConnectionResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RevokeCredentialsOperation"))) +@interface PAPIRevokeCredentialsOperation : PAPIBase +- (instancetype)initWithPreviousOperationHash:(PAPIByteArr *)previousOperationHash credentialBatchId:(NSString *)credentialBatchId credentialsToRevoke:(NSArray *)credentialsToRevoke unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(previousOperationHash:credentialBatchId:credentialsToRevoke:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIRevokeCredentialsOperationCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIByteArr *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (NSArray *)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPIRevokeCredentialsOperation *)doCopyPreviousOperationHash:(PAPIByteArr *)previousOperationHash credentialBatchId:(NSString *)credentialBatchId credentialsToRevoke:(NSArray *)credentialsToRevoke unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(previousOperationHash:credentialBatchId:credentialsToRevoke:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIRevokeCredentialsOperation *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *credentialBatchId __attribute__((swift_name("credentialBatchId"))); +@property (readonly) NSArray *credentialsToRevoke __attribute__((swift_name("credentialsToRevoke"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIByteArr *previousOperationHash __attribute__((swift_name("previousOperationHash"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RevokeCredentialsOperation.Companion"))) +@interface PAPIRevokeCredentialsOperationCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIRevokeCredentialsOperationCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIRevokeCredentialsOperation *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIRevokeCredentialsOperation *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RevokeCredentialsOutput"))) +@interface PAPIRevokeCredentialsOutput : PAPIBase +- (instancetype)initWithUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIRevokeCredentialsOutputCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPIRevokeCredentialsOutput *)doCopyUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIRevokeCredentialsOutput *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RevokeCredentialsOutput.Companion"))) +@interface PAPIRevokeCredentialsOutputCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIRevokeCredentialsOutputCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIRevokeCredentialsOutput *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIRevokeCredentialsOutput *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RevokePublishedCredentialRequest"))) +@interface PAPIRevokePublishedCredentialRequest : PAPIBase +- (instancetype)initWithCredentialId:(NSString *)credentialId revokeCredentialsOperation:(PAPISignedAtalaOperation * _Nullable)revokeCredentialsOperation unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(credentialId:revokeCredentialsOperation:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIRevokePublishedCredentialRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPISignedAtalaOperation * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIRevokePublishedCredentialRequest *)doCopyCredentialId:(NSString *)credentialId revokeCredentialsOperation:(PAPISignedAtalaOperation * _Nullable)revokeCredentialsOperation unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(credentialId:revokeCredentialsOperation:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIRevokePublishedCredentialRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *credentialId __attribute__((swift_name("credentialId"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPISignedAtalaOperation * _Nullable revokeCredentialsOperation __attribute__((swift_name("revokeCredentialsOperation"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RevokePublishedCredentialRequest.Companion"))) +@interface PAPIRevokePublishedCredentialRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIRevokePublishedCredentialRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIRevokePublishedCredentialRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIRevokePublishedCredentialRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RevokePublishedCredentialResponse"))) +@interface PAPIRevokePublishedCredentialResponse : PAPIBase +- (instancetype)initWithOperationId:(PAPIByteArr *)operationId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(operationId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIRevokePublishedCredentialResponseCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIByteArr *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIRevokePublishedCredentialResponse *)doCopyOperationId:(PAPIByteArr *)operationId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(operationId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIRevokePublishedCredentialResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIByteArr *operationId __attribute__((swift_name("operationId"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RevokePublishedCredentialResponse.Companion"))) +@interface PAPIRevokePublishedCredentialResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIRevokePublishedCredentialResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIRevokePublishedCredentialResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIRevokePublishedCredentialResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ScheduleOperationsRequest"))) +@interface PAPIScheduleOperationsRequest : PAPIBase +- (instancetype)initWithSignedOperations:(NSArray *)signedOperations unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(signedOperations:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIScheduleOperationsRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIScheduleOperationsRequest *)doCopySignedOperations:(NSArray *)signedOperations unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(signedOperations:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIScheduleOperationsRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSArray *signedOperations __attribute__((swift_name("signedOperations"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ScheduleOperationsRequest.Companion"))) +@interface PAPIScheduleOperationsRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIScheduleOperationsRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIScheduleOperationsRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIScheduleOperationsRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ScheduleOperationsResponse"))) +@interface PAPIScheduleOperationsResponse : PAPIBase +- (instancetype)initWithOutputs:(NSArray *)outputs unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(outputs:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIScheduleOperationsResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIScheduleOperationsResponse *)doCopyOutputs:(NSArray *)outputs unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(outputs:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIScheduleOperationsResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSArray *outputs __attribute__((swift_name("outputs"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ScheduleOperationsResponse.Companion"))) +@interface PAPIScheduleOperationsResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIScheduleOperationsResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIScheduleOperationsResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIScheduleOperationsResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SendMessageRequest"))) +@interface PAPISendMessageRequest : PAPIBase +- (instancetype)initWithConnectionId:(NSString *)connectionId message:(PAPIByteArr *)message id:(NSString *)id unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(connectionId:message:id:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPISendMessageRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIByteArr *)component2 __attribute__((swift_name("component2()"))); +- (NSString *)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPISendMessageRequest *)doCopyConnectionId:(NSString *)connectionId message:(PAPIByteArr *)message id:(NSString *)id unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(connectionId:message:id:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPISendMessageRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *connectionId __attribute__((swift_name("connectionId"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *id __attribute__((swift_name("id"))); +@property (readonly) PAPIByteArr *message __attribute__((swift_name("message"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SendMessageRequest.Companion"))) +@interface PAPISendMessageRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPISendMessageRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPISendMessageRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPISendMessageRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SendMessageResponse"))) +@interface PAPISendMessageResponse : PAPIBase +- (instancetype)initWithId:(NSString *)id unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(id:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPISendMessageResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPISendMessageResponse *)doCopyId:(NSString *)id unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(id:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPISendMessageResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *id __attribute__((swift_name("id"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SendMessageResponse.Companion"))) +@interface PAPISendMessageResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPISendMessageResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPISendMessageResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPISendMessageResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SendMessagesRequest"))) +@interface PAPISendMessagesRequest : PAPIBase +- (instancetype)initWithMessagesByConnectionToken:(NSArray *)messagesByConnectionToken unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(messagesByConnectionToken:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPISendMessagesRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPISendMessagesRequest *)doCopyMessagesByConnectionToken:(NSArray *)messagesByConnectionToken unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(messagesByConnectionToken:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPISendMessagesRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSArray *messagesByConnectionToken __attribute__((swift_name("messagesByConnectionToken"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SendMessagesRequest.Companion"))) +@interface PAPISendMessagesRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPISendMessagesRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPISendMessagesRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPISendMessagesRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SendMessagesResponse"))) +@interface PAPISendMessagesResponse : PAPIBase +- (instancetype)initWithIds:(NSArray *)ids unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(ids:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPISendMessagesResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPISendMessagesResponse *)doCopyIds:(NSArray *)ids unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(ids:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPISendMessagesResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSArray *ids __attribute__((swift_name("ids"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SendMessagesResponse.Companion"))) +@interface PAPISendMessagesResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPISendMessagesResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPISendMessagesResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPISendMessagesResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ShareCredentialRequest"))) +@interface PAPIShareCredentialRequest : PAPIBase +- (instancetype)initWithCmanagerCredentialId:(NSString *)cmanagerCredentialId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(cmanagerCredentialId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIShareCredentialRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIShareCredentialRequest *)doCopyCmanagerCredentialId:(NSString *)cmanagerCredentialId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(cmanagerCredentialId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIShareCredentialRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *cmanagerCredentialId __attribute__((swift_name("cmanagerCredentialId"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ShareCredentialRequest.Companion"))) +@interface PAPIShareCredentialRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIShareCredentialRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIShareCredentialRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIShareCredentialRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ShareCredentialResponse"))) +@interface PAPIShareCredentialResponse : PAPIBase +- (instancetype)initWithUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIShareCredentialResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPIShareCredentialResponse *)doCopyUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIShareCredentialResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ShareCredentialResponse.Companion"))) +@interface PAPIShareCredentialResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIShareCredentialResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIShareCredentialResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIShareCredentialResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ShareCredentialsRequest"))) +@interface PAPIShareCredentialsRequest : PAPIBase +- (instancetype)initWithCredentialsIds:(NSArray *)credentialsIds sendMessagesRequest:(PAPISendMessagesRequest * _Nullable)sendMessagesRequest sendMessagesRequestMetadata:(PAPIConnectorRequestMetadata * _Nullable)sendMessagesRequestMetadata unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(credentialsIds:sendMessagesRequest:sendMessagesRequestMetadata:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIShareCredentialsRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (PAPISendMessagesRequest * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (PAPIConnectorRequestMetadata * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPIShareCredentialsRequest *)doCopyCredentialsIds:(NSArray *)credentialsIds sendMessagesRequest:(PAPISendMessagesRequest * _Nullable)sendMessagesRequest sendMessagesRequestMetadata:(PAPIConnectorRequestMetadata * _Nullable)sendMessagesRequestMetadata unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(credentialsIds:sendMessagesRequest:sendMessagesRequestMetadata:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIShareCredentialsRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSArray *credentialsIds __attribute__((swift_name("credentialsIds"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPISendMessagesRequest * _Nullable sendMessagesRequest __attribute__((swift_name("sendMessagesRequest"))); +@property (readonly) PAPIConnectorRequestMetadata * _Nullable sendMessagesRequestMetadata __attribute__((swift_name("sendMessagesRequestMetadata"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ShareCredentialsRequest.Companion"))) +@interface PAPIShareCredentialsRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIShareCredentialsRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIShareCredentialsRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIShareCredentialsRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ShareCredentialsResponse"))) +@interface PAPIShareCredentialsResponse : PAPIBase +- (instancetype)initWithUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIShareCredentialsResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPIShareCredentialsResponse *)doCopyUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIShareCredentialsResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ShareCredentialsResponse.Companion"))) +@interface PAPIShareCredentialsResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIShareCredentialsResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIShareCredentialsResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIShareCredentialsResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SignedAtalaOperation"))) +@interface PAPISignedAtalaOperation : PAPIBase +- (instancetype)initWithSignedWith:(NSString *)signedWith signature:(PAPIByteArr *)signature operation:(PAPIAtalaOperation * _Nullable)operation unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(signedWith:signature:operation:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPISignedAtalaOperationCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIByteArr *)component2 __attribute__((swift_name("component2()"))); +- (PAPIAtalaOperation * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPISignedAtalaOperation *)doCopySignedWith:(NSString *)signedWith signature:(PAPIByteArr *)signature operation:(PAPIAtalaOperation * _Nullable)operation unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(signedWith:signature:operation:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPISignedAtalaOperation *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIAtalaOperation * _Nullable operation __attribute__((swift_name("operation"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPIByteArr *signature __attribute__((swift_name("signature"))); +@property (readonly) NSString *signedWith __attribute__((swift_name("signedWith"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SignedAtalaOperation.Companion"))) +@interface PAPISignedAtalaOperationCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPISignedAtalaOperationCompanion *shared __attribute__((swift_name("shared"))); +- (PAPISignedAtalaOperation *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPISignedAtalaOperation *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("SortByDirection"))) +@interface PAPISortByDirection : PAPIBase +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPISortByDirectionCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly, getter=name_) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) int32_t value_ __attribute__((swift_name("value_"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SortByDirection.ASCENDING"))) +@interface PAPISortByDirectionASCENDING : PAPISortByDirection ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)aSCENDING __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPISortByDirectionASCENDING *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SortByDirection.Companion"))) +@interface PAPISortByDirectionCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPISortByDirectionCompanion *shared __attribute__((swift_name("shared"))); +- (PAPISortByDirection *)fromNameName:(NSString *)name __attribute__((swift_name("fromName(name:)"))); +- (PAPISortByDirection *)fromValueValue:(int32_t)value __attribute__((swift_name("fromValue(value:)"))); +@property (readonly) NSArray *values __attribute__((swift_name("values"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SortByDirection.DESCENDING"))) +@interface PAPISortByDirectionDESCENDING : PAPISortByDirection ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)dESCENDING __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPISortByDirectionDESCENDING *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SortByDirection.UNKNOWN"))) +@interface PAPISortByDirectionUNKNOWN : PAPISortByDirection ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)uNKNOWN __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPISortByDirectionUNKNOWN *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SortByDirection.UNRECOGNIZED"))) +@interface PAPISortByDirectionUNRECOGNIZED : PAPISortByDirection +- (instancetype)initWithValue:(int32_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Status"))) +@interface PAPIStatus : PAPIBase +- (instancetype)initWithCode:(int32_t)code message:(NSString *)message details:(NSArray *)details unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(code:message:details:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIStatusCompanion *companion __attribute__((swift_name("companion"))); +- (int32_t)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (NSArray *)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPIStatus *)doCopyCode:(int32_t)code message:(NSString *)message details:(NSArray *)details unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(code:message:details:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIStatus *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) int32_t code __attribute__((swift_name("code"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSArray *details __attribute__((swift_name("details"))); +@property (readonly) NSString *message __attribute__((swift_name("message"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Status.Companion"))) +@interface PAPIStatusCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIStatusCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIStatus *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIStatus *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("StoreCredentialRequest"))) +@interface PAPIStoreCredentialRequest : PAPIBase +- (instancetype)initWithConnectionToken:(NSString *)connectionToken encodedSignedCredential:(NSString *)encodedSignedCredential credentialExternalId:(NSString *)credentialExternalId batchInclusionProof:(NSString *)batchInclusionProof unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(connectionToken:encodedSignedCredential:credentialExternalId:batchInclusionProof:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIStoreCredentialRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (NSString *)component3 __attribute__((swift_name("component3()"))); +- (NSString *)component4 __attribute__((swift_name("component4()"))); +- (NSDictionary *)component5 __attribute__((swift_name("component5()"))); +- (PAPIStoreCredentialRequest *)doCopyConnectionToken:(NSString *)connectionToken encodedSignedCredential:(NSString *)encodedSignedCredential credentialExternalId:(NSString *)credentialExternalId batchInclusionProof:(NSString *)batchInclusionProof unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(connectionToken:encodedSignedCredential:credentialExternalId:batchInclusionProof:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIStoreCredentialRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *batchInclusionProof __attribute__((swift_name("batchInclusionProof"))); +@property (readonly) NSString *connectionToken __attribute__((swift_name("connectionToken"))); +@property (readonly) NSString *credentialExternalId __attribute__((swift_name("credentialExternalId"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *encodedSignedCredential __attribute__((swift_name("encodedSignedCredential"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("StoreCredentialRequest.Companion"))) +@interface PAPIStoreCredentialRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIStoreCredentialRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIStoreCredentialRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIStoreCredentialRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("StoreCredentialResponse"))) +@interface PAPIStoreCredentialResponse : PAPIBase +- (instancetype)initWithUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIStoreCredentialResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPIStoreCredentialResponse *)doCopyUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIStoreCredentialResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("StoreCredentialResponse.Companion"))) +@interface PAPIStoreCredentialResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIStoreCredentialResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIStoreCredentialResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIStoreCredentialResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("StorePublishedCredentialRequest"))) +@interface PAPIStorePublishedCredentialRequest : PAPIBase +- (instancetype)initWithEncodedSignedCredential:(NSString *)encodedSignedCredential consoleCredentialId:(NSString *)consoleCredentialId batchId:(NSString *)batchId encodedInclusionProof:(NSString *)encodedInclusionProof unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(encodedSignedCredential:consoleCredentialId:batchId:encodedInclusionProof:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIStorePublishedCredentialRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (NSString *)component3 __attribute__((swift_name("component3()"))); +- (NSString *)component4 __attribute__((swift_name("component4()"))); +- (NSDictionary *)component5 __attribute__((swift_name("component5()"))); +- (PAPIStorePublishedCredentialRequest *)doCopyEncodedSignedCredential:(NSString *)encodedSignedCredential consoleCredentialId:(NSString *)consoleCredentialId batchId:(NSString *)batchId encodedInclusionProof:(NSString *)encodedInclusionProof unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(encodedSignedCredential:consoleCredentialId:batchId:encodedInclusionProof:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIStorePublishedCredentialRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *batchId __attribute__((swift_name("batchId"))); +@property (readonly) NSString *consoleCredentialId __attribute__((swift_name("consoleCredentialId"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *encodedInclusionProof __attribute__((swift_name("encodedInclusionProof"))); +@property (readonly) NSString *encodedSignedCredential __attribute__((swift_name("encodedSignedCredential"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("StorePublishedCredentialRequest.Companion"))) +@interface PAPIStorePublishedCredentialRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIStorePublishedCredentialRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIStorePublishedCredentialRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIStorePublishedCredentialRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("StorePublishedCredentialResponse"))) +@interface PAPIStorePublishedCredentialResponse : PAPIBase +- (instancetype)initWithUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIStorePublishedCredentialResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPIStorePublishedCredentialResponse *)doCopyUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIStorePublishedCredentialResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("StorePublishedCredentialResponse.Companion"))) +@interface PAPIStorePublishedCredentialResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIStorePublishedCredentialResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIStorePublishedCredentialResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIStorePublishedCredentialResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("StoredSignedCredential"))) +@interface PAPIStoredSignedCredential : PAPIBase +- (instancetype)initWithIndividualId:(NSString *)individualId encodedSignedCredential:(NSString *)encodedSignedCredential externalId:(NSString *)externalId batchInclusionProof:(NSString *)batchInclusionProof storedAt:(PAPITimestamp * _Nullable)storedAt unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(individualId:encodedSignedCredential:externalId:batchInclusionProof:storedAt:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIStoredSignedCredentialCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (NSString *)component3 __attribute__((swift_name("component3()"))); +- (NSString *)component4 __attribute__((swift_name("component4()"))); +- (PAPITimestamp * _Nullable)component5 __attribute__((swift_name("component5()"))); +- (NSDictionary *)component6 __attribute__((swift_name("component6()"))); +- (PAPIStoredSignedCredential *)doCopyIndividualId:(NSString *)individualId encodedSignedCredential:(NSString *)encodedSignedCredential externalId:(NSString *)externalId batchInclusionProof:(NSString *)batchInclusionProof storedAt:(PAPITimestamp * _Nullable)storedAt unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(individualId:encodedSignedCredential:externalId:batchInclusionProof:storedAt:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIStoredSignedCredential *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *batchInclusionProof __attribute__((swift_name("batchInclusionProof"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *encodedSignedCredential __attribute__((swift_name("encodedSignedCredential"))); +@property (readonly) NSString *externalId __attribute__((swift_name("externalId"))); +@property (readonly) NSString *individualId __attribute__((swift_name("individualId"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPITimestamp * _Nullable storedAt __attribute__((swift_name("storedAt"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("StoredSignedCredential.Companion"))) +@interface PAPIStoredSignedCredentialCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIStoredSignedCredentialCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIStoredSignedCredential *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIStoredSignedCredential *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("TimeInterval"))) +@interface PAPITimeInterval : PAPIBase +- (instancetype)initWithStartTimestamp:(PAPITimestamp * _Nullable)startTimestamp endTimestamp:(PAPITimestamp * _Nullable)endTimestamp unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(startTimestamp:endTimestamp:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPITimeIntervalCompanion *companion __attribute__((swift_name("companion"))); +- (PAPITimestamp * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (PAPITimestamp * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPITimeInterval *)doCopyStartTimestamp:(PAPITimestamp * _Nullable)startTimestamp endTimestamp:(PAPITimestamp * _Nullable)endTimestamp unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(startTimestamp:endTimestamp:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPITimeInterval *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPITimestamp * _Nullable endTimestamp __attribute__((swift_name("endTimestamp"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPITimestamp * _Nullable startTimestamp __attribute__((swift_name("startTimestamp"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("TimeInterval.Companion"))) +@interface PAPITimeIntervalCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPITimeIntervalCompanion *shared __attribute__((swift_name("shared"))); +- (PAPITimeInterval *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPITimeInterval *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("TimestampInfo"))) +@interface PAPITimestampInfo : PAPIBase +- (instancetype)initWithBlockSequenceNumber:(int32_t)blockSequenceNumber operationSequenceNumber:(int32_t)operationSequenceNumber blockTimestamp:(PAPITimestamp * _Nullable)blockTimestamp unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(blockSequenceNumber:operationSequenceNumber:blockTimestamp:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPITimestampInfoCompanion *companion __attribute__((swift_name("companion"))); +- (int32_t)component1 __attribute__((swift_name("component1()"))); +- (int32_t)component2 __attribute__((swift_name("component2()"))); +- (PAPITimestamp * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPITimestampInfo *)doCopyBlockSequenceNumber:(int32_t)blockSequenceNumber operationSequenceNumber:(int32_t)operationSequenceNumber blockTimestamp:(PAPITimestamp * _Nullable)blockTimestamp unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(blockSequenceNumber:operationSequenceNumber:blockTimestamp:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPITimestampInfo *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) int32_t blockSequenceNumber __attribute__((swift_name("blockSequenceNumber"))); +@property (readonly) PAPITimestamp * _Nullable blockTimestamp __attribute__((swift_name("blockTimestamp"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t operationSequenceNumber __attribute__((swift_name("operationSequenceNumber"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("TimestampInfo.Companion"))) +@interface PAPITimestampInfoCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPITimestampInfoCompanion *shared __attribute__((swift_name("shared"))); +- (PAPITimestampInfo *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPITimestampInfo *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("TransactionInfo"))) +@interface PAPITransactionInfo : PAPIBase +- (instancetype)initWithTransactionId:(NSString *)transactionId ledger:(PAPILedger *)ledger block:(PAPIBlockInfo * _Nullable)block unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(transactionId:ledger:block:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPITransactionInfoCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPILedger *)component2 __attribute__((swift_name("component2()"))); +- (PAPIBlockInfo * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPITransactionInfo *)doCopyTransactionId:(NSString *)transactionId ledger:(PAPILedger *)ledger block:(PAPIBlockInfo * _Nullable)block unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(transactionId:ledger:block:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPITransactionInfo *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIBlockInfo * _Nullable block __attribute__((swift_name("block"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPILedger *ledger __attribute__((swift_name("ledger"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSString *transactionId __attribute__((swift_name("transactionId"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("TransactionInfo.Companion"))) +@interface PAPITransactionInfoCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPITransactionInfoCompanion *shared __attribute__((swift_name("shared"))); +- (PAPITransactionInfo *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPITransactionInfo *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UnArchiveCredentialTypeCategoryRequest"))) +@interface PAPIUnArchiveCredentialTypeCategoryRequest : PAPIBase +- (instancetype)initWithCredentialTypeCategoryId:(NSString *)credentialTypeCategoryId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(credentialTypeCategoryId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIUnArchiveCredentialTypeCategoryRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIUnArchiveCredentialTypeCategoryRequest *)doCopyCredentialTypeCategoryId:(NSString *)credentialTypeCategoryId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(credentialTypeCategoryId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIUnArchiveCredentialTypeCategoryRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *credentialTypeCategoryId __attribute__((swift_name("credentialTypeCategoryId"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UnArchiveCredentialTypeCategoryRequest.Companion"))) +@interface PAPIUnArchiveCredentialTypeCategoryRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIUnArchiveCredentialTypeCategoryRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIUnArchiveCredentialTypeCategoryRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIUnArchiveCredentialTypeCategoryRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UnArchiveCredentialTypeCategoryResponse"))) +@interface PAPIUnArchiveCredentialTypeCategoryResponse : PAPIBase +- (instancetype)initWithCredentialTypeCategory:(PAPICredentialTypeCategory * _Nullable)credentialTypeCategory unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(credentialTypeCategory:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIUnArchiveCredentialTypeCategoryResponseCompanion *companion __attribute__((swift_name("companion"))); +- (PAPICredentialTypeCategory * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIUnArchiveCredentialTypeCategoryResponse *)doCopyCredentialTypeCategory:(PAPICredentialTypeCategory * _Nullable)credentialTypeCategory unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(credentialTypeCategory:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIUnArchiveCredentialTypeCategoryResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPICredentialTypeCategory * _Nullable credentialTypeCategory __attribute__((swift_name("credentialTypeCategory"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UnArchiveCredentialTypeCategoryResponse.Companion"))) +@interface PAPIUnArchiveCredentialTypeCategoryResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIUnArchiveCredentialTypeCategoryResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIUnArchiveCredentialTypeCategoryResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIUnArchiveCredentialTypeCategoryResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UpdateContactRequest"))) +@interface PAPIUpdateContactRequest : PAPIBase +- (instancetype)initWithContactId:(NSString *)contactId newExternalId:(NSString *)newExternalId newName:(NSString *)newName newJsonData:(NSString *)newJsonData unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(contactId:newExternalId:newName:newJsonData:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIUpdateContactRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (NSString *)component3 __attribute__((swift_name("component3()"))); +- (NSString *)component4 __attribute__((swift_name("component4()"))); +- (NSDictionary *)component5 __attribute__((swift_name("component5()"))); +- (PAPIUpdateContactRequest *)doCopyContactId:(NSString *)contactId newExternalId:(NSString *)newExternalId newName:(NSString *)newName newJsonData:(NSString *)newJsonData unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(contactId:newExternalId:newName:newJsonData:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIUpdateContactRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *contactId __attribute__((swift_name("contactId"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly, getter=doNewExternalId) NSString *newExternalId __attribute__((swift_name("newExternalId"))); +@property (readonly, getter=doNewJsonData) NSString *newJsonData __attribute__((swift_name("newJsonData"))); +@property (readonly, getter=doNewName) NSString *newName __attribute__((swift_name("newName"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UpdateContactRequest.Companion"))) +@interface PAPIUpdateContactRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIUpdateContactRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIUpdateContactRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIUpdateContactRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UpdateContactResponse"))) +@interface PAPIUpdateContactResponse : PAPIBase +- (instancetype)initWithUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIUpdateContactResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPIUpdateContactResponse *)doCopyUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIUpdateContactResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UpdateContactResponse.Companion"))) +@interface PAPIUpdateContactResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIUpdateContactResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIUpdateContactResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIUpdateContactResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UpdateCredentialType"))) +@interface PAPIUpdateCredentialType : PAPIBase +- (instancetype)initWithId:(NSString *)id name:(NSString *)name template:(NSString *)template_ icon:(PAPIByteArr *)icon fields:(NSArray *)fields unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(id:name:template:icon:fields:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIUpdateCredentialTypeCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (NSString *)component3 __attribute__((swift_name("component3()"))); +- (PAPIByteArr *)component4 __attribute__((swift_name("component4()"))); +- (NSArray *)component5 __attribute__((swift_name("component5()"))); +- (NSDictionary *)component6 __attribute__((swift_name("component6()"))); +- (PAPIUpdateCredentialType *)doCopyId:(NSString *)id name:(NSString *)name template:(NSString *)template_ icon:(PAPIByteArr *)icon fields:(NSArray *)fields unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(id:name:template:icon:fields:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIUpdateCredentialType *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSArray *fields __attribute__((swift_name("fields"))); +@property (readonly) PAPIByteArr *icon __attribute__((swift_name("icon"))); +@property (readonly) NSString *id __attribute__((swift_name("id"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly, getter=template) NSString *template_ __attribute__((swift_name("template_"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UpdateCredentialType.Companion"))) +@interface PAPIUpdateCredentialTypeCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIUpdateCredentialTypeCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIUpdateCredentialType *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIUpdateCredentialType *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UpdateCredentialTypeRequest"))) +@interface PAPIUpdateCredentialTypeRequest : PAPIBase +- (instancetype)initWithCredentialType:(PAPIUpdateCredentialType * _Nullable)credentialType unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(credentialType:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIUpdateCredentialTypeRequestCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIUpdateCredentialType * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIUpdateCredentialTypeRequest *)doCopyCredentialType:(PAPIUpdateCredentialType * _Nullable)credentialType unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(credentialType:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIUpdateCredentialTypeRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIUpdateCredentialType * _Nullable credentialType __attribute__((swift_name("credentialType"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UpdateCredentialTypeRequest.Companion"))) +@interface PAPIUpdateCredentialTypeRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIUpdateCredentialTypeRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIUpdateCredentialTypeRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIUpdateCredentialTypeRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UpdateCredentialTypeResponse"))) +@interface PAPIUpdateCredentialTypeResponse : PAPIBase +- (instancetype)initWithUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIUpdateCredentialTypeResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPIUpdateCredentialTypeResponse *)doCopyUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIUpdateCredentialTypeResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UpdateCredentialTypeResponse.Companion"))) +@interface PAPIUpdateCredentialTypeResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIUpdateCredentialTypeResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIUpdateCredentialTypeResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIUpdateCredentialTypeResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UpdateDIDAction"))) +@interface PAPIUpdateDIDAction : PAPIBase +- (instancetype)initWithAction:(PAPIUpdateDIDActionAction * _Nullable)action unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(action:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIUpdateDIDActionCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIUpdateDIDActionAction * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIUpdateDIDAction *)doCopyAction:(PAPIUpdateDIDActionAction * _Nullable)action unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(action:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIUpdateDIDAction *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIUpdateDIDActionAction * _Nullable action __attribute__((swift_name("action"))); +@property (readonly) PAPIAddKeyAction * _Nullable addKey __attribute__((swift_name("addKey"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPIRemoveKeyAction * _Nullable removeKey __attribute__((swift_name("removeKey"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((swift_name("UpdateDIDActionAction"))) +@interface PAPIUpdateDIDActionAction : PAPIMessageOneOf +- (instancetype)initWithValue:(V _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UpdateDIDActionActionAddKey"))) +@interface PAPIUpdateDIDActionActionAddKey : PAPIUpdateDIDActionAction +- (instancetype)initWithAddKey:(PAPIAddKeyAction *)addKey __attribute__((swift_name("init(addKey:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(id _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UpdateDIDActionActionRemoveKey"))) +@interface PAPIUpdateDIDActionActionRemoveKey : PAPIUpdateDIDActionAction +- (instancetype)initWithRemoveKey:(PAPIRemoveKeyAction *)removeKey __attribute__((swift_name("init(removeKey:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(id _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UpdateDIDAction.Companion"))) +@interface PAPIUpdateDIDActionCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIUpdateDIDActionCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIUpdateDIDAction *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIUpdateDIDAction *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UpdateDIDOperation"))) +@interface PAPIUpdateDIDOperation : PAPIBase +- (instancetype)initWithPreviousOperationHash:(PAPIByteArr *)previousOperationHash id:(NSString *)id actions:(NSArray *)actions unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(previousOperationHash:id:actions:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIUpdateDIDOperationCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIByteArr *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (NSArray *)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPIUpdateDIDOperation *)doCopyPreviousOperationHash:(PAPIByteArr *)previousOperationHash id:(NSString *)id actions:(NSArray *)actions unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(previousOperationHash:id:actions:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIUpdateDIDOperation *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSArray *actions __attribute__((swift_name("actions"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *id __attribute__((swift_name("id"))); +@property (readonly) PAPIByteArr *previousOperationHash __attribute__((swift_name("previousOperationHash"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UpdateDIDOperation.Companion"))) +@interface PAPIUpdateDIDOperationCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIUpdateDIDOperationCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIUpdateDIDOperation *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIUpdateDIDOperation *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UpdateDIDOutput"))) +@interface PAPIUpdateDIDOutput : PAPIBase +- (instancetype)initWithUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIUpdateDIDOutputCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPIUpdateDIDOutput *)doCopyUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIUpdateDIDOutput *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UpdateDIDOutput.Companion"))) +@interface PAPIUpdateDIDOutputCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIUpdateDIDOutputCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIUpdateDIDOutput *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIUpdateDIDOutput *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UpdateGroupRequest"))) +@interface PAPIUpdateGroupRequest : PAPIBase +- (instancetype)initWithGroupId:(NSString *)groupId contactIdsToAdd:(NSArray *)contactIdsToAdd contactIdsToRemove:(NSArray *)contactIdsToRemove name:(NSString *)name unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(groupId:contactIdsToAdd:contactIdsToRemove:name:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIUpdateGroupRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSArray *)component2 __attribute__((swift_name("component2()"))); +- (NSArray *)component3 __attribute__((swift_name("component3()"))); +- (NSString *)component4 __attribute__((swift_name("component4()"))); +- (NSDictionary *)component5 __attribute__((swift_name("component5()"))); +- (PAPIUpdateGroupRequest *)doCopyGroupId:(NSString *)groupId contactIdsToAdd:(NSArray *)contactIdsToAdd contactIdsToRemove:(NSArray *)contactIdsToRemove name:(NSString *)name unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(groupId:contactIdsToAdd:contactIdsToRemove:name:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIUpdateGroupRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSArray *contactIdsToAdd __attribute__((swift_name("contactIdsToAdd"))); +@property (readonly) NSArray *contactIdsToRemove __attribute__((swift_name("contactIdsToRemove"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *groupId __attribute__((swift_name("groupId"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UpdateGroupRequest.Companion"))) +@interface PAPIUpdateGroupRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIUpdateGroupRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIUpdateGroupRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIUpdateGroupRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UpdateGroupResponse"))) +@interface PAPIUpdateGroupResponse : PAPIBase +- (instancetype)initWithUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIUpdateGroupResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPIUpdateGroupResponse *)doCopyUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIUpdateGroupResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UpdateGroupResponse.Companion"))) +@interface PAPIUpdateGroupResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIUpdateGroupResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIUpdateGroupResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIUpdateGroupResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UpdateProfileRequest"))) +@interface PAPIUpdateProfileRequest : PAPIBase +- (instancetype)initWithName:(NSString *)name logo:(PAPIByteArr *)logo unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(name:logo:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIUpdateProfileRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIByteArr *)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIUpdateProfileRequest *)doCopyName:(NSString *)name logo:(PAPIByteArr *)logo unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(name:logo:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIUpdateProfileRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIByteArr *logo __attribute__((swift_name("logo"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UpdateProfileRequest.Companion"))) +@interface PAPIUpdateProfileRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIUpdateProfileRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIUpdateProfileRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIUpdateProfileRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UpdateProfileResponse"))) +@interface PAPIUpdateProfileResponse : PAPIBase +- (instancetype)initWithUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIUpdateProfileResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPIUpdateProfileResponse *)doCopyUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIUpdateProfileResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UpdateProfileResponse.Companion"))) +@interface PAPIUpdateProfileResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIUpdateProfileResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIUpdateProfileResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIUpdateProfileResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Ledger_"))) +@interface PAPILedger_ : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)ledger __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPILedger_ *shared __attribute__((swift_name("shared"))); +- (NSString *)asStringLedger:(int32_t)ledger __attribute__((swift_name("asString(ledger:)"))); +- (int32_t)fromStringString:(NSString *)string __attribute__((swift_name("fromString(string:)"))); +@property (readonly) int32_t CARDANO_MAINNET __attribute__((swift_name("CARDANO_MAINNET"))); +@property (readonly) int32_t CARDANO_TESTNET __attribute__((swift_name("CARDANO_TESTNET"))); +@property (readonly) int32_t IN_MEMORY __attribute__((swift_name("IN_MEMORY"))); +@property (readonly) int32_t UNKNOWN_LEDGER __attribute__((swift_name("UNKNOWN_LEDGER"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("LedgerData"))) +@interface PAPILedgerData : PAPIBase +- (instancetype)initWithTransactionId:(NSString *)transactionId ledger:(int32_t)ledger timestampInfo:(PAPITimestampInfo_ *)timestampInfo __attribute__((swift_name("init(transactionId:ledger:timestampInfo:)"))) __attribute__((objc_designated_initializer)); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (int32_t)component2 __attribute__((swift_name("component2()"))); +- (PAPITimestampInfo_ *)component3 __attribute__((swift_name("component3()"))); +- (PAPILedgerData *)doCopyTransactionId:(NSString *)transactionId ledger:(int32_t)ledger timestampInfo:(PAPITimestampInfo_ *)timestampInfo __attribute__((swift_name("doCopy(transactionId:ledger:timestampInfo:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) int32_t ledger __attribute__((swift_name("ledger"))); +@property (readonly) PAPITimestampInfo_ *timestampInfo __attribute__((swift_name("timestampInfo"))); +@property (readonly) NSString *transactionId __attribute__((swift_name("transactionId"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("TimestampInfo_"))) +@interface PAPITimestampInfo_ : PAPIBase +- (instancetype)initWithAtalaBlockTimestamp:(int64_t)atalaBlockTimestamp atalaBlockSequenceNumber:(int32_t)atalaBlockSequenceNumber operationSequenceNumber:(int32_t)operationSequenceNumber __attribute__((swift_name("init(atalaBlockTimestamp:atalaBlockSequenceNumber:operationSequenceNumber:)"))) __attribute__((objc_designated_initializer)); +- (int64_t)component1 __attribute__((swift_name("component1()"))); +- (int32_t)component2 __attribute__((swift_name("component2()"))); +- (int32_t)component3 __attribute__((swift_name("component3()"))); +- (PAPITimestampInfo_ *)doCopyAtalaBlockTimestamp:(int64_t)atalaBlockTimestamp atalaBlockSequenceNumber:(int32_t)atalaBlockSequenceNumber operationSequenceNumber:(int32_t)operationSequenceNumber __attribute__((swift_name("doCopy(atalaBlockTimestamp:atalaBlockSequenceNumber:operationSequenceNumber:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (BOOL)occurredBeforeLater:(PAPITimestampInfo_ *)later __attribute__((swift_name("occurredBefore(later:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) int32_t atalaBlockSequenceNumber __attribute__((swift_name("atalaBlockSequenceNumber"))); +@property (readonly) int64_t atalaBlockTimestamp __attribute__((swift_name("atalaBlockTimestamp"))); +@property (readonly) int32_t operationSequenceNumber __attribute__((swift_name("operationSequenceNumber"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Base64Utils"))) +@interface PAPIBase64Utils : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)base64Utils __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIBase64Utils *shared __attribute__((swift_name("shared"))); +- (PAPIKotlinByteArray *)decodeSrc:(NSString *)src __attribute__((swift_name("decode(src:)"))); +- (NSString *)encodeBytes:(PAPIKotlinByteArray *)bytes __attribute__((swift_name("encode(bytes:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ByteArr"))) +@interface PAPIByteArr : PAPIBase +- (instancetype)initWithArray:(PAPIKotlinByteArray *)array __attribute__((swift_name("init(array:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIByteArrCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIKotlinByteArray *array __attribute__((swift_name("array"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ByteArr.Companion"))) +@interface PAPIByteArrCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIByteArrCompanion *shared __attribute__((swift_name("shared"))); +@property (readonly) PAPIByteArr *empty __attribute__((swift_name("empty"))); +@end; + +__attribute__((swift_name("ExtendableMessage"))) +@protocol PAPIExtendableMessage +@required +- (id _Nullable)getExtensionFd:(PAPIFieldDescriptor, id> *)fd __attribute__((swift_name("getExtension(fd:)"))); +@property (readonly) PAPIExtensionFieldSet *extensionFields __attribute__((swift_name("extensionFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ExtensionFieldSet"))) +@interface PAPIExtensionFieldSet : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptor"))) +@interface PAPIFieldDescriptor : PAPIBase +- (instancetype)initWithMessageDescriptor:(PAPIMessageDescriptor *(^)(void))messageDescriptor name:(NSString *)name number:(int32_t)number type:(PAPIFieldDescriptorType *)type value:(T _Nullable (^)(M))value oneofMember:(BOOL)oneofMember jsonName:(NSString * _Nullable)jsonName options:(PAPIFieldOptions *)options __attribute__((swift_name("init(messageDescriptor:name:number:type:value:oneofMember:jsonName:options:)"))) __attribute__((objc_designated_initializer)); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) PAPIFieldOptions *options __attribute__((swift_name("options"))); +@end; + +__attribute__((swift_name("FieldDescriptorType"))) +@interface PAPIFieldDescriptorType : PAPIBase +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorTypeEnum"))) +@interface PAPIFieldDescriptorTypeEnum : PAPIFieldDescriptorType +- (instancetype)initWithEnumCompanion:(id)enumCompanion hasPresence:(BOOL)hasPresence __attribute__((swift_name("init(enumCompanion:hasPresence:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorTypeMap"))) +@interface PAPIFieldDescriptorTypeMap : PAPIFieldDescriptorType +- (instancetype)initWithKeyType:(PAPIFieldDescriptorType *)keyType valueType:(PAPIFieldDescriptorType *)valueType __attribute__((swift_name("init(keyType:valueType:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorTypeMessage"))) +@interface PAPIFieldDescriptorTypeMessage : PAPIFieldDescriptorType +- (instancetype)initWithMessageCompanion:(id)messageCompanion __attribute__((swift_name("init(messageCompanion:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((swift_name("FieldDescriptorTypePrimitive"))) +@interface PAPIFieldDescriptorTypePrimitive : PAPIFieldDescriptorType +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorTypePrimitiveBool"))) +@interface PAPIFieldDescriptorTypePrimitiveBool : PAPIFieldDescriptorTypePrimitive +- (instancetype)initWithHasPresence:(BOOL)hasPresence __attribute__((swift_name("init(hasPresence:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorTypePrimitiveBytes"))) +@interface PAPIFieldDescriptorTypePrimitiveBytes : PAPIFieldDescriptorTypePrimitive +- (instancetype)initWithHasPresence:(BOOL)hasPresence __attribute__((swift_name("init(hasPresence:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorTypePrimitiveDouble"))) +@interface PAPIFieldDescriptorTypePrimitiveDouble : PAPIFieldDescriptorTypePrimitive +- (instancetype)initWithHasPresence:(BOOL)hasPresence __attribute__((swift_name("init(hasPresence:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorTypePrimitiveFixed32"))) +@interface PAPIFieldDescriptorTypePrimitiveFixed32 : PAPIFieldDescriptorTypePrimitive +- (instancetype)initWithHasPresence:(BOOL)hasPresence __attribute__((swift_name("init(hasPresence:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorTypePrimitiveFixed64"))) +@interface PAPIFieldDescriptorTypePrimitiveFixed64 : PAPIFieldDescriptorTypePrimitive +- (instancetype)initWithHasPresence:(BOOL)hasPresence __attribute__((swift_name("init(hasPresence:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorTypePrimitiveFloat"))) +@interface PAPIFieldDescriptorTypePrimitiveFloat : PAPIFieldDescriptorTypePrimitive +- (instancetype)initWithHasPresence:(BOOL)hasPresence __attribute__((swift_name("init(hasPresence:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorTypePrimitiveInt32"))) +@interface PAPIFieldDescriptorTypePrimitiveInt32 : PAPIFieldDescriptorTypePrimitive +- (instancetype)initWithHasPresence:(BOOL)hasPresence __attribute__((swift_name("init(hasPresence:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorTypePrimitiveInt64"))) +@interface PAPIFieldDescriptorTypePrimitiveInt64 : PAPIFieldDescriptorTypePrimitive +- (instancetype)initWithHasPresence:(BOOL)hasPresence __attribute__((swift_name("init(hasPresence:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorTypePrimitiveSFixed32"))) +@interface PAPIFieldDescriptorTypePrimitiveSFixed32 : PAPIFieldDescriptorTypePrimitive +- (instancetype)initWithHasPresence:(BOOL)hasPresence __attribute__((swift_name("init(hasPresence:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorTypePrimitiveSFixed64"))) +@interface PAPIFieldDescriptorTypePrimitiveSFixed64 : PAPIFieldDescriptorTypePrimitive +- (instancetype)initWithHasPresence:(BOOL)hasPresence __attribute__((swift_name("init(hasPresence:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorTypePrimitiveSInt32"))) +@interface PAPIFieldDescriptorTypePrimitiveSInt32 : PAPIFieldDescriptorTypePrimitive +- (instancetype)initWithHasPresence:(BOOL)hasPresence __attribute__((swift_name("init(hasPresence:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorTypePrimitiveSInt64"))) +@interface PAPIFieldDescriptorTypePrimitiveSInt64 : PAPIFieldDescriptorTypePrimitive +- (instancetype)initWithHasPresence:(BOOL)hasPresence __attribute__((swift_name("init(hasPresence:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorTypePrimitiveString"))) +@interface PAPIFieldDescriptorTypePrimitiveString : PAPIFieldDescriptorTypePrimitive +- (instancetype)initWithHasPresence:(BOOL)hasPresence __attribute__((swift_name("init(hasPresence:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorTypePrimitiveUInt32"))) +@interface PAPIFieldDescriptorTypePrimitiveUInt32 : PAPIFieldDescriptorTypePrimitive +- (instancetype)initWithHasPresence:(BOOL)hasPresence __attribute__((swift_name("init(hasPresence:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorTypePrimitiveUInt64"))) +@interface PAPIFieldDescriptorTypePrimitiveUInt64 : PAPIFieldDescriptorTypePrimitive +- (instancetype)initWithHasPresence:(BOOL)hasPresence __attribute__((swift_name("init(hasPresence:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorTypeRepeated"))) +@interface PAPIFieldDescriptorTypeRepeated : PAPIFieldDescriptorType +- (instancetype)initWithValueType:(PAPIFieldDescriptorType *)valueType packed:(BOOL)packed __attribute__((swift_name("init(valueType:packed:)"))) __attribute__((objc_designated_initializer)); +@property (readonly) BOOL packed __attribute__((swift_name("packed"))); +@end; + +__attribute__((swift_name("KotlinRuntimeException"))) +@interface PAPIKotlinRuntimeException : PAPIKotlinException +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("InvalidProtocolBufferException"))) +@interface PAPIInvalidProtocolBufferException : PAPIKotlinRuntimeException +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (instancetype)initWithCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((unavailable("can't be imported"))) +__attribute__((swift_name("ListWithSize"))) +@interface PAPIListWithSize : NSObject +@end; + +__attribute__((swift_name("MessageDecoder"))) +@protocol PAPIMessageDecoder +@required +- (NSDictionary *)readMessageMessageCompanion:(id)messageCompanion fieldFn:(void (^)(PAPIInt *, id))fieldFn __attribute__((swift_name("readMessage(messageCompanion:fieldFn:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MessageDescriptor"))) +@interface PAPIMessageDescriptor : PAPIBase +- (instancetype)initWithMessageClass:(id)messageClass messageCompanion:(id)messageCompanion fields:(id)fields __attribute__((swift_name("init(messageClass:messageCompanion:fields:)"))) __attribute__((objc_designated_initializer)); +@property (readonly) id fields __attribute__((swift_name("fields"))); +@property (readonly) id messageCompanion __attribute__((swift_name("messageCompanion"))); +@end; + +__attribute__((swift_name("MessageEncoder"))) +@protocol PAPIMessageEncoder +@required +- (void)writeMessageMessage:(id)message __attribute__((swift_name("writeMessage(message:)"))); +@end; + +__attribute__((unavailable("can't be imported"))) +__attribute__((swift_name("MessageMap"))) +@interface PAPIMessageMap : NSObject +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UnknownField"))) +@interface PAPIUnknownField : PAPIBase +- (instancetype)initWithFieldNum:(int32_t)fieldNum values:(NSArray *)values __attribute__((swift_name("init(fieldNum:values:)"))) __attribute__((objc_designated_initializer)); +- (int32_t)component1 __attribute__((swift_name("component1()"))); +- (NSArray *)component2 __attribute__((swift_name("component2()"))); +- (PAPIUnknownField *)doCopyFieldNum:(int32_t)fieldNum values:(NSArray *)values __attribute__((swift_name("doCopy(fieldNum:values:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) int32_t fieldNum __attribute__((swift_name("fieldNum"))); +@property (readonly) NSArray *values __attribute__((swift_name("values"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UnknownField.Value"))) +@interface PAPIUnknownFieldValue : PAPIBase +- (instancetype)initWithWireType:(int32_t)wireType rawBytes:(PAPIKotlinByteArray *)rawBytes __attribute__((swift_name("init(wireType:rawBytes:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithWireType:(int32_t)wireType rawBytes_:(PAPIByteArr *)rawBytes __attribute__((swift_name("init(wireType:rawBytes_:)"))) __attribute__((objc_designated_initializer)); +- (int32_t)component1 __attribute__((swift_name("component1()"))); +- (PAPIByteArr *)component2 __attribute__((swift_name("component2()"))); +- (PAPIUnknownFieldValue *)doCopyWireType:(int32_t)wireType rawBytes:(PAPIByteArr *)rawBytes __attribute__((swift_name("doCopy(wireType:rawBytes:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIByteArr *rawBytes __attribute__((swift_name("rawBytes"))); +@property (readonly) int32_t wireType __attribute__((swift_name("wireType"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("JsonConfig"))) +@interface PAPIJsonConfig : PAPIBase +- (instancetype)initWithOutputProtoFieldNames:(BOOL)outputProtoFieldNames outputDefaultValues:(BOOL)outputDefaultValues outputDefaultStringsAsNull:(BOOL)outputDefaultStringsAsNull compactOutput:(BOOL)compactOutput ignoreUnknownFieldsInInput:(BOOL)ignoreUnknownFieldsInInput __attribute__((swift_name("init(outputProtoFieldNames:outputDefaultValues:outputDefaultStringsAsNull:compactOutput:ignoreUnknownFieldsInInput:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIJsonConfigCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)component1 __attribute__((swift_name("component1()"))); +- (BOOL)component2 __attribute__((swift_name("component2()"))); +- (BOOL)component3 __attribute__((swift_name("component3()"))); +- (BOOL)component4 __attribute__((swift_name("component4()"))); +- (BOOL)component5 __attribute__((swift_name("component5()"))); +- (PAPIJsonConfig *)doCopyOutputProtoFieldNames:(BOOL)outputProtoFieldNames outputDefaultValues:(BOOL)outputDefaultValues outputDefaultStringsAsNull:(BOOL)outputDefaultStringsAsNull compactOutput:(BOOL)compactOutput ignoreUnknownFieldsInInput:(BOOL)ignoreUnknownFieldsInInput __attribute__((swift_name("doCopy(outputProtoFieldNames:outputDefaultValues:outputDefaultStringsAsNull:compactOutput:ignoreUnknownFieldsInInput:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) BOOL compactOutput __attribute__((swift_name("compactOutput"))); +@property (readonly) BOOL ignoreUnknownFieldsInInput __attribute__((swift_name("ignoreUnknownFieldsInInput"))); +@property (readonly) BOOL outputDefaultStringsAsNull __attribute__((swift_name("outputDefaultStringsAsNull"))) __attribute__((deprecated("This option only exists for backwards-compatibility reasons. It should not be used by new code and will eventually be removed."))); +@property (readonly) BOOL outputDefaultValues __attribute__((swift_name("outputDefaultValues"))); +@property (readonly) BOOL outputProtoFieldNames __attribute__((swift_name("outputProtoFieldNames"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("JsonConfig.Companion"))) +@interface PAPIJsonConfigCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIJsonConfigCompanion *shared __attribute__((swift_name("shared"))); +@property (readonly) PAPIJsonConfig *DEFAULT __attribute__((swift_name("DEFAULT"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Any"))) +@interface PAPIAny : PAPIBase +- (instancetype)initWithTypeUrl:(NSString *)typeUrl value:(PAPIByteArr *)value unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(typeUrl:value:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIAnyCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIByteArr *)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIAny *)doCopyTypeUrl:(NSString *)typeUrl value:(PAPIByteArr *)value unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(typeUrl:value:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIAny *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSString *typeUrl __attribute__((swift_name("typeUrl"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@property (readonly) PAPIByteArr *value __attribute__((swift_name("value"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Any.Companion"))) +@interface PAPIAnyCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIAnyCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIAny *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIAny *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Api"))) +@interface PAPIApi : PAPIBase +- (instancetype)initWithName:(NSString *)name methods:(NSArray *)methods options:(NSArray *)options version:(NSString *)version sourceContext:(PAPISourceContext * _Nullable)sourceContext mixins:(NSArray *)mixins syntax:(PAPISyntax *)syntax unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(name:methods:options:version:sourceContext:mixins:syntax:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIApiCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSArray *)component2 __attribute__((swift_name("component2()"))); +- (NSArray *)component3 __attribute__((swift_name("component3()"))); +- (NSString *)component4 __attribute__((swift_name("component4()"))); +- (PAPISourceContext * _Nullable)component5 __attribute__((swift_name("component5()"))); +- (NSArray *)component6 __attribute__((swift_name("component6()"))); +- (PAPISyntax *)component7 __attribute__((swift_name("component7()"))); +- (NSDictionary *)component8 __attribute__((swift_name("component8()"))); +- (PAPIApi *)doCopyName:(NSString *)name methods:(NSArray *)methods options:(NSArray *)options version:(NSString *)version sourceContext:(PAPISourceContext * _Nullable)sourceContext mixins:(NSArray *)mixins syntax:(PAPISyntax *)syntax unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(name:methods:options:version:sourceContext:mixins:syntax:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIApi *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSArray *methods __attribute__((swift_name("methods"))); +@property (readonly) NSArray *mixins __attribute__((swift_name("mixins"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) NSArray *options __attribute__((swift_name("options"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPISourceContext * _Nullable sourceContext __attribute__((swift_name("sourceContext"))); +@property (readonly) PAPISyntax *syntax __attribute__((swift_name("syntax"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@property (readonly) NSString *version __attribute__((swift_name("version"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Api.Companion"))) +@interface PAPIApiCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIApiCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIApi *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIApi *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BoolValue"))) +@interface PAPIBoolValue : PAPIBase +- (instancetype)initWithValue:(BOOL)value unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(value:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIBoolValueCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIBoolValue *)doCopyValue:(BOOL)value unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(value:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIBoolValue *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@property (readonly) BOOL value __attribute__((swift_name("value"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BoolValue.Companion"))) +@interface PAPIBoolValueCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIBoolValueCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIBoolValue *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIBoolValue *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BytesValue"))) +@interface PAPIBytesValue : PAPIBase +- (instancetype)initWithValue:(PAPIByteArr *)value unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(value:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIBytesValueCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIByteArr *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIBytesValue *)doCopyValue:(PAPIByteArr *)value unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(value:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIBytesValue *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@property (readonly) PAPIByteArr *value __attribute__((swift_name("value"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BytesValue.Companion"))) +@interface PAPIBytesValueCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIBytesValueCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIBytesValue *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIBytesValue *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DescriptorProto"))) +@interface PAPIDescriptorProto : PAPIBase +- (instancetype)initWithName:(NSString * _Nullable)name field:(NSArray *)field extension:(NSArray *)extension nestedType:(NSArray *)nestedType enumType:(NSArray *)enumType extensionRange:(NSArray *)extensionRange oneofDecl:(NSArray *)oneofDecl options:(PAPIMessageOptions * _Nullable)options reservedRange:(NSArray *)reservedRange reservedName:(NSArray *)reservedName unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(name:field:extension:nestedType:enumType:extensionRange:oneofDecl:options:reservedRange:reservedName:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIDescriptorProtoCompanion *companion __attribute__((swift_name("companion"))); +- (NSString * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSArray *)component10 __attribute__((swift_name("component10()"))); +- (NSDictionary *)component11 __attribute__((swift_name("component11()"))); +- (NSArray *)component2 __attribute__((swift_name("component2()"))); +- (NSArray *)component3 __attribute__((swift_name("component3()"))); +- (NSArray *)component4 __attribute__((swift_name("component4()"))); +- (NSArray *)component5 __attribute__((swift_name("component5()"))); +- (NSArray *)component6 __attribute__((swift_name("component6()"))); +- (NSArray *)component7 __attribute__((swift_name("component7()"))); +- (PAPIMessageOptions * _Nullable)component8 __attribute__((swift_name("component8()"))); +- (NSArray *)component9 __attribute__((swift_name("component9()"))); +- (PAPIDescriptorProto *)doCopyName:(NSString * _Nullable)name field:(NSArray *)field extension:(NSArray *)extension nestedType:(NSArray *)nestedType enumType:(NSArray *)enumType extensionRange:(NSArray *)extensionRange oneofDecl:(NSArray *)oneofDecl options:(PAPIMessageOptions * _Nullable)options reservedRange:(NSArray *)reservedRange reservedName:(NSArray *)reservedName unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(name:field:extension:nestedType:enumType:extensionRange:oneofDecl:options:reservedRange:reservedName:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIDescriptorProto *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSArray *enumType __attribute__((swift_name("enumType"))); +@property (readonly) NSArray *extension __attribute__((swift_name("extension"))); +@property (readonly) NSArray *extensionRange __attribute__((swift_name("extensionRange"))); +@property (readonly) NSArray *field __attribute__((swift_name("field"))); +@property (readonly) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) NSArray *nestedType __attribute__((swift_name("nestedType"))); +@property (readonly) NSArray *oneofDecl __attribute__((swift_name("oneofDecl"))); +@property (readonly) PAPIMessageOptions * _Nullable options __attribute__((swift_name("options"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSArray *reservedName __attribute__((swift_name("reservedName"))); +@property (readonly) NSArray *reservedRange __attribute__((swift_name("reservedRange"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DescriptorProto.Companion"))) +@interface PAPIDescriptorProtoCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDescriptorProtoCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIDescriptorProto *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIDescriptorProto *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DescriptorProto.ExtensionRange"))) +@interface PAPIDescriptorProtoExtensionRange : PAPIBase +- (instancetype)initWithStart:(PAPIInt * _Nullable)start end:(PAPIInt * _Nullable)end options:(PAPIExtensionRangeOptions * _Nullable)options unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(start:end:options:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIDescriptorProtoExtensionRangeCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIInt * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (PAPIInt * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (PAPIExtensionRangeOptions * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPIDescriptorProtoExtensionRange *)doCopyStart:(PAPIInt * _Nullable)start end:(PAPIInt * _Nullable)end options:(PAPIExtensionRangeOptions * _Nullable)options unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(start:end:options:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIDescriptorProtoExtensionRange *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIInt * _Nullable end __attribute__((swift_name("end"))); +@property (readonly) PAPIExtensionRangeOptions * _Nullable options __attribute__((swift_name("options"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPIInt * _Nullable start __attribute__((swift_name("start"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DescriptorProto.ExtensionRangeCompanion"))) +@interface PAPIDescriptorProtoExtensionRangeCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDescriptorProtoExtensionRangeCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIDescriptorProtoExtensionRange *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIDescriptorProtoExtensionRange *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DescriptorProto.ReservedRange"))) +@interface PAPIDescriptorProtoReservedRange : PAPIBase +- (instancetype)initWithStart:(PAPIInt * _Nullable)start end:(PAPIInt * _Nullable)end unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(start:end:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIDescriptorProtoReservedRangeCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIInt * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (PAPIInt * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIDescriptorProtoReservedRange *)doCopyStart:(PAPIInt * _Nullable)start end:(PAPIInt * _Nullable)end unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(start:end:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIDescriptorProtoReservedRange *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIInt * _Nullable end __attribute__((swift_name("end"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPIInt * _Nullable start __attribute__((swift_name("start"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DescriptorProto.ReservedRangeCompanion"))) +@interface PAPIDescriptorProtoReservedRangeCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDescriptorProtoReservedRangeCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIDescriptorProtoReservedRange *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIDescriptorProtoReservedRange *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DoubleValue"))) +@interface PAPIDoubleValue : PAPIBase +- (instancetype)initWithValue:(double)value unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(value:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIDoubleValueCompanion *companion __attribute__((swift_name("companion"))); +- (double)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIDoubleValue *)doCopyValue:(double)value unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(value:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIDoubleValue *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@property (readonly) double value __attribute__((swift_name("value"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DoubleValue.Companion"))) +@interface PAPIDoubleValueCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDoubleValueCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIDoubleValue *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIDoubleValue *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Duration"))) +@interface PAPIDuration : PAPIBase +- (instancetype)initWithSeconds:(int64_t)seconds nanos:(int32_t)nanos unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(seconds:nanos:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIDurationCompanion *companion __attribute__((swift_name("companion"))); +- (int64_t)component1 __attribute__((swift_name("component1()"))); +- (int32_t)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIDuration *)doCopySeconds:(int64_t)seconds nanos:(int32_t)nanos unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(seconds:nanos:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIDuration *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t nanos __attribute__((swift_name("nanos"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) int64_t seconds __attribute__((swift_name("seconds"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Duration.Companion"))) +@interface PAPIDurationCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDurationCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIDuration *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIDuration *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Empty"))) +@interface PAPIEmpty : PAPIBase +- (instancetype)initWithUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIEmptyCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPIEmpty *)doCopyUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIEmpty *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Empty.Companion"))) +@interface PAPIEmptyCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIEmptyCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIEmpty *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIEmpty *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Enum"))) +@interface PAPIEnum : PAPIBase +- (instancetype)initWithName:(NSString *)name enumvalue:(NSArray *)enumvalue options:(NSArray *)options sourceContext:(PAPISourceContext * _Nullable)sourceContext syntax:(PAPISyntax *)syntax unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(name:enumvalue:options:sourceContext:syntax:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIEnumCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSArray *)component2 __attribute__((swift_name("component2()"))); +- (NSArray *)component3 __attribute__((swift_name("component3()"))); +- (PAPISourceContext * _Nullable)component4 __attribute__((swift_name("component4()"))); +- (PAPISyntax *)component5 __attribute__((swift_name("component5()"))); +- (NSDictionary *)component6 __attribute__((swift_name("component6()"))); +- (PAPIEnum *)doCopyName:(NSString *)name enumvalue:(NSArray *)enumvalue options:(NSArray *)options sourceContext:(PAPISourceContext * _Nullable)sourceContext syntax:(PAPISyntax *)syntax unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(name:enumvalue:options:sourceContext:syntax:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIEnum *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSArray *enumvalue __attribute__((swift_name("enumvalue"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) NSArray *options __attribute__((swift_name("options"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPISourceContext * _Nullable sourceContext __attribute__((swift_name("sourceContext"))); +@property (readonly) PAPISyntax *syntax __attribute__((swift_name("syntax"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Enum.Companion"))) +@interface PAPIEnumCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIEnumCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIEnum *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIEnum *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("EnumDescriptorProto"))) +@interface PAPIEnumDescriptorProto : PAPIBase +- (instancetype)initWithName:(NSString * _Nullable)name value:(NSArray *)value options:(PAPIEnumOptions * _Nullable)options reservedRange:(NSArray *)reservedRange reservedName:(NSArray *)reservedName unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(name:value:options:reservedRange:reservedName:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIEnumDescriptorProtoCompanion *companion __attribute__((swift_name("companion"))); +- (NSString * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSArray *)component2 __attribute__((swift_name("component2()"))); +- (PAPIEnumOptions * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (NSArray *)component4 __attribute__((swift_name("component4()"))); +- (NSArray *)component5 __attribute__((swift_name("component5()"))); +- (NSDictionary *)component6 __attribute__((swift_name("component6()"))); +- (PAPIEnumDescriptorProto *)doCopyName:(NSString * _Nullable)name value:(NSArray *)value options:(PAPIEnumOptions * _Nullable)options reservedRange:(NSArray *)reservedRange reservedName:(NSArray *)reservedName unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(name:value:options:reservedRange:reservedName:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIEnumDescriptorProto *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) PAPIEnumOptions * _Nullable options __attribute__((swift_name("options"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSArray *reservedName __attribute__((swift_name("reservedName"))); +@property (readonly) NSArray *reservedRange __attribute__((swift_name("reservedRange"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@property (readonly) NSArray *value __attribute__((swift_name("value"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("EnumDescriptorProto.Companion"))) +@interface PAPIEnumDescriptorProtoCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIEnumDescriptorProtoCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIEnumDescriptorProto *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIEnumDescriptorProto *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("EnumDescriptorProto.EnumReservedRange"))) +@interface PAPIEnumDescriptorProtoEnumReservedRange : PAPIBase +- (instancetype)initWithStart:(PAPIInt * _Nullable)start end:(PAPIInt * _Nullable)end unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(start:end:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIEnumDescriptorProtoEnumReservedRangeCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIInt * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (PAPIInt * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIEnumDescriptorProtoEnumReservedRange *)doCopyStart:(PAPIInt * _Nullable)start end:(PAPIInt * _Nullable)end unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(start:end:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIEnumDescriptorProtoEnumReservedRange *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIInt * _Nullable end __attribute__((swift_name("end"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPIInt * _Nullable start __attribute__((swift_name("start"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("EnumDescriptorProto.EnumReservedRangeCompanion"))) +@interface PAPIEnumDescriptorProtoEnumReservedRangeCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIEnumDescriptorProtoEnumReservedRangeCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIEnumDescriptorProtoEnumReservedRange *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIEnumDescriptorProtoEnumReservedRange *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("EnumOptions"))) +@interface PAPIEnumOptions : PAPIBase +- (instancetype)initWithAllowAlias:(PAPIBoolean * _Nullable)allowAlias deprecated:(PAPIBoolean * _Nullable)deprecated uninterpretedOption:(NSArray *)uninterpretedOption unknownFields:(NSDictionary *)unknownFields extensionFields:(PAPIExtensionFieldSet *)extensionFields __attribute__((swift_name("init(allowAlias:deprecated:uninterpretedOption:unknownFields:extensionFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIEnumOptionsCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIBoolean * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (PAPIBoolean * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (NSArray *)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPIExtensionFieldSet *)component5 __attribute__((swift_name("component5()"))); +- (PAPIEnumOptions *)doCopyAllowAlias:(PAPIBoolean * _Nullable)allowAlias deprecated:(PAPIBoolean * _Nullable)deprecated uninterpretedOption:(NSArray *)uninterpretedOption unknownFields:(NSDictionary *)unknownFields extensionFields:(PAPIExtensionFieldSet *)extensionFields __attribute__((swift_name("doCopy(allowAlias:deprecated:uninterpretedOption:unknownFields:extensionFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIEnumOptions *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIBoolean * _Nullable allowAlias __attribute__((swift_name("allowAlias"))); +@property (readonly) PAPIBoolean * _Nullable deprecated __attribute__((swift_name("deprecated"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIExtensionFieldSet *extensionFields __attribute__((swift_name("extensionFields"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSArray *uninterpretedOption __attribute__((swift_name("uninterpretedOption"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("EnumOptions.Companion"))) +@interface PAPIEnumOptionsCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIEnumOptionsCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIEnumOptions *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIEnumOptions *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("EnumValue"))) +@interface PAPIEnumValue : PAPIBase +- (instancetype)initWithName:(NSString *)name number:(int32_t)number options:(NSArray *)options unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(name:number:options:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIEnumValueCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (int32_t)component2 __attribute__((swift_name("component2()"))); +- (NSArray *)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPIEnumValue *)doCopyName:(NSString *)name number:(int32_t)number options:(NSArray *)options unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(name:number:options:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIEnumValue *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) int32_t number __attribute__((swift_name("number"))); +@property (readonly) NSArray *options __attribute__((swift_name("options"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("EnumValue.Companion"))) +@interface PAPIEnumValueCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIEnumValueCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIEnumValue *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIEnumValue *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("EnumValueDescriptorProto"))) +@interface PAPIEnumValueDescriptorProto : PAPIBase +- (instancetype)initWithName:(NSString * _Nullable)name number:(PAPIInt * _Nullable)number options:(PAPIEnumValueOptions * _Nullable)options unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(name:number:options:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIEnumValueDescriptorProtoCompanion *companion __attribute__((swift_name("companion"))); +- (NSString * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (PAPIInt * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (PAPIEnumValueOptions * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPIEnumValueDescriptorProto *)doCopyName:(NSString * _Nullable)name number:(PAPIInt * _Nullable)number options:(PAPIEnumValueOptions * _Nullable)options unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(name:number:options:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIEnumValueDescriptorProto *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) PAPIInt * _Nullable number __attribute__((swift_name("number"))); +@property (readonly) PAPIEnumValueOptions * _Nullable options __attribute__((swift_name("options"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("EnumValueDescriptorProto.Companion"))) +@interface PAPIEnumValueDescriptorProtoCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIEnumValueDescriptorProtoCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIEnumValueDescriptorProto *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIEnumValueDescriptorProto *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("EnumValueOptions"))) +@interface PAPIEnumValueOptions : PAPIBase +- (instancetype)initWithDeprecated:(PAPIBoolean * _Nullable)deprecated uninterpretedOption:(NSArray *)uninterpretedOption unknownFields:(NSDictionary *)unknownFields extensionFields:(PAPIExtensionFieldSet *)extensionFields __attribute__((swift_name("init(deprecated:uninterpretedOption:unknownFields:extensionFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIEnumValueOptionsCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIBoolean * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSArray *)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIExtensionFieldSet *)component4 __attribute__((swift_name("component4()"))); +- (PAPIEnumValueOptions *)doCopyDeprecated:(PAPIBoolean * _Nullable)deprecated uninterpretedOption:(NSArray *)uninterpretedOption unknownFields:(NSDictionary *)unknownFields extensionFields:(PAPIExtensionFieldSet *)extensionFields __attribute__((swift_name("doCopy(deprecated:uninterpretedOption:unknownFields:extensionFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIEnumValueOptions *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIBoolean * _Nullable deprecated __attribute__((swift_name("deprecated"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIExtensionFieldSet *extensionFields __attribute__((swift_name("extensionFields"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSArray *uninterpretedOption __attribute__((swift_name("uninterpretedOption"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("EnumValueOptions.Companion"))) +@interface PAPIEnumValueOptionsCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIEnumValueOptionsCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIEnumValueOptions *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIEnumValueOptions *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ExtensionRangeOptions"))) +@interface PAPIExtensionRangeOptions : PAPIBase +- (instancetype)initWithUninterpretedOption:(NSArray *)uninterpretedOption unknownFields:(NSDictionary *)unknownFields extensionFields:(PAPIExtensionFieldSet *)extensionFields __attribute__((swift_name("init(uninterpretedOption:unknownFields:extensionFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIExtensionRangeOptionsCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIExtensionFieldSet *)component3 __attribute__((swift_name("component3()"))); +- (PAPIExtensionRangeOptions *)doCopyUninterpretedOption:(NSArray *)uninterpretedOption unknownFields:(NSDictionary *)unknownFields extensionFields:(PAPIExtensionFieldSet *)extensionFields __attribute__((swift_name("doCopy(uninterpretedOption:unknownFields:extensionFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIExtensionRangeOptions *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIExtensionFieldSet *extensionFields __attribute__((swift_name("extensionFields"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSArray *uninterpretedOption __attribute__((swift_name("uninterpretedOption"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ExtensionRangeOptions.Companion"))) +@interface PAPIExtensionRangeOptionsCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIExtensionRangeOptionsCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIExtensionRangeOptions *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIExtensionRangeOptions *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Field"))) +@interface PAPIField : PAPIBase +- (instancetype)initWithKind:(PAPIFieldKind *)kind cardinality:(PAPIFieldCardinality *)cardinality number:(int32_t)number name:(NSString *)name typeUrl:(NSString *)typeUrl oneofIndex:(int32_t)oneofIndex packed:(BOOL)packed options:(NSArray *)options jsonName:(NSString *)jsonName defaultValue:(NSString *)defaultValue unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(kind:cardinality:number:name:typeUrl:oneofIndex:packed:options:jsonName:defaultValue:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIFieldCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIFieldKind *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component10 __attribute__((swift_name("component10()"))); +- (NSDictionary *)component11 __attribute__((swift_name("component11()"))); +- (PAPIFieldCardinality *)component2 __attribute__((swift_name("component2()"))); +- (int32_t)component3 __attribute__((swift_name("component3()"))); +- (NSString *)component4 __attribute__((swift_name("component4()"))); +- (NSString *)component5 __attribute__((swift_name("component5()"))); +- (int32_t)component6 __attribute__((swift_name("component6()"))); +- (BOOL)component7 __attribute__((swift_name("component7()"))); +- (NSArray *)component8 __attribute__((swift_name("component8()"))); +- (NSString *)component9 __attribute__((swift_name("component9()"))); +- (PAPIField *)doCopyKind:(PAPIFieldKind *)kind cardinality:(PAPIFieldCardinality *)cardinality number:(int32_t)number name:(NSString *)name typeUrl:(NSString *)typeUrl oneofIndex:(int32_t)oneofIndex packed:(BOOL)packed options:(NSArray *)options jsonName:(NSString *)jsonName defaultValue:(NSString *)defaultValue unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(kind:cardinality:number:name:typeUrl:oneofIndex:packed:options:jsonName:defaultValue:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIField *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIFieldCardinality *cardinality __attribute__((swift_name("cardinality"))); +@property (readonly) NSString *defaultValue __attribute__((swift_name("defaultValue"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *jsonName __attribute__((swift_name("jsonName"))); +@property (readonly) PAPIFieldKind *kind __attribute__((swift_name("kind"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) int32_t number __attribute__((swift_name("number"))); +@property (readonly) int32_t oneofIndex __attribute__((swift_name("oneofIndex"))); +@property (readonly) NSArray *options __attribute__((swift_name("options"))); +@property (readonly) BOOL packed __attribute__((swift_name("packed"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSString *typeUrl __attribute__((swift_name("typeUrl"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((swift_name("Field.Cardinality"))) +@interface PAPIFieldCardinality : PAPIBase +@property (class, readonly, getter=companion) PAPIFieldCardinalityCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly, getter=name_) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) int32_t value_ __attribute__((swift_name("value_"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Field.CardinalityCompanion"))) +@interface PAPIFieldCardinalityCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldCardinalityCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIFieldCardinality *)fromNameName:(NSString *)name __attribute__((swift_name("fromName(name:)"))); +- (PAPIFieldCardinality *)fromValueValue:(int32_t)value __attribute__((swift_name("fromValue(value:)"))); +@property (readonly) NSArray *values __attribute__((swift_name("values"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Field.CardinalityOPTIONAL"))) +@interface PAPIFieldCardinalityOPTIONAL : PAPIFieldCardinality ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oPTIONAL __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldCardinalityOPTIONAL *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Field.CardinalityREPEATED"))) +@interface PAPIFieldCardinalityREPEATED : PAPIFieldCardinality ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)rEPEATED __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldCardinalityREPEATED *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Field.CardinalityREQUIRED"))) +@interface PAPIFieldCardinalityREQUIRED : PAPIFieldCardinality ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)rEQUIRED __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldCardinalityREQUIRED *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Field.CardinalityUNKNOWN"))) +@interface PAPIFieldCardinalityUNKNOWN : PAPIFieldCardinality ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)uNKNOWN __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldCardinalityUNKNOWN *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Field.CardinalityUNRECOGNIZED"))) +@interface PAPIFieldCardinalityUNRECOGNIZED : PAPIFieldCardinality +- (instancetype)initWithValue:(int32_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Field.Companion"))) +@interface PAPIFieldCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIField *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIField *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("Field.Kind"))) +@interface PAPIFieldKind : PAPIBase +@property (class, readonly, getter=companion) PAPIFieldKindCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly, getter=name_) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) int32_t value_ __attribute__((swift_name("value_"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Field.KindCompanion"))) +@interface PAPIFieldKindCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldKindCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIFieldKind *)fromNameName:(NSString *)name __attribute__((swift_name("fromName(name:)"))); +- (PAPIFieldKind *)fromValueValue:(int32_t)value __attribute__((swift_name("fromValue(value:)"))); +@property (readonly) NSArray *values __attribute__((swift_name("values"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Field.KindTYPE_BOOL"))) +@interface PAPIFieldKindTYPE_BOOL : PAPIFieldKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)tYPE_BOOL __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldKindTYPE_BOOL *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Field.KindTYPE_BYTES"))) +@interface PAPIFieldKindTYPE_BYTES : PAPIFieldKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)tYPE_BYTES __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldKindTYPE_BYTES *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Field.KindTYPE_DOUBLE"))) +@interface PAPIFieldKindTYPE_DOUBLE : PAPIFieldKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)tYPE_DOUBLE __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldKindTYPE_DOUBLE *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Field.KindTYPE_ENUM"))) +@interface PAPIFieldKindTYPE_ENUM : PAPIFieldKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)tYPE_ENUM __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldKindTYPE_ENUM *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Field.KindTYPE_FIXED32"))) +@interface PAPIFieldKindTYPE_FIXED32 : PAPIFieldKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)tYPE_FIXED32 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldKindTYPE_FIXED32 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Field.KindTYPE_FIXED64"))) +@interface PAPIFieldKindTYPE_FIXED64 : PAPIFieldKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)tYPE_FIXED64 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldKindTYPE_FIXED64 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Field.KindTYPE_FLOAT"))) +@interface PAPIFieldKindTYPE_FLOAT : PAPIFieldKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)tYPE_FLOAT __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldKindTYPE_FLOAT *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Field.KindTYPE_GROUP"))) +@interface PAPIFieldKindTYPE_GROUP : PAPIFieldKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)tYPE_GROUP __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldKindTYPE_GROUP *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Field.KindTYPE_INT32"))) +@interface PAPIFieldKindTYPE_INT32 : PAPIFieldKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)tYPE_INT32 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldKindTYPE_INT32 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Field.KindTYPE_INT64"))) +@interface PAPIFieldKindTYPE_INT64 : PAPIFieldKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)tYPE_INT64 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldKindTYPE_INT64 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Field.KindTYPE_MESSAGE"))) +@interface PAPIFieldKindTYPE_MESSAGE : PAPIFieldKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)tYPE_MESSAGE __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldKindTYPE_MESSAGE *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Field.KindTYPE_SFIXED32"))) +@interface PAPIFieldKindTYPE_SFIXED32 : PAPIFieldKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)tYPE_SFIXED32 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldKindTYPE_SFIXED32 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Field.KindTYPE_SFIXED64"))) +@interface PAPIFieldKindTYPE_SFIXED64 : PAPIFieldKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)tYPE_SFIXED64 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldKindTYPE_SFIXED64 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Field.KindTYPE_SINT32"))) +@interface PAPIFieldKindTYPE_SINT32 : PAPIFieldKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)tYPE_SINT32 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldKindTYPE_SINT32 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Field.KindTYPE_SINT64"))) +@interface PAPIFieldKindTYPE_SINT64 : PAPIFieldKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)tYPE_SINT64 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldKindTYPE_SINT64 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Field.KindTYPE_STRING"))) +@interface PAPIFieldKindTYPE_STRING : PAPIFieldKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)tYPE_STRING __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldKindTYPE_STRING *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Field.KindTYPE_UINT32"))) +@interface PAPIFieldKindTYPE_UINT32 : PAPIFieldKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)tYPE_UINT32 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldKindTYPE_UINT32 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Field.KindTYPE_UINT64"))) +@interface PAPIFieldKindTYPE_UINT64 : PAPIFieldKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)tYPE_UINT64 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldKindTYPE_UINT64 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Field.KindTYPE_UNKNOWN"))) +@interface PAPIFieldKindTYPE_UNKNOWN : PAPIFieldKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)tYPE_UNKNOWN __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldKindTYPE_UNKNOWN *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Field.KindUNRECOGNIZED"))) +@interface PAPIFieldKindUNRECOGNIZED : PAPIFieldKind +- (instancetype)initWithValue:(int32_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorProto"))) +@interface PAPIFieldDescriptorProto : PAPIBase +- (instancetype)initWithName:(NSString * _Nullable)name number:(PAPIInt * _Nullable)number label:(PAPIFieldDescriptorProtoLabel * _Nullable)label type:(PAPIFieldDescriptorProtoType * _Nullable)type typeName:(NSString * _Nullable)typeName extendee:(NSString * _Nullable)extendee defaultValue:(NSString * _Nullable)defaultValue oneofIndex:(PAPIInt * _Nullable)oneofIndex jsonName:(NSString * _Nullable)jsonName options:(PAPIFieldOptions * _Nullable)options proto3Optional:(PAPIBoolean * _Nullable)proto3Optional unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(name:number:label:type:typeName:extendee:defaultValue:oneofIndex:jsonName:options:proto3Optional:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIFieldDescriptorProtoCompanion *companion __attribute__((swift_name("companion"))); +- (NSString * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (PAPIFieldOptions * _Nullable)component10 __attribute__((swift_name("component10()"))); +- (PAPIBoolean * _Nullable)component11 __attribute__((swift_name("component11()"))); +- (NSDictionary *)component12 __attribute__((swift_name("component12()"))); +- (PAPIInt * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (PAPIFieldDescriptorProtoLabel * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (PAPIFieldDescriptorProtoType * _Nullable)component4 __attribute__((swift_name("component4()"))); +- (NSString * _Nullable)component5 __attribute__((swift_name("component5()"))); +- (NSString * _Nullable)component6 __attribute__((swift_name("component6()"))); +- (NSString * _Nullable)component7 __attribute__((swift_name("component7()"))); +- (PAPIInt * _Nullable)component8 __attribute__((swift_name("component8()"))); +- (NSString * _Nullable)component9 __attribute__((swift_name("component9()"))); +- (PAPIFieldDescriptorProto *)doCopyName:(NSString * _Nullable)name number:(PAPIInt * _Nullable)number label:(PAPIFieldDescriptorProtoLabel * _Nullable)label type:(PAPIFieldDescriptorProtoType * _Nullable)type typeName:(NSString * _Nullable)typeName extendee:(NSString * _Nullable)extendee defaultValue:(NSString * _Nullable)defaultValue oneofIndex:(PAPIInt * _Nullable)oneofIndex jsonName:(NSString * _Nullable)jsonName options:(PAPIFieldOptions * _Nullable)options proto3Optional:(PAPIBoolean * _Nullable)proto3Optional unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(name:number:label:type:typeName:extendee:defaultValue:oneofIndex:jsonName:options:proto3Optional:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIFieldDescriptorProto *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString * _Nullable defaultValue __attribute__((swift_name("defaultValue"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString * _Nullable extendee __attribute__((swift_name("extendee"))); +@property (readonly) NSString * _Nullable jsonName __attribute__((swift_name("jsonName"))); +@property (readonly) PAPIFieldDescriptorProtoLabel * _Nullable label __attribute__((swift_name("label"))); +@property (readonly) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) PAPIInt * _Nullable number __attribute__((swift_name("number"))); +@property (readonly) PAPIInt * _Nullable oneofIndex __attribute__((swift_name("oneofIndex"))); +@property (readonly) PAPIFieldOptions * _Nullable options __attribute__((swift_name("options"))); +@property (readonly) PAPIBoolean * _Nullable proto3Optional __attribute__((swift_name("proto3Optional"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPIFieldDescriptorProtoType * _Nullable type __attribute__((swift_name("type"))); +@property (readonly) NSString * _Nullable typeName __attribute__((swift_name("typeName"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorProto.Companion"))) +@interface PAPIFieldDescriptorProtoCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldDescriptorProtoCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIFieldDescriptorProto *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIFieldDescriptorProto *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("FieldDescriptorProto.Label"))) +@interface PAPIFieldDescriptorProtoLabel : PAPIBase +@property (class, readonly, getter=companion) PAPIFieldDescriptorProtoLabelCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly, getter=name_) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) int32_t value_ __attribute__((swift_name("value_"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorProto.LabelCompanion"))) +@interface PAPIFieldDescriptorProtoLabelCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldDescriptorProtoLabelCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIFieldDescriptorProtoLabel *)fromNameName:(NSString *)name __attribute__((swift_name("fromName(name:)"))); +- (PAPIFieldDescriptorProtoLabel *)fromValueValue:(int32_t)value __attribute__((swift_name("fromValue(value:)"))); +@property (readonly) NSArray *values __attribute__((swift_name("values"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorProto.LabelOPTIONAL"))) +@interface PAPIFieldDescriptorProtoLabelOPTIONAL : PAPIFieldDescriptorProtoLabel ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oPTIONAL __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldDescriptorProtoLabelOPTIONAL *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorProto.LabelREPEATED"))) +@interface PAPIFieldDescriptorProtoLabelREPEATED : PAPIFieldDescriptorProtoLabel ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)rEPEATED __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldDescriptorProtoLabelREPEATED *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorProto.LabelREQUIRED"))) +@interface PAPIFieldDescriptorProtoLabelREQUIRED : PAPIFieldDescriptorProtoLabel ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)rEQUIRED __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldDescriptorProtoLabelREQUIRED *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorProto.LabelUNRECOGNIZED"))) +@interface PAPIFieldDescriptorProtoLabelUNRECOGNIZED : PAPIFieldDescriptorProtoLabel +- (instancetype)initWithValue:(int32_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((swift_name("FieldDescriptorProto.Type_"))) +@interface PAPIFieldDescriptorProtoType : PAPIBase +@property (class, readonly, getter=companion) PAPIFieldDescriptorProtoTypeCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly, getter=name_) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) int32_t value_ __attribute__((swift_name("value_"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorProto.Type_BOOL"))) +@interface PAPIFieldDescriptorProtoTypeBOOL : PAPIFieldDescriptorProtoType ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)bOOL __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldDescriptorProtoTypeBOOL *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorProto.Type_BYTES"))) +@interface PAPIFieldDescriptorProtoTypeBYTES : PAPIFieldDescriptorProtoType ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)bYTES __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldDescriptorProtoTypeBYTES *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorProto.Type_Companion"))) +@interface PAPIFieldDescriptorProtoTypeCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldDescriptorProtoTypeCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIFieldDescriptorProtoType *)fromNameName:(NSString *)name __attribute__((swift_name("fromName(name:)"))); +- (PAPIFieldDescriptorProtoType *)fromValueValue:(int32_t)value __attribute__((swift_name("fromValue(value:)"))); +@property (readonly) NSArray *values __attribute__((swift_name("values"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorProto.Type_DOUBLE"))) +@interface PAPIFieldDescriptorProtoTypeDOUBLE : PAPIFieldDescriptorProtoType ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)dOUBLE __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldDescriptorProtoTypeDOUBLE *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorProto.Type_ENUM"))) +@interface PAPIFieldDescriptorProtoTypeENUM : PAPIFieldDescriptorProtoType ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)eNUM __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldDescriptorProtoTypeENUM *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorProto.Type_FIXED32"))) +@interface PAPIFieldDescriptorProtoTypeFIXED32 : PAPIFieldDescriptorProtoType ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)fIXED32 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldDescriptorProtoTypeFIXED32 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorProto.Type_FIXED64"))) +@interface PAPIFieldDescriptorProtoTypeFIXED64 : PAPIFieldDescriptorProtoType ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)fIXED64 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldDescriptorProtoTypeFIXED64 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorProto.Type_FLOAT"))) +@interface PAPIFieldDescriptorProtoTypeFLOAT : PAPIFieldDescriptorProtoType ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)fLOAT __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldDescriptorProtoTypeFLOAT *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorProto.Type_GROUP"))) +@interface PAPIFieldDescriptorProtoTypeGROUP : PAPIFieldDescriptorProtoType ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)gROUP __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldDescriptorProtoTypeGROUP *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorProto.Type_INT32"))) +@interface PAPIFieldDescriptorProtoTypeINT32 : PAPIFieldDescriptorProtoType ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)iNT32 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldDescriptorProtoTypeINT32 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorProto.Type_INT64"))) +@interface PAPIFieldDescriptorProtoTypeINT64 : PAPIFieldDescriptorProtoType ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)iNT64 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldDescriptorProtoTypeINT64 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorProto.Type_MESSAGE"))) +@interface PAPIFieldDescriptorProtoTypeMESSAGE : PAPIFieldDescriptorProtoType ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)mESSAGE __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldDescriptorProtoTypeMESSAGE *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorProto.Type_SFIXED32"))) +@interface PAPIFieldDescriptorProtoTypeSFIXED32 : PAPIFieldDescriptorProtoType ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)sFIXED32 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldDescriptorProtoTypeSFIXED32 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorProto.Type_SFIXED64"))) +@interface PAPIFieldDescriptorProtoTypeSFIXED64 : PAPIFieldDescriptorProtoType ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)sFIXED64 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldDescriptorProtoTypeSFIXED64 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorProto.Type_SINT32"))) +@interface PAPIFieldDescriptorProtoTypeSINT32 : PAPIFieldDescriptorProtoType ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)sINT32 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldDescriptorProtoTypeSINT32 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorProto.Type_SINT64"))) +@interface PAPIFieldDescriptorProtoTypeSINT64 : PAPIFieldDescriptorProtoType ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)sINT64 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldDescriptorProtoTypeSINT64 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorProto.Type_STRING"))) +@interface PAPIFieldDescriptorProtoTypeSTRING : PAPIFieldDescriptorProtoType ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)sTRING __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldDescriptorProtoTypeSTRING *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorProto.Type_UINT32"))) +@interface PAPIFieldDescriptorProtoTypeUINT32 : PAPIFieldDescriptorProtoType ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)uINT32 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldDescriptorProtoTypeUINT32 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorProto.Type_UINT64"))) +@interface PAPIFieldDescriptorProtoTypeUINT64 : PAPIFieldDescriptorProtoType ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)uINT64 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldDescriptorProtoTypeUINT64 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorProto.Type_UNRECOGNIZED"))) +@interface PAPIFieldDescriptorProtoTypeUNRECOGNIZED : PAPIFieldDescriptorProtoType +- (instancetype)initWithValue:(int32_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldMask"))) +@interface PAPIFieldMask : PAPIBase +- (instancetype)initWithPaths:(NSArray *)paths unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(paths:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIFieldMaskCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIFieldMask *)doCopyPaths:(NSArray *)paths unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(paths:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIFieldMask *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSArray *paths __attribute__((swift_name("paths"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldMask.Companion"))) +@interface PAPIFieldMaskCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldMaskCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIFieldMask *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIFieldMask *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldOptions"))) +@interface PAPIFieldOptions : PAPIBase +- (instancetype)initWithCtype:(PAPIFieldOptionsCType * _Nullable)ctype packed:(PAPIBoolean * _Nullable)packed jstype:(PAPIFieldOptionsJSType * _Nullable)jstype lazy:(PAPIBoolean * _Nullable)lazy deprecated:(PAPIBoolean * _Nullable)deprecated weak:(PAPIBoolean * _Nullable)weak uninterpretedOption:(NSArray *)uninterpretedOption unknownFields:(NSDictionary *)unknownFields extensionFields:(PAPIExtensionFieldSet *)extensionFields __attribute__((swift_name("init(ctype:packed:jstype:lazy:deprecated:weak:uninterpretedOption:unknownFields:extensionFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIFieldOptionsCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIFieldOptionsCType * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (PAPIBoolean * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (PAPIFieldOptionsJSType * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (PAPIBoolean * _Nullable)component4 __attribute__((swift_name("component4()"))); +- (PAPIBoolean * _Nullable)component5 __attribute__((swift_name("component5()"))); +- (PAPIBoolean * _Nullable)component6 __attribute__((swift_name("component6()"))); +- (NSArray *)component7 __attribute__((swift_name("component7()"))); +- (NSDictionary *)component8 __attribute__((swift_name("component8()"))); +- (PAPIExtensionFieldSet *)component9 __attribute__((swift_name("component9()"))); +- (PAPIFieldOptions *)doCopyCtype:(PAPIFieldOptionsCType * _Nullable)ctype packed:(PAPIBoolean * _Nullable)packed jstype:(PAPIFieldOptionsJSType * _Nullable)jstype lazy:(PAPIBoolean * _Nullable)lazy deprecated:(PAPIBoolean * _Nullable)deprecated weak:(PAPIBoolean * _Nullable)weak uninterpretedOption:(NSArray *)uninterpretedOption unknownFields:(NSDictionary *)unknownFields extensionFields:(PAPIExtensionFieldSet *)extensionFields __attribute__((swift_name("doCopy(ctype:packed:jstype:lazy:deprecated:weak:uninterpretedOption:unknownFields:extensionFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIFieldOptions *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIFieldOptionsCType * _Nullable ctype __attribute__((swift_name("ctype"))); +@property (readonly) PAPIBoolean * _Nullable deprecated __attribute__((swift_name("deprecated"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIExtensionFieldSet *extensionFields __attribute__((swift_name("extensionFields"))); +@property (readonly) PAPIFieldOptionsJSType * _Nullable jstype __attribute__((swift_name("jstype"))); +@property (readonly) PAPIBoolean * _Nullable lazy __attribute__((swift_name("lazy"))); +@property (readonly) PAPIBoolean * _Nullable packed __attribute__((swift_name("packed"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSArray *uninterpretedOption __attribute__((swift_name("uninterpretedOption"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@property (readonly) PAPIBoolean * _Nullable weak __attribute__((swift_name("weak"))); +@end; + +__attribute__((swift_name("FieldOptions.CType"))) +@interface PAPIFieldOptionsCType : PAPIBase +@property (class, readonly, getter=companion) PAPIFieldOptionsCTypeCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly, getter=name_) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) int32_t value_ __attribute__((swift_name("value_"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldOptions.CTypeCORD"))) +@interface PAPIFieldOptionsCTypeCORD : PAPIFieldOptionsCType ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)cORD __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldOptionsCTypeCORD *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldOptions.CTypeCompanion"))) +@interface PAPIFieldOptionsCTypeCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldOptionsCTypeCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIFieldOptionsCType *)fromNameName:(NSString *)name __attribute__((swift_name("fromName(name:)"))); +- (PAPIFieldOptionsCType *)fromValueValue:(int32_t)value __attribute__((swift_name("fromValue(value:)"))); +@property (readonly) NSArray *values __attribute__((swift_name("values"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldOptions.CTypeSTRING"))) +@interface PAPIFieldOptionsCTypeSTRING : PAPIFieldOptionsCType ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)sTRING __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldOptionsCTypeSTRING *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldOptions.CTypeSTRING_PIECE"))) +@interface PAPIFieldOptionsCTypeSTRING_PIECE : PAPIFieldOptionsCType ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)sTRING_PIECE __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldOptionsCTypeSTRING_PIECE *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldOptions.CTypeUNRECOGNIZED"))) +@interface PAPIFieldOptionsCTypeUNRECOGNIZED : PAPIFieldOptionsCType +- (instancetype)initWithValue:(int32_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldOptions.Companion"))) +@interface PAPIFieldOptionsCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldOptionsCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIFieldOptions *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIFieldOptions *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("FieldOptions.JSType"))) +@interface PAPIFieldOptionsJSType : PAPIBase +@property (class, readonly, getter=companion) PAPIFieldOptionsJSTypeCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly, getter=name_) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) int32_t value_ __attribute__((swift_name("value_"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldOptions.JSTypeCompanion"))) +@interface PAPIFieldOptionsJSTypeCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldOptionsJSTypeCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIFieldOptionsJSType *)fromNameName:(NSString *)name __attribute__((swift_name("fromName(name:)"))); +- (PAPIFieldOptionsJSType *)fromValueValue:(int32_t)value __attribute__((swift_name("fromValue(value:)"))); +@property (readonly) NSArray *values __attribute__((swift_name("values"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldOptions.JSTypeJS_NORMAL"))) +@interface PAPIFieldOptionsJSTypeJS_NORMAL : PAPIFieldOptionsJSType ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)jS_NORMAL __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldOptionsJSTypeJS_NORMAL *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldOptions.JSTypeJS_NUMBER"))) +@interface PAPIFieldOptionsJSTypeJS_NUMBER : PAPIFieldOptionsJSType ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)jS_NUMBER __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldOptionsJSTypeJS_NUMBER *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldOptions.JSTypeJS_STRING"))) +@interface PAPIFieldOptionsJSTypeJS_STRING : PAPIFieldOptionsJSType ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)jS_STRING __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldOptionsJSTypeJS_STRING *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldOptions.JSTypeUNRECOGNIZED"))) +@interface PAPIFieldOptionsJSTypeUNRECOGNIZED : PAPIFieldOptionsJSType +- (instancetype)initWithValue:(int32_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FileDescriptorProto"))) +@interface PAPIFileDescriptorProto : PAPIBase +- (instancetype)initWithName:(NSString * _Nullable)name package:(NSString * _Nullable)package dependency:(NSArray *)dependency publicDependency:(NSArray *)publicDependency weakDependency:(NSArray *)weakDependency messageType:(NSArray *)messageType enumType:(NSArray *)enumType service:(NSArray *)service extension:(NSArray *)extension options:(PAPIFileOptions * _Nullable)options sourceCodeInfo:(PAPISourceCodeInfo * _Nullable)sourceCodeInfo syntax:(NSString * _Nullable)syntax unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(name:package:dependency:publicDependency:weakDependency:messageType:enumType:service:extension:options:sourceCodeInfo:syntax:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIFileDescriptorProtoCompanion *companion __attribute__((swift_name("companion"))); +- (NSString * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (PAPIFileOptions * _Nullable)component10 __attribute__((swift_name("component10()"))); +- (PAPISourceCodeInfo * _Nullable)component11 __attribute__((swift_name("component11()"))); +- (NSString * _Nullable)component12 __attribute__((swift_name("component12()"))); +- (NSDictionary *)component13 __attribute__((swift_name("component13()"))); +- (NSString * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (NSArray *)component3 __attribute__((swift_name("component3()"))); +- (NSArray *)component4 __attribute__((swift_name("component4()"))); +- (NSArray *)component5 __attribute__((swift_name("component5()"))); +- (NSArray *)component6 __attribute__((swift_name("component6()"))); +- (NSArray *)component7 __attribute__((swift_name("component7()"))); +- (NSArray *)component8 __attribute__((swift_name("component8()"))); +- (NSArray *)component9 __attribute__((swift_name("component9()"))); +- (PAPIFileDescriptorProto *)doCopyName:(NSString * _Nullable)name package:(NSString * _Nullable)package dependency:(NSArray *)dependency publicDependency:(NSArray *)publicDependency weakDependency:(NSArray *)weakDependency messageType:(NSArray *)messageType enumType:(NSArray *)enumType service:(NSArray *)service extension:(NSArray *)extension options:(PAPIFileOptions * _Nullable)options sourceCodeInfo:(PAPISourceCodeInfo * _Nullable)sourceCodeInfo syntax:(NSString * _Nullable)syntax unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(name:package:dependency:publicDependency:weakDependency:messageType:enumType:service:extension:options:sourceCodeInfo:syntax:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIFileDescriptorProto *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSArray *dependency __attribute__((swift_name("dependency"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSArray *enumType __attribute__((swift_name("enumType"))); +@property (readonly) NSArray *extension __attribute__((swift_name("extension"))); +@property (readonly) NSArray *messageType __attribute__((swift_name("messageType"))); +@property (readonly) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) PAPIFileOptions * _Nullable options __attribute__((swift_name("options"))); +@property (readonly) NSString * _Nullable package __attribute__((swift_name("package"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSArray *publicDependency __attribute__((swift_name("publicDependency"))); +@property (readonly) NSArray *service __attribute__((swift_name("service"))); +@property (readonly) PAPISourceCodeInfo * _Nullable sourceCodeInfo __attribute__((swift_name("sourceCodeInfo"))); +@property (readonly) NSString * _Nullable syntax __attribute__((swift_name("syntax"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@property (readonly) NSArray *weakDependency __attribute__((swift_name("weakDependency"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FileDescriptorProto.Companion"))) +@interface PAPIFileDescriptorProtoCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFileDescriptorProtoCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIFileDescriptorProto *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIFileDescriptorProto *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FileDescriptorSet"))) +@interface PAPIFileDescriptorSet : PAPIBase +- (instancetype)initWithFile:(NSArray *)file unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(file:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIFileDescriptorSetCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIFileDescriptorSet *)doCopyFile:(NSArray *)file unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(file:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIFileDescriptorSet *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSArray *file __attribute__((swift_name("file"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FileDescriptorSet.Companion"))) +@interface PAPIFileDescriptorSetCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFileDescriptorSetCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIFileDescriptorSet *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIFileDescriptorSet *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FileOptions"))) +@interface PAPIFileOptions : PAPIBase +- (instancetype)initWithJavaPackage:(NSString * _Nullable)javaPackage javaOuterClassname:(NSString * _Nullable)javaOuterClassname javaMultipleFiles:(PAPIBoolean * _Nullable)javaMultipleFiles javaGenerateEqualsAndHash:(PAPIBoolean * _Nullable)javaGenerateEqualsAndHash javaStringCheckUtf8:(PAPIBoolean * _Nullable)javaStringCheckUtf8 optimizeFor:(PAPIFileOptionsOptimizeMode * _Nullable)optimizeFor goPackage:(NSString * _Nullable)goPackage ccGenericServices:(PAPIBoolean * _Nullable)ccGenericServices javaGenericServices:(PAPIBoolean * _Nullable)javaGenericServices pyGenericServices:(PAPIBoolean * _Nullable)pyGenericServices phpGenericServices:(PAPIBoolean * _Nullable)phpGenericServices deprecated:(PAPIBoolean * _Nullable)deprecated ccEnableArenas:(PAPIBoolean * _Nullable)ccEnableArenas objcClassPrefix:(NSString * _Nullable)objcClassPrefix csharpNamespace:(NSString * _Nullable)csharpNamespace swiftPrefix:(NSString * _Nullable)swiftPrefix phpClassPrefix:(NSString * _Nullable)phpClassPrefix phpNamespace:(NSString * _Nullable)phpNamespace phpMetadataNamespace:(NSString * _Nullable)phpMetadataNamespace rubyPackage:(NSString * _Nullable)rubyPackage uninterpretedOption:(NSArray *)uninterpretedOption unknownFields:(NSDictionary *)unknownFields extensionFields:(PAPIExtensionFieldSet *)extensionFields __attribute__((swift_name("init(javaPackage:javaOuterClassname:javaMultipleFiles:javaGenerateEqualsAndHash:javaStringCheckUtf8:optimizeFor:goPackage:ccGenericServices:javaGenericServices:pyGenericServices:phpGenericServices:deprecated:ccEnableArenas:objcClassPrefix:csharpNamespace:swiftPrefix:phpClassPrefix:phpNamespace:phpMetadataNamespace:rubyPackage:uninterpretedOption:unknownFields:extensionFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIFileOptionsCompanion *companion __attribute__((swift_name("companion"))); +- (NSString * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (PAPIBoolean * _Nullable)component10 __attribute__((swift_name("component10()"))); +- (PAPIBoolean * _Nullable)component11 __attribute__((swift_name("component11()"))); +- (PAPIBoolean * _Nullable)component12 __attribute__((swift_name("component12()"))); +- (PAPIBoolean * _Nullable)component13 __attribute__((swift_name("component13()"))); +- (NSString * _Nullable)component14 __attribute__((swift_name("component14()"))); +- (NSString * _Nullable)component15 __attribute__((swift_name("component15()"))); +- (NSString * _Nullable)component16 __attribute__((swift_name("component16()"))); +- (NSString * _Nullable)component17 __attribute__((swift_name("component17()"))); +- (NSString * _Nullable)component18 __attribute__((swift_name("component18()"))); +- (NSString * _Nullable)component19 __attribute__((swift_name("component19()"))); +- (NSString * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (NSString * _Nullable)component20 __attribute__((swift_name("component20()"))); +- (NSArray *)component21 __attribute__((swift_name("component21()"))); +- (NSDictionary *)component22 __attribute__((swift_name("component22()"))); +- (PAPIExtensionFieldSet *)component23 __attribute__((swift_name("component23()"))); +- (PAPIBoolean * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (PAPIBoolean * _Nullable)component4 __attribute__((swift_name("component4()"))); +- (PAPIBoolean * _Nullable)component5 __attribute__((swift_name("component5()"))); +- (PAPIFileOptionsOptimizeMode * _Nullable)component6 __attribute__((swift_name("component6()"))); +- (NSString * _Nullable)component7 __attribute__((swift_name("component7()"))); +- (PAPIBoolean * _Nullable)component8 __attribute__((swift_name("component8()"))); +- (PAPIBoolean * _Nullable)component9 __attribute__((swift_name("component9()"))); +- (PAPIFileOptions *)doCopyJavaPackage:(NSString * _Nullable)javaPackage javaOuterClassname:(NSString * _Nullable)javaOuterClassname javaMultipleFiles:(PAPIBoolean * _Nullable)javaMultipleFiles javaGenerateEqualsAndHash:(PAPIBoolean * _Nullable)javaGenerateEqualsAndHash javaStringCheckUtf8:(PAPIBoolean * _Nullable)javaStringCheckUtf8 optimizeFor:(PAPIFileOptionsOptimizeMode * _Nullable)optimizeFor goPackage:(NSString * _Nullable)goPackage ccGenericServices:(PAPIBoolean * _Nullable)ccGenericServices javaGenericServices:(PAPIBoolean * _Nullable)javaGenericServices pyGenericServices:(PAPIBoolean * _Nullable)pyGenericServices phpGenericServices:(PAPIBoolean * _Nullable)phpGenericServices deprecated:(PAPIBoolean * _Nullable)deprecated ccEnableArenas:(PAPIBoolean * _Nullable)ccEnableArenas objcClassPrefix:(NSString * _Nullable)objcClassPrefix csharpNamespace:(NSString * _Nullable)csharpNamespace swiftPrefix:(NSString * _Nullable)swiftPrefix phpClassPrefix:(NSString * _Nullable)phpClassPrefix phpNamespace:(NSString * _Nullable)phpNamespace phpMetadataNamespace:(NSString * _Nullable)phpMetadataNamespace rubyPackage:(NSString * _Nullable)rubyPackage uninterpretedOption:(NSArray *)uninterpretedOption unknownFields:(NSDictionary *)unknownFields extensionFields:(PAPIExtensionFieldSet *)extensionFields __attribute__((swift_name("doCopy(javaPackage:javaOuterClassname:javaMultipleFiles:javaGenerateEqualsAndHash:javaStringCheckUtf8:optimizeFor:goPackage:ccGenericServices:javaGenericServices:pyGenericServices:phpGenericServices:deprecated:ccEnableArenas:objcClassPrefix:csharpNamespace:swiftPrefix:phpClassPrefix:phpNamespace:phpMetadataNamespace:rubyPackage:uninterpretedOption:unknownFields:extensionFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIFileOptions *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIBoolean * _Nullable ccEnableArenas __attribute__((swift_name("ccEnableArenas"))); +@property (readonly) PAPIBoolean * _Nullable ccGenericServices __attribute__((swift_name("ccGenericServices"))); +@property (readonly) NSString * _Nullable csharpNamespace __attribute__((swift_name("csharpNamespace"))); +@property (readonly) PAPIBoolean * _Nullable deprecated __attribute__((swift_name("deprecated"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIExtensionFieldSet *extensionFields __attribute__((swift_name("extensionFields"))); +@property (readonly) NSString * _Nullable goPackage __attribute__((swift_name("goPackage"))); +@property (readonly) PAPIBoolean * _Nullable javaGenerateEqualsAndHash __attribute__((swift_name("javaGenerateEqualsAndHash"))); +@property (readonly) PAPIBoolean * _Nullable javaGenericServices __attribute__((swift_name("javaGenericServices"))); +@property (readonly) PAPIBoolean * _Nullable javaMultipleFiles __attribute__((swift_name("javaMultipleFiles"))); +@property (readonly) NSString * _Nullable javaOuterClassname __attribute__((swift_name("javaOuterClassname"))); +@property (readonly) NSString * _Nullable javaPackage __attribute__((swift_name("javaPackage"))); +@property (readonly) PAPIBoolean * _Nullable javaStringCheckUtf8 __attribute__((swift_name("javaStringCheckUtf8"))); +@property (readonly) NSString * _Nullable objcClassPrefix __attribute__((swift_name("objcClassPrefix"))); +@property (readonly) PAPIFileOptionsOptimizeMode * _Nullable optimizeFor __attribute__((swift_name("optimizeFor"))); +@property (readonly) NSString * _Nullable phpClassPrefix __attribute__((swift_name("phpClassPrefix"))); +@property (readonly) PAPIBoolean * _Nullable phpGenericServices __attribute__((swift_name("phpGenericServices"))); +@property (readonly) NSString * _Nullable phpMetadataNamespace __attribute__((swift_name("phpMetadataNamespace"))); +@property (readonly) NSString * _Nullable phpNamespace __attribute__((swift_name("phpNamespace"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPIBoolean * _Nullable pyGenericServices __attribute__((swift_name("pyGenericServices"))); +@property (readonly) NSString * _Nullable rubyPackage __attribute__((swift_name("rubyPackage"))); +@property (readonly) NSString * _Nullable swiftPrefix __attribute__((swift_name("swiftPrefix"))); +@property (readonly) NSArray *uninterpretedOption __attribute__((swift_name("uninterpretedOption"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FileOptions.Companion"))) +@interface PAPIFileOptionsCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFileOptionsCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIFileOptions *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIFileOptions *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("FileOptions.OptimizeMode"))) +@interface PAPIFileOptionsOptimizeMode : PAPIBase +@property (class, readonly, getter=companion) PAPIFileOptionsOptimizeModeCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly, getter=name_) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) int32_t value_ __attribute__((swift_name("value_"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FileOptions.OptimizeModeCODE_SIZE"))) +@interface PAPIFileOptionsOptimizeModeCODE_SIZE : PAPIFileOptionsOptimizeMode ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)cODE_SIZE __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFileOptionsOptimizeModeCODE_SIZE *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FileOptions.OptimizeModeCompanion"))) +@interface PAPIFileOptionsOptimizeModeCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFileOptionsOptimizeModeCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIFileOptionsOptimizeMode *)fromNameName:(NSString *)name __attribute__((swift_name("fromName(name:)"))); +- (PAPIFileOptionsOptimizeMode *)fromValueValue:(int32_t)value __attribute__((swift_name("fromValue(value:)"))); +@property (readonly) NSArray *values __attribute__((swift_name("values"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FileOptions.OptimizeModeLITE_RUNTIME"))) +@interface PAPIFileOptionsOptimizeModeLITE_RUNTIME : PAPIFileOptionsOptimizeMode ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)lITE_RUNTIME __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFileOptionsOptimizeModeLITE_RUNTIME *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FileOptions.OptimizeModeSPEED"))) +@interface PAPIFileOptionsOptimizeModeSPEED : PAPIFileOptionsOptimizeMode ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)sPEED __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFileOptionsOptimizeModeSPEED *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FileOptions.OptimizeModeUNRECOGNIZED"))) +@interface PAPIFileOptionsOptimizeModeUNRECOGNIZED : PAPIFileOptionsOptimizeMode +- (instancetype)initWithValue:(int32_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FloatValue"))) +@interface PAPIFloatValue : PAPIBase +- (instancetype)initWithValue:(float)value unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(value:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIFloatValueCompanion *companion __attribute__((swift_name("companion"))); +- (float)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIFloatValue *)doCopyValue:(float)value unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(value:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIFloatValue *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@property (readonly) float value __attribute__((swift_name("value"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FloatValue.Companion"))) +@interface PAPIFloatValueCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFloatValueCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIFloatValue *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIFloatValue *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GeneratedCodeInfo"))) +@interface PAPIGeneratedCodeInfo : PAPIBase +- (instancetype)initWithAnnotation:(NSArray *)annotation unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(annotation:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGeneratedCodeInfoCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGeneratedCodeInfo *)doCopyAnnotation:(NSArray *)annotation unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(annotation:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGeneratedCodeInfo *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSArray *annotation __attribute__((swift_name("annotation"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GeneratedCodeInfo.Annotation"))) +@interface PAPIGeneratedCodeInfoAnnotation : PAPIBase +- (instancetype)initWithPath:(NSArray *)path sourceFile:(NSString * _Nullable)sourceFile begin:(PAPIInt * _Nullable)begin end:(PAPIInt * _Nullable)end unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(path:sourceFile:begin:end:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGeneratedCodeInfoAnnotationCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSString * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (PAPIInt * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (PAPIInt * _Nullable)component4 __attribute__((swift_name("component4()"))); +- (NSDictionary *)component5 __attribute__((swift_name("component5()"))); +- (PAPIGeneratedCodeInfoAnnotation *)doCopyPath:(NSArray *)path sourceFile:(NSString * _Nullable)sourceFile begin:(PAPIInt * _Nullable)begin end:(PAPIInt * _Nullable)end unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(path:sourceFile:begin:end:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGeneratedCodeInfoAnnotation *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIInt * _Nullable begin __attribute__((swift_name("begin"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIInt * _Nullable end __attribute__((swift_name("end"))); +@property (readonly) NSArray *path __attribute__((swift_name("path"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSString * _Nullable sourceFile __attribute__((swift_name("sourceFile"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GeneratedCodeInfo.AnnotationCompanion"))) +@interface PAPIGeneratedCodeInfoAnnotationCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGeneratedCodeInfoAnnotationCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGeneratedCodeInfoAnnotation *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGeneratedCodeInfoAnnotation *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GeneratedCodeInfo.Companion"))) +@interface PAPIGeneratedCodeInfoCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGeneratedCodeInfoCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGeneratedCodeInfo *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGeneratedCodeInfo *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Int32Value"))) +@interface PAPIInt32Value : PAPIBase +- (instancetype)initWithValue:(int32_t)value unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(value:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIInt32ValueCompanion *companion __attribute__((swift_name("companion"))); +- (int32_t)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIInt32Value *)doCopyValue:(int32_t)value unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(value:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIInt32Value *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@property (readonly) int32_t value __attribute__((swift_name("value"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Int32Value.Companion"))) +@interface PAPIInt32ValueCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIInt32ValueCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIInt32Value *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIInt32Value *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Int64Value"))) +@interface PAPIInt64Value : PAPIBase +- (instancetype)initWithValue:(int64_t)value unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(value:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIInt64ValueCompanion *companion __attribute__((swift_name("companion"))); +- (int64_t)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIInt64Value *)doCopyValue:(int64_t)value unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(value:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIInt64Value *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@property (readonly) int64_t value __attribute__((swift_name("value"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Int64Value.Companion"))) +@interface PAPIInt64ValueCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIInt64ValueCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIInt64Value *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIInt64Value *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ListValue"))) +@interface PAPIListValue : PAPIBase +- (instancetype)initWithValues:(NSArray *)values unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(values:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIListValueCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIListValue *)doCopyValues:(NSArray *)values unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(values:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIListValue *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@property (readonly) NSArray *values __attribute__((swift_name("values"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ListValue.Companion"))) +@interface PAPIListValueCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIListValueCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIListValue *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIListValue *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MessageOptions"))) +@interface PAPIMessageOptions : PAPIBase +- (instancetype)initWithMessageSetWireFormat:(PAPIBoolean * _Nullable)messageSetWireFormat noStandardDescriptorAccessor:(PAPIBoolean * _Nullable)noStandardDescriptorAccessor deprecated:(PAPIBoolean * _Nullable)deprecated mapEntry:(PAPIBoolean * _Nullable)mapEntry uninterpretedOption:(NSArray *)uninterpretedOption unknownFields:(NSDictionary *)unknownFields extensionFields:(PAPIExtensionFieldSet *)extensionFields __attribute__((swift_name("init(messageSetWireFormat:noStandardDescriptorAccessor:deprecated:mapEntry:uninterpretedOption:unknownFields:extensionFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIMessageOptionsCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIBoolean * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (PAPIBoolean * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (PAPIBoolean * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (PAPIBoolean * _Nullable)component4 __attribute__((swift_name("component4()"))); +- (NSArray *)component5 __attribute__((swift_name("component5()"))); +- (NSDictionary *)component6 __attribute__((swift_name("component6()"))); +- (PAPIExtensionFieldSet *)component7 __attribute__((swift_name("component7()"))); +- (PAPIMessageOptions *)doCopyMessageSetWireFormat:(PAPIBoolean * _Nullable)messageSetWireFormat noStandardDescriptorAccessor:(PAPIBoolean * _Nullable)noStandardDescriptorAccessor deprecated:(PAPIBoolean * _Nullable)deprecated mapEntry:(PAPIBoolean * _Nullable)mapEntry uninterpretedOption:(NSArray *)uninterpretedOption unknownFields:(NSDictionary *)unknownFields extensionFields:(PAPIExtensionFieldSet *)extensionFields __attribute__((swift_name("doCopy(messageSetWireFormat:noStandardDescriptorAccessor:deprecated:mapEntry:uninterpretedOption:unknownFields:extensionFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIMessageOptions *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIBoolean * _Nullable deprecated __attribute__((swift_name("deprecated"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIExtensionFieldSet *extensionFields __attribute__((swift_name("extensionFields"))); +@property (readonly) PAPIBoolean * _Nullable mapEntry __attribute__((swift_name("mapEntry"))); +@property (readonly) PAPIBoolean * _Nullable messageSetWireFormat __attribute__((swift_name("messageSetWireFormat"))); +@property (readonly) PAPIBoolean * _Nullable noStandardDescriptorAccessor __attribute__((swift_name("noStandardDescriptorAccessor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSArray *uninterpretedOption __attribute__((swift_name("uninterpretedOption"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MessageOptions.Companion"))) +@interface PAPIMessageOptionsCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIMessageOptionsCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIMessageOptions *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIMessageOptions *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Method"))) +@interface PAPIMethod : PAPIBase +- (instancetype)initWithName:(NSString *)name requestTypeUrl:(NSString *)requestTypeUrl requestStreaming:(BOOL)requestStreaming responseTypeUrl:(NSString *)responseTypeUrl responseStreaming:(BOOL)responseStreaming options:(NSArray *)options syntax:(PAPISyntax *)syntax unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(name:requestTypeUrl:requestStreaming:responseTypeUrl:responseStreaming:options:syntax:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIMethodCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (BOOL)component3 __attribute__((swift_name("component3()"))); +- (NSString *)component4 __attribute__((swift_name("component4()"))); +- (BOOL)component5 __attribute__((swift_name("component5()"))); +- (NSArray *)component6 __attribute__((swift_name("component6()"))); +- (PAPISyntax *)component7 __attribute__((swift_name("component7()"))); +- (NSDictionary *)component8 __attribute__((swift_name("component8()"))); +- (PAPIMethod *)doCopyName:(NSString *)name requestTypeUrl:(NSString *)requestTypeUrl requestStreaming:(BOOL)requestStreaming responseTypeUrl:(NSString *)responseTypeUrl responseStreaming:(BOOL)responseStreaming options:(NSArray *)options syntax:(PAPISyntax *)syntax unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(name:requestTypeUrl:requestStreaming:responseTypeUrl:responseStreaming:options:syntax:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIMethod *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) NSArray *options __attribute__((swift_name("options"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) BOOL requestStreaming __attribute__((swift_name("requestStreaming"))); +@property (readonly) NSString *requestTypeUrl __attribute__((swift_name("requestTypeUrl"))); +@property (readonly) BOOL responseStreaming __attribute__((swift_name("responseStreaming"))); +@property (readonly) NSString *responseTypeUrl __attribute__((swift_name("responseTypeUrl"))); +@property (readonly) PAPISyntax *syntax __attribute__((swift_name("syntax"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Method.Companion"))) +@interface PAPIMethodCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIMethodCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIMethod *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIMethod *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MethodDescriptorProto"))) +@interface PAPIMethodDescriptorProto : PAPIBase +- (instancetype)initWithName:(NSString * _Nullable)name inputType:(NSString * _Nullable)inputType outputType:(NSString * _Nullable)outputType options:(PAPIMethodOptions * _Nullable)options clientStreaming:(PAPIBoolean * _Nullable)clientStreaming serverStreaming:(PAPIBoolean * _Nullable)serverStreaming unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(name:inputType:outputType:options:clientStreaming:serverStreaming:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIMethodDescriptorProtoCompanion *companion __attribute__((swift_name("companion"))); +- (NSString * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSString * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (NSString * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (PAPIMethodOptions * _Nullable)component4 __attribute__((swift_name("component4()"))); +- (PAPIBoolean * _Nullable)component5 __attribute__((swift_name("component5()"))); +- (PAPIBoolean * _Nullable)component6 __attribute__((swift_name("component6()"))); +- (NSDictionary *)component7 __attribute__((swift_name("component7()"))); +- (PAPIMethodDescriptorProto *)doCopyName:(NSString * _Nullable)name inputType:(NSString * _Nullable)inputType outputType:(NSString * _Nullable)outputType options:(PAPIMethodOptions * _Nullable)options clientStreaming:(PAPIBoolean * _Nullable)clientStreaming serverStreaming:(PAPIBoolean * _Nullable)serverStreaming unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(name:inputType:outputType:options:clientStreaming:serverStreaming:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIMethodDescriptorProto *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIBoolean * _Nullable clientStreaming __attribute__((swift_name("clientStreaming"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString * _Nullable inputType __attribute__((swift_name("inputType"))); +@property (readonly) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) PAPIMethodOptions * _Nullable options __attribute__((swift_name("options"))); +@property (readonly) NSString * _Nullable outputType __attribute__((swift_name("outputType"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPIBoolean * _Nullable serverStreaming __attribute__((swift_name("serverStreaming"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MethodDescriptorProto.Companion"))) +@interface PAPIMethodDescriptorProtoCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIMethodDescriptorProtoCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIMethodDescriptorProto *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIMethodDescriptorProto *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MethodOptions"))) +@interface PAPIMethodOptions : PAPIBase +- (instancetype)initWithDeprecated:(PAPIBoolean * _Nullable)deprecated idempotencyLevel:(PAPIMethodOptionsIdempotencyLevel * _Nullable)idempotencyLevel uninterpretedOption:(NSArray *)uninterpretedOption unknownFields:(NSDictionary *)unknownFields extensionFields:(PAPIExtensionFieldSet *)extensionFields __attribute__((swift_name("init(deprecated:idempotencyLevel:uninterpretedOption:unknownFields:extensionFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIMethodOptionsCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIBoolean * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (PAPIMethodOptionsIdempotencyLevel * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (NSArray *)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPIExtensionFieldSet *)component5 __attribute__((swift_name("component5()"))); +- (PAPIMethodOptions *)doCopyDeprecated:(PAPIBoolean * _Nullable)deprecated idempotencyLevel:(PAPIMethodOptionsIdempotencyLevel * _Nullable)idempotencyLevel uninterpretedOption:(NSArray *)uninterpretedOption unknownFields:(NSDictionary *)unknownFields extensionFields:(PAPIExtensionFieldSet *)extensionFields __attribute__((swift_name("doCopy(deprecated:idempotencyLevel:uninterpretedOption:unknownFields:extensionFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIMethodOptions *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIBoolean * _Nullable deprecated __attribute__((swift_name("deprecated"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIExtensionFieldSet *extensionFields __attribute__((swift_name("extensionFields"))); +@property (readonly) PAPIMethodOptionsIdempotencyLevel * _Nullable idempotencyLevel __attribute__((swift_name("idempotencyLevel"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSArray *uninterpretedOption __attribute__((swift_name("uninterpretedOption"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MethodOptions.Companion"))) +@interface PAPIMethodOptionsCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIMethodOptionsCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIMethodOptions *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIMethodOptions *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("MethodOptions.IdempotencyLevel"))) +@interface PAPIMethodOptionsIdempotencyLevel : PAPIBase +@property (class, readonly, getter=companion) PAPIMethodOptionsIdempotencyLevelCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly, getter=name_) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) int32_t value_ __attribute__((swift_name("value_"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MethodOptions.IdempotencyLevelCompanion"))) +@interface PAPIMethodOptionsIdempotencyLevelCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIMethodOptionsIdempotencyLevelCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIMethodOptionsIdempotencyLevel *)fromNameName:(NSString *)name __attribute__((swift_name("fromName(name:)"))); +- (PAPIMethodOptionsIdempotencyLevel *)fromValueValue:(int32_t)value __attribute__((swift_name("fromValue(value:)"))); +@property (readonly) NSArray *values __attribute__((swift_name("values"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MethodOptions.IdempotencyLevelIDEMPOTENCY_UNKNOWN"))) +@interface PAPIMethodOptionsIdempotencyLevelIDEMPOTENCY_UNKNOWN : PAPIMethodOptionsIdempotencyLevel ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)iDEMPOTENCY_UNKNOWN __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIMethodOptionsIdempotencyLevelIDEMPOTENCY_UNKNOWN *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MethodOptions.IdempotencyLevelIDEMPOTENT"))) +@interface PAPIMethodOptionsIdempotencyLevelIDEMPOTENT : PAPIMethodOptionsIdempotencyLevel ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)iDEMPOTENT __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIMethodOptionsIdempotencyLevelIDEMPOTENT *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MethodOptions.IdempotencyLevelNO_SIDE_EFFECTS"))) +@interface PAPIMethodOptionsIdempotencyLevelNO_SIDE_EFFECTS : PAPIMethodOptionsIdempotencyLevel ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)nO_SIDE_EFFECTS __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIMethodOptionsIdempotencyLevelNO_SIDE_EFFECTS *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MethodOptions.IdempotencyLevelUNRECOGNIZED"))) +@interface PAPIMethodOptionsIdempotencyLevelUNRECOGNIZED : PAPIMethodOptionsIdempotencyLevel +- (instancetype)initWithValue:(int32_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Mixin"))) +@interface PAPIMixin : PAPIBase +- (instancetype)initWithName:(NSString *)name root:(NSString *)root unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(name:root:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIMixinCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIMixin *)doCopyName:(NSString *)name root:(NSString *)root unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(name:root:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIMixin *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSString *root __attribute__((swift_name("root"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Mixin.Companion"))) +@interface PAPIMixinCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIMixinCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIMixin *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIMixin *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("NullValue"))) +@interface PAPINullValue : PAPIBase +@property (class, readonly, getter=companion) PAPINullValueCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly, getter=name_) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) int32_t value_ __attribute__((swift_name("value_"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("NullValue.Companion"))) +@interface PAPINullValueCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPINullValueCompanion *shared __attribute__((swift_name("shared"))); +- (PAPINullValue *)fromNameName:(NSString *)name __attribute__((swift_name("fromName(name:)"))); +- (PAPINullValue *)fromValueValue:(int32_t)value __attribute__((swift_name("fromValue(value:)"))); +@property (readonly) NSArray *values __attribute__((swift_name("values"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("NullValue.NULL_VALUE"))) +@interface PAPINullValueNULL_VALUE : PAPINullValue ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)nULL_VALUE __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPINullValueNULL_VALUE *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("NullValue.UNRECOGNIZED"))) +@interface PAPINullValueUNRECOGNIZED : PAPINullValue +- (instancetype)initWithValue:(int32_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OneofDescriptorProto"))) +@interface PAPIOneofDescriptorProto : PAPIBase +- (instancetype)initWithName:(NSString * _Nullable)name options:(PAPIOneofOptions * _Nullable)options unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(name:options:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIOneofDescriptorProtoCompanion *companion __attribute__((swift_name("companion"))); +- (NSString * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (PAPIOneofOptions * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIOneofDescriptorProto *)doCopyName:(NSString * _Nullable)name options:(PAPIOneofOptions * _Nullable)options unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(name:options:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIOneofDescriptorProto *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) PAPIOneofOptions * _Nullable options __attribute__((swift_name("options"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OneofDescriptorProto.Companion"))) +@interface PAPIOneofDescriptorProtoCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOneofDescriptorProtoCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIOneofDescriptorProto *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIOneofDescriptorProto *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OneofOptions"))) +@interface PAPIOneofOptions : PAPIBase +- (instancetype)initWithUninterpretedOption:(NSArray *)uninterpretedOption unknownFields:(NSDictionary *)unknownFields extensionFields:(PAPIExtensionFieldSet *)extensionFields __attribute__((swift_name("init(uninterpretedOption:unknownFields:extensionFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIOneofOptionsCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIExtensionFieldSet *)component3 __attribute__((swift_name("component3()"))); +- (PAPIOneofOptions *)doCopyUninterpretedOption:(NSArray *)uninterpretedOption unknownFields:(NSDictionary *)unknownFields extensionFields:(PAPIExtensionFieldSet *)extensionFields __attribute__((swift_name("doCopy(uninterpretedOption:unknownFields:extensionFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIOneofOptions *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIExtensionFieldSet *extensionFields __attribute__((swift_name("extensionFields"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSArray *uninterpretedOption __attribute__((swift_name("uninterpretedOption"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OneofOptions.Companion"))) +@interface PAPIOneofOptionsCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOneofOptionsCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIOneofOptions *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIOneofOptions *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Option"))) +@interface PAPIOption : PAPIBase +- (instancetype)initWithName:(NSString *)name value:(PAPIAny * _Nullable)value unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(name:value:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIOptionCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIAny * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIOption *)doCopyName:(NSString *)name value:(PAPIAny * _Nullable)value unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(name:value:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIOption *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@property (readonly) PAPIAny * _Nullable value __attribute__((swift_name("value"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Option.Companion"))) +@interface PAPIOptionCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOptionCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIOption *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIOption *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ServiceDescriptorProto"))) +@interface PAPIServiceDescriptorProto : PAPIBase +- (instancetype)initWithName:(NSString * _Nullable)name method:(NSArray *)method options:(PAPIServiceOptions * _Nullable)options unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(name:method:options:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIServiceDescriptorProtoCompanion *companion __attribute__((swift_name("companion"))); +- (NSString * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSArray *)component2 __attribute__((swift_name("component2()"))); +- (PAPIServiceOptions * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPIServiceDescriptorProto *)doCopyName:(NSString * _Nullable)name method:(NSArray *)method options:(PAPIServiceOptions * _Nullable)options unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(name:method:options:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIServiceDescriptorProto *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSArray *method __attribute__((swift_name("method"))); +@property (readonly) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) PAPIServiceOptions * _Nullable options __attribute__((swift_name("options"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ServiceDescriptorProto.Companion"))) +@interface PAPIServiceDescriptorProtoCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIServiceDescriptorProtoCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIServiceDescriptorProto *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIServiceDescriptorProto *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ServiceOptions"))) +@interface PAPIServiceOptions : PAPIBase +- (instancetype)initWithDeprecated:(PAPIBoolean * _Nullable)deprecated uninterpretedOption:(NSArray *)uninterpretedOption unknownFields:(NSDictionary *)unknownFields extensionFields:(PAPIExtensionFieldSet *)extensionFields __attribute__((swift_name("init(deprecated:uninterpretedOption:unknownFields:extensionFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIServiceOptionsCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIBoolean * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSArray *)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIExtensionFieldSet *)component4 __attribute__((swift_name("component4()"))); +- (PAPIServiceOptions *)doCopyDeprecated:(PAPIBoolean * _Nullable)deprecated uninterpretedOption:(NSArray *)uninterpretedOption unknownFields:(NSDictionary *)unknownFields extensionFields:(PAPIExtensionFieldSet *)extensionFields __attribute__((swift_name("doCopy(deprecated:uninterpretedOption:unknownFields:extensionFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIServiceOptions *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIBoolean * _Nullable deprecated __attribute__((swift_name("deprecated"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIExtensionFieldSet *extensionFields __attribute__((swift_name("extensionFields"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSArray *uninterpretedOption __attribute__((swift_name("uninterpretedOption"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ServiceOptions.Companion"))) +@interface PAPIServiceOptionsCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIServiceOptionsCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIServiceOptions *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIServiceOptions *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SourceCodeInfo"))) +@interface PAPISourceCodeInfo : PAPIBase +- (instancetype)initWithLocation:(NSArray *)location unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(location:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPISourceCodeInfoCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPISourceCodeInfo *)doCopyLocation:(NSArray *)location unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(location:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPISourceCodeInfo *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSArray *location __attribute__((swift_name("location"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SourceCodeInfo.Companion"))) +@interface PAPISourceCodeInfoCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPISourceCodeInfoCompanion *shared __attribute__((swift_name("shared"))); +- (PAPISourceCodeInfo *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPISourceCodeInfo *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SourceCodeInfo.Location"))) +@interface PAPISourceCodeInfoLocation : PAPIBase +- (instancetype)initWithPath:(NSArray *)path span:(NSArray *)span leadingComments:(NSString * _Nullable)leadingComments trailingComments:(NSString * _Nullable)trailingComments leadingDetachedComments:(NSArray *)leadingDetachedComments unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(path:span:leadingComments:trailingComments:leadingDetachedComments:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPISourceCodeInfoLocationCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSArray *)component2 __attribute__((swift_name("component2()"))); +- (NSString * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (NSString * _Nullable)component4 __attribute__((swift_name("component4()"))); +- (NSArray *)component5 __attribute__((swift_name("component5()"))); +- (NSDictionary *)component6 __attribute__((swift_name("component6()"))); +- (PAPISourceCodeInfoLocation *)doCopyPath:(NSArray *)path span:(NSArray *)span leadingComments:(NSString * _Nullable)leadingComments trailingComments:(NSString * _Nullable)trailingComments leadingDetachedComments:(NSArray *)leadingDetachedComments unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(path:span:leadingComments:trailingComments:leadingDetachedComments:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPISourceCodeInfoLocation *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString * _Nullable leadingComments __attribute__((swift_name("leadingComments"))); +@property (readonly) NSArray *leadingDetachedComments __attribute__((swift_name("leadingDetachedComments"))); +@property (readonly) NSArray *path __attribute__((swift_name("path"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSArray *span __attribute__((swift_name("span"))); +@property (readonly) NSString * _Nullable trailingComments __attribute__((swift_name("trailingComments"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SourceCodeInfo.LocationCompanion"))) +@interface PAPISourceCodeInfoLocationCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPISourceCodeInfoLocationCompanion *shared __attribute__((swift_name("shared"))); +- (PAPISourceCodeInfoLocation *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPISourceCodeInfoLocation *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SourceContext"))) +@interface PAPISourceContext : PAPIBase +- (instancetype)initWithFileName:(NSString *)fileName unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(fileName:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPISourceContextCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPISourceContext *)doCopyFileName:(NSString *)fileName unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(fileName:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPISourceContext *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *fileName __attribute__((swift_name("fileName"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SourceContext.Companion"))) +@interface PAPISourceContextCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPISourceContextCompanion *shared __attribute__((swift_name("shared"))); +- (PAPISourceContext *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPISourceContext *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("StringValue"))) +@interface PAPIStringValue : PAPIBase +- (instancetype)initWithValue:(NSString *)value unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(value:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIStringValueCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIStringValue *)doCopyValue:(NSString *)value unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(value:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIStringValue *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@property (readonly) NSString *value __attribute__((swift_name("value"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("StringValue.Companion"))) +@interface PAPIStringValueCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIStringValueCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIStringValue *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIStringValue *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Struct"))) +@interface PAPIStruct : PAPIBase +- (instancetype)initWithFields:(NSDictionary *)fields unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(fields:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIStructCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIStruct *)doCopyFields:(NSDictionary *)fields unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(fields:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIStruct *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSDictionary *fields __attribute__((swift_name("fields"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Struct.Companion"))) +@interface PAPIStructCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIStructCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIStruct *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIStruct *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("KotlinMapEntry"))) +@protocol PAPIKotlinMapEntry +@required +@property (readonly) id _Nullable key __attribute__((swift_name("key"))); +@property (readonly) id _Nullable value __attribute__((swift_name("value"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Struct.FieldsEntry"))) +@interface PAPIStructFieldsEntry : PAPIBase +- (instancetype)initWithKey:(NSString *)key value:(PAPIValue * _Nullable)value unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(key:value:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIStructFieldsEntryCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIValue * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIStructFieldsEntry *)doCopyKey:(NSString *)key value:(PAPIValue * _Nullable)value unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(key:value:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIStructFieldsEntry *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *key __attribute__((swift_name("key"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@property (readonly) PAPIValue * _Nullable value __attribute__((swift_name("value"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Struct.FieldsEntryCompanion"))) +@interface PAPIStructFieldsEntryCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIStructFieldsEntryCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIStructFieldsEntry *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIStructFieldsEntry *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("Syntax"))) +@interface PAPISyntax : PAPIBase +@property (class, readonly, getter=companion) PAPISyntaxCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly, getter=name_) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) int32_t value_ __attribute__((swift_name("value_"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Syntax.Companion"))) +@interface PAPISyntaxCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPISyntaxCompanion *shared __attribute__((swift_name("shared"))); +- (PAPISyntax *)fromNameName:(NSString *)name __attribute__((swift_name("fromName(name:)"))); +- (PAPISyntax *)fromValueValue:(int32_t)value __attribute__((swift_name("fromValue(value:)"))); +@property (readonly) NSArray *values __attribute__((swift_name("values"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Syntax.PROTO2"))) +@interface PAPISyntaxPROTO2 : PAPISyntax ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)pROTO2 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPISyntaxPROTO2 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Syntax.PROTO3"))) +@interface PAPISyntaxPROTO3 : PAPISyntax ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)pROTO3 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPISyntaxPROTO3 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Syntax.UNRECOGNIZED"))) +@interface PAPISyntaxUNRECOGNIZED : PAPISyntax +- (instancetype)initWithValue:(int32_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Timestamp"))) +@interface PAPITimestamp : PAPIBase +- (instancetype)initWithSeconds:(int64_t)seconds nanos:(int32_t)nanos unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(seconds:nanos:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPITimestampCompanion *companion __attribute__((swift_name("companion"))); +- (int64_t)component1 __attribute__((swift_name("component1()"))); +- (int32_t)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPITimestamp *)doCopySeconds:(int64_t)seconds nanos:(int32_t)nanos unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(seconds:nanos:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPITimestamp *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t nanos __attribute__((swift_name("nanos"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) int64_t seconds __attribute__((swift_name("seconds"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Timestamp.Companion"))) +@interface PAPITimestampCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPITimestampCompanion *shared __attribute__((swift_name("shared"))); +- (PAPITimestamp *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPITimestamp *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Type"))) +@interface PAPIType : PAPIBase +- (instancetype)initWithName:(NSString *)name fields:(NSArray *)fields oneofs:(NSArray *)oneofs options:(NSArray *)options sourceContext:(PAPISourceContext * _Nullable)sourceContext syntax:(PAPISyntax *)syntax unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(name:fields:oneofs:options:sourceContext:syntax:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPITypeCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSArray *)component2 __attribute__((swift_name("component2()"))); +- (NSArray *)component3 __attribute__((swift_name("component3()"))); +- (NSArray *)component4 __attribute__((swift_name("component4()"))); +- (PAPISourceContext * _Nullable)component5 __attribute__((swift_name("component5()"))); +- (PAPISyntax *)component6 __attribute__((swift_name("component6()"))); +- (NSDictionary *)component7 __attribute__((swift_name("component7()"))); +- (PAPIType *)doCopyName:(NSString *)name fields:(NSArray *)fields oneofs:(NSArray *)oneofs options:(NSArray *)options sourceContext:(PAPISourceContext * _Nullable)sourceContext syntax:(PAPISyntax *)syntax unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(name:fields:oneofs:options:sourceContext:syntax:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIType *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSArray *fields __attribute__((swift_name("fields"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) NSArray *oneofs __attribute__((swift_name("oneofs"))); +@property (readonly) NSArray *options __attribute__((swift_name("options"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPISourceContext * _Nullable sourceContext __attribute__((swift_name("sourceContext"))); +@property (readonly) PAPISyntax *syntax __attribute__((swift_name("syntax"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Type.Companion"))) +@interface PAPITypeCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPITypeCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIType *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIType *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UInt32Value"))) +@interface PAPIUInt32Value : PAPIBase +- (instancetype)initWithValue:(int32_t)value unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(value:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIUInt32ValueCompanion *companion __attribute__((swift_name("companion"))); +- (int32_t)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIUInt32Value *)doCopyValue:(int32_t)value unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(value:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIUInt32Value *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@property (readonly) int32_t value __attribute__((swift_name("value"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UInt32Value.Companion"))) +@interface PAPIUInt32ValueCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIUInt32ValueCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIUInt32Value *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIUInt32Value *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UInt64Value"))) +@interface PAPIUInt64Value : PAPIBase +- (instancetype)initWithValue:(int64_t)value unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(value:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIUInt64ValueCompanion *companion __attribute__((swift_name("companion"))); +- (int64_t)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIUInt64Value *)doCopyValue:(int64_t)value unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(value:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIUInt64Value *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@property (readonly) int64_t value __attribute__((swift_name("value"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UInt64Value.Companion"))) +@interface PAPIUInt64ValueCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIUInt64ValueCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIUInt64Value *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIUInt64Value *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UninterpretedOption"))) +@interface PAPIUninterpretedOption : PAPIBase +- (instancetype)initWithName:(NSArray *)name identifierValue:(NSString * _Nullable)identifierValue positiveIntValue:(PAPILong * _Nullable)positiveIntValue negativeIntValue:(PAPILong * _Nullable)negativeIntValue doubleValue:(PAPIDouble * _Nullable)doubleValue stringValue:(PAPIByteArr * _Nullable)stringValue aggregateValue:(NSString * _Nullable)aggregateValue unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(name:identifierValue:positiveIntValue:negativeIntValue:doubleValue:stringValue:aggregateValue:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIUninterpretedOptionCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSString * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (PAPILong * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (PAPILong * _Nullable)component4 __attribute__((swift_name("component4()"))); +- (PAPIDouble * _Nullable)component5 __attribute__((swift_name("component5()"))); +- (PAPIByteArr * _Nullable)component6 __attribute__((swift_name("component6()"))); +- (NSString * _Nullable)component7 __attribute__((swift_name("component7()"))); +- (NSDictionary *)component8 __attribute__((swift_name("component8()"))); +- (PAPIUninterpretedOption *)doCopyName:(NSArray *)name identifierValue:(NSString * _Nullable)identifierValue positiveIntValue:(PAPILong * _Nullable)positiveIntValue negativeIntValue:(PAPILong * _Nullable)negativeIntValue doubleValue:(PAPIDouble * _Nullable)doubleValue stringValue:(PAPIByteArr * _Nullable)stringValue aggregateValue:(NSString * _Nullable)aggregateValue unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(name:identifierValue:positiveIntValue:negativeIntValue:doubleValue:stringValue:aggregateValue:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIUninterpretedOption *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString * _Nullable aggregateValue __attribute__((swift_name("aggregateValue"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIDouble * _Nullable doubleValue __attribute__((swift_name("doubleValue"))); +@property (readonly) NSString * _Nullable identifierValue __attribute__((swift_name("identifierValue"))); +@property (readonly) NSArray *name __attribute__((swift_name("name"))); +@property (readonly) PAPILong * _Nullable negativeIntValue __attribute__((swift_name("negativeIntValue"))); +@property (readonly) PAPILong * _Nullable positiveIntValue __attribute__((swift_name("positiveIntValue"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPIByteArr * _Nullable stringValue __attribute__((swift_name("stringValue"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UninterpretedOption.Companion"))) +@interface PAPIUninterpretedOptionCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIUninterpretedOptionCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIUninterpretedOption *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIUninterpretedOption *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UninterpretedOption.NamePart"))) +@interface PAPIUninterpretedOptionNamePart : PAPIBase +- (instancetype)initWithNamePart:(NSString *)namePart isExtension:(BOOL)isExtension unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(namePart:isExtension:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIUninterpretedOptionNamePartCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (BOOL)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIUninterpretedOptionNamePart *)doCopyNamePart:(NSString *)namePart isExtension:(BOOL)isExtension unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(namePart:isExtension:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIUninterpretedOptionNamePart *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) BOOL isExtension __attribute__((swift_name("isExtension"))); +@property (readonly) NSString *namePart __attribute__((swift_name("namePart"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UninterpretedOption.NamePartCompanion"))) +@interface PAPIUninterpretedOptionNamePartCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIUninterpretedOptionNamePartCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIUninterpretedOptionNamePart *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIUninterpretedOptionNamePart *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Value"))) +@interface PAPIValue : PAPIBase +- (instancetype)initWithKind:(PAPIValueKind * _Nullable)kind unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(kind:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIValueCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIValueKind * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIValue *)doCopyKind:(PAPIValueKind * _Nullable)kind unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(kind:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIValue *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIBoolean * _Nullable boolValue __attribute__((swift_name("boolValue"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIValueKind * _Nullable kind __attribute__((swift_name("kind"))); +@property (readonly) PAPIListValue * _Nullable listValue __attribute__((swift_name("listValue"))); +@property (readonly) PAPINullValue * _Nullable nullValue __attribute__((swift_name("nullValue"))); +@property (readonly) PAPIDouble * _Nullable numberValue __attribute__((swift_name("numberValue"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSString * _Nullable stringValue __attribute__((swift_name("stringValue"))); +@property (readonly) PAPIStruct * _Nullable structValue __attribute__((swift_name("structValue"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Value.Companion"))) +@interface PAPIValueCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIValueCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIValue *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIValue *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("ValueKind"))) +@interface PAPIValueKind : PAPIMessageOneOf +- (instancetype)initWithValue:(id _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ValueKindBoolValue"))) +@interface PAPIValueKindBoolValue : PAPIValueKind +- (instancetype)initWithBoolValue:(BOOL)boolValue __attribute__((swift_name("init(boolValue:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ValueKindListValue"))) +@interface PAPIValueKindListValue : PAPIValueKind +- (instancetype)initWithListValue:(PAPIListValue *)listValue __attribute__((swift_name("init(listValue:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ValueKindNullValue"))) +@interface PAPIValueKindNullValue : PAPIValueKind +- (instancetype)initWithNullValue:(PAPINullValue *)nullValue __attribute__((swift_name("init(nullValue:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ValueKindNumberValue"))) +@interface PAPIValueKindNumberValue : PAPIValueKind +- (instancetype)initWithNumberValue:(double)numberValue __attribute__((swift_name("init(numberValue:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ValueKindStringValue"))) +@interface PAPIValueKindStringValue : PAPIValueKind +- (instancetype)initWithStringValue:(NSString *)stringValue __attribute__((swift_name("init(stringValue:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ValueKindStructValue"))) +@interface PAPIValueKindStructValue : PAPIValueKind +- (instancetype)initWithStructValue:(PAPIStruct *)structValue __attribute__((swift_name("init(structValue:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((swift_name("Clock"))) +@protocol PAPIClock +@required +- (PAPIInstant *)now __attribute__((swift_name("now()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ClockCompanion"))) +@interface PAPIClockCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIClockCompanion *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ClockSystem"))) +@interface PAPIClockSystem : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)system __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIClockSystem *shared __attribute__((swift_name("shared"))); +- (PAPIInstant *)now __attribute__((swift_name("now()"))); +@end; + +__attribute__((swift_name("DateTimePeriod"))) +@interface PAPIDateTimePeriod : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +@property (class, readonly, getter=companion) PAPIDateTimePeriodCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) int32_t days __attribute__((swift_name("days"))); +@property (readonly) int32_t hours __attribute__((swift_name("hours"))); +@property (readonly) int32_t minutes __attribute__((swift_name("minutes"))); +@property (readonly) int32_t months __attribute__((swift_name("months"))); +@property (readonly) int32_t nanoseconds __attribute__((swift_name("nanoseconds"))); +@property (readonly) int32_t seconds __attribute__((swift_name("seconds"))); +@property (readonly) int32_t years __attribute__((swift_name("years"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DatePeriod"))) +@interface PAPIDatePeriod : PAPIDateTimePeriod +- (instancetype)initWithYears:(int32_t)years months:(int32_t)months days:(int32_t)days __attribute__((swift_name("init(years:months:days:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +@property (class, readonly, getter=companion) PAPIDatePeriodCompanion *companion __attribute__((swift_name("companion"))); +@property (readonly) int32_t days __attribute__((swift_name("days"))); +@property (readonly) int32_t hours __attribute__((swift_name("hours"))); +@property (readonly) int32_t minutes __attribute__((swift_name("minutes"))); +@property (readonly) int32_t nanoseconds __attribute__((swift_name("nanoseconds"))); +@property (readonly) int32_t seconds __attribute__((swift_name("seconds"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DatePeriod.Companion"))) +@interface PAPIDatePeriodCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDatePeriodCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIDatePeriod *)parseText:(NSString *)text __attribute__((swift_name("parse(text:)"))); +- (id)serializer __attribute__((swift_name("serializer()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DateTimeArithmeticException"))) +@interface PAPIDateTimeArithmeticException : PAPIKotlinRuntimeException +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (instancetype)initWithMessage:(NSString *)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithCause:(PAPIKotlinThrowable *)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithMessage:(NSString *)message cause:(PAPIKotlinThrowable *)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DateTimePeriod.Companion"))) +@interface PAPIDateTimePeriodCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDateTimePeriodCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIDateTimePeriod *)parseText:(NSString *)text __attribute__((swift_name("parse(text:)"))); +- (id)serializer __attribute__((swift_name("serializer()"))); +@end; + +__attribute__((swift_name("DateTimeUnit"))) +@interface PAPIDateTimeUnit : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +@property (class, readonly, getter=companion) PAPIDateTimeUnitCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)formatToStringValue:(int32_t)value unit:(NSString *)unit __attribute__((swift_name("formatToString(value:unit:)"))); +- (NSString *)formatToStringValue:(int64_t)value unit_:(NSString *)unit __attribute__((swift_name("formatToString(value:unit_:)"))); +- (PAPIDateTimeUnit *)timesScalar:(int32_t)scalar __attribute__((swift_name("times(scalar:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DateTimeUnit.Companion"))) +@interface PAPIDateTimeUnitCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDateTimeUnitCompanion *shared __attribute__((swift_name("shared"))); +- (id)serializer __attribute__((swift_name("serializer()"))); +@property (readonly) PAPIDateTimeUnitDateBasedMonthBased *CENTURY __attribute__((swift_name("CENTURY"))); +@property (readonly) PAPIDateTimeUnitDateBasedDayBased *DAY __attribute__((swift_name("DAY"))); +@property (readonly) PAPIDateTimeUnitTimeBased *HOUR __attribute__((swift_name("HOUR"))); +@property (readonly) PAPIDateTimeUnitTimeBased *MICROSECOND __attribute__((swift_name("MICROSECOND"))); +@property (readonly) PAPIDateTimeUnitTimeBased *MILLISECOND __attribute__((swift_name("MILLISECOND"))); +@property (readonly) PAPIDateTimeUnitTimeBased *MINUTE __attribute__((swift_name("MINUTE"))); +@property (readonly) PAPIDateTimeUnitDateBasedMonthBased *MONTH __attribute__((swift_name("MONTH"))); +@property (readonly) PAPIDateTimeUnitTimeBased *NANOSECOND __attribute__((swift_name("NANOSECOND"))); +@property (readonly) PAPIDateTimeUnitDateBasedMonthBased *QUARTER __attribute__((swift_name("QUARTER"))); +@property (readonly) PAPIDateTimeUnitTimeBased *SECOND __attribute__((swift_name("SECOND"))); +@property (readonly) PAPIDateTimeUnitDateBasedDayBased *WEEK __attribute__((swift_name("WEEK"))); +@property (readonly) PAPIDateTimeUnitDateBasedMonthBased *YEAR __attribute__((swift_name("YEAR"))); +@end; + +__attribute__((swift_name("DateTimeUnit.DateBased"))) +@interface PAPIDateTimeUnitDateBased : PAPIDateTimeUnit +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +@property (class, readonly, getter=companion) PAPIDateTimeUnitDateBasedCompanion *companion __attribute__((swift_name("companion"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DateTimeUnit.DateBasedCompanion"))) +@interface PAPIDateTimeUnitDateBasedCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDateTimeUnitDateBasedCompanion *shared __attribute__((swift_name("shared"))); +- (id)serializer __attribute__((swift_name("serializer()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DateTimeUnit.DateBasedDayBased"))) +@interface PAPIDateTimeUnitDateBasedDayBased : PAPIDateTimeUnitDateBased +- (instancetype)initWithDays:(int32_t)days __attribute__((swift_name("init(days:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +@property (class, readonly, getter=companion) PAPIDateTimeUnitDateBasedDayBasedCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIDateTimeUnitDateBasedDayBased *)timesScalar:(int32_t)scalar __attribute__((swift_name("times(scalar:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) int32_t days __attribute__((swift_name("days"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DateTimeUnit.DateBasedDayBasedCompanion"))) +@interface PAPIDateTimeUnitDateBasedDayBasedCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDateTimeUnitDateBasedDayBasedCompanion *shared __attribute__((swift_name("shared"))); +- (id)serializer __attribute__((swift_name("serializer()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DateTimeUnit.DateBasedMonthBased"))) +@interface PAPIDateTimeUnitDateBasedMonthBased : PAPIDateTimeUnitDateBased +- (instancetype)initWithMonths:(int32_t)months __attribute__((swift_name("init(months:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +@property (class, readonly, getter=companion) PAPIDateTimeUnitDateBasedMonthBasedCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIDateTimeUnitDateBasedMonthBased *)timesScalar:(int32_t)scalar __attribute__((swift_name("times(scalar:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) int32_t months __attribute__((swift_name("months"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DateTimeUnit.DateBasedMonthBasedCompanion"))) +@interface PAPIDateTimeUnitDateBasedMonthBasedCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDateTimeUnitDateBasedMonthBasedCompanion *shared __attribute__((swift_name("shared"))); +- (id)serializer __attribute__((swift_name("serializer()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DateTimeUnit.TimeBased"))) +@interface PAPIDateTimeUnitTimeBased : PAPIDateTimeUnit +- (instancetype)initWithNanoseconds:(int64_t)nanoseconds __attribute__((swift_name("init(nanoseconds:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +@property (class, readonly, getter=companion) PAPIDateTimeUnitTimeBasedCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIDateTimeUnitTimeBased *)timesScalar:(int32_t)scalar __attribute__((swift_name("times(scalar:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) int64_t duration __attribute__((swift_name("duration"))); +@property (readonly) int64_t nanoseconds __attribute__((swift_name("nanoseconds"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DateTimeUnit.TimeBasedCompanion"))) +@interface PAPIDateTimeUnitTimeBasedCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDateTimeUnitTimeBasedCompanion *shared __attribute__((swift_name("shared"))); +- (id)serializer __attribute__((swift_name("serializer()"))); +@end; + +__attribute__((swift_name("KotlinComparable"))) +@protocol PAPIKotlinComparable +@required +- (int32_t)compareToOther:(id _Nullable)other __attribute__((swift_name("compareTo(other:)"))); +@end; + +__attribute__((swift_name("KotlinEnum"))) +@interface PAPIKotlinEnum : PAPIBase +- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIKotlinEnumCompanion *companion __attribute__((swift_name("companion"))); +- (int32_t)compareToOther:(E)other __attribute__((swift_name("compareTo(other:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) int32_t ordinal __attribute__((swift_name("ordinal"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DayOfWeek"))) +@interface PAPIDayOfWeek : PAPIKotlinEnum ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@property (class, readonly) PAPIDayOfWeek *monday __attribute__((swift_name("monday"))); +@property (class, readonly) PAPIDayOfWeek *tuesday __attribute__((swift_name("tuesday"))); +@property (class, readonly) PAPIDayOfWeek *wednesday __attribute__((swift_name("wednesday"))); +@property (class, readonly) PAPIDayOfWeek *thursday __attribute__((swift_name("thursday"))); +@property (class, readonly) PAPIDayOfWeek *friday __attribute__((swift_name("friday"))); +@property (class, readonly) PAPIDayOfWeek *saturday __attribute__((swift_name("saturday"))); +@property (class, readonly) PAPIDayOfWeek *sunday __attribute__((swift_name("sunday"))); ++ (PAPIKotlinArray *)values __attribute__((swift_name("values()"))); +@end; + +__attribute__((swift_name("KotlinIllegalArgumentException"))) +@interface PAPIKotlinIllegalArgumentException : PAPIKotlinRuntimeException +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("IllegalTimeZoneException"))) +@interface PAPIIllegalTimeZoneException : PAPIKotlinIllegalArgumentException +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (instancetype)initWithMessage:(NSString *)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithCause:(PAPIKotlinThrowable *)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithMessage:(NSString *)message cause:(PAPIKotlinThrowable *)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Instant"))) +@interface PAPIInstant : PAPIBase +@property (class, readonly, getter=companion) PAPIInstantCompanion *companion __attribute__((swift_name("companion"))); +- (int32_t)compareToOther:(PAPIInstant *)other __attribute__((swift_name("compareTo(other:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIInstant *)minusDuration:(int64_t)duration __attribute__((swift_name("minus(duration:)"))); +- (int64_t)minusOther:(PAPIInstant *)other __attribute__((swift_name("minus(other:)"))); +- (PAPIInstant *)plusDuration:(int64_t)duration __attribute__((swift_name("plus(duration:)"))); +- (int64_t)toEpochMilliseconds __attribute__((swift_name("toEpochMilliseconds()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) int64_t epochSeconds __attribute__((swift_name("epochSeconds"))); +@property (readonly) int32_t nanosecondsOfSecond __attribute__((swift_name("nanosecondsOfSecond"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Instant.Companion"))) +@interface PAPIInstantCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIInstantCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIInstant *)fromEpochMillisecondsEpochMilliseconds:(int64_t)epochMilliseconds __attribute__((swift_name("fromEpochMilliseconds(epochMilliseconds:)"))); +- (PAPIInstant *)fromEpochSecondsEpochSeconds:(int64_t)epochSeconds nanosecondAdjustment:(int32_t)nanosecondAdjustment __attribute__((swift_name("fromEpochSeconds(epochSeconds:nanosecondAdjustment:)"))); +- (PAPIInstant *)fromEpochSecondsEpochSeconds:(int64_t)epochSeconds nanosecondAdjustment_:(int64_t)nanosecondAdjustment __attribute__((swift_name("fromEpochSeconds(epochSeconds:nanosecondAdjustment_:)"))); +- (PAPIInstant *)now __attribute__((swift_name("now()"))) __attribute__((unavailable("Use Clock.System.now() instead"))); +- (PAPIInstant *)parseIsoString:(NSString *)isoString __attribute__((swift_name("parse(isoString:)"))); +- (id)serializer __attribute__((swift_name("serializer()"))); +@property (readonly) PAPIInstant *DISTANT_FUTURE __attribute__((swift_name("DISTANT_FUTURE"))); +@property (readonly) PAPIInstant *DISTANT_PAST __attribute__((swift_name("DISTANT_PAST"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("LocalDate"))) +@interface PAPILocalDate : PAPIBase +- (instancetype)initWithYear:(int32_t)year month:(PAPIMonth *)month dayOfMonth:(int32_t)dayOfMonth __attribute__((swift_name("init(year:month:dayOfMonth:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithYear:(int32_t)year monthNumber:(int32_t)monthNumber dayOfMonth:(int32_t)dayOfMonth __attribute__((swift_name("init(year:monthNumber:dayOfMonth:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPILocalDateCompanion *companion __attribute__((swift_name("companion"))); +- (int32_t)compareToOther:(PAPILocalDate *)other __attribute__((swift_name("compareTo(other:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) int32_t dayOfMonth __attribute__((swift_name("dayOfMonth"))); +@property (readonly) PAPIDayOfWeek *dayOfWeek __attribute__((swift_name("dayOfWeek"))); +@property (readonly) int32_t dayOfYear __attribute__((swift_name("dayOfYear"))); +@property (readonly) PAPIMonth *month __attribute__((swift_name("month"))); +@property (readonly) int32_t monthNumber __attribute__((swift_name("monthNumber"))); +@property (readonly) int32_t year __attribute__((swift_name("year"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("LocalDate.Companion"))) +@interface PAPILocalDateCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPILocalDateCompanion *shared __attribute__((swift_name("shared"))); +- (PAPILocalDate *)parseIsoString:(NSString *)isoString __attribute__((swift_name("parse(isoString:)"))); +- (id)serializer __attribute__((swift_name("serializer()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("LocalDateTime"))) +@interface PAPILocalDateTime : PAPIBase +- (instancetype)initWithYear:(int32_t)year monthNumber:(int32_t)monthNumber dayOfMonth:(int32_t)dayOfMonth hour:(int32_t)hour minute:(int32_t)minute second:(int32_t)second nanosecond:(int32_t)nanosecond __attribute__((swift_name("init(year:monthNumber:dayOfMonth:hour:minute:second:nanosecond:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithYear:(int32_t)year month:(PAPIMonth *)month dayOfMonth:(int32_t)dayOfMonth hour:(int32_t)hour minute:(int32_t)minute second:(int32_t)second nanosecond:(int32_t)nanosecond __attribute__((swift_name("init(year:month:dayOfMonth:hour:minute:second:nanosecond:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPILocalDateTimeCompanion *companion __attribute__((swift_name("companion"))); +- (int32_t)compareToOther:(PAPILocalDateTime *)other __attribute__((swift_name("compareTo(other:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPILocalDate *date __attribute__((swift_name("date"))); +@property (readonly) int32_t dayOfMonth __attribute__((swift_name("dayOfMonth"))); +@property (readonly) PAPIDayOfWeek *dayOfWeek __attribute__((swift_name("dayOfWeek"))); +@property (readonly) int32_t dayOfYear __attribute__((swift_name("dayOfYear"))); +@property (readonly) int32_t hour __attribute__((swift_name("hour"))); +@property (readonly) int32_t minute __attribute__((swift_name("minute"))); +@property (readonly) PAPIMonth *month __attribute__((swift_name("month"))); +@property (readonly) int32_t monthNumber __attribute__((swift_name("monthNumber"))); +@property (readonly) int32_t nanosecond __attribute__((swift_name("nanosecond"))); +@property (readonly) int32_t second __attribute__((swift_name("second"))); +@property (readonly) int32_t year __attribute__((swift_name("year"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("LocalDateTime.Companion"))) +@interface PAPILocalDateTimeCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPILocalDateTimeCompanion *shared __attribute__((swift_name("shared"))); +- (PAPILocalDateTime *)parseIsoString:(NSString *)isoString __attribute__((swift_name("parse(isoString:)"))); +- (id)serializer __attribute__((swift_name("serializer()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Month"))) +@interface PAPIMonth : PAPIKotlinEnum ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@property (class, readonly) PAPIMonth *january __attribute__((swift_name("january"))); +@property (class, readonly) PAPIMonth *february __attribute__((swift_name("february"))); +@property (class, readonly) PAPIMonth *march __attribute__((swift_name("march"))); +@property (class, readonly) PAPIMonth *april __attribute__((swift_name("april"))); +@property (class, readonly) PAPIMonth *may __attribute__((swift_name("may"))); +@property (class, readonly) PAPIMonth *june __attribute__((swift_name("june"))); +@property (class, readonly) PAPIMonth *july __attribute__((swift_name("july"))); +@property (class, readonly) PAPIMonth *august __attribute__((swift_name("august"))); +@property (class, readonly) PAPIMonth *september __attribute__((swift_name("september"))); +@property (class, readonly) PAPIMonth *october __attribute__((swift_name("october"))); +@property (class, readonly) PAPIMonth *november __attribute__((swift_name("november"))); +@property (class, readonly) PAPIMonth *december __attribute__((swift_name("december"))); ++ (PAPIKotlinArray *)values __attribute__((swift_name("values()"))); +@end; + +__attribute__((swift_name("TimeZone"))) +@interface PAPITimeZone : PAPIBase +@property (class, readonly, getter=companion) PAPITimeZoneCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +- (PAPIInstant *)toInstant:(PAPILocalDateTime *)receiver __attribute__((swift_name("toInstant(_:)"))); +- (PAPILocalDateTime *)toLocalDateTime:(PAPIInstant *)receiver __attribute__((swift_name("toLocalDateTime(_:)"))); +@property (readonly) NSString *id __attribute__((swift_name("id"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("TimeZone.Companion"))) +@interface PAPITimeZoneCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPITimeZoneCompanion *shared __attribute__((swift_name("shared"))); +- (PAPITimeZone *)currentSystemDefault __attribute__((swift_name("currentSystemDefault()"))); +- (PAPITimeZone *)ofZoneId:(NSString *)zoneId __attribute__((swift_name("of(zoneId:)"))); +- (id)serializer __attribute__((swift_name("serializer()"))); +@property (readonly) PAPITimeZone *UTC __attribute__((swift_name("UTC"))); +@property (readonly) NSSet *availableZoneIds __attribute__((swift_name("availableZoneIds"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ZoneOffset"))) +@interface PAPIZoneOffset : PAPITimeZone +@property (class, readonly, getter=companion) PAPIZoneOffsetCompanion *companion __attribute__((swift_name("companion"))); +@property (readonly) int32_t totalSeconds __attribute__((swift_name("totalSeconds"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ZoneOffset.Companion"))) +@interface PAPIZoneOffsetCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIZoneOffsetCompanion *shared __attribute__((swift_name("shared"))); +- (id)serializer __attribute__((swift_name("serializer()"))); +@end; + +__attribute__((swift_name("SerializationStrategy"))) +@protocol PAPISerializationStrategy +@required +- (void)serializeEncoder:(id)encoder value:(id _Nullable)value __attribute__((swift_name("serialize(encoder:value:)"))); +@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("DeserializationStrategy"))) +@protocol PAPIDeserializationStrategy +@required +- (id _Nullable)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); +@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("KSerializer"))) +@protocol PAPIKSerializer +@required +@end; + +__attribute__((swift_name("AbstractPolymorphicSerializer"))) +@interface PAPIAbstractPolymorphicSerializer : PAPIBase +- (T)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); +- (id _Nullable)findPolymorphicSerializerOrNullDecoder:(id)decoder klassName:(NSString * _Nullable)klassName __attribute__((swift_name("findPolymorphicSerializerOrNull(decoder:klassName:)"))); +- (id _Nullable)findPolymorphicSerializerOrNullEncoder:(id)encoder value:(T)value __attribute__((swift_name("findPolymorphicSerializerOrNull(encoder:value:)"))); +- (void)serializeEncoder:(id)encoder value:(T)value __attribute__((swift_name("serialize(encoder:value:)"))); +@property (readonly) id baseClass __attribute__((swift_name("baseClass"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DateBasedDateTimeUnitSerializer"))) +@interface PAPIDateBasedDateTimeUnitSerializer : PAPIAbstractPolymorphicSerializer ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)dateBasedDateTimeUnitSerializer __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDateBasedDateTimeUnitSerializer *shared __attribute__((swift_name("shared"))); +- (id _Nullable)findPolymorphicSerializerOrNullDecoder:(id)decoder klassName:(NSString * _Nullable)klassName __attribute__((swift_name("findPolymorphicSerializerOrNull(decoder:klassName:)"))); +- (id _Nullable)findPolymorphicSerializerOrNullEncoder:(id)encoder value:(PAPIDateTimeUnitDateBased *)value __attribute__((swift_name("findPolymorphicSerializerOrNull(encoder:value:)"))); +@property (readonly) id baseClass __attribute__((swift_name("baseClass"))); +@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DatePeriodComponentSerializer"))) +@interface PAPIDatePeriodComponentSerializer : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)datePeriodComponentSerializer __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDatePeriodComponentSerializer *shared __attribute__((swift_name("shared"))); +- (PAPIDatePeriod *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); +- (void)serializeEncoder:(id)encoder value:(PAPIDatePeriod *)value __attribute__((swift_name("serialize(encoder:value:)"))); +@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DatePeriodIso8601Serializer"))) +@interface PAPIDatePeriodIso8601Serializer : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)datePeriodIso8601Serializer __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDatePeriodIso8601Serializer *shared __attribute__((swift_name("shared"))); +- (PAPIDatePeriod *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); +- (void)serializeEncoder:(id)encoder value:(PAPIDatePeriod *)value __attribute__((swift_name("serialize(encoder:value:)"))); +@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DateTimePeriodComponentSerializer"))) +@interface PAPIDateTimePeriodComponentSerializer : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)dateTimePeriodComponentSerializer __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDateTimePeriodComponentSerializer *shared __attribute__((swift_name("shared"))); +- (PAPIDateTimePeriod *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); +- (void)serializeEncoder:(id)encoder value:(PAPIDateTimePeriod *)value __attribute__((swift_name("serialize(encoder:value:)"))); +@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DateTimePeriodIso8601Serializer"))) +@interface PAPIDateTimePeriodIso8601Serializer : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)dateTimePeriodIso8601Serializer __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDateTimePeriodIso8601Serializer *shared __attribute__((swift_name("shared"))); +- (PAPIDateTimePeriod *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); +- (void)serializeEncoder:(id)encoder value:(PAPIDateTimePeriod *)value __attribute__((swift_name("serialize(encoder:value:)"))); +@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DateTimeUnitSerializer"))) +@interface PAPIDateTimeUnitSerializer : PAPIAbstractPolymorphicSerializer ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)dateTimeUnitSerializer __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDateTimeUnitSerializer *shared __attribute__((swift_name("shared"))); +- (id _Nullable)findPolymorphicSerializerOrNullDecoder:(id)decoder klassName:(NSString * _Nullable)klassName __attribute__((swift_name("findPolymorphicSerializerOrNull(decoder:klassName:)"))); +- (id _Nullable)findPolymorphicSerializerOrNullEncoder:(id)encoder value:(PAPIDateTimeUnit *)value __attribute__((swift_name("findPolymorphicSerializerOrNull(encoder:value:)"))); +@property (readonly) id baseClass __attribute__((swift_name("baseClass"))); +@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DayBasedDateTimeUnitSerializer"))) +@interface PAPIDayBasedDateTimeUnitSerializer : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)dayBasedDateTimeUnitSerializer __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDayBasedDateTimeUnitSerializer *shared __attribute__((swift_name("shared"))); +- (PAPIDateTimeUnitDateBasedDayBased *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); +- (void)serializeEncoder:(id)encoder value:(PAPIDateTimeUnitDateBasedDayBased *)value __attribute__((swift_name("serialize(encoder:value:)"))); +@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DayOfWeekSerializer"))) +@interface PAPIDayOfWeekSerializer : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)dayOfWeekSerializer __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDayOfWeekSerializer *shared __attribute__((swift_name("shared"))); +- (PAPIDayOfWeek *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); +- (void)serializeEncoder:(id)encoder value:(PAPIDayOfWeek *)value __attribute__((swift_name("serialize(encoder:value:)"))); +@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("InstantComponentSerializer"))) +@interface PAPIInstantComponentSerializer : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)instantComponentSerializer __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIInstantComponentSerializer *shared __attribute__((swift_name("shared"))); +- (PAPIInstant *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); +- (void)serializeEncoder:(id)encoder value:(PAPIInstant *)value __attribute__((swift_name("serialize(encoder:value:)"))); +@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("InstantIso8601Serializer"))) +@interface PAPIInstantIso8601Serializer : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)instantIso8601Serializer __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIInstantIso8601Serializer *shared __attribute__((swift_name("shared"))); +- (PAPIInstant *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); +- (void)serializeEncoder:(id)encoder value:(PAPIInstant *)value __attribute__((swift_name("serialize(encoder:value:)"))); +@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("LocalDateComponentSerializer"))) +@interface PAPILocalDateComponentSerializer : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)localDateComponentSerializer __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPILocalDateComponentSerializer *shared __attribute__((swift_name("shared"))); +- (PAPILocalDate *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); +- (void)serializeEncoder:(id)encoder value:(PAPILocalDate *)value __attribute__((swift_name("serialize(encoder:value:)"))); +@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("LocalDateIso8601Serializer"))) +@interface PAPILocalDateIso8601Serializer : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)localDateIso8601Serializer __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPILocalDateIso8601Serializer *shared __attribute__((swift_name("shared"))); +- (PAPILocalDate *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); +- (void)serializeEncoder:(id)encoder value:(PAPILocalDate *)value __attribute__((swift_name("serialize(encoder:value:)"))); +@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("LocalDateTimeComponentSerializer"))) +@interface PAPILocalDateTimeComponentSerializer : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)localDateTimeComponentSerializer __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPILocalDateTimeComponentSerializer *shared __attribute__((swift_name("shared"))); +- (PAPILocalDateTime *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); +- (void)serializeEncoder:(id)encoder value:(PAPILocalDateTime *)value __attribute__((swift_name("serialize(encoder:value:)"))); +@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("LocalDateTimeIso8601Serializer"))) +@interface PAPILocalDateTimeIso8601Serializer : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)localDateTimeIso8601Serializer __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPILocalDateTimeIso8601Serializer *shared __attribute__((swift_name("shared"))); +- (PAPILocalDateTime *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); +- (void)serializeEncoder:(id)encoder value:(PAPILocalDateTime *)value __attribute__((swift_name("serialize(encoder:value:)"))); +@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MonthBasedDateTimeUnitSerializer"))) +@interface PAPIMonthBasedDateTimeUnitSerializer : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)monthBasedDateTimeUnitSerializer __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIMonthBasedDateTimeUnitSerializer *shared __attribute__((swift_name("shared"))); +- (PAPIDateTimeUnitDateBasedMonthBased *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); +- (void)serializeEncoder:(id)encoder value:(PAPIDateTimeUnitDateBasedMonthBased *)value __attribute__((swift_name("serialize(encoder:value:)"))); +@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MonthSerializer"))) +@interface PAPIMonthSerializer : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)monthSerializer __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIMonthSerializer *shared __attribute__((swift_name("shared"))); +- (PAPIMonth *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); +- (void)serializeEncoder:(id)encoder value:(PAPIMonth *)value __attribute__((swift_name("serialize(encoder:value:)"))); +@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("TimeBasedDateTimeUnitSerializer"))) +@interface PAPITimeBasedDateTimeUnitSerializer : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)timeBasedDateTimeUnitSerializer __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPITimeBasedDateTimeUnitSerializer *shared __attribute__((swift_name("shared"))); +- (PAPIDateTimeUnitTimeBased *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); +- (void)serializeEncoder:(id)encoder value:(PAPIDateTimeUnitTimeBased *)value __attribute__((swift_name("serialize(encoder:value:)"))); +@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("TimeZoneSerializer"))) +@interface PAPITimeZoneSerializer : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)timeZoneSerializer __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPITimeZoneSerializer *shared __attribute__((swift_name("shared"))); +- (PAPITimeZone *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); +- (void)serializeEncoder:(id)encoder value:(PAPITimeZone *)value __attribute__((swift_name("serialize(encoder:value:)"))); +@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ZoneOffsetSerializer"))) +@interface PAPIZoneOffsetSerializer : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)zoneOffsetSerializer __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIZoneOffsetSerializer *shared __attribute__((swift_name("shared"))); +- (PAPIZoneOffset *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); +- (void)serializeEncoder:(id)encoder value:(PAPIZoneOffset *)value __attribute__((swift_name("serialize(encoder:value:)"))); +@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Uuid"))) +@interface PAPIUuid : PAPIBase +- (instancetype)initWithMsb:(int64_t)msb lsb:(int64_t)lsb __attribute__((swift_name("init(msb:lsb:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithUuidBytes:(PAPIKotlinByteArray *)uuidBytes __attribute__((swift_name("init(uuidBytes:)"))) __attribute__((objc_designated_initializer)) __attribute__((deprecated("Use `uuidOf` instead."))); +- (int32_t)compareToOther:(PAPIUuid *)other __attribute__((swift_name("compareTo(other:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) int64_t leastSignificantBits __attribute__((swift_name("leastSignificantBits"))); +@property (readonly) int64_t mostSignificantBits __attribute__((swift_name("mostSignificantBits"))); +@end; + +__attribute__((swift_name("UuidHasher"))) +@protocol PAPIUuidHasher +@required +- (PAPIKotlinByteArray *)digest __attribute__((swift_name("digest()"))); +- (void)updateInput:(PAPIKotlinByteArray *)input __attribute__((swift_name("update(input:)"))); +@property (readonly) int32_t version __attribute__((swift_name("version"))); +@end; + +__attribute__((swift_name("SerialFormat"))) +@protocol PAPISerialFormat +@required +@property (readonly) PAPISerializersModule *serializersModule __attribute__((swift_name("serializersModule"))); +@end; + +__attribute__((swift_name("StringFormat"))) +@protocol PAPIStringFormat +@required +- (id _Nullable)decodeFromStringDeserializer:(id)deserializer string:(NSString *)string __attribute__((swift_name("decodeFromString(deserializer:string:)"))); +- (NSString *)encodeToStringSerializer:(id)serializer value:(id _Nullable)value __attribute__((swift_name("encodeToString(serializer:value:)"))); +@end; + +__attribute__((swift_name("Json"))) +@interface PAPIJson : PAPIBase +- (instancetype)initWithConfiguration:(PAPIJsonConfiguration *)configuration serializersModule:(PAPISerializersModule *)serializersModule __attribute__((swift_name("init(configuration:serializersModule:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIJsonDefault *companion __attribute__((swift_name("companion"))); +- (id _Nullable)decodeFromJsonElementDeserializer:(id)deserializer element:(PAPIJsonElement *)element __attribute__((swift_name("decodeFromJsonElement(deserializer:element:)"))); +- (id _Nullable)decodeFromStringDeserializer:(id)deserializer string:(NSString *)string __attribute__((swift_name("decodeFromString(deserializer:string:)"))); +- (PAPIJsonElement *)encodeToJsonElementSerializer:(id)serializer value:(id _Nullable)value __attribute__((swift_name("encodeToJsonElement(serializer:value:)"))); +- (NSString *)encodeToStringSerializer:(id)serializer value:(id _Nullable)value __attribute__((swift_name("encodeToString(serializer:value:)"))); +- (PAPIJsonElement *)parseToJsonElementString:(NSString *)string __attribute__((swift_name("parseToJsonElement(string:)"))); +@property (readonly) PAPIJsonConfiguration *configuration __attribute__((swift_name("configuration"))); +@property (readonly) PAPISerializersModule *serializersModule __attribute__((swift_name("serializersModule"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Json.Default"))) +@interface PAPIJsonDefault : PAPIJson ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithConfiguration:(PAPIJsonConfiguration *)configuration serializersModule:(PAPISerializersModule *)serializersModule __attribute__((swift_name("init(configuration:serializersModule:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)default_ __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIJsonDefault *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((unavailable("can't be imported"))) +__attribute__((swift_name("JsonArray"))) +@interface PAPIJsonArray : NSObject +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("JsonArrayBuilder"))) +@interface PAPIJsonArrayBuilder : PAPIBase +- (BOOL)addElement:(PAPIJsonElement *)element __attribute__((swift_name("add(element:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("JsonBuilder"))) +@interface PAPIJsonBuilder : PAPIBase +@property BOOL allowSpecialFloatingPointValues __attribute__((swift_name("allowSpecialFloatingPointValues"))); +@property BOOL allowStructuredMapKeys __attribute__((swift_name("allowStructuredMapKeys"))); +@property NSString *classDiscriminator __attribute__((swift_name("classDiscriminator"))); +@property BOOL coerceInputValues __attribute__((swift_name("coerceInputValues"))); +@property BOOL encodeDefaults __attribute__((swift_name("encodeDefaults"))); +@property BOOL explicitNulls __attribute__((swift_name("explicitNulls"))); +@property BOOL ignoreUnknownKeys __attribute__((swift_name("ignoreUnknownKeys"))); +@property BOOL isLenient __attribute__((swift_name("isLenient"))); +@property BOOL prettyPrint __attribute__((swift_name("prettyPrint"))); +@property NSString *prettyPrintIndent __attribute__((swift_name("prettyPrintIndent"))); +@property PAPISerializersModule *serializersModule __attribute__((swift_name("serializersModule"))); +@property BOOL useAlternativeNames __attribute__((swift_name("useAlternativeNames"))); +@property BOOL useArrayPolymorphism __attribute__((swift_name("useArrayPolymorphism"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("JsonConfiguration"))) +@interface PAPIJsonConfiguration : PAPIBase +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) BOOL allowSpecialFloatingPointValues __attribute__((swift_name("allowSpecialFloatingPointValues"))); +@property (readonly) BOOL allowStructuredMapKeys __attribute__((swift_name("allowStructuredMapKeys"))); +@property (readonly) NSString *classDiscriminator __attribute__((swift_name("classDiscriminator"))); +@property (readonly) BOOL coerceInputValues __attribute__((swift_name("coerceInputValues"))); +@property (readonly) BOOL encodeDefaults __attribute__((swift_name("encodeDefaults"))); +@property (readonly) BOOL explicitNulls __attribute__((swift_name("explicitNulls"))); +@property (readonly) BOOL ignoreUnknownKeys __attribute__((swift_name("ignoreUnknownKeys"))); +@property (readonly) BOOL isLenient __attribute__((swift_name("isLenient"))); +@property (readonly) BOOL prettyPrint __attribute__((swift_name("prettyPrint"))); +@property (readonly) NSString *prettyPrintIndent __attribute__((swift_name("prettyPrintIndent"))); +@property (readonly) BOOL useAlternativeNames __attribute__((swift_name("useAlternativeNames"))); +@property (readonly) BOOL useArrayPolymorphism __attribute__((swift_name("useArrayPolymorphism"))); +@end; + +__attribute__((swift_name("JsonContentPolymorphicSerializer"))) +@interface PAPIJsonContentPolymorphicSerializer : PAPIBase +- (instancetype)initWithBaseClass:(id)baseClass __attribute__((swift_name("init(baseClass:)"))) __attribute__((objc_designated_initializer)); +- (T)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); +- (id)selectDeserializerElement:(PAPIJsonElement *)element __attribute__((swift_name("selectDeserializer(element:)"))); +- (void)serializeEncoder:(id)encoder value:(T)value __attribute__((swift_name("serialize(encoder:value:)"))); +@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("Decoder"))) +@protocol PAPIDecoder +@required +- (id)beginStructureDescriptor:(id)descriptor __attribute__((swift_name("beginStructure(descriptor:)"))); +- (BOOL)decodeBoolean __attribute__((swift_name("decodeBoolean()"))); +- (int8_t)decodeByte __attribute__((swift_name("decodeByte()"))); +- (unichar)decodeChar __attribute__((swift_name("decodeChar()"))); +- (double)decodeDouble __attribute__((swift_name("decodeDouble()"))); +- (int32_t)decodeEnumEnumDescriptor:(id)enumDescriptor __attribute__((swift_name("decodeEnum(enumDescriptor:)"))); +- (float)decodeFloat __attribute__((swift_name("decodeFloat()"))); +- (id)decodeInlineInlineDescriptor:(id)inlineDescriptor __attribute__((swift_name("decodeInline(inlineDescriptor:)"))); +- (int32_t)decodeInt __attribute__((swift_name("decodeInt()"))); +- (int64_t)decodeLong __attribute__((swift_name("decodeLong()"))); +- (BOOL)decodeNotNullMark __attribute__((swift_name("decodeNotNullMark()"))); +- (PAPIKotlinNothing * _Nullable)decodeNull __attribute__((swift_name("decodeNull()"))); +- (id _Nullable)decodeNullableSerializableValueDeserializer:(id)deserializer __attribute__((swift_name("decodeNullableSerializableValue(deserializer:)"))); +- (id _Nullable)decodeSerializableValueDeserializer:(id)deserializer __attribute__((swift_name("decodeSerializableValue(deserializer:)"))); +- (int16_t)decodeShort __attribute__((swift_name("decodeShort()"))); +- (NSString *)decodeString __attribute__((swift_name("decodeString()"))); +@property (readonly) PAPISerializersModule *serializersModule __attribute__((swift_name("serializersModule"))); +@end; + +__attribute__((swift_name("CompositeDecoder"))) +@protocol PAPICompositeDecoder +@required +- (BOOL)decodeBooleanElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeBooleanElement(descriptor:index:)"))); +- (int8_t)decodeByteElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeByteElement(descriptor:index:)"))); +- (unichar)decodeCharElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeCharElement(descriptor:index:)"))); +- (int32_t)decodeCollectionSizeDescriptor:(id)descriptor __attribute__((swift_name("decodeCollectionSize(descriptor:)"))); +- (double)decodeDoubleElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeDoubleElement(descriptor:index:)"))); +- (int32_t)decodeElementIndexDescriptor:(id)descriptor __attribute__((swift_name("decodeElementIndex(descriptor:)"))); +- (float)decodeFloatElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeFloatElement(descriptor:index:)"))); +- (id)decodeInlineElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeInlineElement(descriptor:index:)"))); +- (int32_t)decodeIntElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeIntElement(descriptor:index:)"))); +- (int64_t)decodeLongElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeLongElement(descriptor:index:)"))); +- (id _Nullable)decodeNullableSerializableElementDescriptor:(id)descriptor index:(int32_t)index deserializer:(id)deserializer previousValue:(id _Nullable)previousValue __attribute__((swift_name("decodeNullableSerializableElement(descriptor:index:deserializer:previousValue:)"))); +- (BOOL)decodeSequentially __attribute__((swift_name("decodeSequentially()"))); +- (id _Nullable)decodeSerializableElementDescriptor:(id)descriptor index:(int32_t)index deserializer:(id)deserializer previousValue:(id _Nullable)previousValue __attribute__((swift_name("decodeSerializableElement(descriptor:index:deserializer:previousValue:)"))); +- (int16_t)decodeShortElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeShortElement(descriptor:index:)"))); +- (NSString *)decodeStringElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeStringElement(descriptor:index:)"))); +- (void)endStructureDescriptor:(id)descriptor __attribute__((swift_name("endStructure(descriptor:)"))); +@property (readonly) PAPISerializersModule *serializersModule __attribute__((swift_name("serializersModule"))); +@end; + +__attribute__((swift_name("JsonDecoder"))) +@protocol PAPIJsonDecoder +@required +- (PAPIJsonElement *)decodeJsonElement __attribute__((swift_name("decodeJsonElement()"))); +@property (readonly) PAPIJson *json __attribute__((swift_name("json"))); +@end; + +__attribute__((swift_name("JsonElement"))) +@interface PAPIJsonElement : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +@property (class, readonly, getter=companion) PAPIJsonElementCompanion *companion __attribute__((swift_name("companion"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("JsonElement.Companion"))) +@interface PAPIJsonElementCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIJsonElementCompanion *shared __attribute__((swift_name("shared"))); +- (id)serializer __attribute__((swift_name("serializer()"))); +@end; + +__attribute__((swift_name("Encoder"))) +@protocol PAPIEncoder +@required +- (id)beginCollectionDescriptor:(id)descriptor collectionSize:(int32_t)collectionSize __attribute__((swift_name("beginCollection(descriptor:collectionSize:)"))); +- (id)beginStructureDescriptor:(id)descriptor __attribute__((swift_name("beginStructure(descriptor:)"))); +- (void)encodeBooleanValue:(BOOL)value __attribute__((swift_name("encodeBoolean(value:)"))); +- (void)encodeByteValue:(int8_t)value __attribute__((swift_name("encodeByte(value:)"))); +- (void)encodeCharValue:(unichar)value __attribute__((swift_name("encodeChar(value:)"))); +- (void)encodeDoubleValue:(double)value __attribute__((swift_name("encodeDouble(value:)"))); +- (void)encodeEnumEnumDescriptor:(id)enumDescriptor index:(int32_t)index __attribute__((swift_name("encodeEnum(enumDescriptor:index:)"))); +- (void)encodeFloatValue:(float)value __attribute__((swift_name("encodeFloat(value:)"))); +- (id)encodeInlineInlineDescriptor:(id)inlineDescriptor __attribute__((swift_name("encodeInline(inlineDescriptor:)"))); +- (void)encodeIntValue:(int32_t)value __attribute__((swift_name("encodeInt(value:)"))); +- (void)encodeLongValue:(int64_t)value __attribute__((swift_name("encodeLong(value:)"))); +- (void)encodeNotNullMark __attribute__((swift_name("encodeNotNullMark()"))); +- (void)encodeNull __attribute__((swift_name("encodeNull()"))); +- (void)encodeNullableSerializableValueSerializer:(id)serializer value:(id _Nullable)value __attribute__((swift_name("encodeNullableSerializableValue(serializer:value:)"))); +- (void)encodeSerializableValueSerializer:(id)serializer value:(id _Nullable)value __attribute__((swift_name("encodeSerializableValue(serializer:value:)"))); +- (void)encodeShortValue:(int16_t)value __attribute__((swift_name("encodeShort(value:)"))); +- (void)encodeStringValue:(NSString *)value __attribute__((swift_name("encodeString(value:)"))); +@property (readonly) PAPISerializersModule *serializersModule __attribute__((swift_name("serializersModule"))); +@end; + +__attribute__((swift_name("CompositeEncoder"))) +@protocol PAPICompositeEncoder +@required +- (void)encodeBooleanElementDescriptor:(id)descriptor index:(int32_t)index value:(BOOL)value __attribute__((swift_name("encodeBooleanElement(descriptor:index:value:)"))); +- (void)encodeByteElementDescriptor:(id)descriptor index:(int32_t)index value:(int8_t)value __attribute__((swift_name("encodeByteElement(descriptor:index:value:)"))); +- (void)encodeCharElementDescriptor:(id)descriptor index:(int32_t)index value:(unichar)value __attribute__((swift_name("encodeCharElement(descriptor:index:value:)"))); +- (void)encodeDoubleElementDescriptor:(id)descriptor index:(int32_t)index value:(double)value __attribute__((swift_name("encodeDoubleElement(descriptor:index:value:)"))); +- (void)encodeFloatElementDescriptor:(id)descriptor index:(int32_t)index value:(float)value __attribute__((swift_name("encodeFloatElement(descriptor:index:value:)"))); +- (id)encodeInlineElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("encodeInlineElement(descriptor:index:)"))); +- (void)encodeIntElementDescriptor:(id)descriptor index:(int32_t)index value:(int32_t)value __attribute__((swift_name("encodeIntElement(descriptor:index:value:)"))); +- (void)encodeLongElementDescriptor:(id)descriptor index:(int32_t)index value:(int64_t)value __attribute__((swift_name("encodeLongElement(descriptor:index:value:)"))); +- (void)encodeNullableSerializableElementDescriptor:(id)descriptor index:(int32_t)index serializer:(id)serializer value:(id _Nullable)value __attribute__((swift_name("encodeNullableSerializableElement(descriptor:index:serializer:value:)"))); +- (void)encodeSerializableElementDescriptor:(id)descriptor index:(int32_t)index serializer:(id)serializer value:(id _Nullable)value __attribute__((swift_name("encodeSerializableElement(descriptor:index:serializer:value:)"))); +- (void)encodeShortElementDescriptor:(id)descriptor index:(int32_t)index value:(int16_t)value __attribute__((swift_name("encodeShortElement(descriptor:index:value:)"))); +- (void)encodeStringElementDescriptor:(id)descriptor index:(int32_t)index value:(NSString *)value __attribute__((swift_name("encodeStringElement(descriptor:index:value:)"))); +- (void)endStructureDescriptor:(id)descriptor __attribute__((swift_name("endStructure(descriptor:)"))); +- (BOOL)shouldEncodeElementDefaultDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("shouldEncodeElementDefault(descriptor:index:)"))); +@property (readonly) PAPISerializersModule *serializersModule __attribute__((swift_name("serializersModule"))); +@end; + +__attribute__((swift_name("JsonEncoder"))) +@protocol PAPIJsonEncoder +@required +- (void)encodeJsonElementElement:(PAPIJsonElement *)element __attribute__((swift_name("encodeJsonElement(element:)"))); +@property (readonly) PAPIJson *json __attribute__((swift_name("json"))); +@end; + +__attribute__((swift_name("JsonPrimitive"))) +@interface PAPIJsonPrimitive : PAPIJsonElement +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +@property (class, readonly, getter=companion) PAPIJsonPrimitiveCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *content __attribute__((swift_name("content"))); +@property (readonly) BOOL isString __attribute__((swift_name("isString"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("JsonNull"))) +@interface PAPIJsonNull : PAPIJsonPrimitive ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)jsonNull __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIJsonNull *shared __attribute__((swift_name("shared"))); +- (id)serializer __attribute__((swift_name("serializer()"))); +- (id)serializerTypeParamsSerializers:(PAPIKotlinArray> *)typeParamsSerializers __attribute__((swift_name("serializer(typeParamsSerializers:)"))); +@property (readonly) NSString *content __attribute__((swift_name("content"))); +@property (readonly) BOOL isString __attribute__((swift_name("isString"))); +@end; + +__attribute__((unavailable("can't be imported"))) +__attribute__((swift_name("JsonObject"))) +@interface PAPIJsonObject : NSObject +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("JsonObjectBuilder"))) +@interface PAPIJsonObjectBuilder : PAPIBase +- (PAPIJsonElement * _Nullable)putKey:(NSString *)key element:(PAPIJsonElement *)element __attribute__((swift_name("put(key:element:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("JsonPrimitive.Companion"))) +@interface PAPIJsonPrimitiveCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIJsonPrimitiveCompanion *shared __attribute__((swift_name("shared"))); +- (id)serializer __attribute__((swift_name("serializer()"))); +@end; + +__attribute__((swift_name("JsonTransformingSerializer"))) +@interface PAPIJsonTransformingSerializer : PAPIBase +- (instancetype)initWithTSerializer:(id)tSerializer __attribute__((swift_name("init(tSerializer:)"))) __attribute__((objc_designated_initializer)); +- (T)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); +- (void)serializeEncoder:(id)encoder value:(T)value __attribute__((swift_name("serialize(encoder:value:)"))); +- (PAPIJsonElement *)transformDeserializeElement:(PAPIJsonElement *)element __attribute__((swift_name("transformDeserialize(element:)"))); +- (PAPIJsonElement *)transformSerializeElement:(PAPIJsonElement *)element __attribute__((swift_name("transformSerialize(element:)"))); +@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("ByteReadChannel"))) +@protocol PAPIByteReadChannel +@required +- (BOOL)cancelCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("cancel(cause:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)discardMax:(int64_t)max completionHandler:(void (^)(PAPILong * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("discard(max:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)peekToDestination:(PAPIMemory *)destination destinationOffset:(int64_t)destinationOffset offset:(int64_t)offset min:(int64_t)min max:(int64_t)max completionHandler:(void (^)(PAPILong * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("peekTo(destination:destinationOffset:offset:min:max:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readAvailableDst:(PAPIIoBuffer *)dst completionHandler:(void (^)(PAPIInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readAvailable(dst:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readAvailableDst:(PAPIKotlinByteArray *)dst offset:(int32_t)offset length:(int32_t)length completionHandler:(void (^)(PAPIInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readAvailable(dst:offset:length:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readAvailableDst:(void *)dst offset:(int32_t)offset length:(int32_t)length completionHandler_:(void (^)(PAPIInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readAvailable(dst:offset:length:completionHandler_:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readAvailableDst:(void *)dst offset:(int64_t)offset length:(int64_t)length completionHandler__:(void (^)(PAPIInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readAvailable(dst:offset:length:completionHandler__:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readBooleanWithCompletionHandler:(void (^)(PAPIBoolean * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readBoolean(completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readByteWithCompletionHandler:(void (^)(PAPIByte * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readByte(completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readDoubleWithCompletionHandler:(void (^)(PAPIDouble * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readDouble(completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readFloatWithCompletionHandler:(void (^)(PAPIFloat * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readFloat(completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readFullyDst:(PAPIIoBuffer *)dst n:(int32_t)n completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readFully(dst:n:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readFullyDst:(PAPIKotlinByteArray *)dst offset:(int32_t)offset length:(int32_t)length completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readFully(dst:offset:length:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readFullyDst:(void *)dst offset:(int32_t)offset length:(int32_t)length completionHandler_:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readFully(dst:offset:length:completionHandler_:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readFullyDst:(void *)dst offset:(int64_t)offset length:(int64_t)length completionHandler__:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readFully(dst:offset:length:completionHandler__:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readIntWithCompletionHandler:(void (^)(PAPIInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readInt(completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readLongWithCompletionHandler:(void (^)(PAPILong * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readLong(completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readPacketSize:(int32_t)size headerSizeHint:(int32_t)headerSizeHint completionHandler:(void (^)(PAPIByteReadPacket * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readPacket(size:headerSizeHint:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readRemainingLimit:(int64_t)limit headerSizeHint:(int32_t)headerSizeHint completionHandler:(void (^)(PAPIByteReadPacket * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readRemaining(limit:headerSizeHint:completionHandler:)"))); +- (void)readSessionConsumer:(void (^)(id))consumer __attribute__((swift_name("readSession(consumer:)"))) __attribute__((deprecated("Use read { } instead."))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readShortWithCompletionHandler:(void (^)(PAPIShort * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readShort(completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readSuspendableSessionConsumer:(id)consumer completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readSuspendableSession(consumer:completionHandler:)"))) __attribute__((deprecated("Use read { } instead."))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readUTF8LineLimit:(int32_t)limit completionHandler:(void (^)(NSString * _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("readUTF8Line(limit:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readUTF8LineToOut:(id)out limit:(int32_t)limit completionHandler:(void (^)(PAPIBoolean * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readUTF8LineTo(out:limit:completionHandler:)"))); +@property (readonly) int32_t availableForRead __attribute__((swift_name("availableForRead"))); +@property (readonly) PAPIKotlinThrowable * _Nullable closedCause __attribute__((swift_name("closedCause"))); +@property (readonly) BOOL isClosedForRead __attribute__((swift_name("isClosedForRead"))); +@property (readonly) BOOL isClosedForWrite __attribute__((swift_name("isClosedForWrite"))); +@property PAPIByteOrder *readByteOrder __attribute__((swift_name("readByteOrder"))) __attribute__((unavailable("Setting byte order is no longer supported. Read/write in big endian and use reverseByteOrder() extensions."))); +@property (readonly) int64_t totalBytesRead __attribute__((swift_name("totalBytesRead"))); +@end; + +__attribute__((swift_name("ByteWriteChannel"))) +@protocol PAPIByteWriteChannel +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)awaitFreeSpaceWithCompletionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("awaitFreeSpace(completionHandler:)"))); +- (BOOL)closeCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("close(cause:)"))); +- (void)flush __attribute__((swift_name("flush()"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writeAvailableSrc:(PAPIIoBuffer *)src completionHandler:(void (^)(PAPIInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeAvailable(src:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writeAvailableSrc:(PAPIKotlinByteArray *)src offset:(int32_t)offset length:(int32_t)length completionHandler:(void (^)(PAPIInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeAvailable(src:offset:length:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writeAvailableSrc:(void *)src offset:(int32_t)offset length:(int32_t)length completionHandler_:(void (^)(PAPIInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeAvailable(src:offset:length:completionHandler_:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writeAvailableSrc:(void *)src offset:(int64_t)offset length:(int64_t)length completionHandler__:(void (^)(PAPIInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeAvailable(src:offset:length:completionHandler__:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writeByteB:(int8_t)b completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeByte(b:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writeDoubleD:(double)d completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeDouble(d:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writeFloatF:(float)f completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeFloat(f:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writeFullyMemory:(PAPIMemory *)memory startIndex:(int32_t)startIndex endIndex:(int32_t)endIndex completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeFully(memory:startIndex:endIndex:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writeFullySrc:(PAPIBuffer *)src completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeFully(src:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writeFullySrc:(PAPIIoBuffer *)src completionHandler_:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeFully(src:completionHandler_:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writeFullySrc:(PAPIKotlinByteArray *)src offset:(int32_t)offset length:(int32_t)length completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeFully(src:offset:length:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writeFullySrc:(void *)src offset:(int32_t)offset length:(int32_t)length completionHandler_:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeFully(src:offset:length:completionHandler_:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writeFullySrc:(void *)src offset:(int64_t)offset length:(int64_t)length completionHandler__:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeFully(src:offset:length:completionHandler__:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writeIntI:(int32_t)i completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeInt(i:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writeLongL:(int64_t)l completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeLong(l:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writePacketPacket:(PAPIByteReadPacket *)packet completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writePacket(packet:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writeShortS:(int16_t)s completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeShort(s:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writeSuspendSessionVisitor:(id)visitor completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeSuspendSession(visitor:completionHandler:)"))) __attribute__((deprecated("Use write { } instead."))); +@property (readonly) BOOL autoFlush __attribute__((swift_name("autoFlush"))); +@property (readonly) int32_t availableForWrite __attribute__((swift_name("availableForWrite"))); +@property (readonly) PAPIKotlinThrowable * _Nullable closedCause __attribute__((swift_name("closedCause"))); +@property (readonly) BOOL isClosedForWrite __attribute__((swift_name("isClosedForWrite"))); +@property (readonly) int64_t totalBytesWritten __attribute__((swift_name("totalBytesWritten"))) __attribute__((deprecated("Counter is no longer supported"))); +@property PAPIByteOrder *writeByteOrder __attribute__((swift_name("writeByteOrder"))) __attribute__((unavailable("Setting byte order is no longer supported. Read/write in big endian and use reverseByteOrder() extensions."))); +@end; + +__attribute__((swift_name("ByteChannel"))) +@protocol PAPIByteChannel +@required +- (void)attachJobJob:(id)job __attribute__((swift_name("attachJob(job:)"))); +@end; + +__attribute__((swift_name("ReadSession"))) +@protocol PAPIReadSession +@required +- (int32_t)discardN:(int32_t)n __attribute__((swift_name("discard(n:)"))); +- (PAPIIoBuffer * _Nullable)requestAtLeast:(int32_t)atLeast __attribute__((swift_name("request(atLeast:)"))); +@property (readonly) int32_t availableForRead __attribute__((swift_name("availableForRead"))); +@end; + +__attribute__((swift_name("SuspendableReadSession"))) +@protocol PAPISuspendableReadSession +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)awaitAtLeast:(int32_t)atLeast completionHandler:(void (^)(PAPIBoolean * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("await(atLeast:completionHandler:)"))); +@end; + +__attribute__((swift_name("ByteChannelSequentialBase"))) +@interface PAPIByteChannelSequentialBase : PAPIBase +- (instancetype)initWithInitial:(PAPIIoBuffer *)initial autoFlush:(BOOL)autoFlush pool:(id)pool __attribute__((swift_name("init(initial:autoFlush:pool:)"))) __attribute__((objc_designated_initializer)); +- (void)afterRead __attribute__((swift_name("afterRead()"))) __attribute__((unavailable("Consider providing consumed count of bytes"))); +- (void)afterReadCount:(int32_t)count __attribute__((swift_name("afterRead(count:)"))); +- (void)afterWrite __attribute__((swift_name("afterWrite()"))) __attribute__((unavailable("Consider providing written count of bytes"))); +- (void)afterWriteCount:(int32_t)count __attribute__((swift_name("afterWrite(count:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)awaitAtLeast:(int32_t)atLeast completionHandler:(void (^)(PAPIBoolean * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("await(atLeast:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)awaitFreeSpaceWithCompletionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("awaitFreeSpace(completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)awaitSuspendAtLeast:(int32_t)atLeast completionHandler:(void (^)(PAPIBoolean * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("awaitSuspend(atLeast:completionHandler:)"))); +- (id)beginWriteSession __attribute__((swift_name("beginWriteSession()"))); +- (BOOL)cancelCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("cancel(cause:)"))); +- (BOOL)closeCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("close(cause:)"))); +- (int32_t)discardN:(int32_t)n __attribute__((swift_name("discard(n:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)discardMax:(int64_t)max completionHandler:(void (^)(PAPILong * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("discard(max:completionHandler:)"))); +- (void)endReadSession __attribute__((swift_name("endReadSession()"))); +- (void)endWriteSessionWritten:(int32_t)written __attribute__((swift_name("endWriteSession(written:)"))); +- (void)flush __attribute__((swift_name("flush()"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)peekToDestination:(PAPIMemory *)destination destinationOffset:(int64_t)destinationOffset offset:(int64_t)offset min:(int64_t)min max:(int64_t)max completionHandler:(void (^)(PAPILong * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("peekTo(destination:destinationOffset:offset:min:max:completionHandler:)"))); +- (void)prepareFlushedBytes __attribute__((swift_name("prepareFlushedBytes()"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readAvailableDst:(PAPIIoBuffer *)dst completionHandler:(void (^)(PAPIInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readAvailable(dst:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readAvailableDst:(PAPIKotlinByteArray *)dst offset:(int32_t)offset length:(int32_t)length completionHandler:(void (^)(PAPIInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readAvailable(dst:offset:length:completionHandler:)"))); +- (int32_t)readAvailableClosed __attribute__((swift_name("readAvailableClosed()"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readBooleanWithCompletionHandler:(void (^)(PAPIBoolean * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readBoolean(completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readByteWithCompletionHandler:(void (^)(PAPIByte * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readByte(completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readDoubleWithCompletionHandler:(void (^)(PAPIDouble * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readDouble(completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readFloatWithCompletionHandler:(void (^)(PAPIFloat * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readFloat(completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readFullyDst:(PAPIIoBuffer *)dst n:(int32_t)n completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readFully(dst:n:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readFullyDst:(PAPIKotlinByteArray *)dst offset:(int32_t)offset length:(int32_t)length completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readFully(dst:offset:length:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readIntWithCompletionHandler:(void (^)(PAPIInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readInt(completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readLongWithCompletionHandler:(void (^)(PAPILong * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readLong(completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readPacketSize:(int32_t)size headerSizeHint:(int32_t)headerSizeHint completionHandler:(void (^)(PAPIByteReadPacket * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readPacket(size:headerSizeHint:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readRemainingLimit:(int64_t)limit headerSizeHint:(int32_t)headerSizeHint completionHandler:(void (^)(PAPIByteReadPacket * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readRemaining(limit:headerSizeHint:completionHandler:)"))); +- (void)readSessionConsumer:(void (^)(id))consumer __attribute__((swift_name("readSession(consumer:)"))) __attribute__((deprecated("Use read instead."))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readShortWithCompletionHandler:(void (^)(PAPIShort * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readShort(completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readSuspendableSessionConsumer:(id)consumer completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readSuspendableSession(consumer:completionHandler:)"))) __attribute__((deprecated("Use read instead."))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readUTF8LineLimit:(int32_t)limit completionHandler:(void (^)(NSString * _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("readUTF8Line(limit:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readUTF8LineToOut:(id)out limit:(int32_t)limit completionHandler:(void (^)(PAPIBoolean * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readUTF8LineTo(out:limit:completionHandler:)"))); +- (PAPIIoBuffer * _Nullable)requestAtLeast:(int32_t)atLeast __attribute__((swift_name("request(atLeast:)"))); +- (id)startReadSession __attribute__((swift_name("startReadSession()"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writeAvailableSrc:(PAPIIoBuffer *)src completionHandler:(void (^)(PAPIInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeAvailable(src:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writeAvailableSrc:(PAPIKotlinByteArray *)src offset:(int32_t)offset length:(int32_t)length completionHandler:(void (^)(PAPIInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeAvailable(src:offset:length:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writeByteB:(int8_t)b completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeByte(b:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writeDoubleD:(double)d completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeDouble(d:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writeFloatF:(float)f completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeFloat(f:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writeFullyMemory:(PAPIMemory *)memory startIndex:(int32_t)startIndex endIndex:(int32_t)endIndex completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeFully(memory:startIndex:endIndex:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writeFullySrc:(PAPIBuffer *)src completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeFully(src:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writeFullySrc:(PAPIIoBuffer *)src completionHandler_:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeFully(src:completionHandler_:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writeFullySrc:(PAPIKotlinByteArray *)src offset:(int32_t)offset length:(int32_t)length completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeFully(src:offset:length:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writeIntI:(int32_t)i completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeInt(i:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writeLongL:(int64_t)l completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeLong(l:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writePacketPacket:(PAPIByteReadPacket *)packet completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writePacket(packet:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writeShortS:(int16_t)s completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeShort(s:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writeSuspendSessionVisitor:(id)visitor completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeSuspendSession(visitor:completionHandler:)"))) __attribute__((deprecated("Overrides deprecated member in 'io.ktor.utils.io.ByteChannel'. Use write { } instead."))); +@property (readonly) BOOL autoFlush __attribute__((swift_name("autoFlush"))); +@property (readonly) int32_t availableForRead __attribute__((swift_name("availableForRead"))); +@property (readonly) int32_t availableForWrite __attribute__((swift_name("availableForWrite"))); +@property BOOL closed __attribute__((swift_name("closed"))); +@property (readonly) PAPIKotlinThrowable * _Nullable closedCause __attribute__((swift_name("closedCause"))); +@property (readonly) BOOL isClosedForRead __attribute__((swift_name("isClosedForRead"))); +@property (readonly) BOOL isClosedForWrite __attribute__((swift_name("isClosedForWrite"))); +@property PAPIByteOrder *readByteOrder __attribute__((swift_name("readByteOrder"))) __attribute__((unavailable("Setting byte order is no longer supported. Read/write in big endian and use reverseByteOrder() extensions."))); +@property (readonly) PAPIByteReadPacket *readable __attribute__((swift_name("readable"))); +@property (readonly) int64_t totalBytesRead __attribute__((swift_name("totalBytesRead"))); +@property (readonly) int64_t totalBytesWritten __attribute__((swift_name("totalBytesWritten"))) __attribute__((deprecated("Overrides deprecated member in 'io.ktor.utils.io.ByteChannel'. Counter is no longer supported"))); +@property (readonly) PAPIBytePacketBuilder *writable __attribute__((swift_name("writable"))); +@property PAPIByteOrder *writeByteOrder __attribute__((swift_name("writeByteOrder"))) __attribute__((unavailable("Setting byte order is no longer supported. Read/write in big endian and use reverseByteOrder() extensions."))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ByteReadChannelCompanion"))) +@interface PAPIByteReadChannelCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIByteReadChannelCompanion *shared __attribute__((swift_name("shared"))); +@property (readonly) id Empty __attribute__((swift_name("Empty"))); +@end; + +__attribute__((swift_name("KotlinIllegalStateException"))) +@interface PAPIKotlinIllegalStateException : PAPIKotlinRuntimeException +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((swift_name("KotlinCancellationException"))) +@interface PAPIKotlinCancellationException : PAPIKotlinIllegalStateException +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ClosedWriteChannelException"))) +@interface PAPIClosedWriteChannelException : PAPIKotlinCancellationException +- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (instancetype)initWithCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((swift_name("KotlinCoroutineContext"))) +@protocol PAPIKotlinCoroutineContext +@required +- (id _Nullable)foldInitial:(id _Nullable)initial operation:(id _Nullable (^)(id _Nullable, id))operation __attribute__((swift_name("fold(initial:operation:)"))); +- (id _Nullable)getKey:(id)key __attribute__((swift_name("get(key:)"))); +- (id)minusKeyKey:(id)key __attribute__((swift_name("minusKey(key:)"))); +- (id)plusContext:(id)context __attribute__((swift_name("plus(context:)"))); +@end; + +__attribute__((swift_name("KotlinCoroutineContextElement"))) +@protocol PAPIKotlinCoroutineContextElement +@required +@property (readonly) id key __attribute__((swift_name("key"))); +@end; + +__attribute__((swift_name("Job"))) +@protocol PAPIJob +@required +- (id)attachChildChild:(id)child __attribute__((swift_name("attachChild(child:)"))); +- (void)cancelCause_:(PAPIKotlinCancellationException * _Nullable)cause __attribute__((swift_name("cancel(cause_:)"))); +- (PAPIKotlinCancellationException *)getCancellationException __attribute__((swift_name("getCancellationException()"))); +- (id)invokeOnCompletionOnCancelling:(BOOL)onCancelling invokeImmediately:(BOOL)invokeImmediately handler:(void (^)(PAPIKotlinThrowable * _Nullable))handler __attribute__((swift_name("invokeOnCompletion(onCancelling:invokeImmediately:handler:)"))); +- (id)invokeOnCompletionHandler:(void (^)(PAPIKotlinThrowable * _Nullable))handler __attribute__((swift_name("invokeOnCompletion(handler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)joinWithCompletionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("join(completionHandler:)"))); +- (id)plusOther_:(id)other __attribute__((swift_name("plus(other_:)"))) __attribute__((unavailable("Operator '+' on two Job objects is meaningless. Job is a coroutine context element and `+` is a set-sum operator for coroutine contexts. The job to the right of `+` just replaces the job the left of `+`."))); +- (BOOL)start __attribute__((swift_name("start()"))); +@property (readonly) id children __attribute__((swift_name("children"))); +@property (readonly) BOOL isActive __attribute__((swift_name("isActive"))); +@property (readonly) BOOL isCancelled __attribute__((swift_name("isCancelled"))); +@property (readonly) BOOL isCompleted __attribute__((swift_name("isCompleted"))); +@property (readonly) id onJoin __attribute__((swift_name("onJoin"))); +@end; + +__attribute__((swift_name("ReaderJob"))) +@protocol PAPIReaderJob +@required +@property (readonly) id channel __attribute__((swift_name("channel"))); +@end; + +__attribute__((swift_name("CoroutineScope"))) +@protocol PAPICoroutineScope +@required +@property (readonly) id coroutineContext __attribute__((swift_name("coroutineContext"))); +@end; + +__attribute__((swift_name("ReaderScope"))) +@protocol PAPIReaderScope +@required +@property (readonly) id channel __attribute__((swift_name("channel"))); +@end; + +__attribute__((swift_name("WriterJob"))) +@protocol PAPIWriterJob +@required +@property (readonly) id channel __attribute__((swift_name("channel"))); +@end; + +__attribute__((swift_name("WriterScope"))) +@protocol PAPIWriterScope +@required +@property (readonly) id channel __attribute__((swift_name("channel"))); +@end; + +__attribute__((swift_name("WriterSession"))) +@protocol PAPIWriterSession +@required +- (void)flush __attribute__((swift_name("flush()"))); +- (PAPIIoBuffer * _Nullable)requestMin:(int32_t)min __attribute__((swift_name("request(min:)"))); +- (void)writtenN:(int32_t)n __attribute__((swift_name("written(n:)"))); +@end; + +__attribute__((swift_name("WriterSuspendSession"))) +@protocol PAPIWriterSuspendSession +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)tryAwaitN:(int32_t)n completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("tryAwait(n:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Memory"))) +@interface PAPIMemory : PAPIBase +- (instancetype)initWithPointer:(void *)pointer size:(int64_t)size __attribute__((swift_name("init(pointer:size:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIMemoryCompanion *companion __attribute__((swift_name("companion"))); +- (void)doCopyToDestination:(PAPIMemory *)destination offset:(int32_t)offset length:(int32_t)length destinationOffset:(int32_t)destinationOffset __attribute__((swift_name("doCopyTo(destination:offset:length:destinationOffset:)"))); +- (void)doCopyToDestination:(PAPIMemory *)destination offset:(int64_t)offset length:(int64_t)length destinationOffset_:(int64_t)destinationOffset __attribute__((swift_name("doCopyTo(destination:offset:length:destinationOffset_:)"))); +- (int8_t)loadAtIndex:(int32_t)index __attribute__((swift_name("loadAt(index:)"))); +- (int8_t)loadAtIndex_:(int64_t)index __attribute__((swift_name("loadAt(index_:)"))); +- (PAPIMemory *)sliceOffset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("slice(offset:length:)"))); +- (PAPIMemory *)sliceOffset:(int64_t)offset length_:(int64_t)length __attribute__((swift_name("slice(offset:length_:)"))); +- (void)storeAtIndex:(int32_t)index value:(int8_t)value __attribute__((swift_name("storeAt(index:value:)"))); +- (void)storeAtIndex:(int64_t)index value_:(int8_t)value __attribute__((swift_name("storeAt(index:value_:)"))); +@property (readonly) void *pointer __attribute__((swift_name("pointer"))); +@property (readonly) int64_t size __attribute__((swift_name("size"))); +@property (readonly) int32_t size32 __attribute__((swift_name("size32"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Memory.Companion"))) +@interface PAPIMemoryCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIMemoryCompanion *shared __attribute__((swift_name("shared"))); +@property (readonly) PAPIMemory *Empty __attribute__((swift_name("Empty"))); +@end; + +__attribute__((swift_name("Input"))) +@protocol PAPIInput +@required +- (int64_t)discardN_:(int64_t)n __attribute__((swift_name("discard(n_:)"))); +- (int64_t)peekToDestination:(PAPIMemory *)destination destinationOffset:(int64_t)destinationOffset offset:(int64_t)offset min:(int64_t)min max:(int64_t)max __attribute__((swift_name("peekTo(destination:destinationOffset:offset:min:max:)"))); +- (int8_t)readByte __attribute__((swift_name("readByte()"))); +- (int32_t)tryPeek __attribute__((swift_name("tryPeek()"))); +@property PAPIByteOrder *byteOrder __attribute__((swift_name("byteOrder"))) __attribute__((unavailable("Not supported anymore. All operations are big endian by default. Use readXXXLittleEndian or readXXX then X.reverseByteOrder() instead."))); +@property (readonly) BOOL endOfInput __attribute__((swift_name("endOfInput"))); +@end; + +__attribute__((swift_name("AbstractInput"))) +@interface PAPIAbstractInput : PAPIBase +- (instancetype)initWithHead:(PAPIChunkBuffer *)head remaining:(int64_t)remaining pool:(id)pool __attribute__((swift_name("init(head:remaining:pool:)"))) __attribute__((objc_designated_initializer)) __attribute__((deprecated("AbstractInput is deprecated and will be merged with Input in 2.0.0"))); +@property (class, readonly, getter=companion) PAPIAbstractInputCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)canRead __attribute__((swift_name("canRead()"))); +- (void)close __attribute__((swift_name("close()"))); +- (void)closeSource __attribute__((swift_name("closeSource()"))); +- (int32_t)discardN:(int32_t)n __attribute__((swift_name("discard(n:)"))); +- (int64_t)discardN_:(int64_t)n __attribute__((swift_name("discard(n_:)"))); +- (void)discardExactN:(int32_t)n __attribute__((swift_name("discardExact(n:)"))); +- (PAPIChunkBuffer * _Nullable)ensureNextHeadCurrent:(PAPIChunkBuffer *)current __attribute__((swift_name("ensureNextHead(current:)"))); +- (PAPIChunkBuffer * _Nullable)fill __attribute__((swift_name("fill()"))); +- (int32_t)fillDestination:(PAPIMemory *)destination offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("fill(destination:offset:length:)"))); +- (void)fixGapAfterReadCurrent:(PAPIChunkBuffer *)current __attribute__((swift_name("fixGapAfterRead(current:)"))); +- (BOOL)hasBytesN:(int32_t)n __attribute__((swift_name("hasBytes(n:)"))); +- (void)markNoMoreChunksAvailable __attribute__((swift_name("markNoMoreChunksAvailable()"))); +- (int64_t)peekToDestination:(PAPIMemory *)destination destinationOffset:(int64_t)destinationOffset offset:(int64_t)offset min:(int64_t)min max:(int64_t)max __attribute__((swift_name("peekTo(destination:destinationOffset:offset:min:max:)"))); +- (PAPIChunkBuffer * _Nullable)prepareReadHeadMinSize:(int32_t)minSize __attribute__((swift_name("prepareReadHead(minSize:)"))); +- (int8_t)readByte __attribute__((swift_name("readByte()"))); +- (NSString *)readTextMin:(int32_t)min max:(int32_t)max __attribute__((swift_name("readText(min:max:)"))); +- (int32_t)readTextOut:(id)out min:(int32_t)min max:(int32_t)max __attribute__((swift_name("readText(out:min:max:)"))); +- (NSString *)readTextExactExactCharacters:(int32_t)exactCharacters __attribute__((swift_name("readTextExact(exactCharacters:)"))); +- (void)readTextExactOut:(id)out exactCharacters:(int32_t)exactCharacters __attribute__((swift_name("readTextExact(out:exactCharacters:)"))); +- (void)release_ __attribute__((swift_name("release()"))); +- (int32_t)tryPeek __attribute__((swift_name("tryPeek()"))); +- (void)updateHeadRemainingRemaining:(int32_t)remaining __attribute__((swift_name("updateHeadRemaining(remaining:)"))) __attribute__((unavailable("Not supported anymore."))); +@property PAPIByteOrder *byteOrder __attribute__((swift_name("byteOrder"))) __attribute__((unavailable("Not supported anymore. All operations are big endian by default."))); +@property (readonly) BOOL endOfInput __attribute__((swift_name("endOfInput"))); +@property (readonly) id pool __attribute__((swift_name("pool"))); +@property (readonly) int64_t remaining __attribute__((swift_name("remaining"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AbstractInput.Companion"))) +@interface PAPIAbstractInputCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIAbstractInputCompanion *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((swift_name("KotlinAppendable"))) +@protocol PAPIKotlinAppendable +@required +- (id)appendValue:(unichar)value __attribute__((swift_name("append(value:)"))); +- (id)appendValue_:(id _Nullable)value __attribute__((swift_name("append(value_:)"))); +- (id)appendValue:(id _Nullable)value startIndex:(int32_t)startIndex endIndex:(int32_t)endIndex __attribute__((swift_name("append(value:startIndex:endIndex:)"))); +@end; + +__attribute__((swift_name("Output"))) +@protocol PAPIOutput +@required +- (id)appendCsq:(PAPIKotlinCharArray *)csq start:(int32_t)start end:(int32_t)end __attribute__((swift_name("append(csq:start:end:)"))); +- (void)flush __attribute__((swift_name("flush()"))); +- (void)writeByteV:(int8_t)v __attribute__((swift_name("writeByte(v:)"))); +@property PAPIByteOrder *byteOrder __attribute__((swift_name("byteOrder"))) __attribute__((deprecated("Write with writeXXXLittleEndian or do X.reverseByteOrder() and then writeXXX instead."))); +@end; + +__attribute__((swift_name("AbstractOutput"))) +@interface PAPIAbstractOutput : PAPIBase +- (instancetype)initWithPool:(id)pool __attribute__((swift_name("init(pool:)"))) __attribute__((objc_designated_initializer)) __attribute__((deprecated("AbstractOutput is deprecated and will be merged with Input in 2.0.0"))); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((deprecated("AbstractOutput is deprecated and will be merged with Input in 2.0.0"))); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (void)afterHeadWrite __attribute__((swift_name("afterHeadWrite()"))); +- (PAPIAbstractOutput *)appendValue:(unichar)c __attribute__((swift_name("append(value:)"))); +- (id)appendCsq:(PAPIKotlinCharArray *)csq start:(int32_t)start end:(int32_t)end __attribute__((swift_name("append(csq:start:end:)"))); +- (PAPIAbstractOutput *)appendValue_:(id _Nullable)csq __attribute__((swift_name("append(value_:)"))); +- (PAPIAbstractOutput *)appendValue:(id _Nullable)csq startIndex:(int32_t)start endIndex:(int32_t)end __attribute__((swift_name("append(value:startIndex:endIndex:)"))); +- (void)close __attribute__((swift_name("close()"))); +- (void)closeDestination __attribute__((swift_name("closeDestination()"))); +- (void)flush __attribute__((swift_name("flush()"))); +- (void)flushSource:(PAPIMemory *)source offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("flush(source:offset:length:)"))); +- (PAPIChunkBuffer *)prepareWriteHeadN:(int32_t)n __attribute__((swift_name("prepareWriteHead(n:)"))); +- (void)release_ __attribute__((swift_name("release()"))); +- (void)writeByteV:(int8_t)v __attribute__((swift_name("writeByte(v:)"))); +- (void)writePacketP:(PAPIByteReadPacket *)p __attribute__((swift_name("writePacket(p:)"))); +- (void)writePacketP:(PAPIByteReadPacket *)p n:(int32_t)n __attribute__((swift_name("writePacket(p:n:)"))); +- (void)writePacketP:(PAPIByteReadPacket *)p n_:(int64_t)n __attribute__((swift_name("writePacket(p:n_:)"))); +- (void)writeStringUtf8Cs:(id)cs __attribute__((swift_name("writeStringUtf8(cs:)"))) __attribute__((deprecated("Use writeText instead"))); +- (void)writeStringUtf8S:(NSString *)s __attribute__((swift_name("writeStringUtf8(s:)"))) __attribute__((deprecated("Use writeText instead"))); +@property int32_t _size __attribute__((swift_name("_size"))); +@property PAPIByteOrder *byteOrder __attribute__((swift_name("byteOrder"))) __attribute__((unavailable("This is no longer supported. All operations are big endian by default. Use readXXXLittleEndian to read primitives in little endian"))); +@property PAPIChunkBuffer *currentTail __attribute__((swift_name("currentTail"))) __attribute__((unavailable("Will be removed. Override flush(buffer) properly."))); +@property (readonly) id pool __attribute__((swift_name("pool"))); +@end; + +__attribute__((swift_name("Buffer"))) +@interface PAPIBuffer : PAPIBase +- (instancetype)initWithMemory:(PAPIMemory *)memory __attribute__((swift_name("init(memory:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIBufferCompanion *companion __attribute__((swift_name("companion"))); +- (void)commitWrittenCount:(int32_t)count __attribute__((swift_name("commitWritten(count:)"))); +- (int32_t)discardCount:(int32_t)count __attribute__((swift_name("discard(count:)"))) __attribute__((unavailable("Use discardExact instead."))); +- (int64_t)discardCount_:(int64_t)count __attribute__((swift_name("discard(count_:)"))) __attribute__((unavailable("Use discardExact instead."))); +- (void)discardExactCount:(int32_t)count __attribute__((swift_name("discardExact(count:)"))); +- (PAPIBuffer *)duplicate __attribute__((swift_name("duplicate()"))); +- (void)duplicateToCopy:(PAPIBuffer *)copy __attribute__((swift_name("duplicateTo(copy:)"))); +- (int8_t)readByte __attribute__((swift_name("readByte()"))); +- (void)reserveEndGapEndGap:(int32_t)endGap __attribute__((swift_name("reserveEndGap(endGap:)"))); +- (void)reserveStartGapStartGap:(int32_t)startGap __attribute__((swift_name("reserveStartGap(startGap:)"))); +- (void)reset __attribute__((swift_name("reset()"))); +- (void)resetForRead __attribute__((swift_name("resetForRead()"))); +- (void)resetForWrite __attribute__((swift_name("resetForWrite()"))); +- (void)resetForWriteLimit:(int32_t)limit __attribute__((swift_name("resetForWrite(limit:)"))); +- (void)rewindCount:(int32_t)count __attribute__((swift_name("rewind(count:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +- (int32_t)tryPeekByte __attribute__((swift_name("tryPeekByte()"))); +- (int32_t)tryReadByte __attribute__((swift_name("tryReadByte()"))); +- (void)writeByteValue:(int8_t)value __attribute__((swift_name("writeByte(value:)"))); +@property id _Nullable attachment __attribute__((swift_name("attachment"))) __attribute__((deprecated("Will be removed. Inherit Buffer and add required fields instead."))); +@property (readonly) int32_t capacity __attribute__((swift_name("capacity"))); +@property (readonly) int32_t endGap __attribute__((swift_name("endGap"))); +@property (readonly) int32_t limit __attribute__((swift_name("limit"))); +@property (readonly) PAPIMemory *memory __attribute__((swift_name("memory"))); +@property (readonly) int32_t readPosition __attribute__((swift_name("readPosition"))); +@property (readonly) int32_t readRemaining __attribute__((swift_name("readRemaining"))); +@property (readonly) int32_t startGap __attribute__((swift_name("startGap"))); +@property (readonly) int32_t writePosition __attribute__((swift_name("writePosition"))); +@property (readonly) int32_t writeRemaining __attribute__((swift_name("writeRemaining"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Buffer.Companion"))) +@interface PAPIBufferCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIBufferCompanion *shared __attribute__((swift_name("shared"))); +@property (readonly) PAPIBuffer *Empty __attribute__((swift_name("Empty"))); +@property (readonly) int32_t ReservedSize __attribute__((swift_name("ReservedSize"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BufferLimitExceededException"))) +@interface PAPIBufferLimitExceededException : PAPIKotlinException +- (instancetype)initWithMessage:(NSString *)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (instancetype)initWithCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ByteOrder"))) +@interface PAPIByteOrder : PAPIKotlinEnum ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@property (class, readonly, getter=companion) PAPIByteOrderCompanion *companion __attribute__((swift_name("companion"))); +@property (class, readonly) PAPIByteOrder *bigEndian __attribute__((swift_name("bigEndian"))); +@property (class, readonly) PAPIByteOrder *littleEndian __attribute__((swift_name("littleEndian"))); ++ (PAPIKotlinArray *)values __attribute__((swift_name("values()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ByteOrder.Companion"))) +@interface PAPIByteOrderCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIByteOrderCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIByteOrder *)nativeOrder __attribute__((swift_name("nativeOrder()"))); +@end; + +__attribute__((swift_name("BytePacketBuilderBase"))) +@interface PAPIBytePacketBuilderBase : PAPIAbstractOutput +- (instancetype)initWithPool:(id)pool __attribute__((swift_name("init(pool:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +@end; + +__attribute__((swift_name("BytePacketBuilderPlatformBase"))) +@interface PAPIBytePacketBuilderPlatformBase : PAPIBytePacketBuilderBase +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BytePacketBuilder"))) +@interface PAPIBytePacketBuilder : PAPIBytePacketBuilderPlatformBase +- (instancetype)initWithHeaderSizeHint:(int32_t)headerSizeHint pool:(id)pool __attribute__((swift_name("init(headerSizeHint:pool:)"))) __attribute__((objc_designated_initializer)); +- (PAPIBytePacketBuilder *)appendValue:(unichar)c __attribute__((swift_name("append(value:)"))); +- (PAPIBytePacketBuilder *)appendValue_:(id _Nullable)csq __attribute__((swift_name("append(value_:)"))); +- (PAPIBytePacketBuilder *)appendValue:(id _Nullable)csq startIndex:(int32_t)start endIndex:(int32_t)end __attribute__((swift_name("append(value:startIndex:endIndex:)"))); +- (PAPIByteReadPacket *)build __attribute__((swift_name("build()"))); +- (void)closeDestination __attribute__((swift_name("closeDestination()"))); +- (void)flushSource:(PAPIMemory *)source offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("flush(source:offset:length:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) BOOL isEmpty __attribute__((swift_name("isEmpty"))); +@property (readonly) BOOL isNotEmpty __attribute__((swift_name("isNotEmpty"))); +@property (readonly) int32_t size __attribute__((swift_name("size"))); +@end; + +__attribute__((swift_name("ByteReadPacketBase"))) +@interface PAPIByteReadPacketBase : PAPIAbstractInput +- (instancetype)initWithHead:(PAPIChunkBuffer *)head remaining:(int64_t)remaining pool:(id)pool __attribute__((swift_name("init(head:remaining:pool:)"))) __attribute__((objc_designated_initializer)) __attribute__((deprecated("Will be removed in the future releases. Use Input or AbstractInput instead."))); +@property (class, readonly, getter=companion) PAPIByteReadPacketBaseCompanion *companion __attribute__((swift_name("companion"))); +@end; + +__attribute__((swift_name("ByteReadPacketPlatformBase"))) +@interface PAPIByteReadPacketPlatformBase : PAPIByteReadPacketBase +- (instancetype)initWithHead:(PAPIChunkBuffer *)head remaining:(int64_t)remaining pool:(id)pool __attribute__((swift_name("init(head:remaining:pool:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable("Will be removed in future releases."))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ByteReadPacket"))) +@interface PAPIByteReadPacket : PAPIByteReadPacketPlatformBase +- (instancetype)initWithHead:(PAPIChunkBuffer *)head pool:(id)pool __attribute__((swift_name("init(head:pool:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithHead:(PAPIChunkBuffer *)head remaining:(int64_t)remaining pool:(id)pool __attribute__((swift_name("init(head:remaining:pool:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@property (class, readonly, getter=companion) PAPIByteReadPacketCompanion *companion __attribute__((swift_name("companion"))); +- (void)closeSource __attribute__((swift_name("closeSource()"))); +- (PAPIByteReadPacket *)doCopy __attribute__((swift_name("doCopy()"))); +- (PAPIChunkBuffer * _Nullable)fill __attribute__((swift_name("fill()"))); +- (int32_t)fillDestination:(PAPIMemory *)destination offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("fill(destination:offset:length:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ByteReadPacket.Companion"))) +@interface PAPIByteReadPacketCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIByteReadPacketCompanion *shared __attribute__((swift_name("shared"))); +@property (readonly) PAPIByteReadPacket *Empty __attribute__((swift_name("Empty"))); +@property (readonly) int32_t ReservedSize __attribute__((swift_name("ReservedSize"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ByteReadPacketBase.Companion"))) +@interface PAPIByteReadPacketBaseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIByteReadPacketBaseCompanion *shared __attribute__((swift_name("shared"))); +@property (readonly) PAPIByteReadPacket *Empty __attribute__((swift_name("Empty"))) __attribute__((unavailable("Use ByteReadPacket.Empty instead"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("InsufficientSpaceException"))) +@interface PAPIInsufficientSpaceException : PAPIKotlinException +- (instancetype)initWithSize:(int32_t)size availableSpace:(int32_t)availableSpace __attribute__((swift_name("init(size:availableSpace:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithName:(NSString *)name size:(int32_t)size availableSpace:(int32_t)availableSpace __attribute__((swift_name("init(name:size:availableSpace:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithSize:(int64_t)size availableSpace_:(int64_t)availableSpace __attribute__((swift_name("init(size:availableSpace_:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithMessage:(NSString *)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (instancetype)initWithCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((swift_name("ChunkBuffer"))) +@interface PAPIChunkBuffer : PAPIBuffer +- (instancetype)initWithMemory:(PAPIMemory *)memory origin:(PAPIChunkBuffer * _Nullable)origin parentPool:(id _Nullable)parentPool __attribute__((swift_name("init(memory:origin:parentPool:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithMemory:(PAPIMemory *)memory __attribute__((swift_name("init(memory:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@property (class, readonly, getter=companion) PAPIChunkBufferCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIChunkBuffer * _Nullable)cleanNext __attribute__((swift_name("cleanNext()"))); +- (PAPIChunkBuffer *)duplicate __attribute__((swift_name("duplicate()"))); +- (void)releasePool:(id)pool __attribute__((swift_name("release(pool:)"))); +- (void)reset __attribute__((swift_name("reset()"))); +@property PAPIChunkBuffer * _Nullable next __attribute__((swift_name("next"))); +@property (readonly) PAPIChunkBuffer * _Nullable origin __attribute__((swift_name("origin"))); +@property (readonly) int32_t referenceCount __attribute__((swift_name("referenceCount"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("IoBuffer"))) +@interface PAPIIoBuffer : PAPIChunkBuffer +- (instancetype)initWithMemory:(PAPIMemory *)memory origin:(PAPIChunkBuffer * _Nullable)origin __attribute__((swift_name("init(memory:origin:)"))) __attribute__((objc_designated_initializer)) __attribute__((deprecated("Use Buffer instead."))); +- (instancetype)initWithContent:(void *)content contentCapacity:(int32_t)contentCapacity __attribute__((swift_name("init(content:contentCapacity:)"))) __attribute__((objc_designated_initializer)) __attribute__((deprecated("Use Buffer instead."))); +- (instancetype)initWithMemory:(PAPIMemory *)memory origin:(PAPIChunkBuffer * _Nullable)origin parentPool:(id _Nullable)parentPool __attribute__((swift_name("init(memory:origin:parentPool:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@property (class, readonly, getter=companion) PAPIIoBufferCompanion *companion __attribute__((swift_name("companion"))); +- (id)appendValue:(unichar)c __attribute__((swift_name("append(value:)"))); +- (id)appendCsq:(PAPIKotlinCharArray *)csq start:(int32_t)start end:(int32_t)end __attribute__((swift_name("append(csq:start:end:)"))); +- (id)appendValue_:(id _Nullable)csq __attribute__((swift_name("append(value_:)"))); +- (id)appendValue:(id _Nullable)csq startIndex:(int32_t)start endIndex:(int32_t)end __attribute__((swift_name("append(value:startIndex:endIndex:)"))); +- (int32_t)appendCharsCsq:(PAPIKotlinCharArray *)csq start:(int32_t)start end:(int32_t)end __attribute__((swift_name("appendChars(csq:start:end:)"))); +- (int32_t)appendCharsCsq:(id)csq start:(int32_t)start end_:(int32_t)end __attribute__((swift_name("appendChars(csq:start:end_:)"))); +- (void)close __attribute__((swift_name("close()"))); +- (PAPIIoBuffer *)duplicate __attribute__((swift_name("duplicate()"))); +- (void)flush __attribute__((swift_name("flush()"))); +- (PAPIIoBuffer *)makeView __attribute__((swift_name("makeView()"))); +- (int64_t)peekToDestination:(PAPIMemory *)destination destinationOffset:(int64_t)destinationOffset offset:(int64_t)offset min:(int64_t)min max:(int64_t)max __attribute__((swift_name("peekTo(destination:destinationOffset:offset:min:max:)"))); +- (int32_t)readDirectBlock:(PAPIInt *(^)(id))block __attribute__((swift_name("readDirect(block:)"))); +- (void)releasePool_:(id)pool __attribute__((swift_name("release(pool_:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +- (int32_t)tryPeek __attribute__((swift_name("tryPeek()"))); +- (int32_t)writeDirectBlock:(PAPIInt *(^)(id))block __attribute__((swift_name("writeDirect(block:)"))); +@property PAPIByteOrder *byteOrder __attribute__((swift_name("byteOrder"))) __attribute__((unavailable("Not supported anymore. All operations are big endian by default."))); +@property (readonly) BOOL endOfInput __attribute__((swift_name("endOfInput"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("IoBuffer.Companion"))) +@interface PAPIIoBufferCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIIoBufferCompanion *shared __attribute__((swift_name("shared"))); +@property (readonly) PAPIIoBuffer *Empty __attribute__((swift_name("Empty"))); +@property (readonly) id EmptyPool __attribute__((swift_name("EmptyPool"))); +@property (readonly) id NoPool __attribute__((swift_name("NoPool"))); +@property (readonly) id Pool __attribute__((swift_name("Pool"))); +@property (readonly) int32_t ReservedSize __attribute__((swift_name("ReservedSize"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ChunkBuffer.Companion"))) +@interface PAPIChunkBufferCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIChunkBufferCompanion *shared __attribute__((swift_name("shared"))); +@property (readonly) PAPIChunkBuffer *Empty __attribute__((swift_name("Empty"))); +@property (readonly) id EmptyPool __attribute__((swift_name("EmptyPool"))); +@property (readonly) id Pool __attribute__((swift_name("Pool"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MalformedUTF8InputException"))) +@interface PAPIMalformedUTF8InputException : PAPIKotlinException +- (instancetype)initWithMessage:(NSString *)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (instancetype)initWithCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((swift_name("ObjectPool"))) +@protocol PAPIObjectPool +@required +- (id)borrow __attribute__((swift_name("borrow()"))); +- (void)dispose __attribute__((swift_name("dispose()"))); +- (void)recycleInstance:(id)instance __attribute__((swift_name("recycle(instance:)"))); +@property (readonly) int32_t capacity __attribute__((swift_name("capacity"))); +@end; + +__attribute__((swift_name("DefaultPool"))) +@interface PAPIDefaultPool : PAPIBase +- (instancetype)initWithCapacity:(int32_t)capacity __attribute__((swift_name("init(capacity:)"))) __attribute__((objc_designated_initializer)); +- (T)borrow __attribute__((swift_name("borrow()"))); +- (T)clearInstanceInstance:(T)instance __attribute__((swift_name("clearInstance(instance:)"))); +- (void)dispose __attribute__((swift_name("dispose()"))); +- (void)disposeInstanceInstance:(T)instance __attribute__((swift_name("disposeInstance(instance:)"))); +- (T)produceInstance __attribute__((swift_name("produceInstance()"))); +- (void)recycleInstance:(T)instance __attribute__((swift_name("recycle(instance:)"))); +- (void)validateInstanceInstance:(T)instance __attribute__((swift_name("validateInstance(instance:)"))); +@property (readonly) int32_t capacity __attribute__((swift_name("capacity"))); +@property (readonly) PAPISynchronizedObject *lock __attribute__((swift_name("lock"))); +@end; + +__attribute__((swift_name("NoPoolImpl"))) +@interface PAPINoPoolImpl : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (void)dispose __attribute__((swift_name("dispose()"))); +- (void)recycleInstance:(T)instance __attribute__((swift_name("recycle(instance:)"))); +@property (readonly) int32_t capacity __attribute__((swift_name("capacity"))); +@end; + +__attribute__((swift_name("SingleInstancePool"))) +@interface PAPISingleInstancePool : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (T)borrow __attribute__((swift_name("borrow()"))); +- (void)dispose __attribute__((swift_name("dispose()"))); +- (void)disposeInstanceInstance:(T)instance __attribute__((swift_name("disposeInstance(instance:)"))); +- (T)produceInstance __attribute__((swift_name("produceInstance()"))); +- (void)recycleInstance:(T)instance __attribute__((swift_name("recycle(instance:)"))); +@property (readonly) int32_t capacity __attribute__((swift_name("capacity"))); +@end; + +__attribute__((swift_name("Charset"))) +@interface PAPICharset : PAPIBase +- (instancetype)initWith_name:(NSString *)_name __attribute__((swift_name("init(_name:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICharsetCompanion *companion __attribute__((swift_name("companion"))); +- (PAPICharsetDecoder *)doNewDecoder __attribute__((swift_name("doNewDecoder()"))); +- (PAPICharsetEncoder *)doNewEncoder __attribute__((swift_name("doNewEncoder()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Charset.Companion"))) +@interface PAPICharsetCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICharsetCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICharset *)forNameName:(NSString *)name __attribute__((swift_name("forName(name:)"))); +@end; + +__attribute__((swift_name("CharsetDecoder"))) +@interface PAPICharsetDecoder : PAPIBase +- (instancetype)initWith_charset:(PAPICharset *)_charset __attribute__((swift_name("init(_charset:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((swift_name("CharsetEncoder"))) +@interface PAPICharsetEncoder : PAPIBase +- (instancetype)initWith_charset:(PAPICharset *)_charset __attribute__((swift_name("init(_charset:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Charsets"))) +@interface PAPICharsets : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)charsets __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICharsets *shared __attribute__((swift_name("shared"))); +@property (readonly) PAPICharset *ISO_8859_1 __attribute__((swift_name("ISO_8859_1"))); +@property (readonly) PAPICharset *UTF_8 __attribute__((swift_name("UTF_8"))); +@end; + +__attribute__((swift_name("MalformedInputException"))) +@interface PAPIMalformedInputException : PAPIKotlinThrowable +- (instancetype)initWithMessage:(NSString *)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("TooLongLineException"))) +@interface PAPITooLongLineException : PAPIMalformedInputException +- (instancetype)initWithMessage:(NSString *)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((swift_name("IOException"))) +@interface PAPIIOException : PAPIKotlinException +- (instancetype)initWithMessage:(NSString *)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithMessage:(NSString *)message cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (instancetype)initWithCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((swift_name("EOFException"))) +@interface PAPIEOFException : PAPIIOException +- (instancetype)initWithMessage:(NSString *)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithMessage:(NSString *)message cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((swift_name("PosixException"))) +@interface PAPIPosixException : PAPIKotlinException +- (instancetype)initWithErrno:(int32_t)errno message:(NSString *)message __attribute__((swift_name("init(errno:message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (instancetype)initWithCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@property (class, readonly, getter=companion) PAPIPosixExceptionCompanion *companion __attribute__((swift_name("companion"))); +@property (readonly) int32_t errno __attribute__((swift_name("errno"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PosixException.AddressAlreadyInUseException"))) +@interface PAPIPosixExceptionAddressAlreadyInUseException : PAPIPosixException +- (instancetype)initWithMessage:(NSString *)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithErrno:(int32_t)errno message:(NSString *)message __attribute__((swift_name("init(errno:message:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PosixException.BadFileDescriptorException"))) +@interface PAPIPosixExceptionBadFileDescriptorException : PAPIPosixException +- (instancetype)initWithMessage:(NSString *)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithErrno:(int32_t)errno message:(NSString *)message __attribute__((swift_name("init(errno:message:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PosixException.BadMessageException"))) +@interface PAPIPosixExceptionBadMessageException : PAPIPosixException +- (instancetype)initWithMessage:(NSString *)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithErrno:(int32_t)errno message:(NSString *)message __attribute__((swift_name("init(errno:message:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PosixException.Companion"))) +@interface PAPIPosixExceptionCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIPosixExceptionCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIPosixException *)forErrnoErrno:(int32_t)errno posixFunctionName:(NSString * _Nullable)posixFunctionName __attribute__((swift_name("forErrno(errno:posixFunctionName:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PosixException.ConnectionAbortedException"))) +@interface PAPIPosixExceptionConnectionAbortedException : PAPIPosixException +- (instancetype)initWithMessage:(NSString *)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithErrno:(int32_t)errno message:(NSString *)message __attribute__((swift_name("init(errno:message:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PosixException.ConnectionRefusedException"))) +@interface PAPIPosixExceptionConnectionRefusedException : PAPIPosixException +- (instancetype)initWithMessage:(NSString *)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithErrno:(int32_t)errno message:(NSString *)message __attribute__((swift_name("init(errno:message:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PosixException.ConnectionResetException"))) +@interface PAPIPosixExceptionConnectionResetException : PAPIPosixException +- (instancetype)initWithMessage:(NSString *)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithErrno:(int32_t)errno message:(NSString *)message __attribute__((swift_name("init(errno:message:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PosixException.InterruptedException"))) +@interface PAPIPosixExceptionInterruptedException : PAPIPosixException +- (instancetype)initWithMessage:(NSString *)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithErrno:(int32_t)errno message:(NSString *)message __attribute__((swift_name("init(errno:message:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PosixException.InvalidArgumentException"))) +@interface PAPIPosixExceptionInvalidArgumentException : PAPIPosixException +- (instancetype)initWithMessage:(NSString *)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithErrno:(int32_t)errno message:(NSString *)message __attribute__((swift_name("init(errno:message:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PosixException.NoMemoryException"))) +@interface PAPIPosixExceptionNoMemoryException : PAPIPosixException +- (instancetype)initWithMessage:(NSString *)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithErrno:(int32_t)errno message:(NSString *)message __attribute__((swift_name("init(errno:message:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PosixException.NoSuchFileException"))) +@interface PAPIPosixExceptionNoSuchFileException : PAPIPosixException +- (instancetype)initWithMessage:(NSString *)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithErrno:(int32_t)errno message:(NSString *)message __attribute__((swift_name("init(errno:message:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PosixException.NotConnectedException"))) +@interface PAPIPosixExceptionNotConnectedException : PAPIPosixException +- (instancetype)initWithMessage:(NSString *)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithErrno:(int32_t)errno message:(NSString *)message __attribute__((swift_name("init(errno:message:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PosixException.NotSocketException"))) +@interface PAPIPosixExceptionNotSocketException : PAPIPosixException +- (instancetype)initWithMessage:(NSString *)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithErrno:(int32_t)errno message:(NSString *)message __attribute__((swift_name("init(errno:message:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PosixException.OverflowException"))) +@interface PAPIPosixExceptionOverflowException : PAPIPosixException +- (instancetype)initWithMessage:(NSString *)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithErrno:(int32_t)errno message:(NSString *)message __attribute__((swift_name("init(errno:message:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PosixException.PosixErrnoException"))) +@interface PAPIPosixExceptionPosixErrnoException : PAPIPosixException +- (instancetype)initWithErrno:(int32_t)errno message:(NSString *)message __attribute__((swift_name("init(errno:message:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PosixException.TimeoutIOException"))) +@interface PAPIPosixExceptionTimeoutIOException : PAPIPosixException +- (instancetype)initWithMessage:(NSString *)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithErrno:(int32_t)errno message:(NSString *)message __attribute__((swift_name("init(errno:message:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PosixException.TryAgainException"))) +@interface PAPIPosixExceptionTryAgainException : PAPIPosixException +- (instancetype)initWithErrno:(int32_t)errno message:(NSString *)message __attribute__((swift_name("init(errno:message:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("LiftToSyntaxTreeOptions"))) +@interface PAPILiftToSyntaxTreeOptions : PAPIBase +- (instancetype)initWithRetainSkipped:(BOOL)retainSkipped retainSeparators:(BOOL)retainSeparators __attribute__((swift_name("init(retainSkipped:retainSeparators:)"))) __attribute__((objc_designated_initializer)); +- (BOOL)component1 __attribute__((swift_name("component1()"))); +- (BOOL)component2 __attribute__((swift_name("component2()"))); +- (PAPILiftToSyntaxTreeOptions *)doCopyRetainSkipped:(BOOL)retainSkipped retainSeparators:(BOOL)retainSeparators __attribute__((swift_name("doCopy(retainSkipped:retainSeparators:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) BOOL retainSeparators __attribute__((swift_name("retainSeparators"))); +@property (readonly) BOOL retainSkipped __attribute__((swift_name("retainSkipped"))); +@end; + +__attribute__((swift_name("LiftToSyntaxTreeTransformer"))) +@protocol PAPILiftToSyntaxTreeTransformer +@required +- (id)liftToSyntaxTreeParser:(id)parser default:(id)default_ __attribute__((swift_name("liftToSyntaxTree(parser:default:)"))); +@end; + +__attribute__((swift_name("LiftToSyntaxTreeTransformerDefaultTransformerReference"))) +@protocol PAPILiftToSyntaxTreeTransformerDefaultTransformerReference +@required +- (id)transformParser:(id)parser __attribute__((swift_name("transform(parser:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SyntaxTree"))) +@interface PAPISyntaxTree<__covariant T> : PAPIBase +- (instancetype)initWithItem:(T _Nullable)item children:(NSArray *> *)children parser:(id)parser range:(PAPIKotlinIntRange *)range __attribute__((swift_name("init(item:children:parser:range:)"))) __attribute__((objc_designated_initializer)); +- (T _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSArray *> *)component2 __attribute__((swift_name("component2()"))); +- (id)component3 __attribute__((swift_name("component3()"))); +- (PAPIKotlinIntRange *)component4 __attribute__((swift_name("component4()"))); +- (PAPISyntaxTree *)doCopyItem:(T _Nullable)item children:(NSArray *> *)children parser:(id)parser range:(PAPIKotlinIntRange *)range __attribute__((swift_name("doCopy(item:children:parser:range:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSArray *> *children __attribute__((swift_name("children"))); +@property (readonly) T _Nullable item __attribute__((swift_name("item"))); +@property (readonly) id parser __attribute__((swift_name("parser"))); +@property (readonly) PAPIKotlinIntRange *range __attribute__((swift_name("range"))); +@end; + +__attribute__((swift_name("Tuple"))) +@protocol PAPITuple +@required +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Tuple1"))) +@interface PAPITuple1 : PAPIBase +- (instancetype)initWithT1:(T1 _Nullable)t1 __attribute__((swift_name("init(t1:)"))) __attribute__((objc_designated_initializer)); +- (T1 _Nullable)component1 __attribute__((swift_name("component1()"))); +- (PAPITuple1 *)doCopyT1:(T1 _Nullable)t1 __attribute__((swift_name("doCopy(t1:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) T1 _Nullable t1 __attribute__((swift_name("t1"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Tuple10"))) +@interface PAPITuple10 : PAPIBase +- (instancetype)initWithT1:(T1 _Nullable)t1 t2:(T2 _Nullable)t2 t3:(T3 _Nullable)t3 t4:(T4 _Nullable)t4 t5:(T5 _Nullable)t5 t6:(T6 _Nullable)t6 t7:(T7 _Nullable)t7 t8:(T8 _Nullable)t8 t9:(T9 _Nullable)t9 t10:(T10 _Nullable)t10 __attribute__((swift_name("init(t1:t2:t3:t4:t5:t6:t7:t8:t9:t10:)"))) __attribute__((objc_designated_initializer)); +- (T1 _Nullable)component1 __attribute__((swift_name("component1()"))); +- (T10 _Nullable)component10 __attribute__((swift_name("component10()"))); +- (T2 _Nullable)component2 __attribute__((swift_name("component2()"))); +- (T3 _Nullable)component3 __attribute__((swift_name("component3()"))); +- (T4 _Nullable)component4 __attribute__((swift_name("component4()"))); +- (T5 _Nullable)component5 __attribute__((swift_name("component5()"))); +- (T6 _Nullable)component6 __attribute__((swift_name("component6()"))); +- (T7 _Nullable)component7 __attribute__((swift_name("component7()"))); +- (T8 _Nullable)component8 __attribute__((swift_name("component8()"))); +- (T9 _Nullable)component9 __attribute__((swift_name("component9()"))); +- (PAPITuple10 *)doCopyT1:(T1 _Nullable)t1 t2:(T2 _Nullable)t2 t3:(T3 _Nullable)t3 t4:(T4 _Nullable)t4 t5:(T5 _Nullable)t5 t6:(T6 _Nullable)t6 t7:(T7 _Nullable)t7 t8:(T8 _Nullable)t8 t9:(T9 _Nullable)t9 t10:(T10 _Nullable)t10 __attribute__((swift_name("doCopy(t1:t2:t3:t4:t5:t6:t7:t8:t9:t10:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) T1 _Nullable t1 __attribute__((swift_name("t1"))); +@property (readonly) T10 _Nullable t10 __attribute__((swift_name("t10"))); +@property (readonly) T2 _Nullable t2 __attribute__((swift_name("t2"))); +@property (readonly) T3 _Nullable t3 __attribute__((swift_name("t3"))); +@property (readonly) T4 _Nullable t4 __attribute__((swift_name("t4"))); +@property (readonly) T5 _Nullable t5 __attribute__((swift_name("t5"))); +@property (readonly) T6 _Nullable t6 __attribute__((swift_name("t6"))); +@property (readonly) T7 _Nullable t7 __attribute__((swift_name("t7"))); +@property (readonly) T8 _Nullable t8 __attribute__((swift_name("t8"))); +@property (readonly) T9 _Nullable t9 __attribute__((swift_name("t9"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Tuple11"))) +@interface PAPITuple11 : PAPIBase +- (instancetype)initWithT1:(T1 _Nullable)t1 t2:(T2 _Nullable)t2 t3:(T3 _Nullable)t3 t4:(T4 _Nullable)t4 t5:(T5 _Nullable)t5 t6:(T6 _Nullable)t6 t7:(T7 _Nullable)t7 t8:(T8 _Nullable)t8 t9:(T9 _Nullable)t9 t10:(T10 _Nullable)t10 t11:(T11 _Nullable)t11 __attribute__((swift_name("init(t1:t2:t3:t4:t5:t6:t7:t8:t9:t10:t11:)"))) __attribute__((objc_designated_initializer)); +- (T1 _Nullable)component1 __attribute__((swift_name("component1()"))); +- (T10 _Nullable)component10 __attribute__((swift_name("component10()"))); +- (T11 _Nullable)component11 __attribute__((swift_name("component11()"))); +- (T2 _Nullable)component2 __attribute__((swift_name("component2()"))); +- (T3 _Nullable)component3 __attribute__((swift_name("component3()"))); +- (T4 _Nullable)component4 __attribute__((swift_name("component4()"))); +- (T5 _Nullable)component5 __attribute__((swift_name("component5()"))); +- (T6 _Nullable)component6 __attribute__((swift_name("component6()"))); +- (T7 _Nullable)component7 __attribute__((swift_name("component7()"))); +- (T8 _Nullable)component8 __attribute__((swift_name("component8()"))); +- (T9 _Nullable)component9 __attribute__((swift_name("component9()"))); +- (PAPITuple11 *)doCopyT1:(T1 _Nullable)t1 t2:(T2 _Nullable)t2 t3:(T3 _Nullable)t3 t4:(T4 _Nullable)t4 t5:(T5 _Nullable)t5 t6:(T6 _Nullable)t6 t7:(T7 _Nullable)t7 t8:(T8 _Nullable)t8 t9:(T9 _Nullable)t9 t10:(T10 _Nullable)t10 t11:(T11 _Nullable)t11 __attribute__((swift_name("doCopy(t1:t2:t3:t4:t5:t6:t7:t8:t9:t10:t11:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) T1 _Nullable t1 __attribute__((swift_name("t1"))); +@property (readonly) T10 _Nullable t10 __attribute__((swift_name("t10"))); +@property (readonly) T11 _Nullable t11 __attribute__((swift_name("t11"))); +@property (readonly) T2 _Nullable t2 __attribute__((swift_name("t2"))); +@property (readonly) T3 _Nullable t3 __attribute__((swift_name("t3"))); +@property (readonly) T4 _Nullable t4 __attribute__((swift_name("t4"))); +@property (readonly) T5 _Nullable t5 __attribute__((swift_name("t5"))); +@property (readonly) T6 _Nullable t6 __attribute__((swift_name("t6"))); +@property (readonly) T7 _Nullable t7 __attribute__((swift_name("t7"))); +@property (readonly) T8 _Nullable t8 __attribute__((swift_name("t8"))); +@property (readonly) T9 _Nullable t9 __attribute__((swift_name("t9"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Tuple12"))) +@interface PAPITuple12 : PAPIBase +- (instancetype)initWithT1:(T1 _Nullable)t1 t2:(T2 _Nullable)t2 t3:(T3 _Nullable)t3 t4:(T4 _Nullable)t4 t5:(T5 _Nullable)t5 t6:(T6 _Nullable)t6 t7:(T7 _Nullable)t7 t8:(T8 _Nullable)t8 t9:(T9 _Nullable)t9 t10:(T10 _Nullable)t10 t11:(T11 _Nullable)t11 t12:(T12 _Nullable)t12 __attribute__((swift_name("init(t1:t2:t3:t4:t5:t6:t7:t8:t9:t10:t11:t12:)"))) __attribute__((objc_designated_initializer)); +- (T1 _Nullable)component1 __attribute__((swift_name("component1()"))); +- (T10 _Nullable)component10 __attribute__((swift_name("component10()"))); +- (T11 _Nullable)component11 __attribute__((swift_name("component11()"))); +- (T12 _Nullable)component12 __attribute__((swift_name("component12()"))); +- (T2 _Nullable)component2 __attribute__((swift_name("component2()"))); +- (T3 _Nullable)component3 __attribute__((swift_name("component3()"))); +- (T4 _Nullable)component4 __attribute__((swift_name("component4()"))); +- (T5 _Nullable)component5 __attribute__((swift_name("component5()"))); +- (T6 _Nullable)component6 __attribute__((swift_name("component6()"))); +- (T7 _Nullable)component7 __attribute__((swift_name("component7()"))); +- (T8 _Nullable)component8 __attribute__((swift_name("component8()"))); +- (T9 _Nullable)component9 __attribute__((swift_name("component9()"))); +- (PAPITuple12 *)doCopyT1:(T1 _Nullable)t1 t2:(T2 _Nullable)t2 t3:(T3 _Nullable)t3 t4:(T4 _Nullable)t4 t5:(T5 _Nullable)t5 t6:(T6 _Nullable)t6 t7:(T7 _Nullable)t7 t8:(T8 _Nullable)t8 t9:(T9 _Nullable)t9 t10:(T10 _Nullable)t10 t11:(T11 _Nullable)t11 t12:(T12 _Nullable)t12 __attribute__((swift_name("doCopy(t1:t2:t3:t4:t5:t6:t7:t8:t9:t10:t11:t12:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) T1 _Nullable t1 __attribute__((swift_name("t1"))); +@property (readonly) T10 _Nullable t10 __attribute__((swift_name("t10"))); +@property (readonly) T11 _Nullable t11 __attribute__((swift_name("t11"))); +@property (readonly) T12 _Nullable t12 __attribute__((swift_name("t12"))); +@property (readonly) T2 _Nullable t2 __attribute__((swift_name("t2"))); +@property (readonly) T3 _Nullable t3 __attribute__((swift_name("t3"))); +@property (readonly) T4 _Nullable t4 __attribute__((swift_name("t4"))); +@property (readonly) T5 _Nullable t5 __attribute__((swift_name("t5"))); +@property (readonly) T6 _Nullable t6 __attribute__((swift_name("t6"))); +@property (readonly) T7 _Nullable t7 __attribute__((swift_name("t7"))); +@property (readonly) T8 _Nullable t8 __attribute__((swift_name("t8"))); +@property (readonly) T9 _Nullable t9 __attribute__((swift_name("t9"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Tuple13"))) +@interface PAPITuple13 : PAPIBase +- (instancetype)initWithT1:(T1 _Nullable)t1 t2:(T2 _Nullable)t2 t3:(T3 _Nullable)t3 t4:(T4 _Nullable)t4 t5:(T5 _Nullable)t5 t6:(T6 _Nullable)t6 t7:(T7 _Nullable)t7 t8:(T8 _Nullable)t8 t9:(T9 _Nullable)t9 t10:(T10 _Nullable)t10 t11:(T11 _Nullable)t11 t12:(T12 _Nullable)t12 t13:(T13 _Nullable)t13 __attribute__((swift_name("init(t1:t2:t3:t4:t5:t6:t7:t8:t9:t10:t11:t12:t13:)"))) __attribute__((objc_designated_initializer)); +- (T1 _Nullable)component1 __attribute__((swift_name("component1()"))); +- (T10 _Nullable)component10 __attribute__((swift_name("component10()"))); +- (T11 _Nullable)component11 __attribute__((swift_name("component11()"))); +- (T12 _Nullable)component12 __attribute__((swift_name("component12()"))); +- (T13 _Nullable)component13 __attribute__((swift_name("component13()"))); +- (T2 _Nullable)component2 __attribute__((swift_name("component2()"))); +- (T3 _Nullable)component3 __attribute__((swift_name("component3()"))); +- (T4 _Nullable)component4 __attribute__((swift_name("component4()"))); +- (T5 _Nullable)component5 __attribute__((swift_name("component5()"))); +- (T6 _Nullable)component6 __attribute__((swift_name("component6()"))); +- (T7 _Nullable)component7 __attribute__((swift_name("component7()"))); +- (T8 _Nullable)component8 __attribute__((swift_name("component8()"))); +- (T9 _Nullable)component9 __attribute__((swift_name("component9()"))); +- (PAPITuple13 *)doCopyT1:(T1 _Nullable)t1 t2:(T2 _Nullable)t2 t3:(T3 _Nullable)t3 t4:(T4 _Nullable)t4 t5:(T5 _Nullable)t5 t6:(T6 _Nullable)t6 t7:(T7 _Nullable)t7 t8:(T8 _Nullable)t8 t9:(T9 _Nullable)t9 t10:(T10 _Nullable)t10 t11:(T11 _Nullable)t11 t12:(T12 _Nullable)t12 t13:(T13 _Nullable)t13 __attribute__((swift_name("doCopy(t1:t2:t3:t4:t5:t6:t7:t8:t9:t10:t11:t12:t13:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) T1 _Nullable t1 __attribute__((swift_name("t1"))); +@property (readonly) T10 _Nullable t10 __attribute__((swift_name("t10"))); +@property (readonly) T11 _Nullable t11 __attribute__((swift_name("t11"))); +@property (readonly) T12 _Nullable t12 __attribute__((swift_name("t12"))); +@property (readonly) T13 _Nullable t13 __attribute__((swift_name("t13"))); +@property (readonly) T2 _Nullable t2 __attribute__((swift_name("t2"))); +@property (readonly) T3 _Nullable t3 __attribute__((swift_name("t3"))); +@property (readonly) T4 _Nullable t4 __attribute__((swift_name("t4"))); +@property (readonly) T5 _Nullable t5 __attribute__((swift_name("t5"))); +@property (readonly) T6 _Nullable t6 __attribute__((swift_name("t6"))); +@property (readonly) T7 _Nullable t7 __attribute__((swift_name("t7"))); +@property (readonly) T8 _Nullable t8 __attribute__((swift_name("t8"))); +@property (readonly) T9 _Nullable t9 __attribute__((swift_name("t9"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Tuple14"))) +@interface PAPITuple14 : PAPIBase +- (instancetype)initWithT1:(T1 _Nullable)t1 t2:(T2 _Nullable)t2 t3:(T3 _Nullable)t3 t4:(T4 _Nullable)t4 t5:(T5 _Nullable)t5 t6:(T6 _Nullable)t6 t7:(T7 _Nullable)t7 t8:(T8 _Nullable)t8 t9:(T9 _Nullable)t9 t10:(T10 _Nullable)t10 t11:(T11 _Nullable)t11 t12:(T12 _Nullable)t12 t13:(T13 _Nullable)t13 t14:(T14 _Nullable)t14 __attribute__((swift_name("init(t1:t2:t3:t4:t5:t6:t7:t8:t9:t10:t11:t12:t13:t14:)"))) __attribute__((objc_designated_initializer)); +- (T1 _Nullable)component1 __attribute__((swift_name("component1()"))); +- (T10 _Nullable)component10 __attribute__((swift_name("component10()"))); +- (T11 _Nullable)component11 __attribute__((swift_name("component11()"))); +- (T12 _Nullable)component12 __attribute__((swift_name("component12()"))); +- (T13 _Nullable)component13 __attribute__((swift_name("component13()"))); +- (T14 _Nullable)component14 __attribute__((swift_name("component14()"))); +- (T2 _Nullable)component2 __attribute__((swift_name("component2()"))); +- (T3 _Nullable)component3 __attribute__((swift_name("component3()"))); +- (T4 _Nullable)component4 __attribute__((swift_name("component4()"))); +- (T5 _Nullable)component5 __attribute__((swift_name("component5()"))); +- (T6 _Nullable)component6 __attribute__((swift_name("component6()"))); +- (T7 _Nullable)component7 __attribute__((swift_name("component7()"))); +- (T8 _Nullable)component8 __attribute__((swift_name("component8()"))); +- (T9 _Nullable)component9 __attribute__((swift_name("component9()"))); +- (PAPITuple14 *)doCopyT1:(T1 _Nullable)t1 t2:(T2 _Nullable)t2 t3:(T3 _Nullable)t3 t4:(T4 _Nullable)t4 t5:(T5 _Nullable)t5 t6:(T6 _Nullable)t6 t7:(T7 _Nullable)t7 t8:(T8 _Nullable)t8 t9:(T9 _Nullable)t9 t10:(T10 _Nullable)t10 t11:(T11 _Nullable)t11 t12:(T12 _Nullable)t12 t13:(T13 _Nullable)t13 t14:(T14 _Nullable)t14 __attribute__((swift_name("doCopy(t1:t2:t3:t4:t5:t6:t7:t8:t9:t10:t11:t12:t13:t14:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) T1 _Nullable t1 __attribute__((swift_name("t1"))); +@property (readonly) T10 _Nullable t10 __attribute__((swift_name("t10"))); +@property (readonly) T11 _Nullable t11 __attribute__((swift_name("t11"))); +@property (readonly) T12 _Nullable t12 __attribute__((swift_name("t12"))); +@property (readonly) T13 _Nullable t13 __attribute__((swift_name("t13"))); +@property (readonly) T14 _Nullable t14 __attribute__((swift_name("t14"))); +@property (readonly) T2 _Nullable t2 __attribute__((swift_name("t2"))); +@property (readonly) T3 _Nullable t3 __attribute__((swift_name("t3"))); +@property (readonly) T4 _Nullable t4 __attribute__((swift_name("t4"))); +@property (readonly) T5 _Nullable t5 __attribute__((swift_name("t5"))); +@property (readonly) T6 _Nullable t6 __attribute__((swift_name("t6"))); +@property (readonly) T7 _Nullable t7 __attribute__((swift_name("t7"))); +@property (readonly) T8 _Nullable t8 __attribute__((swift_name("t8"))); +@property (readonly) T9 _Nullable t9 __attribute__((swift_name("t9"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Tuple15"))) +@interface PAPITuple15 : PAPIBase +- (instancetype)initWithT1:(T1 _Nullable)t1 t2:(T2 _Nullable)t2 t3:(T3 _Nullable)t3 t4:(T4 _Nullable)t4 t5:(T5 _Nullable)t5 t6:(T6 _Nullable)t6 t7:(T7 _Nullable)t7 t8:(T8 _Nullable)t8 t9:(T9 _Nullable)t9 t10:(T10 _Nullable)t10 t11:(T11 _Nullable)t11 t12:(T12 _Nullable)t12 t13:(T13 _Nullable)t13 t14:(T14 _Nullable)t14 t15:(T15 _Nullable)t15 __attribute__((swift_name("init(t1:t2:t3:t4:t5:t6:t7:t8:t9:t10:t11:t12:t13:t14:t15:)"))) __attribute__((objc_designated_initializer)); +- (T1 _Nullable)component1 __attribute__((swift_name("component1()"))); +- (T10 _Nullable)component10 __attribute__((swift_name("component10()"))); +- (T11 _Nullable)component11 __attribute__((swift_name("component11()"))); +- (T12 _Nullable)component12 __attribute__((swift_name("component12()"))); +- (T13 _Nullable)component13 __attribute__((swift_name("component13()"))); +- (T14 _Nullable)component14 __attribute__((swift_name("component14()"))); +- (T15 _Nullable)component15 __attribute__((swift_name("component15()"))); +- (T2 _Nullable)component2 __attribute__((swift_name("component2()"))); +- (T3 _Nullable)component3 __attribute__((swift_name("component3()"))); +- (T4 _Nullable)component4 __attribute__((swift_name("component4()"))); +- (T5 _Nullable)component5 __attribute__((swift_name("component5()"))); +- (T6 _Nullable)component6 __attribute__((swift_name("component6()"))); +- (T7 _Nullable)component7 __attribute__((swift_name("component7()"))); +- (T8 _Nullable)component8 __attribute__((swift_name("component8()"))); +- (T9 _Nullable)component9 __attribute__((swift_name("component9()"))); +- (PAPITuple15 *)doCopyT1:(T1 _Nullable)t1 t2:(T2 _Nullable)t2 t3:(T3 _Nullable)t3 t4:(T4 _Nullable)t4 t5:(T5 _Nullable)t5 t6:(T6 _Nullable)t6 t7:(T7 _Nullable)t7 t8:(T8 _Nullable)t8 t9:(T9 _Nullable)t9 t10:(T10 _Nullable)t10 t11:(T11 _Nullable)t11 t12:(T12 _Nullable)t12 t13:(T13 _Nullable)t13 t14:(T14 _Nullable)t14 t15:(T15 _Nullable)t15 __attribute__((swift_name("doCopy(t1:t2:t3:t4:t5:t6:t7:t8:t9:t10:t11:t12:t13:t14:t15:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) T1 _Nullable t1 __attribute__((swift_name("t1"))); +@property (readonly) T10 _Nullable t10 __attribute__((swift_name("t10"))); +@property (readonly) T11 _Nullable t11 __attribute__((swift_name("t11"))); +@property (readonly) T12 _Nullable t12 __attribute__((swift_name("t12"))); +@property (readonly) T13 _Nullable t13 __attribute__((swift_name("t13"))); +@property (readonly) T14 _Nullable t14 __attribute__((swift_name("t14"))); +@property (readonly) T15 _Nullable t15 __attribute__((swift_name("t15"))); +@property (readonly) T2 _Nullable t2 __attribute__((swift_name("t2"))); +@property (readonly) T3 _Nullable t3 __attribute__((swift_name("t3"))); +@property (readonly) T4 _Nullable t4 __attribute__((swift_name("t4"))); +@property (readonly) T5 _Nullable t5 __attribute__((swift_name("t5"))); +@property (readonly) T6 _Nullable t6 __attribute__((swift_name("t6"))); +@property (readonly) T7 _Nullable t7 __attribute__((swift_name("t7"))); +@property (readonly) T8 _Nullable t8 __attribute__((swift_name("t8"))); +@property (readonly) T9 _Nullable t9 __attribute__((swift_name("t9"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Tuple16"))) +@interface PAPITuple16 : PAPIBase +- (instancetype)initWithT1:(T1 _Nullable)t1 t2:(T2 _Nullable)t2 t3:(T3 _Nullable)t3 t4:(T4 _Nullable)t4 t5:(T5 _Nullable)t5 t6:(T6 _Nullable)t6 t7:(T7 _Nullable)t7 t8:(T8 _Nullable)t8 t9:(T9 _Nullable)t9 t10:(T10 _Nullable)t10 t11:(T11 _Nullable)t11 t12:(T12 _Nullable)t12 t13:(T13 _Nullable)t13 t14:(T14 _Nullable)t14 t15:(T15 _Nullable)t15 t16:(T16 _Nullable)t16 __attribute__((swift_name("init(t1:t2:t3:t4:t5:t6:t7:t8:t9:t10:t11:t12:t13:t14:t15:t16:)"))) __attribute__((objc_designated_initializer)); +- (T1 _Nullable)component1 __attribute__((swift_name("component1()"))); +- (T10 _Nullable)component10 __attribute__((swift_name("component10()"))); +- (T11 _Nullable)component11 __attribute__((swift_name("component11()"))); +- (T12 _Nullable)component12 __attribute__((swift_name("component12()"))); +- (T13 _Nullable)component13 __attribute__((swift_name("component13()"))); +- (T14 _Nullable)component14 __attribute__((swift_name("component14()"))); +- (T15 _Nullable)component15 __attribute__((swift_name("component15()"))); +- (T16 _Nullable)component16 __attribute__((swift_name("component16()"))); +- (T2 _Nullable)component2 __attribute__((swift_name("component2()"))); +- (T3 _Nullable)component3 __attribute__((swift_name("component3()"))); +- (T4 _Nullable)component4 __attribute__((swift_name("component4()"))); +- (T5 _Nullable)component5 __attribute__((swift_name("component5()"))); +- (T6 _Nullable)component6 __attribute__((swift_name("component6()"))); +- (T7 _Nullable)component7 __attribute__((swift_name("component7()"))); +- (T8 _Nullable)component8 __attribute__((swift_name("component8()"))); +- (T9 _Nullable)component9 __attribute__((swift_name("component9()"))); +- (PAPITuple16 *)doCopyT1:(T1 _Nullable)t1 t2:(T2 _Nullable)t2 t3:(T3 _Nullable)t3 t4:(T4 _Nullable)t4 t5:(T5 _Nullable)t5 t6:(T6 _Nullable)t6 t7:(T7 _Nullable)t7 t8:(T8 _Nullable)t8 t9:(T9 _Nullable)t9 t10:(T10 _Nullable)t10 t11:(T11 _Nullable)t11 t12:(T12 _Nullable)t12 t13:(T13 _Nullable)t13 t14:(T14 _Nullable)t14 t15:(T15 _Nullable)t15 t16:(T16 _Nullable)t16 __attribute__((swift_name("doCopy(t1:t2:t3:t4:t5:t6:t7:t8:t9:t10:t11:t12:t13:t14:t15:t16:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) T1 _Nullable t1 __attribute__((swift_name("t1"))); +@property (readonly) T10 _Nullable t10 __attribute__((swift_name("t10"))); +@property (readonly) T11 _Nullable t11 __attribute__((swift_name("t11"))); +@property (readonly) T12 _Nullable t12 __attribute__((swift_name("t12"))); +@property (readonly) T13 _Nullable t13 __attribute__((swift_name("t13"))); +@property (readonly) T14 _Nullable t14 __attribute__((swift_name("t14"))); +@property (readonly) T15 _Nullable t15 __attribute__((swift_name("t15"))); +@property (readonly) T16 _Nullable t16 __attribute__((swift_name("t16"))); +@property (readonly) T2 _Nullable t2 __attribute__((swift_name("t2"))); +@property (readonly) T3 _Nullable t3 __attribute__((swift_name("t3"))); +@property (readonly) T4 _Nullable t4 __attribute__((swift_name("t4"))); +@property (readonly) T5 _Nullable t5 __attribute__((swift_name("t5"))); +@property (readonly) T6 _Nullable t6 __attribute__((swift_name("t6"))); +@property (readonly) T7 _Nullable t7 __attribute__((swift_name("t7"))); +@property (readonly) T8 _Nullable t8 __attribute__((swift_name("t8"))); +@property (readonly) T9 _Nullable t9 __attribute__((swift_name("t9"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Tuple2"))) +@interface PAPITuple2 : PAPIBase +- (instancetype)initWithT1:(T1 _Nullable)t1 t2:(T2 _Nullable)t2 __attribute__((swift_name("init(t1:t2:)"))) __attribute__((objc_designated_initializer)); +- (T1 _Nullable)component1 __attribute__((swift_name("component1()"))); +- (T2 _Nullable)component2 __attribute__((swift_name("component2()"))); +- (PAPITuple2 *)doCopyT1:(T1 _Nullable)t1 t2:(T2 _Nullable)t2 __attribute__((swift_name("doCopy(t1:t2:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) T1 _Nullable t1 __attribute__((swift_name("t1"))); +@property (readonly) T2 _Nullable t2 __attribute__((swift_name("t2"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Tuple3"))) +@interface PAPITuple3 : PAPIBase +- (instancetype)initWithT1:(T1 _Nullable)t1 t2:(T2 _Nullable)t2 t3:(T3 _Nullable)t3 __attribute__((swift_name("init(t1:t2:t3:)"))) __attribute__((objc_designated_initializer)); +- (T1 _Nullable)component1 __attribute__((swift_name("component1()"))); +- (T2 _Nullable)component2 __attribute__((swift_name("component2()"))); +- (T3 _Nullable)component3 __attribute__((swift_name("component3()"))); +- (PAPITuple3 *)doCopyT1:(T1 _Nullable)t1 t2:(T2 _Nullable)t2 t3:(T3 _Nullable)t3 __attribute__((swift_name("doCopy(t1:t2:t3:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) T1 _Nullable t1 __attribute__((swift_name("t1"))); +@property (readonly) T2 _Nullable t2 __attribute__((swift_name("t2"))); +@property (readonly) T3 _Nullable t3 __attribute__((swift_name("t3"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Tuple4"))) +@interface PAPITuple4 : PAPIBase +- (instancetype)initWithT1:(T1 _Nullable)t1 t2:(T2 _Nullable)t2 t3:(T3 _Nullable)t3 t4:(T4 _Nullable)t4 __attribute__((swift_name("init(t1:t2:t3:t4:)"))) __attribute__((objc_designated_initializer)); +- (T1 _Nullable)component1 __attribute__((swift_name("component1()"))); +- (T2 _Nullable)component2 __attribute__((swift_name("component2()"))); +- (T3 _Nullable)component3 __attribute__((swift_name("component3()"))); +- (T4 _Nullable)component4 __attribute__((swift_name("component4()"))); +- (PAPITuple4 *)doCopyT1:(T1 _Nullable)t1 t2:(T2 _Nullable)t2 t3:(T3 _Nullable)t3 t4:(T4 _Nullable)t4 __attribute__((swift_name("doCopy(t1:t2:t3:t4:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) T1 _Nullable t1 __attribute__((swift_name("t1"))); +@property (readonly) T2 _Nullable t2 __attribute__((swift_name("t2"))); +@property (readonly) T3 _Nullable t3 __attribute__((swift_name("t3"))); +@property (readonly) T4 _Nullable t4 __attribute__((swift_name("t4"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Tuple5"))) +@interface PAPITuple5 : PAPIBase +- (instancetype)initWithT1:(T1 _Nullable)t1 t2:(T2 _Nullable)t2 t3:(T3 _Nullable)t3 t4:(T4 _Nullable)t4 t5:(T5 _Nullable)t5 __attribute__((swift_name("init(t1:t2:t3:t4:t5:)"))) __attribute__((objc_designated_initializer)); +- (T1 _Nullable)component1 __attribute__((swift_name("component1()"))); +- (T2 _Nullable)component2 __attribute__((swift_name("component2()"))); +- (T3 _Nullable)component3 __attribute__((swift_name("component3()"))); +- (T4 _Nullable)component4 __attribute__((swift_name("component4()"))); +- (T5 _Nullable)component5 __attribute__((swift_name("component5()"))); +- (PAPITuple5 *)doCopyT1:(T1 _Nullable)t1 t2:(T2 _Nullable)t2 t3:(T3 _Nullable)t3 t4:(T4 _Nullable)t4 t5:(T5 _Nullable)t5 __attribute__((swift_name("doCopy(t1:t2:t3:t4:t5:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) T1 _Nullable t1 __attribute__((swift_name("t1"))); +@property (readonly) T2 _Nullable t2 __attribute__((swift_name("t2"))); +@property (readonly) T3 _Nullable t3 __attribute__((swift_name("t3"))); +@property (readonly) T4 _Nullable t4 __attribute__((swift_name("t4"))); +@property (readonly) T5 _Nullable t5 __attribute__((swift_name("t5"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Tuple6"))) +@interface PAPITuple6 : PAPIBase +- (instancetype)initWithT1:(T1 _Nullable)t1 t2:(T2 _Nullable)t2 t3:(T3 _Nullable)t3 t4:(T4 _Nullable)t4 t5:(T5 _Nullable)t5 t6:(T6 _Nullable)t6 __attribute__((swift_name("init(t1:t2:t3:t4:t5:t6:)"))) __attribute__((objc_designated_initializer)); +- (T1 _Nullable)component1 __attribute__((swift_name("component1()"))); +- (T2 _Nullable)component2 __attribute__((swift_name("component2()"))); +- (T3 _Nullable)component3 __attribute__((swift_name("component3()"))); +- (T4 _Nullable)component4 __attribute__((swift_name("component4()"))); +- (T5 _Nullable)component5 __attribute__((swift_name("component5()"))); +- (T6 _Nullable)component6 __attribute__((swift_name("component6()"))); +- (PAPITuple6 *)doCopyT1:(T1 _Nullable)t1 t2:(T2 _Nullable)t2 t3:(T3 _Nullable)t3 t4:(T4 _Nullable)t4 t5:(T5 _Nullable)t5 t6:(T6 _Nullable)t6 __attribute__((swift_name("doCopy(t1:t2:t3:t4:t5:t6:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) T1 _Nullable t1 __attribute__((swift_name("t1"))); +@property (readonly) T2 _Nullable t2 __attribute__((swift_name("t2"))); +@property (readonly) T3 _Nullable t3 __attribute__((swift_name("t3"))); +@property (readonly) T4 _Nullable t4 __attribute__((swift_name("t4"))); +@property (readonly) T5 _Nullable t5 __attribute__((swift_name("t5"))); +@property (readonly) T6 _Nullable t6 __attribute__((swift_name("t6"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Tuple7"))) +@interface PAPITuple7 : PAPIBase +- (instancetype)initWithT1:(T1 _Nullable)t1 t2:(T2 _Nullable)t2 t3:(T3 _Nullable)t3 t4:(T4 _Nullable)t4 t5:(T5 _Nullable)t5 t6:(T6 _Nullable)t6 t7:(T7 _Nullable)t7 __attribute__((swift_name("init(t1:t2:t3:t4:t5:t6:t7:)"))) __attribute__((objc_designated_initializer)); +- (T1 _Nullable)component1 __attribute__((swift_name("component1()"))); +- (T2 _Nullable)component2 __attribute__((swift_name("component2()"))); +- (T3 _Nullable)component3 __attribute__((swift_name("component3()"))); +- (T4 _Nullable)component4 __attribute__((swift_name("component4()"))); +- (T5 _Nullable)component5 __attribute__((swift_name("component5()"))); +- (T6 _Nullable)component6 __attribute__((swift_name("component6()"))); +- (T7 _Nullable)component7 __attribute__((swift_name("component7()"))); +- (PAPITuple7 *)doCopyT1:(T1 _Nullable)t1 t2:(T2 _Nullable)t2 t3:(T3 _Nullable)t3 t4:(T4 _Nullable)t4 t5:(T5 _Nullable)t5 t6:(T6 _Nullable)t6 t7:(T7 _Nullable)t7 __attribute__((swift_name("doCopy(t1:t2:t3:t4:t5:t6:t7:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) T1 _Nullable t1 __attribute__((swift_name("t1"))); +@property (readonly) T2 _Nullable t2 __attribute__((swift_name("t2"))); +@property (readonly) T3 _Nullable t3 __attribute__((swift_name("t3"))); +@property (readonly) T4 _Nullable t4 __attribute__((swift_name("t4"))); +@property (readonly) T5 _Nullable t5 __attribute__((swift_name("t5"))); +@property (readonly) T6 _Nullable t6 __attribute__((swift_name("t6"))); +@property (readonly) T7 _Nullable t7 __attribute__((swift_name("t7"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Tuple8"))) +@interface PAPITuple8 : PAPIBase +- (instancetype)initWithT1:(T1 _Nullable)t1 t2:(T2 _Nullable)t2 t3:(T3 _Nullable)t3 t4:(T4 _Nullable)t4 t5:(T5 _Nullable)t5 t6:(T6 _Nullable)t6 t7:(T7 _Nullable)t7 t8:(T8 _Nullable)t8 __attribute__((swift_name("init(t1:t2:t3:t4:t5:t6:t7:t8:)"))) __attribute__((objc_designated_initializer)); +- (T1 _Nullable)component1 __attribute__((swift_name("component1()"))); +- (T2 _Nullable)component2 __attribute__((swift_name("component2()"))); +- (T3 _Nullable)component3 __attribute__((swift_name("component3()"))); +- (T4 _Nullable)component4 __attribute__((swift_name("component4()"))); +- (T5 _Nullable)component5 __attribute__((swift_name("component5()"))); +- (T6 _Nullable)component6 __attribute__((swift_name("component6()"))); +- (T7 _Nullable)component7 __attribute__((swift_name("component7()"))); +- (T8 _Nullable)component8 __attribute__((swift_name("component8()"))); +- (PAPITuple8 *)doCopyT1:(T1 _Nullable)t1 t2:(T2 _Nullable)t2 t3:(T3 _Nullable)t3 t4:(T4 _Nullable)t4 t5:(T5 _Nullable)t5 t6:(T6 _Nullable)t6 t7:(T7 _Nullable)t7 t8:(T8 _Nullable)t8 __attribute__((swift_name("doCopy(t1:t2:t3:t4:t5:t6:t7:t8:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) T1 _Nullable t1 __attribute__((swift_name("t1"))); +@property (readonly) T2 _Nullable t2 __attribute__((swift_name("t2"))); +@property (readonly) T3 _Nullable t3 __attribute__((swift_name("t3"))); +@property (readonly) T4 _Nullable t4 __attribute__((swift_name("t4"))); +@property (readonly) T5 _Nullable t5 __attribute__((swift_name("t5"))); +@property (readonly) T6 _Nullable t6 __attribute__((swift_name("t6"))); +@property (readonly) T7 _Nullable t7 __attribute__((swift_name("t7"))); +@property (readonly) T8 _Nullable t8 __attribute__((swift_name("t8"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Tuple9"))) +@interface PAPITuple9 : PAPIBase +- (instancetype)initWithT1:(T1 _Nullable)t1 t2:(T2 _Nullable)t2 t3:(T3 _Nullable)t3 t4:(T4 _Nullable)t4 t5:(T5 _Nullable)t5 t6:(T6 _Nullable)t6 t7:(T7 _Nullable)t7 t8:(T8 _Nullable)t8 t9:(T9 _Nullable)t9 __attribute__((swift_name("init(t1:t2:t3:t4:t5:t6:t7:t8:t9:)"))) __attribute__((objc_designated_initializer)); +- (T1 _Nullable)component1 __attribute__((swift_name("component1()"))); +- (T2 _Nullable)component2 __attribute__((swift_name("component2()"))); +- (T3 _Nullable)component3 __attribute__((swift_name("component3()"))); +- (T4 _Nullable)component4 __attribute__((swift_name("component4()"))); +- (T5 _Nullable)component5 __attribute__((swift_name("component5()"))); +- (T6 _Nullable)component6 __attribute__((swift_name("component6()"))); +- (T7 _Nullable)component7 __attribute__((swift_name("component7()"))); +- (T8 _Nullable)component8 __attribute__((swift_name("component8()"))); +- (T9 _Nullable)component9 __attribute__((swift_name("component9()"))); +- (PAPITuple9 *)doCopyT1:(T1 _Nullable)t1 t2:(T2 _Nullable)t2 t3:(T3 _Nullable)t3 t4:(T4 _Nullable)t4 t5:(T5 _Nullable)t5 t6:(T6 _Nullable)t6 t7:(T7 _Nullable)t7 t8:(T8 _Nullable)t8 t9:(T9 _Nullable)t9 __attribute__((swift_name("doCopy(t1:t2:t3:t4:t5:t6:t7:t8:t9:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) T1 _Nullable t1 __attribute__((swift_name("t1"))); +@property (readonly) T2 _Nullable t2 __attribute__((swift_name("t2"))); +@property (readonly) T3 _Nullable t3 __attribute__((swift_name("t3"))); +@property (readonly) T4 _Nullable t4 __attribute__((swift_name("t4"))); +@property (readonly) T5 _Nullable t5 __attribute__((swift_name("t5"))); +@property (readonly) T6 _Nullable t6 __attribute__((swift_name("t6"))); +@property (readonly) T7 _Nullable t7 __attribute__((swift_name("t7"))); +@property (readonly) T8 _Nullable t8 __attribute__((swift_name("t8"))); +@property (readonly) T9 _Nullable t9 __attribute__((swift_name("t9"))); +@end; + +__attribute__((swift_name("Parser"))) +@protocol PAPIParser +@required +- (PAPIParseResult *)tryParseTokens:(PAPITokenMatchesSequence *)tokens fromPosition:(int32_t)fromPosition __attribute__((swift_name("tryParse(tokens:fromPosition:)"))); +@end; + +__attribute__((swift_name("Token"))) +@interface PAPIToken : PAPIBase +- (instancetype)initWithName:(NSString * _Nullable)name ignored:(BOOL)ignored __attribute__((swift_name("init(name:ignored:)"))) __attribute__((objc_designated_initializer)); +- (int32_t)matchInput:(id)input fromIndex:(int32_t)fromIndex __attribute__((swift_name("match(input:fromIndex:)"))); +- (PAPIParseResult *)tryParseTokens:(PAPITokenMatchesSequence *)tokens fromPosition:(int32_t)fromPosition __attribute__((swift_name("tryParse(tokens:fromPosition:)"))); +@property (readonly) BOOL ignored __attribute__((swift_name("ignored"))); +@property NSString * _Nullable name __attribute__((swift_name("name"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CharToken"))) +@interface PAPICharToken : PAPIToken +- (instancetype)initWithName:(NSString * _Nullable)name text:(unichar)text ignored:(BOOL)ignored __attribute__((swift_name("init(name:text:ignored:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithName:(NSString * _Nullable)name ignored:(BOOL)ignored __attribute__((swift_name("init(name:ignored:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (int32_t)matchInput:(id)input fromIndex:(int32_t)fromIndex __attribute__((swift_name("match(input:fromIndex:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) unichar text __attribute__((swift_name("text"))); +@end; + +__attribute__((swift_name("Tokenizer"))) +@protocol PAPITokenizer +@required +- (PAPITokenMatchesSequence *)tokenizeInput:(NSString *)input __attribute__((swift_name("tokenize(input:)"))); +@property (readonly) NSArray *tokens __attribute__((swift_name("tokens"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DefaultTokenizer"))) +@interface PAPIDefaultTokenizer : PAPIBase +- (instancetype)initWithTokens:(NSArray *)tokens __attribute__((swift_name("init(tokens:)"))) __attribute__((objc_designated_initializer)); +- (PAPITokenMatchesSequence *)tokenizeInput_:(id)input __attribute__((swift_name("tokenize(input_:)"))); +- (PAPITokenMatchesSequence *)tokenizeInput:(NSString *)input __attribute__((swift_name("tokenize(input:)"))); +@property (readonly) NSArray *tokens __attribute__((swift_name("tokens"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("LiteralToken"))) +@interface PAPILiteralToken : PAPIToken +- (instancetype)initWithName:(NSString * _Nullable)name text:(NSString *)text ignored:(BOOL)ignored __attribute__((swift_name("init(name:text:ignored:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithName:(NSString * _Nullable)name ignored:(BOOL)ignored __attribute__((swift_name("init(name:ignored:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (int32_t)matchInput:(id)input fromIndex:(int32_t)fromIndex __attribute__((swift_name("match(input:fromIndex:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *text __attribute__((swift_name("text"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RegexToken"))) +@interface PAPIRegexToken : PAPIToken +- (instancetype)initWithName:(NSString * _Nullable)name patternString:(NSString *)patternString ignored:(BOOL)ignored __attribute__((swift_name("init(name:patternString:ignored:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithName:(NSString * _Nullable)name regex:(PAPIKotlinRegex *)regex ignored:(BOOL)ignored __attribute__((swift_name("init(name:regex:ignored:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithName:(NSString * _Nullable)name ignored:(BOOL)ignored __attribute__((swift_name("init(name:ignored:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (int32_t)matchInput:(id)input fromIndex:(int32_t)fromIndex __attribute__((swift_name("match(input:fromIndex:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@end; + +__attribute__((swift_name("ParseResult"))) +@interface PAPIParseResult<__covariant T> : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +@end; + +__attribute__((swift_name("Parsed"))) +@interface PAPIParsed<__covariant T> : PAPIParseResult +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) int32_t nextPosition __attribute__((swift_name("nextPosition"))); +@property (readonly) T _Nullable value __attribute__((swift_name("value"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("TokenMatch"))) +@interface PAPITokenMatch : PAPIParsed +- (instancetype)initWithType:(PAPIToken *)type tokenIndex:(int32_t)tokenIndex input:(id)input offset:(int32_t)offset length:(int32_t)length row:(int32_t)row column:(int32_t)column __attribute__((swift_name("init(type:tokenIndex:input:offset:length:row:column:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (PAPIToken *)component1 __attribute__((swift_name("component1()"))); +- (int32_t)component2 __attribute__((swift_name("component2()"))); +- (id)component3 __attribute__((swift_name("component3()"))); +- (int32_t)component4 __attribute__((swift_name("component4()"))); +- (int32_t)component5 __attribute__((swift_name("component5()"))); +- (int32_t)component6 __attribute__((swift_name("component6()"))); +- (int32_t)component7 __attribute__((swift_name("component7()"))); +- (PAPITokenMatch *)doCopyType:(PAPIToken *)type tokenIndex:(int32_t)tokenIndex input:(id)input offset:(int32_t)offset length:(int32_t)length row:(int32_t)row column:(int32_t)column __attribute__((swift_name("doCopy(type:tokenIndex:input:offset:length:row:column:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) int32_t column __attribute__((swift_name("column"))); +@property (readonly) id input __attribute__((swift_name("input"))); +@property (readonly) int32_t length __attribute__((swift_name("length"))); +@property (readonly) int32_t nextPosition __attribute__((swift_name("nextPosition"))); +@property (readonly) int32_t offset __attribute__((swift_name("offset"))); +@property (readonly) int32_t row __attribute__((swift_name("row"))); +@property (readonly) NSString *text __attribute__((swift_name("text"))); +@property (readonly) int32_t tokenIndex __attribute__((swift_name("tokenIndex"))); +@property (readonly) PAPIToken *type __attribute__((swift_name("type"))); +@property (readonly) PAPITokenMatch *value __attribute__((swift_name("value"))); +@end; + +__attribute__((swift_name("KotlinSequence"))) +@protocol PAPIKotlinSequence +@required +- (id)iterator __attribute__((swift_name("iterator()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("TokenMatchesSequence"))) +@interface PAPITokenMatchesSequence : PAPIBase +- (instancetype)initWithTokenProducer:(id)tokenProducer matches:(NSMutableArray *)matches __attribute__((swift_name("init(tokenProducer:matches:)"))) __attribute__((objc_designated_initializer)); +- (PAPITokenMatch * _Nullable)getPosition:(int32_t)position __attribute__((swift_name("get(position:)"))); +- (PAPITokenMatch * _Nullable)getNotIgnoredPosition:(int32_t)position __attribute__((swift_name("getNotIgnored(position:)"))); +- (id)iterator __attribute__((swift_name("iterator()"))); +@end; + +__attribute__((swift_name("TokenProducer"))) +@protocol PAPITokenProducer +@required +- (PAPITokenMatch * _Nullable)nextToken __attribute__((swift_name("nextToken()"))); +@end; + +__attribute__((swift_name("ErrorResult"))) +@interface PAPIErrorResult : PAPIParseResult +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AlternativesFailure"))) +@interface PAPIAlternativesFailure : PAPIErrorResult +- (instancetype)initWithErrors:(NSArray *)errors __attribute__((swift_name("init(errors:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (PAPIAlternativesFailure *)doCopyErrors:(NSArray *)errors __attribute__((swift_name("doCopy(errors:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSArray *errors __attribute__((swift_name("errors"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("EmptyParser"))) +@interface PAPIEmptyParser : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)emptyParser __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIEmptyParser *shared __attribute__((swift_name("shared"))); +- (PAPIParseResult *)tryParseTokens:(PAPITokenMatchesSequence *)tokens fromPosition:(int32_t)fromPosition __attribute__((swift_name("tryParse(tokens:fromPosition:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MismatchedToken"))) +@interface PAPIMismatchedToken : PAPIErrorResult +- (instancetype)initWithExpected:(PAPIToken *)expected found:(PAPITokenMatch *)found __attribute__((swift_name("init(expected:found:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (PAPIToken *)component1 __attribute__((swift_name("component1()"))); +- (PAPITokenMatch *)component2 __attribute__((swift_name("component2()"))); +- (PAPIMismatchedToken *)doCopyExpected:(PAPIToken *)expected found:(PAPITokenMatch *)found __attribute__((swift_name("doCopy(expected:found:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIToken *expected __attribute__((swift_name("expected"))); +@property (readonly) PAPITokenMatch *found __attribute__((swift_name("found"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("NoMatchingToken"))) +@interface PAPINoMatchingToken : PAPIErrorResult +- (instancetype)initWithTokenMismatch:(PAPITokenMatch *)tokenMismatch __attribute__((swift_name("init(tokenMismatch:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (PAPITokenMatch *)component1 __attribute__((swift_name("component1()"))); +- (PAPINoMatchingToken *)doCopyTokenMismatch:(PAPITokenMatch *)tokenMismatch __attribute__((swift_name("doCopy(tokenMismatch:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPITokenMatch *tokenMismatch __attribute__((swift_name("tokenMismatch"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ParseException"))) +@interface PAPIParseException : PAPIKotlinException +- (instancetype)initWithErrorResult:(PAPIErrorResult *)errorResult __attribute__((swift_name("init(errorResult:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (instancetype)initWithCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@property (readonly) PAPIErrorResult *errorResult __attribute__((swift_name("errorResult"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UnexpectedEof"))) +@interface PAPIUnexpectedEof : PAPIErrorResult +- (instancetype)initWithExpected:(PAPIToken *)expected __attribute__((swift_name("init(expected:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (PAPIToken *)component1 __attribute__((swift_name("component1()"))); +- (PAPIUnexpectedEof *)doCopyExpected:(PAPIToken *)expected __attribute__((swift_name("doCopy(expected:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIToken *expected __attribute__((swift_name("expected"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UnparsedRemainder"))) +@interface PAPIUnparsedRemainder : PAPIErrorResult +- (instancetype)initWithStartsWith:(PAPITokenMatch *)startsWith __attribute__((swift_name("init(startsWith:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (PAPITokenMatch *)component1 __attribute__((swift_name("component1()"))); +- (PAPIUnparsedRemainder *)doCopyStartsWith:(PAPITokenMatch *)startsWith __attribute__((swift_name("doCopy(startsWith:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPITokenMatch *startsWith __attribute__((swift_name("startsWith"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AndCombinator"))) +@interface PAPIAndCombinator<__covariant R> : PAPIBase +- (PAPIParseResult *)tryParseTokens:(PAPITokenMatchesSequence *)tokens fromPosition:(int32_t)fromPosition __attribute__((swift_name("tryParse(tokens:fromPosition:)"))); +@property (readonly) NSArray *consumers __attribute__((swift_name("consumers"))) __attribute__((deprecated("Use parsers or skipParsers instead to get the type-safe results."))); +@property (readonly) NSArray *parsers __attribute__((swift_name("parsers"))); +@property (readonly) NSArray *skipParsers __attribute__((swift_name("skipParsers"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MapCombinator"))) +@interface PAPIMapCombinator : PAPIBase +- (instancetype)initWithInnerParser:(id)innerParser transform:(R _Nullable (^)(T _Nullable))transform __attribute__((swift_name("init(innerParser:transform:)"))) __attribute__((objc_designated_initializer)); +- (PAPIParseResult *)tryParseTokens:(PAPITokenMatchesSequence *)tokens fromPosition:(int32_t)fromPosition __attribute__((swift_name("tryParse(tokens:fromPosition:)"))); +@property (readonly) id innerParser __attribute__((swift_name("innerParser"))); +@property (readonly) R _Nullable (^transform)(T _Nullable) __attribute__((swift_name("transform"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OptionalCombinator"))) +@interface PAPIOptionalCombinator : PAPIBase +- (instancetype)initWithParser:(id)parser __attribute__((swift_name("init(parser:)"))) __attribute__((objc_designated_initializer)); +- (PAPIParseResult *)tryParseTokens:(PAPITokenMatchesSequence *)tokens fromPosition:(int32_t)fromPosition __attribute__((swift_name("tryParse(tokens:fromPosition:)"))); +@property (readonly) id parser __attribute__((swift_name("parser"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OrCombinator"))) +@interface PAPIOrCombinator : PAPIBase +- (instancetype)initWithParsers:(NSArray> *)parsers __attribute__((swift_name("init(parsers:)"))) __attribute__((objc_designated_initializer)); +- (PAPIParseResult *)tryParseTokens:(PAPITokenMatchesSequence *)tokens fromPosition:(int32_t)fromPosition __attribute__((swift_name("tryParse(tokens:fromPosition:)"))); +@property (readonly) NSArray> *parsers __attribute__((swift_name("parsers"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RepeatCombinator"))) +@interface PAPIRepeatCombinator : PAPIBase +- (PAPIParseResult *> *)tryParseTokens:(PAPITokenMatchesSequence *)tokens fromPosition:(int32_t)fromPosition __attribute__((swift_name("tryParse(tokens:fromPosition:)"))); +@property (readonly) int32_t atLeast __attribute__((swift_name("atLeast"))); +@property (readonly) int32_t atMost __attribute__((swift_name("atMost"))); +@property (readonly) id parser __attribute__((swift_name("parser"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Separated"))) +@interface PAPISeparated : PAPIBase +- (instancetype)initWithTerms:(NSArray *)terms separators:(NSArray *)separators __attribute__((swift_name("init(terms:separators:)"))) __attribute__((objc_designated_initializer)); +- (T _Nullable)reduceFunction:(T _Nullable (^)(T _Nullable, S _Nullable, T _Nullable))function __attribute__((swift_name("reduce(function:)"))); +- (T _Nullable)reduceRightFunction:(T _Nullable (^)(T _Nullable, S _Nullable, T _Nullable))function __attribute__((swift_name("reduceRight(function:)"))); +@property (readonly) NSArray *separators __attribute__((swift_name("separators"))); +@property (readonly) NSArray *terms __attribute__((swift_name("terms"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SeparatedCombinator"))) +@interface PAPISeparatedCombinator : PAPIBase +- (instancetype)initWithTermParser:(id)termParser separatorParser:(id)separatorParser acceptZero:(BOOL)acceptZero __attribute__((swift_name("init(termParser:separatorParser:acceptZero:)"))) __attribute__((objc_designated_initializer)); +- (PAPIParseResult *> *)tryParseTokens:(PAPITokenMatchesSequence *)tokens fromPosition:(int32_t)fromPosition __attribute__((swift_name("tryParse(tokens:fromPosition:)"))); +@property (readonly) BOOL acceptZero __attribute__((swift_name("acceptZero"))); +@property (readonly) id separatorParser __attribute__((swift_name("separatorParser"))); +@property (readonly) id termParser __attribute__((swift_name("termParser"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SkipParser"))) +@interface PAPISkipParser : PAPIBase +- (instancetype)initWithInnerParser:(id)innerParser __attribute__((swift_name("init(innerParser:)"))) __attribute__((objc_designated_initializer)); +@property (readonly) id innerParser __attribute__((swift_name("innerParser"))); +@end; + +__attribute__((swift_name("Grammar"))) +@interface PAPIGrammar<__covariant T> : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (PAPIParseResult *)tryParseTokens:(PAPITokenMatchesSequence *)tokens fromPosition:(int32_t)fromPosition __attribute__((swift_name("tryParse(tokens:fromPosition:)"))); +- (PAPIToken *)getValue:(PAPIToken *)receiver thisRef:(PAPIGrammar *)thisRef property:(id)property __attribute__((swift_name("getValue(_:thisRef:property:)"))); +- (id)getValue:(id)receiver thisRef:(PAPIGrammar *)thisRef property_:(id)property __attribute__((swift_name("getValue(_:thisRef:property_:)"))); +- (PAPIToken *)provideDelegate:(PAPIToken *)receiver thisRef:(PAPIGrammar *)thisRef property:(id)property __attribute__((swift_name("provideDelegate(_:thisRef:property:)"))); +- (id)provideDelegate:(id)receiver thisRef:(PAPIGrammar *)thisRef property_:(id)property __attribute__((swift_name("provideDelegate(_:thisRef:property_:)"))); +@property (readonly) NSSet> *declaredParsers __attribute__((swift_name("declaredParsers"))); +@property (readonly) id rootParser __attribute__((swift_name("rootParser"))); +@property (readonly) id tokenizer __attribute__((swift_name("tokenizer"))); +@property (readonly) NSArray *tokens __attribute__((swift_name("tokens"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ParserReference"))) +@interface PAPIParserReference<__covariant T> : PAPIBase +- (PAPIParseResult *)tryParseTokens:(PAPITokenMatchesSequence *)tokens fromPosition:(int32_t)fromPosition __attribute__((swift_name("tryParse(tokens:fromPosition:)"))); +@property (readonly) id parser __attribute__((swift_name("parser"))); +@end; + +__attribute__((swift_name("ChildJob"))) +@protocol PAPIChildJob +@required +- (void)parentCancelledParentJob:(id)parentJob __attribute__((swift_name("parentCancelled(parentJob:)"))); +@end; + +__attribute__((swift_name("ParentJob"))) +@protocol PAPIParentJob +@required +- (PAPIKotlinCancellationException *)getChildJobCancellationCause __attribute__((swift_name("getChildJobCancellationCause()"))); +@end; + +__attribute__((swift_name("SelectClause0"))) +@protocol PAPISelectClause0 +@required +- (void)registerSelectClause0Select:(id)select block:(id)block __attribute__((swift_name("registerSelectClause0(select:block:)"))); +@end; + +__attribute__((swift_name("JobSupport"))) +@interface PAPIJobSupport : PAPIBase +- (instancetype)initWithActive:(BOOL)active __attribute__((swift_name("init(active:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable("This is internal API and may be removed in the future releases"))); +- (void)afterCompletionState:(id _Nullable)state __attribute__((swift_name("afterCompletion(state:)"))); +- (id)attachChildChild:(id)child __attribute__((swift_name("attachChild(child:)"))); +- (void)cancelCause_:(PAPIKotlinCancellationException * _Nullable)cause __attribute__((swift_name("cancel(cause_:)"))); +- (BOOL)cancelCoroutineCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("cancelCoroutine(cause:)"))); +- (void)cancelInternalCause:(PAPIKotlinThrowable *)cause __attribute__((swift_name("cancelInternal(cause:)"))); +- (NSString *)cancellationExceptionMessage __attribute__((swift_name("cancellationExceptionMessage()"))); +- (BOOL)childCancelledCause:(PAPIKotlinThrowable *)cause __attribute__((swift_name("childCancelled(cause:)"))); +- (PAPIKotlinCancellationException *)getCancellationException __attribute__((swift_name("getCancellationException()"))); +- (PAPIKotlinCancellationException *)getChildJobCancellationCause __attribute__((swift_name("getChildJobCancellationCause()"))); +- (PAPIKotlinThrowable * _Nullable)getCompletionExceptionOrNull __attribute__((swift_name("getCompletionExceptionOrNull()"))); +- (BOOL)handleJobExceptionException:(PAPIKotlinThrowable *)exception __attribute__((swift_name("handleJobException(exception:)"))); +- (id)invokeOnCompletionOnCancelling:(BOOL)onCancelling invokeImmediately:(BOOL)invokeImmediately handler:(void (^)(PAPIKotlinThrowable * _Nullable))handler __attribute__((swift_name("invokeOnCompletion(onCancelling:invokeImmediately:handler:)"))); +- (id)invokeOnCompletionHandler:(void (^)(PAPIKotlinThrowable * _Nullable))handler __attribute__((swift_name("invokeOnCompletion(handler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)joinWithCompletionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("join(completionHandler:)"))); +- (void)onCancellingCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("onCancelling(cause:)"))); +- (void)onCompletionInternalState:(id _Nullable)state __attribute__((swift_name("onCompletionInternal(state:)"))); +- (void)onStart __attribute__((swift_name("onStart()"))); +- (void)parentCancelledParentJob:(id)parentJob __attribute__((swift_name("parentCancelled(parentJob:)"))); +- (void)registerSelectClause0Select:(id)select block:(id)block __attribute__((swift_name("registerSelectClause0(select:block:)"))); +- (BOOL)start __attribute__((swift_name("start()"))); +- (NSString *)toDebugString __attribute__((swift_name("toDebugString()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +- (PAPIKotlinCancellationException *)toCancellationException:(PAPIKotlinThrowable *)receiver message:(NSString * _Nullable)message __attribute__((swift_name("toCancellationException(_:message:)"))); +@property (readonly) id children __attribute__((swift_name("children"))); +@property (readonly) PAPIKotlinThrowable * _Nullable completionCause __attribute__((swift_name("completionCause"))); +@property (readonly) BOOL completionCauseHandled __attribute__((swift_name("completionCauseHandled"))); +@property (readonly) BOOL isActive __attribute__((swift_name("isActive"))); +@property (readonly) BOOL isCancelled __attribute__((swift_name("isCancelled"))); +@property (readonly) BOOL isCompleted __attribute__((swift_name("isCompleted"))); +@property (readonly) BOOL isCompletedExceptionally __attribute__((swift_name("isCompletedExceptionally"))); +@property (readonly) BOOL isScopedCoroutine __attribute__((swift_name("isScopedCoroutine"))); +@property (readonly) id key __attribute__((swift_name("key"))); +@property (readonly) id onJoin __attribute__((swift_name("onJoin"))); +@end; + +__attribute__((swift_name("KotlinContinuation"))) +@protocol PAPIKotlinContinuation +@required +- (void)resumeWithResult:(id _Nullable)result __attribute__((swift_name("resumeWith(result:)"))); +@property (readonly) id context __attribute__((swift_name("context"))); +@end; + +__attribute__((swift_name("AbstractCoroutine"))) +@interface PAPIAbstractCoroutine<__contravariant T> : PAPIJobSupport +- (instancetype)initWithParentContext:(id)parentContext initParentJob:(BOOL)initParentJob active:(BOOL)active __attribute__((swift_name("init(parentContext:initParentJob:active:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithActive:(BOOL)active __attribute__((swift_name("init(active:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (void)afterResumeState:(id _Nullable)state __attribute__((swift_name("afterResume(state:)"))); +- (NSString *)cancellationExceptionMessage __attribute__((swift_name("cancellationExceptionMessage()"))); +- (void)onCancelledCause:(PAPIKotlinThrowable *)cause handled:(BOOL)handled __attribute__((swift_name("onCancelled(cause:handled:)"))); +- (void)onCompletedValue:(T _Nullable)value __attribute__((swift_name("onCompleted(value:)"))); +- (void)onCompletionInternalState:(id _Nullable)state __attribute__((swift_name("onCompletionInternal(state:)"))); +- (void)resumeWithResult:(id _Nullable)result __attribute__((swift_name("resumeWith(result:)"))); +- (void)startStart:(PAPICoroutineStart *)start receiver:(id _Nullable)receiver block:(id)block __attribute__((swift_name("start(start:receiver:block:)"))); +@property (readonly) id context __attribute__((swift_name("context"))); +@property (readonly) id coroutineContext __attribute__((swift_name("coroutineContext"))); +@property (readonly) BOOL isActive __attribute__((swift_name("isActive"))); +@end; + +__attribute__((swift_name("CancellableContinuation"))) +@protocol PAPICancellableContinuation +@required +- (BOOL)cancelCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("cancel(cause:)"))); +- (void)completeResumeToken:(id)token __attribute__((swift_name("completeResume(token:)"))); +- (void)doInitCancellability __attribute__((swift_name("doInitCancellability()"))); +- (void)invokeOnCancellationHandler:(void (^)(PAPIKotlinThrowable * _Nullable))handler __attribute__((swift_name("invokeOnCancellation(handler:)"))); +- (void)resumeValue:(id _Nullable)value onCancellation:(void (^ _Nullable)(PAPIKotlinThrowable *))onCancellation __attribute__((swift_name("resume(value:onCancellation:)"))); +- (id _Nullable)tryResumeValue:(id _Nullable)value idempotent:(id _Nullable)idempotent __attribute__((swift_name("tryResume(value:idempotent:)"))); +- (id _Nullable)tryResumeValue:(id _Nullable)value idempotent:(id _Nullable)idempotent onCancellation:(void (^ _Nullable)(PAPIKotlinThrowable *))onCancellation __attribute__((swift_name("tryResume(value:idempotent:onCancellation:)"))); +- (id _Nullable)tryResumeWithExceptionException:(PAPIKotlinThrowable *)exception __attribute__((swift_name("tryResumeWithException(exception:)"))); +- (void)resumeUndispatched:(PAPICoroutineDispatcher *)receiver value:(id _Nullable)value __attribute__((swift_name("resumeUndispatched(_:value:)"))); +- (void)resumeUndispatchedWithException:(PAPICoroutineDispatcher *)receiver exception:(PAPIKotlinThrowable *)exception __attribute__((swift_name("resumeUndispatchedWithException(_:exception:)"))); +@property (readonly) BOOL isActive __attribute__((swift_name("isActive"))); +@property (readonly) BOOL isCancelled __attribute__((swift_name("isCancelled"))); +@property (readonly) BOOL isCompleted __attribute__((swift_name("isCompleted"))); +@end; + +__attribute__((swift_name("DisposableHandle"))) +@protocol PAPIDisposableHandle +@required +- (void)dispose __attribute__((swift_name("dispose()"))); +@end; + +__attribute__((swift_name("ChildHandle"))) +@protocol PAPIChildHandle +@required +- (BOOL)childCancelledCause:(PAPIKotlinThrowable *)cause __attribute__((swift_name("childCancelled(cause:)"))); +@property (readonly) id _Nullable parent __attribute__((swift_name("parent"))); +@end; + +__attribute__((swift_name("Deferred"))) +@protocol PAPIDeferred +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)awaitWithCompletionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("await(completionHandler:)"))); +- (id _Nullable)getCompleted __attribute__((swift_name("getCompleted()"))); +- (PAPIKotlinThrowable * _Nullable)getCompletionExceptionOrNull __attribute__((swift_name("getCompletionExceptionOrNull()"))); +@property (readonly) id onAwait __attribute__((swift_name("onAwait"))); +@end; + +__attribute__((swift_name("CompletableDeferred"))) +@protocol PAPICompletableDeferred +@required +- (BOOL)completeValue:(id _Nullable)value __attribute__((swift_name("complete(value:)"))); +- (BOOL)completeExceptionallyException:(PAPIKotlinThrowable *)exception __attribute__((swift_name("completeExceptionally(exception:)"))); +@end; + +__attribute__((swift_name("CompletableJob"))) +@protocol PAPICompletableJob +@required +- (BOOL)complete __attribute__((swift_name("complete()"))); +- (BOOL)completeExceptionallyException:(PAPIKotlinThrowable *)exception __attribute__((swift_name("completeExceptionally(exception:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CompletionHandlerException"))) +@interface PAPICompletionHandlerException : PAPIKotlinRuntimeException +- (instancetype)initWithMessage:(NSString *)message cause:(PAPIKotlinThrowable *)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (instancetype)initWithCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((swift_name("CopyableThrowable"))) +@protocol PAPICopyableThrowable +@required +- (PAPIKotlinThrowable * _Nullable)createCopy __attribute__((swift_name("createCopy()"))); +@end; + +__attribute__((swift_name("KotlinAbstractCoroutineContextElement"))) +@interface PAPIKotlinAbstractCoroutineContextElement : PAPIBase +- (instancetype)initWithKey:(id)key __attribute__((swift_name("init(key:)"))) __attribute__((objc_designated_initializer)); +@property (readonly) id key __attribute__((swift_name("key"))); +@end; + +__attribute__((swift_name("KotlinContinuationInterceptor"))) +@protocol PAPIKotlinContinuationInterceptor +@required +- (id)interceptContinuationContinuation:(id)continuation __attribute__((swift_name("interceptContinuation(continuation:)"))); +- (void)releaseInterceptedContinuationContinuation:(id)continuation __attribute__((swift_name("releaseInterceptedContinuation(continuation:)"))); +@end; + +__attribute__((swift_name("CoroutineDispatcher"))) +@interface PAPICoroutineDispatcher : PAPIKotlinAbstractCoroutineContextElement +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (instancetype)initWithKey:(id)key __attribute__((swift_name("init(key:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@property (class, readonly, getter=companion) PAPICoroutineDispatcherKey *companion __attribute__((swift_name("companion"))); +- (void)dispatchContext:(id)context block:(id)block __attribute__((swift_name("dispatch(context:block:)"))); +- (void)dispatchYieldContext:(id)context block:(id)block __attribute__((swift_name("dispatchYield(context:block:)"))); +- (id)interceptContinuationContinuation:(id)continuation __attribute__((swift_name("interceptContinuation(continuation:)"))); +- (BOOL)isDispatchNeededContext:(id)context __attribute__((swift_name("isDispatchNeeded(context:)"))); +- (PAPICoroutineDispatcher *)plusOther__:(PAPICoroutineDispatcher *)other __attribute__((swift_name("plus(other__:)"))) __attribute__((unavailable("Operator '+' on two CoroutineDispatcher objects is meaningless. CoroutineDispatcher is a coroutine context element and `+` is a set-sum operator for coroutine contexts. The dispatcher to the right of `+` just replaces the dispatcher to the left."))); +- (void)releaseInterceptedContinuationContinuation:(id)continuation __attribute__((swift_name("releaseInterceptedContinuation(continuation:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@end; + +__attribute__((swift_name("KotlinCoroutineContextKey"))) +@protocol PAPIKotlinCoroutineContextKey +@required +@end; + +__attribute__((swift_name("KotlinAbstractCoroutineContextKey"))) +@interface PAPIKotlinAbstractCoroutineContextKey : PAPIBase +- (instancetype)initWithBaseKey:(id)baseKey safeCast:(E _Nullable (^)(id))safeCast __attribute__((swift_name("init(baseKey:safeCast:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CoroutineDispatcher.Key"))) +@interface PAPICoroutineDispatcherKey : PAPIKotlinAbstractCoroutineContextKey, PAPICoroutineDispatcher *> ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithBaseKey:(id)baseKey safeCast:(id _Nullable (^)(id))safeCast __attribute__((swift_name("init(baseKey:safeCast:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)key __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICoroutineDispatcherKey *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((swift_name("CoroutineExceptionHandler"))) +@protocol PAPICoroutineExceptionHandler +@required +- (void)handleExceptionContext:(id)context exception:(PAPIKotlinThrowable *)exception __attribute__((swift_name("handleException(context:exception:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CoroutineExceptionHandlerKey"))) +@interface PAPICoroutineExceptionHandlerKey : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)key __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICoroutineExceptionHandlerKey *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CoroutineName"))) +@interface PAPICoroutineName : PAPIKotlinAbstractCoroutineContextElement +- (instancetype)initWithName:(NSString *)name __attribute__((swift_name("init(name:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithKey:(id)key __attribute__((swift_name("init(key:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@property (class, readonly, getter=companion) PAPICoroutineNameKey *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPICoroutineName *)doCopyName:(NSString *)name __attribute__((swift_name("doCopy(name:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CoroutineName.Key"))) +@interface PAPICoroutineNameKey : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)key __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICoroutineNameKey *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CoroutineStart"))) +@interface PAPICoroutineStart : PAPIKotlinEnum ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@property (class, readonly) PAPICoroutineStart *default_ __attribute__((swift_name("default_"))); +@property (class, readonly) PAPICoroutineStart *lazy __attribute__((swift_name("lazy"))); +@property (class, readonly) PAPICoroutineStart *atomic __attribute__((swift_name("atomic"))); +@property (class, readonly) PAPICoroutineStart *undispatched __attribute__((swift_name("undispatched"))); ++ (PAPIKotlinArray *)values __attribute__((swift_name("values()"))); +@property (readonly) BOOL isLazy __attribute__((swift_name("isLazy"))); +@end; + +__attribute__((swift_name("Delay"))) +@protocol PAPIDelay +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)delayTime:(int64_t)time completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("delay(time:completionHandler:)"))); +- (id)invokeOnTimeoutTimeMillis:(int64_t)timeMillis block:(id)block context:(id)context __attribute__((swift_name("invokeOnTimeout(timeMillis:block:context:)"))); +- (void)scheduleResumeAfterDelayTimeMillis:(int64_t)timeMillis continuation:(id)continuation __attribute__((swift_name("scheduleResumeAfterDelay(timeMillis:continuation:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Dispatchers"))) +@interface PAPIDispatchers : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)dispatchers __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDispatchers *shared __attribute__((swift_name("shared"))); +@property (readonly) PAPICoroutineDispatcher *Default __attribute__((swift_name("Default"))); +@property (readonly) PAPIMainCoroutineDispatcher *Main __attribute__((swift_name("Main"))); +@property (readonly) PAPICoroutineDispatcher *Unconfined __attribute__((swift_name("Unconfined"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GlobalScope"))) +@interface PAPIGlobalScope : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)globalScope __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGlobalScope *shared __attribute__((swift_name("shared"))); +@property (readonly) id coroutineContext __attribute__((swift_name("coroutineContext"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("JobKey"))) +@interface PAPIJobKey : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)key __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIJobKey *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((swift_name("MainCoroutineDispatcher"))) +@interface PAPIMainCoroutineDispatcher : PAPICoroutineDispatcher +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (NSString *)description __attribute__((swift_name("description()"))); +- (NSString * _Nullable)toStringInternalImpl __attribute__((swift_name("toStringInternalImpl()"))); +@property (readonly) PAPIMainCoroutineDispatcher *immediate __attribute__((swift_name("immediate"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("NonCancellable"))) +@interface PAPINonCancellable : PAPIKotlinAbstractCoroutineContextElement ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithKey:(id)key __attribute__((swift_name("init(key:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)nonCancellable __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPINonCancellable *shared __attribute__((swift_name("shared"))); +- (id)attachChildChild:(id)child __attribute__((swift_name("attachChild(child:)"))) __attribute__((deprecated("NonCancellable can be used only as an argument for 'withContext', direct usages of its API are prohibited"))); +- (void)cancelCause_:(PAPIKotlinCancellationException * _Nullable)cause __attribute__((swift_name("cancel(cause_:)"))) __attribute__((deprecated("NonCancellable can be used only as an argument for 'withContext', direct usages of its API are prohibited"))); +- (PAPIKotlinCancellationException *)getCancellationException __attribute__((swift_name("getCancellationException()"))) __attribute__((deprecated("NonCancellable can be used only as an argument for 'withContext', direct usages of its API are prohibited"))); +- (id)invokeOnCompletionOnCancelling:(BOOL)onCancelling invokeImmediately:(BOOL)invokeImmediately handler:(void (^)(PAPIKotlinThrowable * _Nullable))handler __attribute__((swift_name("invokeOnCompletion(onCancelling:invokeImmediately:handler:)"))) __attribute__((deprecated("NonCancellable can be used only as an argument for 'withContext', direct usages of its API are prohibited"))); +- (id)invokeOnCompletionHandler:(void (^)(PAPIKotlinThrowable * _Nullable))handler __attribute__((swift_name("invokeOnCompletion(handler:)"))) __attribute__((deprecated("NonCancellable can be used only as an argument for 'withContext', direct usages of its API are prohibited"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)joinWithCompletionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("join(completionHandler:)"))) __attribute__((deprecated("NonCancellable can be used only as an argument for 'withContext', direct usages of its API are prohibited"))); +- (BOOL)start __attribute__((swift_name("start()"))) __attribute__((deprecated("NonCancellable can be used only as an argument for 'withContext', direct usages of its API are prohibited"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) id children __attribute__((swift_name("children"))) __attribute__((deprecated("NonCancellable can be used only as an argument for 'withContext', direct usages of its API are prohibited"))); +@property (readonly) BOOL isActive __attribute__((swift_name("isActive"))) __attribute__((deprecated("NonCancellable can be used only as an argument for 'withContext', direct usages of its API are prohibited"))); +@property (readonly) BOOL isCancelled __attribute__((swift_name("isCancelled"))) __attribute__((deprecated("NonCancellable can be used only as an argument for 'withContext', direct usages of its API are prohibited"))); +@property (readonly) BOOL isCompleted __attribute__((swift_name("isCompleted"))) __attribute__((deprecated("NonCancellable can be used only as an argument for 'withContext', direct usages of its API are prohibited"))); +@property (readonly) id onJoin __attribute__((swift_name("onJoin"))) __attribute__((deprecated("NonCancellable can be used only as an argument for 'withContext', direct usages of its API are prohibited"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("NonDisposableHandle"))) +@interface PAPINonDisposableHandle : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)nonDisposableHandle __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPINonDisposableHandle *shared __attribute__((swift_name("shared"))); +- (BOOL)childCancelledCause:(PAPIKotlinThrowable *)cause __attribute__((swift_name("childCancelled(cause:)"))); +- (void)dispose __attribute__((swift_name("dispose()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) id _Nullable parent __attribute__((swift_name("parent"))); +@end; + +__attribute__((swift_name("Runnable"))) +@protocol PAPIRunnable +@required +- (void)run __attribute__((swift_name("run()"))); +@end; + +__attribute__((swift_name("SingleThreadDispatcher"))) +@interface PAPISingleThreadDispatcher : PAPICoroutineDispatcher +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (void)close __attribute__((swift_name("close()"))); +@property (readonly) int32_t worker __attribute__((swift_name("worker"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("TimeoutCancellationException"))) +@interface PAPITimeoutCancellationException : PAPIKotlinCancellationException +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (instancetype)initWithCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (PAPITimeoutCancellationException * _Nullable)createCopy __attribute__((swift_name("createCopy()"))); +@end; + +__attribute__((swift_name("SendChannel"))) +@protocol PAPISendChannel +@required +- (BOOL)closeCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("close(cause:)"))); +- (void)invokeOnCloseHandler:(void (^)(PAPIKotlinThrowable * _Nullable))handler __attribute__((swift_name("invokeOnClose(handler:)"))); +- (BOOL)offerElement:(id _Nullable)element __attribute__((swift_name("offer(element:)"))) __attribute__((deprecated("Deprecated in the favour of 'trySend' method"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)sendElement:(id _Nullable)element completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("send(element:completionHandler:)"))); +- (id _Nullable)trySendElement:(id _Nullable)element __attribute__((swift_name("trySend(element:)"))); +@property (readonly) BOOL isClosedForSend __attribute__((swift_name("isClosedForSend"))); +@property (readonly) id onSend __attribute__((swift_name("onSend"))); +@end; + +__attribute__((swift_name("BroadcastChannel"))) +@protocol PAPIBroadcastChannel +@required +- (void)cancelCause_:(PAPIKotlinCancellationException * _Nullable)cause __attribute__((swift_name("cancel(cause_:)"))); +- (id)openSubscription __attribute__((swift_name("openSubscription()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BufferOverflow"))) +@interface PAPIBufferOverflow : PAPIKotlinEnum ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@property (class, readonly) PAPIBufferOverflow *suspend __attribute__((swift_name("suspend"))); +@property (class, readonly) PAPIBufferOverflow *dropOldest __attribute__((swift_name("dropOldest"))); +@property (class, readonly) PAPIBufferOverflow *dropLatest __attribute__((swift_name("dropLatest"))); ++ (PAPIKotlinArray *)values __attribute__((swift_name("values()"))); +@end; + +__attribute__((swift_name("ReceiveChannel"))) +@protocol PAPIReceiveChannel +@required +- (void)cancelCause_:(PAPIKotlinCancellationException * _Nullable)cause __attribute__((swift_name("cancel(cause_:)"))); +- (id)iterator __attribute__((swift_name("iterator()"))); +- (id _Nullable)poll __attribute__((swift_name("poll()"))) __attribute__((deprecated("Deprecated in the favour of 'tryReceive'. Please note that the provided replacement does not rethrow channel's close cause as 'poll' did, for the precise replacement please refer to the 'poll' documentation"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)receiveWithCompletionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("receive(completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)receiveCatchingWithCompletionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("receiveCatching(completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)receiveOrNullWithCompletionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("receiveOrNull(completionHandler:)"))) __attribute__((unavailable("Deprecated in favor of 'receiveCatching'. Please note that the provided replacement does not rethrow channel's close cause as 'receiveOrNull' did, for the detailed replacement please refer to the 'receiveOrNull' documentation"))); +- (id _Nullable)tryReceive __attribute__((swift_name("tryReceive()"))); +@property (readonly) BOOL isClosedForReceive __attribute__((swift_name("isClosedForReceive"))); +@property (readonly) BOOL isEmpty __attribute__((swift_name("isEmpty"))); +@property (readonly) id onReceive __attribute__((swift_name("onReceive"))); +@property (readonly) id onReceiveCatching __attribute__((swift_name("onReceiveCatching"))); +@property (readonly) id onReceiveOrNull __attribute__((swift_name("onReceiveOrNull"))) __attribute__((unavailable("Deprecated in favor of onReceiveCatching extension"))); +@end; + +__attribute__((swift_name("Channel"))) +@protocol PAPIChannel +@required +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ChannelFactory"))) +@interface PAPIChannelFactory : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)factory __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIChannelFactory *shared __attribute__((swift_name("shared"))); +@property (readonly) int32_t BUFFERED __attribute__((swift_name("BUFFERED"))); +@property (readonly) int32_t CONFLATED __attribute__((swift_name("CONFLATED"))); +@property (readonly) NSString *DEFAULT_BUFFER_PROPERTY_NAME __attribute__((swift_name("DEFAULT_BUFFER_PROPERTY_NAME"))); +@property (readonly) int32_t RENDEZVOUS __attribute__((swift_name("RENDEZVOUS"))); +@property (readonly) int32_t UNLIMITED __attribute__((swift_name("UNLIMITED"))); +@end; + +__attribute__((swift_name("ChannelIterator"))) +@protocol PAPIChannelIterator +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)hasNextWithCompletionHandler:(void (^)(PAPIBoolean * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("hasNext(completionHandler:)"))); +- (id _Nullable)next_ __attribute__((swift_name("next()"))); +@end; + +__attribute__((swift_name("KotlinNoSuchElementException"))) +@interface PAPIKotlinNoSuchElementException : PAPIKotlinRuntimeException +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (instancetype)initWithCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ClosedReceiveChannelException"))) +@interface PAPIClosedReceiveChannelException : PAPIKotlinNoSuchElementException +- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ClosedSendChannelException"))) +@interface PAPIClosedSendChannelException : PAPIKotlinIllegalStateException +- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (instancetype)initWithCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ConflatedBroadcastChannel"))) +@interface PAPIConflatedBroadcastChannel : PAPIBase +- (instancetype)initWithValue:(E _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (void)cancelCause_:(PAPIKotlinCancellationException * _Nullable)cause __attribute__((swift_name("cancel(cause_:)"))); +- (BOOL)closeCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("close(cause:)"))); +- (void)invokeOnCloseHandler:(void (^)(PAPIKotlinThrowable * _Nullable))handler __attribute__((swift_name("invokeOnClose(handler:)"))); +- (id)openSubscription __attribute__((swift_name("openSubscription()"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)sendElement:(E _Nullable)element completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("send(element:completionHandler:)"))); +- (id _Nullable)trySendElement:(E _Nullable)element __attribute__((swift_name("trySend(element:)"))); +@property (readonly) BOOL isClosedForSend __attribute__((swift_name("isClosedForSend"))); +@property (readonly) id onSend __attribute__((swift_name("onSend"))); +@property (readonly) E _Nullable value __attribute__((swift_name("value"))); +@property (readonly) E _Nullable valueOrNull __attribute__((swift_name("valueOrNull"))); +@end; + +__attribute__((swift_name("ProducerScope"))) +@protocol PAPIProducerScope +@required +@property (readonly) id channel __attribute__((swift_name("channel"))); +@end; + +__attribute__((swift_name("Flow"))) +@protocol PAPIFlow +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)collectCollector:(id)collector completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("collect(collector:completionHandler:)"))); +@end; + +__attribute__((swift_name("AbstractFlow"))) +@interface PAPIAbstractFlow : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)collectCollector:(id)collector completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("collect(collector:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)collectSafelyCollector:(id)collector completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("collectSafely(collector:completionHandler:)"))); +@end; + +__attribute__((swift_name("FlowCollector"))) +@protocol PAPIFlowCollector +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)emitValue:(id _Nullable)value completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("emit(value:completionHandler:)"))); +@end; + +__attribute__((swift_name("SharedFlow"))) +@protocol PAPISharedFlow +@required +@property (readonly) NSArray *replayCache __attribute__((swift_name("replayCache"))); +@end; + +__attribute__((swift_name("MutableSharedFlow"))) +@protocol PAPIMutableSharedFlow +@required +- (void)resetReplayCache __attribute__((swift_name("resetReplayCache()"))); +- (BOOL)tryEmitValue:(id _Nullable)value __attribute__((swift_name("tryEmit(value:)"))); +@property (readonly) id subscriptionCount __attribute__((swift_name("subscriptionCount"))); +@end; + +__attribute__((swift_name("StateFlow"))) +@protocol PAPIStateFlow +@required +@property (readonly) id _Nullable value __attribute__((swift_name("value"))); +@end; + +__attribute__((swift_name("MutableStateFlow"))) +@protocol PAPIMutableStateFlow +@required +- (BOOL)compareAndSetExpect:(id _Nullable)expect update:(id _Nullable)update __attribute__((swift_name("compareAndSet(expect:update:)"))); +- (void)setValue:(id _Nullable)value __attribute__((swift_name("setValue(_:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SharingCommand"))) +@interface PAPISharingCommand : PAPIKotlinEnum ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@property (class, readonly) PAPISharingCommand *start __attribute__((swift_name("start"))); +@property (class, readonly) PAPISharingCommand *stop __attribute__((swift_name("stop"))); +@property (class, readonly) PAPISharingCommand *stopAndResetReplayCache __attribute__((swift_name("stopAndResetReplayCache"))); ++ (PAPIKotlinArray *)values __attribute__((swift_name("values()"))); +@end; + +__attribute__((swift_name("SharingStarted"))) +@protocol PAPISharingStarted +@required +- (id)commandSubscriptionCount:(id)subscriptionCount __attribute__((swift_name("command(subscriptionCount:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SharingStartedCompanion"))) +@interface PAPISharingStartedCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPISharingStartedCompanion *shared __attribute__((swift_name("shared"))); +- (id)WhileSubscribedStopTimeoutMillis:(int64_t)stopTimeoutMillis replayExpirationMillis:(int64_t)replayExpirationMillis __attribute__((swift_name("WhileSubscribed(stopTimeoutMillis:replayExpirationMillis:)"))); +@property (readonly) id Eagerly __attribute__((swift_name("Eagerly"))); +@property (readonly) id Lazily __attribute__((swift_name("Lazily"))); +@end; + +__attribute__((swift_name("FusibleFlow"))) +@protocol PAPIFusibleFlow +@required +- (id)fuseContext:(id)context capacity:(int32_t)capacity onBufferOverflow:(PAPIBufferOverflow *)onBufferOverflow __attribute__((swift_name("fuse(context:capacity:onBufferOverflow:)"))); +@end; + +__attribute__((swift_name("ChannelFlow"))) +@interface PAPIChannelFlow : PAPIBase +- (instancetype)initWithContext:(id)context capacity:(int32_t)capacity onBufferOverflow:(PAPIBufferOverflow *)onBufferOverflow __attribute__((swift_name("init(context:capacity:onBufferOverflow:)"))) __attribute__((objc_designated_initializer)); +- (NSString * _Nullable)additionalToStringProps __attribute__((swift_name("additionalToStringProps()"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)collectCollector:(id)collector completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("collect(collector:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)collectToScope:(id)scope completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("collectTo(scope:completionHandler:)"))); +- (PAPIChannelFlow *)createContext:(id)context capacity:(int32_t)capacity onBufferOverflow:(PAPIBufferOverflow *)onBufferOverflow __attribute__((swift_name("create(context:capacity:onBufferOverflow:)"))); +- (id _Nullable)dropChannelOperators __attribute__((swift_name("dropChannelOperators()"))); +- (id)fuseContext:(id)context capacity:(int32_t)capacity onBufferOverflow:(PAPIBufferOverflow *)onBufferOverflow __attribute__((swift_name("fuse(context:capacity:onBufferOverflow:)"))); +- (id)produceImplScope:(id)scope __attribute__((swift_name("produceImpl(scope:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) int32_t capacity __attribute__((swift_name("capacity"))); +@property (readonly) id context __attribute__((swift_name("context"))); +@property (readonly) PAPIBufferOverflow *onBufferOverflow __attribute__((swift_name("onBufferOverflow"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SendingCollector"))) +@interface PAPISendingCollector : PAPIBase +- (instancetype)initWithChannel:(id)channel __attribute__((swift_name("init(channel:)"))) __attribute__((objc_designated_initializer)); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)emitValue:(T _Nullable)value completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("emit(value:completionHandler:)"))); +@end; + +__attribute__((swift_name("SelectBuilder"))) +@protocol PAPISelectBuilder +@required +- (void)onTimeoutTimeMillis:(int64_t)timeMillis block:(id)block __attribute__((swift_name("onTimeout(timeMillis:block:)"))); +- (void)invoke:(id)receiver block:(id)block __attribute__((swift_name("invoke(_:block:)"))); +- (void)invoke:(id)receiver block_:(id)block __attribute__((swift_name("invoke(_:block_:)"))); +- (void)invoke:(id)receiver param:(id _Nullable)param block:(id)block __attribute__((swift_name("invoke(_:param:block:)"))); +- (void)invoke:(id)receiver block__:(id)block __attribute__((swift_name("invoke(_:block__:)"))); +@end; + +__attribute__((swift_name("SelectClause1"))) +@protocol PAPISelectClause1 +@required +- (void)registerSelectClause1Select:(id)select block:(id)block __attribute__((swift_name("registerSelectClause1(select:block:)"))); +@end; + +__attribute__((swift_name("SelectClause2"))) +@protocol PAPISelectClause2 +@required +- (void)registerSelectClause2Select:(id)select param:(id _Nullable)param block:(id)block __attribute__((swift_name("registerSelectClause2(select:param:block:)"))); +@end; + +__attribute__((swift_name("SelectInstance"))) +@protocol PAPISelectInstance +@required +- (void)disposeOnSelectHandle:(id)handle __attribute__((swift_name("disposeOnSelect(handle:)"))); +- (id _Nullable)performAtomicTrySelectDesc:(PAPIAtomicDesc *)desc __attribute__((swift_name("performAtomicTrySelect(desc:)"))); +- (void)resumeSelectWithExceptionException:(PAPIKotlinThrowable *)exception __attribute__((swift_name("resumeSelectWithException(exception:)"))); +- (BOOL)trySelect __attribute__((swift_name("trySelect()"))); +- (id _Nullable)trySelectOtherOtherOp:(PAPILockFreeLinkedListNodePrepareOp * _Nullable)otherOp __attribute__((swift_name("trySelectOther(otherOp:)"))); +@property (readonly) id completion __attribute__((swift_name("completion"))); +@property (readonly) BOOL isSelected __attribute__((swift_name("isSelected"))); +@end; + +__attribute__((swift_name("AtomicDesc"))) +@interface PAPIAtomicDesc : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (void)completeOp:(PAPIAtomicOp *)op failure:(id _Nullable)failure __attribute__((swift_name("complete(op:failure:)"))); +- (id _Nullable)prepareOp:(PAPIAtomicOp *)op __attribute__((swift_name("prepare(op:)"))); +@property PAPIAtomicOp *atomicOp __attribute__((swift_name("atomicOp"))); +@end; + +__attribute__((swift_name("OpDescriptor"))) +@interface PAPIOpDescriptor : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (BOOL)isEarlierThanThat:(PAPIOpDescriptor *)that __attribute__((swift_name("isEarlierThan(that:)"))); +- (id _Nullable)performAffected:(id _Nullable)affected __attribute__((swift_name("perform(affected:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIAtomicOp * _Nullable atomicOp __attribute__((swift_name("atomicOp"))); +@end; + +__attribute__((swift_name("AtomicOp"))) +@interface PAPIAtomicOp<__contravariant T> : PAPIOpDescriptor +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (void)completeAffected:(T _Nullable)affected failure:(id _Nullable)failure __attribute__((swift_name("complete(affected:failure:)"))); +- (id _Nullable)decideDecision:(id _Nullable)decision __attribute__((swift_name("decide(decision:)"))); +- (id _Nullable)performAffected:(id _Nullable)affected __attribute__((swift_name("perform(affected:)"))); +- (id _Nullable)prepareAffected:(T _Nullable)affected __attribute__((swift_name("prepare(affected:)"))); +@property (readonly) PAPIAtomicOp *atomicOp __attribute__((swift_name("atomicOp"))); +@property (readonly) id _Nullable consensus __attribute__((swift_name("consensus"))); +@property (readonly) BOOL isDecided __attribute__((swift_name("isDecided"))); +@property (readonly) int64_t opSequence __attribute__((swift_name("opSequence"))); +@end; + +__attribute__((swift_name("LockFreeLinkedListNode"))) +@interface PAPILockFreeLinkedListNode : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (void)addLastNode:(PAPILockFreeLinkedListNode *)node __attribute__((swift_name("addLast(node:)"))); +- (BOOL)addLastIfNode:(PAPILockFreeLinkedListNode *)node condition:(PAPIBoolean *(^)(void))condition __attribute__((swift_name("addLastIf(node:condition:)"))); +- (BOOL)addLastIfPrevNode:(PAPILockFreeLinkedListNode *)node predicate:(PAPIBoolean *(^)(PAPILockFreeLinkedListNode *))predicate __attribute__((swift_name("addLastIfPrev(node:predicate:)"))); +- (BOOL)addLastIfPrevAndIfNode:(PAPILockFreeLinkedListNode *)node predicate:(PAPIBoolean *(^)(PAPILockFreeLinkedListNode *))predicate condition:(PAPIBoolean *(^)(void))condition __attribute__((swift_name("addLastIfPrevAndIf(node:predicate:condition:)"))); +- (BOOL)addOneIfEmptyNode:(PAPILockFreeLinkedListNode *)node __attribute__((swift_name("addOneIfEmpty(node:)"))); +- (PAPILockFreeLinkedListNodeAddLastDesc *)describeAddLastNode:(PAPILockFreeLinkedListNode *)node __attribute__((swift_name("describeAddLast(node:)"))); +- (PAPILockFreeLinkedListNodeRemoveFirstDesc *)describeRemoveFirst __attribute__((swift_name("describeRemoveFirst()"))); +- (void)helpRemove __attribute__((swift_name("helpRemove()"))); +- (PAPILockFreeLinkedListNode * _Nullable)nextIfRemoved __attribute__((swift_name("nextIfRemoved()"))); +- (BOOL)remove __attribute__((swift_name("remove()"))); +- (id _Nullable)removeFirstIfIsInstanceOfOrPeekIfPredicate:(PAPIBoolean *(^)(id _Nullable))predicate __attribute__((swift_name("removeFirstIfIsInstanceOfOrPeekIf(predicate:)"))); +- (PAPILockFreeLinkedListNode * _Nullable)removeFirstOrNull __attribute__((swift_name("removeFirstOrNull()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) BOOL isRemoved __attribute__((swift_name("isRemoved"))); +@property (readonly) id _Nullable next __attribute__((swift_name("next"))); +@property (readonly) PAPILockFreeLinkedListNode *nextNode __attribute__((swift_name("nextNode"))); +@property (readonly) PAPILockFreeLinkedListNode *prevNode __attribute__((swift_name("prevNode"))); +@end; + +__attribute__((swift_name("LockFreeLinkedListHead"))) +@interface PAPILockFreeLinkedListHead : PAPILockFreeLinkedListNode +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (void)forEachBlock:(void (^)(PAPILockFreeLinkedListNode *))block __attribute__((swift_name("forEach(block:)"))); +- (PAPILockFreeLinkedListNode * _Nullable)nextIfRemoved __attribute__((swift_name("nextIfRemoved()"))); +- (BOOL)remove __attribute__((swift_name("remove()"))); +@property (readonly) BOOL isEmpty __attribute__((swift_name("isEmpty"))); +@property (readonly) BOOL isRemoved __attribute__((swift_name("isRemoved"))); +@end; + +__attribute__((swift_name("LockFreeLinkedListNode.AbstractAtomicDesc"))) +@interface PAPILockFreeLinkedListNodeAbstractAtomicDesc : PAPIAtomicDesc +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (void)completeOp:(PAPIAtomicOp *)op failure:(id _Nullable)failure __attribute__((swift_name("complete(op:failure:)"))); +- (id _Nullable)failureAffected:(PAPILockFreeLinkedListNode * _Nullable)affected __attribute__((swift_name("failure(affected:)"))); +- (void)finishOnSuccessAffected:(PAPILockFreeLinkedListNode *)affected next:(PAPILockFreeLinkedListNode *)next __attribute__((swift_name("finishOnSuccess(affected:next:)"))); +- (void)finishPreparePrepareOp:(PAPILockFreeLinkedListNodePrepareOp *)prepareOp __attribute__((swift_name("finishPrepare(prepareOp:)"))); +- (id _Nullable)onPreparePrepareOp:(PAPILockFreeLinkedListNodePrepareOp *)prepareOp __attribute__((swift_name("onPrepare(prepareOp:)"))); +- (void)onRemovedAffected:(PAPILockFreeLinkedListNode *)affected __attribute__((swift_name("onRemoved(affected:)"))); +- (id _Nullable)prepareOp:(PAPIAtomicOp *)op __attribute__((swift_name("prepare(op:)"))); +- (BOOL)retryAffected:(PAPILockFreeLinkedListNode *)affected next:(id)next __attribute__((swift_name("retry(affected:next:)"))); +- (PAPILockFreeLinkedListNode * _Nullable)takeAffectedNodeOp:(PAPIOpDescriptor *)op __attribute__((swift_name("takeAffectedNode(op:)"))); +- (id)updatedNextAffected:(PAPILockFreeLinkedListNode *)affected next:(PAPILockFreeLinkedListNode *)next __attribute__((swift_name("updatedNext(affected:next:)"))); +@property (readonly) PAPILockFreeLinkedListNode * _Nullable affectedNode __attribute__((swift_name("affectedNode"))); +@property (readonly) PAPILockFreeLinkedListNode * _Nullable originalNext __attribute__((swift_name("originalNext"))); +@end; + +__attribute__((swift_name("LockFreeLinkedListNodeAddLastDesc"))) +@interface PAPILockFreeLinkedListNodeAddLastDesc : PAPILockFreeLinkedListNodeAbstractAtomicDesc +- (instancetype)initWithQueue:(PAPILockFreeLinkedListNode *)queue node:(T)node __attribute__((swift_name("init(queue:node:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (void)finishOnSuccessAffected:(PAPILockFreeLinkedListNode *)affected next:(PAPILockFreeLinkedListNode *)next __attribute__((swift_name("finishOnSuccess(affected:next:)"))); +- (void)finishPreparePrepareOp:(PAPILockFreeLinkedListNodePrepareOp *)prepareOp __attribute__((swift_name("finishPrepare(prepareOp:)"))); +- (BOOL)retryAffected:(PAPILockFreeLinkedListNode *)affected next:(id)next __attribute__((swift_name("retry(affected:next:)"))); +- (PAPILockFreeLinkedListNode * _Nullable)takeAffectedNodeOp:(PAPIOpDescriptor *)op __attribute__((swift_name("takeAffectedNode(op:)"))); +- (id)updatedNextAffected:(PAPILockFreeLinkedListNode *)affected next:(PAPILockFreeLinkedListNode *)next __attribute__((swift_name("updatedNext(affected:next:)"))); +@property (readonly) PAPILockFreeLinkedListNode * _Nullable affectedNode __attribute__((swift_name("affectedNode"))); +@property (readonly) T node __attribute__((swift_name("node"))); +@property (readonly) PAPILockFreeLinkedListNode *originalNext __attribute__((swift_name("originalNext"))); +@property (readonly) PAPILockFreeLinkedListNode *queue __attribute__((swift_name("queue"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("LockFreeLinkedListNode.PrepareOp"))) +@interface PAPILockFreeLinkedListNodePrepareOp : PAPIOpDescriptor +- (instancetype)initWithAffected:(PAPILockFreeLinkedListNode *)affected next:(PAPILockFreeLinkedListNode *)next desc:(PAPILockFreeLinkedListNodeAbstractAtomicDesc *)desc __attribute__((swift_name("init(affected:next:desc:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (void)finishPrepare __attribute__((swift_name("finishPrepare()"))); +- (id _Nullable)performAffected:(id _Nullable)affected __attribute__((swift_name("perform(affected:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPILockFreeLinkedListNode *affected __attribute__((swift_name("affected"))); +@property (readonly) PAPIAtomicOp *atomicOp __attribute__((swift_name("atomicOp"))); +@property (readonly) PAPILockFreeLinkedListNodeAbstractAtomicDesc *desc __attribute__((swift_name("desc"))); +@property (readonly) PAPILockFreeLinkedListNode *next __attribute__((swift_name("next"))); +@end; + +__attribute__((swift_name("LockFreeLinkedListNodeRemoveFirstDesc"))) +@interface PAPILockFreeLinkedListNodeRemoveFirstDesc : PAPILockFreeLinkedListNodeAbstractAtomicDesc +- (instancetype)initWithQueue:(PAPILockFreeLinkedListNode *)queue __attribute__((swift_name("init(queue:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (id _Nullable)failureAffected:(PAPILockFreeLinkedListNode * _Nullable)affected __attribute__((swift_name("failure(affected:)"))); +- (void)finishOnSuccessAffected:(PAPILockFreeLinkedListNode *)affected next:(PAPILockFreeLinkedListNode *)next __attribute__((swift_name("finishOnSuccess(affected:next:)"))); +- (void)finishPreparePrepareOp:(PAPILockFreeLinkedListNodePrepareOp *)prepareOp __attribute__((swift_name("finishPrepare(prepareOp:)"))); +- (BOOL)retryAffected:(PAPILockFreeLinkedListNode *)affected next:(id)next __attribute__((swift_name("retry(affected:next:)"))); +- (PAPILockFreeLinkedListNode * _Nullable)takeAffectedNodeOp:(PAPIOpDescriptor *)op __attribute__((swift_name("takeAffectedNode(op:)"))); +- (id)updatedNextAffected:(PAPILockFreeLinkedListNode *)affected next:(PAPILockFreeLinkedListNode *)next __attribute__((swift_name("updatedNext(affected:next:)"))); +@property (readonly) PAPILockFreeLinkedListNode * _Nullable affectedNode __attribute__((swift_name("affectedNode"))); +@property (readonly) PAPILockFreeLinkedListNode * _Nullable originalNext __attribute__((swift_name("originalNext"))); +@property (readonly) PAPILockFreeLinkedListNode *queue __attribute__((swift_name("queue"))); +@property (readonly) T _Nullable result __attribute__((swift_name("result"))); +@end; + +__attribute__((swift_name("MainDispatcherFactory"))) +@protocol PAPIMainDispatcherFactory +@required +- (PAPIMainCoroutineDispatcher *)createDispatcherAllFactories:(NSArray> *)allFactories __attribute__((swift_name("createDispatcher(allFactories:)"))); +- (NSString * _Nullable)hintOnError __attribute__((swift_name("hintOnError()"))); +@property (readonly) int32_t loadPriority __attribute__((swift_name("loadPriority"))); +@end; + +__attribute__((swift_name("SynchronizedObject"))) +@interface PAPISynchronizedObject : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (void)lock __attribute__((swift_name("lock()"))); +- (BOOL)tryLock __attribute__((swift_name("tryLock()"))); +- (void)unlock __attribute__((swift_name("unlock()"))); +@property (readonly, getter=lock_) PAPIKotlinAtomicReference *lock __attribute__((swift_name("lock"))); +@end; + +__attribute__((swift_name("ThreadSafeHeap"))) +@interface PAPIThreadSafeHeap : PAPISynchronizedObject +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (void)addLastNode:(T)node __attribute__((swift_name("addLast(node:)"))); +- (BOOL)addLastIfNode:(T)node cond:(PAPIBoolean *(^)(T _Nullable))cond __attribute__((swift_name("addLastIf(node:cond:)"))); +- (void)clear __attribute__((swift_name("clear()"))); +- (T _Nullable)peek __attribute__((swift_name("peek()"))); +- (BOOL)removeNode:(T)node __attribute__((swift_name("remove(node:)"))); +- (T _Nullable)removeFirstIfPredicate:(PAPIBoolean *(^)(T))predicate __attribute__((swift_name("removeFirstIf(predicate:)"))); +- (T _Nullable)removeFirstOrNull __attribute__((swift_name("removeFirstOrNull()"))); +@property (readonly) BOOL isEmpty __attribute__((swift_name("isEmpty"))); +@property (readonly) int32_t size __attribute__((swift_name("size"))); +@end; + +__attribute__((swift_name("ThreadSafeHeapNode"))) +@protocol PAPIThreadSafeHeapNode +@required +@property PAPIThreadSafeHeap * _Nullable heap __attribute__((swift_name("heap"))); +@property int32_t index __attribute__((swift_name("index"))); +@end; + +__attribute__((swift_name("Mutex"))) +@protocol PAPIMutex +@required +- (BOOL)holdsLockOwner:(id)owner __attribute__((swift_name("holdsLock(owner:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)lockOwner:(id _Nullable)owner completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("lock(owner:completionHandler:)"))); +- (BOOL)tryLockOwner:(id _Nullable)owner __attribute__((swift_name("tryLock(owner:)"))); +- (void)unlockOwner:(id _Nullable)owner __attribute__((swift_name("unlock(owner:)"))); +@property (readonly) BOOL isLocked __attribute__((swift_name("isLocked"))); +@property (readonly) id onLock __attribute__((swift_name("onLock"))); +@end; + +__attribute__((swift_name("Semaphore"))) +@protocol PAPISemaphore +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)acquireWithCompletionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("acquire(completionHandler:)"))); +- (void)release_ __attribute__((swift_name("release()"))); +- (BOOL)tryAcquire __attribute__((swift_name("tryAcquire()"))); +@property (readonly) int32_t availablePermits __attribute__((swift_name("availablePermits"))); +@end; + +__attribute__((swift_name("BigNumber"))) +@protocol PAPIBigNumber +@required +- (id)abs __attribute__((swift_name("abs()"))); +- (id)addOther:(id)other __attribute__((swift_name("add(other:)"))); +- (int32_t)compareToOther_:(id)other __attribute__((swift_name("compareTo(other_:)"))); +- (id)divideOther:(id)other __attribute__((swift_name("divide(other:)"))); +- (PAPIKotlinPair, id> *)divideAndRemainderOther:(id)other __attribute__((swift_name("divideAndRemainder(other:)"))); +- (id)getCreator __attribute__((swift_name("getCreator()"))); +- (BOOL)isZero __attribute__((swift_name("isZero()"))); +- (id)multiplyOther:(id)other __attribute__((swift_name("multiply(other:)"))); +- (id)negate __attribute__((swift_name("negate()"))); +- (int64_t)numberOfDecimalDigits __attribute__((swift_name("numberOfDecimalDigits()"))); +- (id)powExponent:(int32_t)exponent __attribute__((swift_name("pow(exponent:)"))); +- (id)powExponent_:(int64_t)exponent __attribute__((swift_name("pow(exponent_:)"))); +- (id)remainderOther:(id)other __attribute__((swift_name("remainder(other:)"))); +- (void)secureOverwrite __attribute__((swift_name("secureOverwrite()"))); +- (int32_t)signum __attribute__((swift_name("signum()"))); +- (id)subtractOther:(id)other __attribute__((swift_name("subtract(other:)"))); +- (NSString *)toStringBase:(int32_t)base __attribute__((swift_name("toString(base:)"))); +- (id)unaryMinus __attribute__((swift_name("unaryMinus()"))); +@property (readonly) BOOL isNegative __attribute__((swift_name("isNegative"))); +@property (readonly) BOOL isPositive __attribute__((swift_name("isPositive"))); +@end; + +__attribute__((swift_name("BigNumberCreator"))) +@protocol PAPIBigNumberCreator +@required +- (id _Nullable)fromBigIntegerBigInteger:(PAPIBigInteger *)bigInteger __attribute__((swift_name("fromBigInteger(bigInteger:)"))); +- (id _Nullable)fromByteByte:(int8_t)byte __attribute__((swift_name("fromByte(byte:)"))); +- (id _Nullable)fromIntInt:(int32_t)int_ __attribute__((swift_name("fromInt(int:)"))); +- (id _Nullable)fromLongLong:(int64_t)long_ __attribute__((swift_name("fromLong(long:)"))); +- (id _Nullable)fromShortShort:(int16_t)short_ __attribute__((swift_name("fromShort(short:)"))); +- (id _Nullable)fromUByteUByte:(uint8_t)uByte __attribute__((swift_name("fromUByte(uByte:)"))); +- (id _Nullable)fromUIntUInt:(uint32_t)uInt __attribute__((swift_name("fromUInt(uInt:)"))); +- (id _Nullable)fromULongULong:(uint64_t)uLong __attribute__((swift_name("fromULong(uLong:)"))); +- (id _Nullable)fromUShortUShort:(uint16_t)uShort __attribute__((swift_name("fromUShort(uShort:)"))); +- (id _Nullable)parseStringString:(NSString *)string base:(int32_t)base __attribute__((swift_name("parseString(string:base:)"))); +- (id _Nullable)tryFromDoubleDouble:(double)double_ exactRequired:(BOOL)exactRequired __attribute__((swift_name("tryFromDouble(double:exactRequired:)"))); +- (id _Nullable)tryFromFloatFloat:(float)float_ exactRequired:(BOOL)exactRequired __attribute__((swift_name("tryFromFloat(float:exactRequired:)"))); +@property (readonly) id _Nullable ONE __attribute__((swift_name("ONE"))); +@property (readonly) id _Nullable TEN __attribute__((swift_name("TEN"))); +@property (readonly) id _Nullable TWO __attribute__((swift_name("TWO"))); +@property (readonly) id _Nullable ZERO __attribute__((swift_name("ZERO"))); +@end; + +__attribute__((swift_name("BigNumberUtil"))) +@protocol PAPIBigNumberUtil +@required +- (id _Nullable)maxFirst:(id _Nullable)first second:(id _Nullable)second __attribute__((swift_name("max(first:second:)"))); +- (id _Nullable)minFirst:(id _Nullable)first second:(id _Nullable)second __attribute__((swift_name("min(first:second:)"))); +@end; + +__attribute__((swift_name("BitwiseCapable"))) +@protocol PAPIBitwiseCapable +@required +- (id _Nullable)andOther:(id _Nullable)other __attribute__((swift_name("and(other:)"))); +- (BOOL)bitAtPosition:(int64_t)position __attribute__((swift_name("bitAt(position:)"))); +- (id _Nullable)not __attribute__((swift_name("not()"))); +- (id _Nullable)orOther:(id _Nullable)other __attribute__((swift_name("or(other:)"))); +- (id _Nullable)setBitAtPosition:(int64_t)position bit:(BOOL)bit __attribute__((swift_name("setBitAt(position:bit:)"))); +- (id _Nullable)shlPlaces:(int32_t)places __attribute__((swift_name("shl(places:)"))); +- (id _Nullable)shrPlaces:(int32_t)places __attribute__((swift_name("shr(places:)"))); +- (id _Nullable)xorOther:(id _Nullable)other __attribute__((swift_name("xor(other:)"))); +@end; + +__attribute__((swift_name("ByteArrayDeserializable"))) +@protocol PAPIByteArrayDeserializable +@required +- (id)fromByteArraySource:(PAPIKotlinByteArray *)source sign:(PAPISign *)sign __attribute__((swift_name("fromByteArray(source:sign:)"))); +- (id)fromUByteArraySource:(id)source sign:(PAPISign *)sign __attribute__((swift_name("fromUByteArray(source:sign:)"))); +@end; + +__attribute__((swift_name("ByteArraySerializable"))) +@protocol PAPIByteArraySerializable +@required +- (PAPIKotlinByteArray *)toByteArray __attribute__((swift_name("toByteArray()"))); +- (id)toUByteArray __attribute__((swift_name("toUByteArray()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Endianness"))) +@interface PAPIEndianness : PAPIKotlinEnum ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@property (class, readonly) PAPIEndianness *big __attribute__((swift_name("big"))); +@property (class, readonly) PAPIEndianness *little __attribute__((swift_name("little"))); ++ (PAPIKotlinArray *)values __attribute__((swift_name("values()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ModularQuotientAndRemainder"))) +@interface PAPIModularQuotientAndRemainder : PAPIBase +- (instancetype)initWithQuotient:(PAPIModularBigInteger *)quotient remainder:(PAPIModularBigInteger *)remainder __attribute__((swift_name("init(quotient:remainder:)"))) __attribute__((objc_designated_initializer)); +- (PAPIModularBigInteger *)component1 __attribute__((swift_name("component1()"))); +- (PAPIModularBigInteger *)component2 __attribute__((swift_name("component2()"))); +- (PAPIModularQuotientAndRemainder *)doCopyQuotient:(PAPIModularBigInteger *)quotient remainder:(PAPIModularBigInteger *)remainder __attribute__((swift_name("doCopy(quotient:remainder:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIModularBigInteger *quotient __attribute__((swift_name("quotient"))); +@property (readonly) PAPIModularBigInteger *remainder __attribute__((swift_name("remainder"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("QuotientAndRemainder"))) +@interface PAPIQuotientAndRemainder : PAPIBase +- (instancetype)initWithQuotient:(PAPIBigInteger *)quotient remainder:(PAPIBigInteger *)remainder __attribute__((swift_name("init(quotient:remainder:)"))) __attribute__((objc_designated_initializer)); +- (PAPIBigInteger *)component1 __attribute__((swift_name("component1()"))); +- (PAPIBigInteger *)component2 __attribute__((swift_name("component2()"))); +- (PAPIQuotientAndRemainder *)doCopyQuotient:(PAPIBigInteger *)quotient remainder:(PAPIBigInteger *)remainder __attribute__((swift_name("doCopy(quotient:remainder:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIBigInteger *quotient __attribute__((swift_name("quotient"))); +@property (readonly) PAPIBigInteger *remainder __attribute__((swift_name("remainder"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ModularBigInteger"))) +@interface PAPIModularBigInteger : PAPIBase +@property (class, readonly, getter=companion) PAPIModularBigIntegerCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIModularBigInteger *)abs __attribute__((swift_name("abs()"))); +- (PAPIModularBigInteger *)addOther:(PAPIModularBigInteger *)other __attribute__((swift_name("add(other:)"))); +- (int8_t)byteValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("byteValue(exactRequired:)"))); +- (int32_t)compareOther:(PAPIModularBigInteger *)other __attribute__((swift_name("compare(other:)"))); +- (int32_t)compareToOther_:(id)other __attribute__((swift_name("compareTo(other_:)"))); +- (PAPIModularBigInteger *)divideOther:(PAPIModularBigInteger *)other __attribute__((swift_name("divide(other:)"))); +- (PAPIKotlinPair *)divideAndRemainderOther:(PAPIModularBigInteger *)other __attribute__((swift_name("divideAndRemainder(other:)"))); +- (PAPIModularQuotientAndRemainder *)divremOther:(PAPIModularBigInteger *)other __attribute__((swift_name("divrem(other:)"))); +- (double)doubleValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("doubleValue(exactRequired:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (float)floatValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("floatValue(exactRequired:)"))); +- (id)getCreator __attribute__((swift_name("getCreator()"))); +- (PAPIModularBigInteger *)getInstance __attribute__((swift_name("getInstance()"))); +- (int32_t)intValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("intValue(exactRequired:)"))); +- (PAPIModularBigInteger *)inverse __attribute__((swift_name("inverse()"))); +- (BOOL)isZero __attribute__((swift_name("isZero()"))); +- (int64_t)longValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("longValue(exactRequired:)"))); +- (PAPIModularBigInteger *)multiplyOther:(PAPIModularBigInteger *)other __attribute__((swift_name("multiply(other:)"))); +- (PAPIModularBigInteger *)negate __attribute__((swift_name("negate()"))); +- (int64_t)numberOfDecimalDigits __attribute__((swift_name("numberOfDecimalDigits()"))); +- (PAPIModularBigInteger *)powExponent__:(PAPIBigInteger *)exponent __attribute__((swift_name("pow(exponent__:)"))); +- (PAPIModularBigInteger *)powExponent___:(PAPIModularBigInteger *)exponent __attribute__((swift_name("pow(exponent___:)"))); +- (PAPIModularBigInteger *)powExponent:(int32_t)exponent __attribute__((swift_name("pow(exponent:)"))); +- (PAPIModularBigInteger *)powExponent_:(int64_t)exponent __attribute__((swift_name("pow(exponent_:)"))); +- (PAPIModularBigInteger *)remOther:(PAPIModularBigInteger *)other __attribute__((swift_name("rem(other:)"))); +- (PAPIModularBigInteger *)remainderOther:(PAPIModularBigInteger *)other __attribute__((swift_name("remainder(other:)"))); +- (void)secureOverwrite __attribute__((swift_name("secureOverwrite()"))); +- (int16_t)shortValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("shortValue(exactRequired:)"))); +- (int32_t)signum __attribute__((swift_name("signum()"))); +- (PAPIModularBigInteger *)subtractOther:(PAPIModularBigInteger *)other __attribute__((swift_name("subtract(other:)"))); +- (PAPIBigInteger *)toBigInteger __attribute__((swift_name("toBigInteger()"))); +- (PAPIKotlinByteArray *)toByteArray __attribute__((swift_name("toByteArray()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +- (NSString *)toStringBase:(int32_t)base __attribute__((swift_name("toString(base:)"))); +- (NSString *)toStringWithModuloBase:(int32_t)base __attribute__((swift_name("toStringWithModulo(base:)"))); +- (id)toUByteArray __attribute__((swift_name("toUByteArray()"))); +- (uint8_t)ubyteValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("ubyteValue(exactRequired:)"))); +- (uint32_t)uintValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("uintValue(exactRequired:)"))); +- (uint64_t)ulongValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("ulongValue(exactRequired:)"))); +- (PAPIModularBigInteger *)unaryMinus __attribute__((swift_name("unaryMinus()"))); +- (uint16_t)ushortValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("ushortValue(exactRequired:)"))); +@property (readonly) PAPIBigInteger *modulus __attribute__((swift_name("modulus"))); +@property (readonly) PAPIBigInteger *residue __attribute__((swift_name("residue"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ModularBigInteger.Companion"))) +@interface PAPIModularBigIntegerCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIModularBigIntegerCompanion *shared __attribute__((swift_name("shared"))); +- (id)creatorForModuloModulo:(PAPIBigInteger *)modulo __attribute__((swift_name("creatorForModulo(modulo:)"))); +- (id)creatorForModuloModulo_:(int8_t)modulo __attribute__((swift_name("creatorForModulo(modulo_:)"))); +- (id)creatorForModuloModulo__:(int32_t)modulo __attribute__((swift_name("creatorForModulo(modulo__:)"))); +- (id)creatorForModuloModulo___:(int64_t)modulo __attribute__((swift_name("creatorForModulo(modulo___:)"))); +- (id)creatorForModuloModulo____:(int16_t)modulo __attribute__((swift_name("creatorForModulo(modulo____:)"))); +- (id)creatorForModuloModulo_____:(uint8_t)modulo __attribute__((swift_name("creatorForModulo(modulo_____:)"))); +- (id)creatorForModuloModulo______:(uint32_t)modulo __attribute__((swift_name("creatorForModulo(modulo______:)"))); +- (id)creatorForModuloModulo_______:(uint64_t)modulo __attribute__((swift_name("creatorForModulo(modulo_______:)"))); +- (id)creatorForModuloModulo________:(uint16_t)modulo __attribute__((swift_name("creatorForModulo(modulo________:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BigDecimal"))) +@interface PAPIBigDecimal : PAPIBase +@property (class, readonly, getter=companion) PAPIBigDecimalCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIBigDecimal *)abs __attribute__((swift_name("abs()"))); +- (PAPIBigDecimal *)addOther:(PAPIBigDecimal *)other __attribute__((swift_name("add(other:)"))); +- (PAPIBigDecimal *)addOther:(PAPIBigDecimal *)other decimalMode:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("add(other:decimalMode:)"))); +- (int8_t)byteValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("byteValue(exactRequired:)"))); +- (PAPIBigDecimal *)ceil __attribute__((swift_name("ceil()"))); +- (int32_t)compareOther:(PAPIBigDecimal *)other __attribute__((swift_name("compare(other:)"))); +- (int32_t)compareToOther_:(id)other __attribute__((swift_name("compareTo(other_:)"))); +- (int32_t)compareToOther:(id)other __attribute__((swift_name("compareTo(other:)"))); +- (PAPIBigDecimal *)doCopySignificand:(PAPIBigInteger *)significand exponent:(int64_t)exponent decimalMode:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("doCopy(significand:exponent:decimalMode:)"))); +- (PAPIBigDecimal *)dec __attribute__((swift_name("dec()"))); +- (PAPIBigDecimal *)divOther:(PAPIBigDecimal *)other __attribute__((swift_name("div(other:)"))); +- (PAPIBigDecimal *)divideOther:(PAPIBigDecimal *)other __attribute__((swift_name("divide(other:)"))); +- (PAPIBigDecimal *)divideOther:(PAPIBigDecimal *)other decimalMode:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("divide(other:decimalMode:)"))); +- (PAPIKotlinPair *)divideAndRemainderOther:(PAPIBigDecimal *)other __attribute__((swift_name("divideAndRemainder(other:)"))); +- (PAPIKotlinPair *)divremOther:(PAPIBigDecimal *)other __attribute__((swift_name("divrem(other:)"))); +- (double)doubleValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("doubleValue(exactRequired:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (float)floatValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("floatValue(exactRequired:)"))); +- (PAPIBigDecimal *)floor __attribute__((swift_name("floor()"))); +- (id)getCreator __attribute__((swift_name("getCreator()"))); +- (PAPIBigDecimal *)getInstance __attribute__((swift_name("getInstance()"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIBigDecimal *)inc __attribute__((swift_name("inc()"))); +- (int32_t)intValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("intValue(exactRequired:)"))); +- (BOOL)isWholeNumber __attribute__((swift_name("isWholeNumber()"))); +- (BOOL)isZero __attribute__((swift_name("isZero()"))); +- (int64_t)longValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("longValue(exactRequired:)"))); +- (PAPIBigDecimal *)minusOther:(PAPIBigDecimal *)other __attribute__((swift_name("minus(other:)"))); +- (PAPIBigDecimal *)moveDecimalPointPlaces:(int32_t)places __attribute__((swift_name("moveDecimalPoint(places:)"))); +- (PAPIBigDecimal *)moveDecimalPointPlaces_:(int64_t)places __attribute__((swift_name("moveDecimalPoint(places_:)"))); +- (PAPIBigDecimal *)multiplyOther:(PAPIBigDecimal *)other __attribute__((swift_name("multiply(other:)"))); +- (PAPIBigDecimal *)multiplyOther:(PAPIBigDecimal *)other decimalMode:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("multiply(other:decimalMode:)"))); +- (PAPIBigDecimal *)negate __attribute__((swift_name("negate()"))); +- (int64_t)numberOfDecimalDigits __attribute__((swift_name("numberOfDecimalDigits()"))); +- (PAPIBigDecimal *)plusOther:(PAPIBigDecimal *)other __attribute__((swift_name("plus(other:)"))); +- (PAPIBigDecimal *)powExponent:(int32_t)exponent __attribute__((swift_name("pow(exponent:)"))); +- (PAPIBigDecimal *)powExponent_:(int64_t)exponent __attribute__((swift_name("pow(exponent_:)"))); +- (PAPIBigDecimal *)remOther:(PAPIBigDecimal *)other __attribute__((swift_name("rem(other:)"))); +- (PAPIBigDecimal *)remainderOther:(PAPIBigDecimal *)other __attribute__((swift_name("remainder(other:)"))); +- (PAPIBigDecimal *)removeScale __attribute__((swift_name("removeScale()"))); +- (PAPIBigDecimal *)roundSignificandDecimalMode:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("roundSignificand(decimalMode:)"))); +- (PAPIBigDecimal *)roundToDigitPositionDigitPosition:(int64_t)digitPosition roundingMode:(PAPIRoundingMode *)roundingMode __attribute__((swift_name("roundToDigitPosition(digitPosition:roundingMode:)"))); +- (PAPIBigDecimal *)roundToDigitPositionAfterDecimalPointDigitPosition:(int64_t)digitPosition roundingMode:(PAPIRoundingMode *)roundingMode __attribute__((swift_name("roundToDigitPositionAfterDecimalPoint(digitPosition:roundingMode:)"))); +- (PAPIBigDecimal *)scaleScale:(int64_t)scale __attribute__((swift_name("scale(scale:)"))); +- (void)secureOverwrite __attribute__((swift_name("secureOverwrite()"))); +- (int16_t)shortValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("shortValue(exactRequired:)"))); +- (int32_t)signum __attribute__((swift_name("signum()"))); +- (PAPIBigDecimal *)subtractOther:(PAPIBigDecimal *)other __attribute__((swift_name("subtract(other:)"))); +- (PAPIBigDecimal *)subtractOther:(PAPIBigDecimal *)other decimalMode:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("subtract(other:decimalMode:)"))); +- (PAPIBigDecimal *)timesOther:(PAPIBigDecimal *)other __attribute__((swift_name("times(other:)"))); +- (PAPIBigInteger *)toBigInteger __attribute__((swift_name("toBigInteger()"))); +- (NSString *)toPlainString __attribute__((swift_name("toPlainString()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +- (NSString *)toStringBase:(int32_t)base __attribute__((swift_name("toString(base:)"))); +- (NSString *)toStringExpanded __attribute__((swift_name("toStringExpanded()"))); +- (uint8_t)ubyteValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("ubyteValue(exactRequired:)"))); +- (uint32_t)uintValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("uintValue(exactRequired:)"))); +- (uint64_t)ulongValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("ulongValue(exactRequired:)"))); +- (PAPIBigDecimal *)unaryMinus __attribute__((swift_name("unaryMinus()"))); +- (uint16_t)ushortValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("ushortValue(exactRequired:)"))); +- (NSString *)times:(int64_t)receiver char:(unichar)char_ __attribute__((swift_name("times(_:char:)"))); +@property (readonly) PAPIDecimalMode * _Nullable decimalMode __attribute__((swift_name("decimalMode"))); +@property (readonly) int64_t exponent __attribute__((swift_name("exponent"))); +@property (readonly) int64_t precision __attribute__((swift_name("precision"))); +@property (readonly) int64_t precisionLimit __attribute__((swift_name("precisionLimit"))); +@property (readonly) PAPIRoundingMode *roundingMode __attribute__((swift_name("roundingMode"))); +@property (readonly) int64_t scale __attribute__((swift_name("scale"))); +@property (readonly) PAPIBigInteger *significand __attribute__((swift_name("significand"))); +@property (readonly) BOOL usingScale __attribute__((swift_name("usingScale"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BigDecimal.Companion"))) +@interface PAPIBigDecimalCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIBigDecimalCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIBigDecimal *)fromBigDecimalBigDecimal:(PAPIBigDecimal *)bigDecimal decimalMode:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromBigDecimal(bigDecimal:decimalMode:)"))); +- (PAPIBigDecimal *)fromBigIntegerBigInteger:(PAPIBigInteger *)bigInteger __attribute__((swift_name("fromBigInteger(bigInteger:)"))); +- (PAPIBigDecimal *)fromBigIntegerBigInteger:(PAPIBigInteger *)bigInteger decimalMode:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromBigInteger(bigInteger:decimalMode:)"))); +- (PAPIBigDecimal *)fromBigIntegerWithExponentBigInteger:(PAPIBigInteger *)bigInteger exponent:(int64_t)exponent decimalMode:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromBigIntegerWithExponent(bigInteger:exponent:decimalMode:)"))); +- (PAPIBigDecimal *)fromByteByte:(int8_t)byte __attribute__((swift_name("fromByte(byte:)"))); +- (PAPIBigDecimal *)fromByteByte:(int8_t)byte decimalMode:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromByte(byte:decimalMode:)"))); +- (PAPIBigDecimal *)fromByteAsSignificandByte:(int8_t)byte decimalMode:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromByteAsSignificand(byte:decimalMode:)"))); +- (PAPIBigDecimal *)fromByteWithExponentByte:(int8_t)byte exponent:(int64_t)exponent decimalMode:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromByteWithExponent(byte:exponent:decimalMode:)"))); +- (PAPIBigDecimal *)fromDoubleDouble:(double)double_ decimalMode:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromDouble(double:decimalMode:)"))); +- (PAPIBigDecimal *)fromFloatFloat:(float)float_ decimalMode:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromFloat(float:decimalMode:)"))); +- (PAPIBigDecimal *)fromIntInt:(int32_t)int_ __attribute__((swift_name("fromInt(int:)"))); +- (PAPIBigDecimal *)fromIntInt:(int32_t)int_ decimalMode:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromInt(int:decimalMode:)"))); +- (PAPIBigDecimal *)fromIntAsSignificandInt:(int32_t)int_ decimalMode:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromIntAsSignificand(int:decimalMode:)"))); +- (PAPIBigDecimal *)fromIntWithExponentInt:(int32_t)int_ exponent:(int64_t)exponent decimalMode:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromIntWithExponent(int:exponent:decimalMode:)"))); +- (PAPIBigDecimal *)fromLongLong:(int64_t)long_ __attribute__((swift_name("fromLong(long:)"))); +- (PAPIBigDecimal *)fromLongLong:(int64_t)long_ decimalMode:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromLong(long:decimalMode:)"))); +- (PAPIBigDecimal *)fromLongAsSignificandLong:(int64_t)long_ decimalMode:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromLongAsSignificand(long:decimalMode:)"))); +- (PAPIBigDecimal *)fromLongWithExponentLong:(int64_t)long_ exponent:(int64_t)exponent decimalMode:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromLongWithExponent(long:exponent:decimalMode:)"))); +- (PAPIBigDecimal *)fromShortShort:(int16_t)short_ __attribute__((swift_name("fromShort(short:)"))); +- (PAPIBigDecimal *)fromShortShort:(int16_t)short_ decimalMode:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromShort(short:decimalMode:)"))); +- (PAPIBigDecimal *)fromShortAsSignificandShort:(int16_t)short_ decimalMode:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromShortAsSignificand(short:decimalMode:)"))); +- (PAPIBigDecimal *)fromShortWithExponentShort:(int16_t)short_ exponent:(int64_t)exponent decimalMode:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromShortWithExponent(short:exponent:decimalMode:)"))); +- (PAPIBigDecimal *)fromUByteUByte:(uint8_t)uByte __attribute__((swift_name("fromUByte(uByte:)"))); +- (PAPIBigDecimal *)fromUByteUByte:(uint8_t)uByte decimalMode:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromUByte(uByte:decimalMode:)"))); +- (PAPIBigDecimal *)fromUIntUInt:(uint32_t)uInt __attribute__((swift_name("fromUInt(uInt:)"))); +- (PAPIBigDecimal *)fromUIntUInt:(uint32_t)uInt decimalMode:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromUInt(uInt:decimalMode:)"))); +- (PAPIBigDecimal *)fromULongULong:(uint64_t)uLong __attribute__((swift_name("fromULong(uLong:)"))); +- (PAPIBigDecimal *)fromULongULong:(uint64_t)uLong decimalMode:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromULong(uLong:decimalMode:)"))); +- (PAPIBigDecimal *)fromUShortUShort:(uint16_t)uShort __attribute__((swift_name("fromUShort(uShort:)"))); +- (PAPIBigDecimal *)fromUShortUShort:(uint16_t)uShort decimalMode:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromUShort(uShort:decimalMode:)"))); +- (PAPIBigDecimal *)handleZeroRoundingSignificand:(PAPIBigInteger *)significand exponent:(int64_t)exponent decimalMode:(PAPIDecimalMode *)decimalMode __attribute__((swift_name("handleZeroRounding(significand:exponent:decimalMode:)"))); +- (PAPIBigDecimal *)parseStringString:(NSString *)string __attribute__((swift_name("parseString(string:)"))); +- (PAPIBigDecimal *)parseStringString:(NSString *)string base:(int32_t)base __attribute__((swift_name("parseString(string:base:)"))); +- (PAPIBigDecimal *)parseStringWithModeFloatingPointString:(NSString *)floatingPointString decimalMode:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("parseStringWithMode(floatingPointString:decimalMode:)"))); +- (PAPIBigDecimal *)tryFromDoubleDouble:(double)double_ exactRequired:(BOOL)exactRequired __attribute__((swift_name("tryFromDouble(double:exactRequired:)"))); +- (PAPIBigDecimal *)tryFromFloatFloat:(float)float_ exactRequired:(BOOL)exactRequired __attribute__((swift_name("tryFromFloat(float:exactRequired:)"))); +@property (readonly) PAPIBigDecimal *ONE __attribute__((swift_name("ONE"))); +@property (readonly) PAPIBigDecimal *TEN __attribute__((swift_name("TEN"))); +@property (readonly) PAPIBigDecimal *TWO __attribute__((swift_name("TWO"))); +@property (readonly) PAPIBigDecimal *ZERO __attribute__((swift_name("ZERO"))); +@property BOOL useToStringExpanded __attribute__((swift_name("useToStringExpanded"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DecimalMode"))) +@interface PAPIDecimalMode : PAPIBase +- (instancetype)initWithDecimalPrecision:(int64_t)decimalPrecision roundingMode:(PAPIRoundingMode *)roundingMode scale:(int64_t)scale __attribute__((swift_name("init(decimalPrecision:roundingMode:scale:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIDecimalModeCompanion *companion __attribute__((swift_name("companion"))); +- (int64_t)component1 __attribute__((swift_name("component1()"))); +- (PAPIRoundingMode *)component2 __attribute__((swift_name("component2()"))); +- (int64_t)component3 __attribute__((swift_name("component3()"))); +- (PAPIDecimalMode *)doCopyDecimalPrecision:(int64_t)decimalPrecision roundingMode:(PAPIRoundingMode *)roundingMode scale:(int64_t)scale __attribute__((swift_name("doCopy(decimalPrecision:roundingMode:scale:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) int64_t decimalPrecision __attribute__((swift_name("decimalPrecision"))); +@property (readonly) BOOL isPrecisionUnlimited __attribute__((swift_name("isPrecisionUnlimited"))); +@property (readonly) PAPIRoundingMode *roundingMode __attribute__((swift_name("roundingMode"))); +@property (readonly) int64_t scale __attribute__((swift_name("scale"))); +@property (readonly) BOOL usingScale __attribute__((swift_name("usingScale"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DecimalMode.Companion"))) +@interface PAPIDecimalModeCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDecimalModeCompanion *shared __attribute__((swift_name("shared"))); +@property (readonly) PAPIDecimalMode *DEFAULT __attribute__((swift_name("DEFAULT"))); +@property (readonly) PAPIDecimalMode *US_CURRENCY __attribute__((swift_name("US_CURRENCY"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RoundingMode"))) +@interface PAPIRoundingMode : PAPIKotlinEnum ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@property (class, readonly) PAPIRoundingMode *floor __attribute__((swift_name("floor"))); +@property (class, readonly) PAPIRoundingMode *ceiling __attribute__((swift_name("ceiling"))); +@property (class, readonly) PAPIRoundingMode *awayFromZero __attribute__((swift_name("awayFromZero"))); +@property (class, readonly) PAPIRoundingMode *towardsZero __attribute__((swift_name("towardsZero"))); +@property (class, readonly) PAPIRoundingMode *none __attribute__((swift_name("none"))); +@property (class, readonly) PAPIRoundingMode *roundHalfAwayFromZero __attribute__((swift_name("roundHalfAwayFromZero"))); +@property (class, readonly) PAPIRoundingMode *roundHalfTowardsZero __attribute__((swift_name("roundHalfTowardsZero"))); +@property (class, readonly) PAPIRoundingMode *roundHalfCeiling __attribute__((swift_name("roundHalfCeiling"))); +@property (class, readonly) PAPIRoundingMode *roundHalfFloor __attribute__((swift_name("roundHalfFloor"))); +@property (class, readonly) PAPIRoundingMode *roundHalfToEven __attribute__((swift_name("roundHalfToEven"))); +@property (class, readonly) PAPIRoundingMode *roundHalfToOdd __attribute__((swift_name("roundHalfToOdd"))); ++ (PAPIKotlinArray *)values __attribute__((swift_name("values()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BigInteger"))) +@interface PAPIBigInteger : PAPIBase +- (instancetype)initWithLong:(int64_t)long_ __attribute__((swift_name("init(long:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithInt:(int32_t)int_ __attribute__((swift_name("init(int:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithShort:(int16_t)short_ __attribute__((swift_name("init(short:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithByte:(int8_t)byte __attribute__((swift_name("init(byte:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIBigIntegerCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIBigInteger *)abs __attribute__((swift_name("abs()"))); +- (PAPIBigInteger *)addOther:(PAPIBigInteger *)other __attribute__((swift_name("add(other:)"))); +- (PAPIBigInteger *)andOther:(PAPIBigInteger *)other __attribute__((swift_name("and(other:)"))); +- (BOOL)bitAtPosition:(int64_t)position __attribute__((swift_name("bitAt(position:)"))); +- (int8_t)byteValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("byteValue(exactRequired:)"))); +- (int32_t)compareOther:(PAPIBigInteger *)other __attribute__((swift_name("compare(other:)"))); +- (int32_t)compareDoubleAndBigIntDouble:(double)double_ comparisonBlock:(PAPIInt *(^)(PAPIBigInteger *))comparisonBlock __attribute__((swift_name("compareDoubleAndBigInt(double:comparisonBlock:)"))); +- (int32_t)compareFloatAndBigIntFloat:(float)float_ comparisonBlock:(PAPIInt *(^)(PAPIBigInteger *))comparisonBlock __attribute__((swift_name("compareFloatAndBigInt(float:comparisonBlock:)"))); +- (int32_t)compareToOther_:(id)other __attribute__((swift_name("compareTo(other_:)"))); +- (int32_t)compareToOther:(id)other __attribute__((swift_name("compareTo(other:)"))); +- (PAPIBigInteger *)dec __attribute__((swift_name("dec()"))); +- (PAPIBigInteger *)divideOther:(PAPIBigInteger *)other __attribute__((swift_name("divide(other:)"))); +- (PAPIKotlinPair *)divideAndRemainderOther:(PAPIBigInteger *)other __attribute__((swift_name("divideAndRemainder(other:)"))); +- (PAPIBigIntegerQuotientAndRemainder *)divremOther:(PAPIBigInteger *)other __attribute__((swift_name("divrem(other:)"))); +- (double)doubleValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("doubleValue(exactRequired:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (float)floatValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("floatValue(exactRequired:)"))); +- (PAPIBigInteger *)gcdOther:(PAPIBigInteger *)other __attribute__((swift_name("gcd(other:)"))); +- (id)getCreator __attribute__((swift_name("getCreator()"))); +- (PAPIBigInteger *)getInstance __attribute__((swift_name("getInstance()"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIBigInteger *)inc __attribute__((swift_name("inc()"))); +- (int32_t)intValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("intValue(exactRequired:)"))); +- (BOOL)isZero __attribute__((swift_name("isZero()"))); +- (int64_t)longValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("longValue(exactRequired:)"))); +- (PAPIBigInteger *)modModulo:(PAPIBigInteger *)modulo __attribute__((swift_name("mod(modulo:)"))); +- (PAPIBigInteger *)modInverseModulo:(PAPIBigInteger *)modulo __attribute__((swift_name("modInverse(modulo:)"))); +- (PAPIBigInteger *)multiplyOther:(PAPIBigInteger *)other __attribute__((swift_name("multiply(other:)"))); +- (PAPIBigInteger *)negate __attribute__((swift_name("negate()"))); +- (PAPIBigInteger *)not __attribute__((swift_name("not()"))); +- (int64_t)numberOfDecimalDigits __attribute__((swift_name("numberOfDecimalDigits()"))); +- (PAPIBigInteger *)orOther:(PAPIBigInteger *)other __attribute__((swift_name("or(other:)"))); +- (PAPIBigInteger *)powExponent__:(PAPIBigInteger *)exponent __attribute__((swift_name("pow(exponent__:)"))); +- (PAPIBigInteger *)powExponent:(int32_t)exponent __attribute__((swift_name("pow(exponent:)"))); +- (PAPIBigInteger *)powExponent_:(int64_t)exponent __attribute__((swift_name("pow(exponent_:)"))); +- (PAPIBigIntegerBigIntegerRange *)rangeToOther:(PAPIBigInteger *)other __attribute__((swift_name("rangeTo(other:)"))); +- (PAPIBigInteger *)remainderOther:(PAPIBigInteger *)other __attribute__((swift_name("remainder(other:)"))); +- (void)secureOverwrite __attribute__((swift_name("secureOverwrite()"))); +- (PAPIBigInteger *)setBitAtPosition:(int64_t)position bit:(BOOL)bit __attribute__((swift_name("setBitAt(position:bit:)"))); +- (PAPIBigInteger *)shlPlaces:(int32_t)places __attribute__((swift_name("shl(places:)"))); +- (int16_t)shortValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("shortValue(exactRequired:)"))); +- (PAPIBigInteger *)shrPlaces:(int32_t)places __attribute__((swift_name("shr(places:)"))); +- (int32_t)signum __attribute__((swift_name("signum()"))); +- (PAPIBigInteger *)sqrt __attribute__((swift_name("sqrt()"))); +- (PAPIBigIntegerSqareRootAndRemainder *)sqrtAndRemainder __attribute__((swift_name("sqrtAndRemainder()"))); +- (PAPIBigInteger *)subtractOther:(PAPIBigInteger *)other __attribute__((swift_name("subtract(other:)"))); +- (NSString *)timesChar:(unichar)char_ __attribute__((swift_name("times(char:)"))); +- (PAPIKotlinByteArray *)toByteArray __attribute__((swift_name("toByteArray()"))); +- (PAPIModularBigInteger *)toModularBigIntegerModulo:(PAPIBigInteger *)modulo __attribute__((swift_name("toModularBigInteger(modulo:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +- (NSString *)toStringBase:(int32_t)base __attribute__((swift_name("toString(base:)"))); +- (id)toUByteArray __attribute__((swift_name("toUByteArray()"))); +- (uint8_t)ubyteValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("ubyteValue(exactRequired:)"))); +- (uint32_t)uintValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("uintValue(exactRequired:)"))); +- (uint64_t)ulongValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("ulongValue(exactRequired:)"))); +- (PAPIBigInteger *)unaryMinus __attribute__((swift_name("unaryMinus()"))); +- (uint16_t)ushortValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("ushortValue(exactRequired:)"))); +- (PAPIBigInteger *)xorOther:(PAPIBigInteger *)other __attribute__((swift_name("xor(other:)"))); +@property (readonly) int32_t numberOfWords __attribute__((swift_name("numberOfWords"))); +@property NSString * _Nullable stringRepresentation __attribute__((swift_name("stringRepresentation"))); +@end; + +__attribute__((swift_name("KotlinIterator"))) +@protocol PAPIKotlinIterator +@required +- (BOOL)hasNext __attribute__((swift_name("hasNext()"))); +- (id _Nullable)next_ __attribute__((swift_name("next()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BigInteger.BigIntegerIterator"))) +@interface PAPIBigIntegerBigIntegerIterator : PAPIBase +- (instancetype)initWithStart:(PAPIBigInteger *)start endInclusive:(PAPIBigInteger *)endInclusive __attribute__((swift_name("init(start:endInclusive:)"))) __attribute__((objc_designated_initializer)); +- (BOOL)hasNext __attribute__((swift_name("hasNext()"))); +- (PAPIBigInteger *)next_ __attribute__((swift_name("next()"))); +@end; + +__attribute__((swift_name("KotlinClosedRange"))) +@protocol PAPIKotlinClosedRange +@required +- (BOOL)containsValue:(id)value __attribute__((swift_name("contains(value:)"))); +- (BOOL)isEmpty_ __attribute__((swift_name("isEmpty()"))); +@property (readonly) id endInclusive __attribute__((swift_name("endInclusive"))); +@property (readonly, getter=start_) id start __attribute__((swift_name("start"))); +@end; + +__attribute__((swift_name("KotlinIterable"))) +@protocol PAPIKotlinIterable +@required +- (id)iterator __attribute__((swift_name("iterator()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BigInteger.BigIntegerRange"))) +@interface PAPIBigIntegerBigIntegerRange : PAPIBase +- (instancetype)initWithStart:(PAPIBigInteger *)start endInclusive:(PAPIBigInteger *)endInclusive __attribute__((swift_name("init(start:endInclusive:)"))) __attribute__((objc_designated_initializer)); +- (id)iterator __attribute__((swift_name("iterator()"))); +@property (readonly) PAPIBigInteger *endInclusive __attribute__((swift_name("endInclusive"))); +@property (readonly, getter=start_) PAPIBigInteger *start __attribute__((swift_name("start"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BigInteger.Companion"))) +@interface PAPIBigIntegerCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIBigIntegerCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIBigInteger *)fromBigIntegerBigInteger:(PAPIBigInteger *)bigInteger __attribute__((swift_name("fromBigInteger(bigInteger:)"))); +- (PAPIBigInteger *)fromByteByte:(int8_t)byte __attribute__((swift_name("fromByte(byte:)"))); +- (PAPIBigInteger *)fromByteArraySource:(PAPIKotlinByteArray *)source sign:(PAPISign *)sign __attribute__((swift_name("fromByteArray(source:sign:)"))); +- (PAPIBigInteger *)fromIntInt:(int32_t)int_ __attribute__((swift_name("fromInt(int:)"))); +- (PAPIBigInteger *)fromLongLong:(int64_t)long_ __attribute__((swift_name("fromLong(long:)"))); +- (PAPIBigInteger *)fromShortShort:(int16_t)short_ __attribute__((swift_name("fromShort(short:)"))); +- (PAPIBigInteger *)fromUByteUByte:(uint8_t)uByte __attribute__((swift_name("fromUByte(uByte:)"))); +- (PAPIBigInteger *)fromUByteArraySource:(id)source sign:(PAPISign *)sign __attribute__((swift_name("fromUByteArray(source:sign:)"))); +- (PAPIBigInteger *)fromUIntUInt:(uint32_t)uInt __attribute__((swift_name("fromUInt(uInt:)"))); +- (PAPIBigInteger *)fromULongULong:(uint64_t)uLong __attribute__((swift_name("fromULong(uLong:)"))); +- (PAPIBigInteger *)fromUShortUShort:(uint16_t)uShort __attribute__((swift_name("fromUShort(uShort:)"))); +- (PAPIBigInteger *)maxFirst:(PAPIBigInteger *)first second:(PAPIBigInteger *)second __attribute__((swift_name("max(first:second:)"))); +- (PAPIBigInteger *)minFirst:(PAPIBigInteger *)first second:(PAPIBigInteger *)second __attribute__((swift_name("min(first:second:)"))); +- (PAPIBigInteger *)parseStringString:(NSString *)string base:(int32_t)base __attribute__((swift_name("parseString(string:base:)"))); +- (PAPIBigInteger *)tryFromDoubleDouble:(double)double_ exactRequired:(BOOL)exactRequired __attribute__((swift_name("tryFromDouble(double:exactRequired:)"))); +- (PAPIBigInteger *)tryFromFloatFloat:(float)float_ exactRequired:(BOOL)exactRequired __attribute__((swift_name("tryFromFloat(float:exactRequired:)"))); +@property (readonly) double LOG_10_OF_2 __attribute__((swift_name("LOG_10_OF_2"))); +@property (readonly) PAPIBigInteger *ONE __attribute__((swift_name("ONE"))); +@property (readonly) PAPIBigInteger *TEN __attribute__((swift_name("TEN"))); +@property (readonly) PAPIBigInteger *TWO __attribute__((swift_name("TWO"))); +@property (readonly) PAPIBigInteger *ZERO __attribute__((swift_name("ZERO"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BigInteger.QuotientAndRemainder"))) +@interface PAPIBigIntegerQuotientAndRemainder : PAPIBase +- (instancetype)initWithQuotient:(PAPIBigInteger *)quotient remainder:(PAPIBigInteger *)remainder __attribute__((swift_name("init(quotient:remainder:)"))) __attribute__((objc_designated_initializer)); +- (PAPIBigInteger *)component1 __attribute__((swift_name("component1()"))); +- (PAPIBigInteger *)component2 __attribute__((swift_name("component2()"))); +- (PAPIBigIntegerQuotientAndRemainder *)doCopyQuotient:(PAPIBigInteger *)quotient remainder:(PAPIBigInteger *)remainder __attribute__((swift_name("doCopy(quotient:remainder:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIBigInteger *quotient __attribute__((swift_name("quotient"))); +@property (readonly) PAPIBigInteger *remainder __attribute__((swift_name("remainder"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BigInteger.SqareRootAndRemainder"))) +@interface PAPIBigIntegerSqareRootAndRemainder : PAPIBase +- (instancetype)initWithSquareRoot:(PAPIBigInteger *)squareRoot remainder:(PAPIBigInteger *)remainder __attribute__((swift_name("init(squareRoot:remainder:)"))) __attribute__((objc_designated_initializer)); +- (PAPIBigInteger *)component1 __attribute__((swift_name("component1()"))); +- (PAPIBigInteger *)component2 __attribute__((swift_name("component2()"))); +- (PAPIBigIntegerSqareRootAndRemainder *)doCopySquareRoot:(PAPIBigInteger *)squareRoot remainder:(PAPIBigInteger *)remainder __attribute__((swift_name("doCopy(squareRoot:remainder:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIBigInteger *remainder __attribute__((swift_name("remainder"))); +@property (readonly) PAPIBigInteger *squareRoot __attribute__((swift_name("squareRoot"))); +@end; + +__attribute__((swift_name("BigInteger32ArithmeticInterface"))) +@protocol PAPIBigInteger32ArithmeticInterface +@required +- (id)addFirst:(id)first second:(id)second __attribute__((swift_name("add(first:second:)"))); +- (id)andOperand:(id)operand mask:(id)mask __attribute__((swift_name("and(operand:mask:)"))); +- (BOOL)bitAtOperand:(id)operand position:(int64_t)position __attribute__((swift_name("bitAt(operand:position:)"))); +- (int32_t)bitLengthValue:(id)value __attribute__((swift_name("bitLength(value:)"))); +- (int32_t)compareFirst:(id)first second:(id)second __attribute__((swift_name("compare(first:second:)"))); +- (PAPIKotlinPair *)divideFirst:(id)first second:(id)second __attribute__((swift_name("divide(first:second:)"))); +- (id)fromByteByte:(int8_t)byte __attribute__((swift_name("fromByte(byte:)"))); +- (PAPIKotlinPair *)fromByteArraySource:(PAPIKotlinByteArray *)source __attribute__((swift_name("fromByteArray(source:)"))); +- (id)fromIntInt:(int32_t)int_ __attribute__((swift_name("fromInt(int:)"))); +- (id)fromLongLong:(int64_t)long_ __attribute__((swift_name("fromLong(long:)"))); +- (id)fromShortShort:(int16_t)short_ __attribute__((swift_name("fromShort(short:)"))); +- (id)fromUByteUByte:(uint8_t)uByte __attribute__((swift_name("fromUByte(uByte:)"))); +- (PAPIKotlinPair *)fromUByteArraySource:(id)source __attribute__((swift_name("fromUByteArray(source:)"))); +- (id)fromUIntUInt:(uint32_t)uInt __attribute__((swift_name("fromUInt(uInt:)"))); +- (id)fromULongULong:(uint64_t)uLong __attribute__((swift_name("fromULong(uLong:)"))); +- (id)fromUShortUShort:(uint16_t)uShort __attribute__((swift_name("fromUShort(uShort:)"))); +- (id)gcdFirst:(id)first second:(id)second __attribute__((swift_name("gcd(first:second:)"))); +- (id)multiplyFirst:(id)first second:(id)second __attribute__((swift_name("multiply(first:second:)"))); +- (id)notOperand:(id)operand __attribute__((swift_name("not(operand:)"))); +- (int64_t)numberOfDecimalDigitsOperand:(id)operand __attribute__((swift_name("numberOfDecimalDigits(operand:)"))); +- (int32_t)numberOfLeadingZerosInAWordValue:(uint32_t)value __attribute__((swift_name("numberOfLeadingZerosInAWord(value:)"))); +- (id)orOperand:(id)operand mask:(id)mask __attribute__((swift_name("or(operand:mask:)"))); +- (id)parseForBaseNumber:(NSString *)number base:(int32_t)base __attribute__((swift_name("parseForBase(number:base:)"))); +- (id)powBase:(id)base exponent:(int64_t)exponent __attribute__((swift_name("pow(base:exponent:)"))); +- (PAPIKotlinPair *)reciprocalOperand:(id)operand __attribute__((swift_name("reciprocal(operand:)"))); +- (id)setBitAtOperand:(id)operand position:(int64_t)position bit:(BOOL)bit __attribute__((swift_name("setBitAt(operand:position:bit:)"))); +- (id)shiftLeftOperand:(id)operand places:(int32_t)places __attribute__((swift_name("shiftLeft(operand:places:)"))); +- (id)shiftRightOperand:(id)operand places:(int32_t)places __attribute__((swift_name("shiftRight(operand:places:)"))); +- (PAPIKotlinPair *)sqrtOperand:(id)operand __attribute__((swift_name("sqrt(operand:)"))); +- (id)subtractFirst:(id)first second:(id)second __attribute__((swift_name("subtract(first:second:)"))); +- (PAPIKotlinByteArray *)toByteArrayOperand:(id)operand __attribute__((swift_name("toByteArray(operand:)"))); +- (NSString *)toStringOperand:(id)operand base:(int32_t)base __attribute__((swift_name("toString(operand:base:)"))); +- (id)toUByteArrayOperand:(id)operand __attribute__((swift_name("toUByteArray(operand:)"))); +- (PAPIKotlinArray *)toUIntArrayRepresentedAsTypedUByteArrayOperand:(id)operand endianness:(PAPIEndianness *)endianness __attribute__((swift_name("toUIntArrayRepresentedAsTypedUByteArray(operand:endianness:)"))); +- (id)toUIntArrayRepresentedAsUByteArrayOperand:(id)operand endianness:(PAPIEndianness *)endianness __attribute__((swift_name("toUIntArrayRepresentedAsUByteArray(operand:endianness:)"))); +- (int32_t)trailingZeroBitsValue:(id)value __attribute__((swift_name("trailingZeroBits(value:)"))); +- (id)xorOperand:(id)operand mask:(id)mask __attribute__((swift_name("xor(operand:mask:)"))); +@property (readonly) id ONE __attribute__((swift_name("ONE"))); +@property (readonly) id TEN __attribute__((swift_name("TEN"))); +@property (readonly) id TWO __attribute__((swift_name("TWO"))); +@property (readonly) id ZERO __attribute__((swift_name("ZERO"))); +@property (readonly) PAPIKotlinIntArray *_emitIntArray __attribute__((swift_name("_emitIntArray"))); +@property (readonly) int32_t basePowerOfTwo __attribute__((swift_name("basePowerOfTwo"))); +@end; + +__attribute__((swift_name("BigIntegerArithmetic"))) +@protocol PAPIBigIntegerArithmetic +@required +- (id)addFirst:(id)first second_:(id)second __attribute__((swift_name("add(first:second_:)"))); +- (id)andOperand:(id)operand mask_:(id)mask __attribute__((swift_name("and(operand:mask_:)"))); +- (BOOL)bitAtOperand:(id)operand position_:(int64_t)position __attribute__((swift_name("bitAt(operand:position_:)"))); +- (int32_t)bitLengthValue_:(id)value __attribute__((swift_name("bitLength(value_:)"))); +- (int32_t)compareFirst:(id)first second_:(id)second __attribute__((swift_name("compare(first:second_:)"))); +- (PAPIKotlinPair *)divideFirst:(id)first second_:(id)second __attribute__((swift_name("divide(first:second_:)"))); +- (id)fromByteByte:(int8_t)byte __attribute__((swift_name("fromByte(byte:)"))); +- (id)fromByteArraySource:(PAPIKotlinByteArray *)source __attribute__((swift_name("fromByteArray(source:)"))); +- (id)fromIntInt:(int32_t)int_ __attribute__((swift_name("fromInt(int:)"))); +- (id)fromLongLong:(int64_t)long_ __attribute__((swift_name("fromLong(long:)"))); +- (id)fromShortShort:(int16_t)short_ __attribute__((swift_name("fromShort(short:)"))); +- (id)fromUByteUByte:(uint8_t)uByte __attribute__((swift_name("fromUByte(uByte:)"))); +- (id)fromUByteArraySource:(id)source __attribute__((swift_name("fromUByteArray(source:)"))); +- (id)fromUIntUInt:(uint32_t)uInt __attribute__((swift_name("fromUInt(uInt:)"))); +- (id)fromULongULong:(uint64_t)uLong __attribute__((swift_name("fromULong(uLong:)"))); +- (id)fromUShortUShort:(uint16_t)uShort __attribute__((swift_name("fromUShort(uShort:)"))); +- (id)gcdFirst:(id)first second_:(id)second __attribute__((swift_name("gcd(first:second_:)"))); +- (id)multiplyFirst:(id)first second_:(id)second __attribute__((swift_name("multiply(first:second_:)"))); +- (id)notOperand_:(id)operand __attribute__((swift_name("not(operand_:)"))); +- (int64_t)numberOfDecimalDigitsOperand_:(id)operand __attribute__((swift_name("numberOfDecimalDigits(operand_:)"))); +- (int32_t)numberOfLeadingZerosInAWordValue_:(uint64_t)value __attribute__((swift_name("numberOfLeadingZerosInAWord(value_:)"))); +- (id)orOperand:(id)operand mask_:(id)mask __attribute__((swift_name("or(operand:mask_:)"))); +- (id)parseForBaseNumber:(NSString *)number base:(int32_t)base __attribute__((swift_name("parseForBase(number:base:)"))); +- (id)powBase:(id)base exponent_:(int64_t)exponent __attribute__((swift_name("pow(base:exponent_:)"))); +- (PAPIKotlinPair *)reciprocalOperand_:(id)operand __attribute__((swift_name("reciprocal(operand_:)"))); +- (id)setBitAtOperand:(id)operand position:(int64_t)position bit_:(BOOL)bit __attribute__((swift_name("setBitAt(operand:position:bit_:)"))); +- (id)shiftLeftOperand:(id)operand places_:(int32_t)places __attribute__((swift_name("shiftLeft(operand:places_:)"))); +- (id)shiftRightOperand:(id)operand places_:(int32_t)places __attribute__((swift_name("shiftRight(operand:places_:)"))); +- (PAPIKotlinPair *)sqrtOperand_:(id)operand __attribute__((swift_name("sqrt(operand_:)"))); +- (id)subtractFirst:(id)first second_:(id)second __attribute__((swift_name("subtract(first:second_:)"))); +- (PAPIKotlinByteArray *)toByteArrayOperand_:(id)operand __attribute__((swift_name("toByteArray(operand_:)"))); +- (NSString *)toStringOperand:(id)operand base_:(int32_t)base __attribute__((swift_name("toString(operand:base_:)"))); +- (id)toUByteArrayOperand_:(id)operand __attribute__((swift_name("toUByteArray(operand_:)"))); +- (int32_t)trailingZeroBitsValue_:(id)value __attribute__((swift_name("trailingZeroBits(value_:)"))); +- (id)xorOperand:(id)operand mask_:(id)mask __attribute__((swift_name("xor(operand:mask_:)"))); +@property (readonly) id ONE __attribute__((swift_name("ONE"))); +@property (readonly) id TEN __attribute__((swift_name("TEN"))); +@property (readonly) id TWO __attribute__((swift_name("TWO"))); +@property (readonly) id ZERO __attribute__((swift_name("ZERO"))); +@property (readonly) PAPIKotlinLongArray *_emitLongArray __attribute__((swift_name("_emitLongArray"))); +@property (readonly) int32_t basePowerOfTwo __attribute__((swift_name("basePowerOfTwo"))); +@end; + +__attribute__((swift_name("BigIntegerList63Arithmetic"))) +@protocol PAPIBigIntegerList63Arithmetic +@required +- (NSArray *)addFirst:(NSArray *)first second__:(NSArray *)second __attribute__((swift_name("add(first:second__:)"))); +- (NSArray *)andOperand:(NSArray *)operand mask__:(NSArray *)mask __attribute__((swift_name("and(operand:mask__:)"))); +- (BOOL)bitAtOperand:(NSArray *)operand position__:(int64_t)position __attribute__((swift_name("bitAt(operand:position__:)"))); +- (int32_t)bitLengthValue__:(NSArray *)value __attribute__((swift_name("bitLength(value__:)"))); +- (int32_t)compareFirst:(NSArray *)first second__:(NSArray *)second __attribute__((swift_name("compare(first:second__:)"))); +- (PAPIKotlinPair *, NSArray *> *)divideFirst:(NSArray *)first second__:(NSArray *)second __attribute__((swift_name("divide(first:second__:)"))); +- (NSArray *)fromByteByte:(int8_t)byte __attribute__((swift_name("fromByte(byte:)"))); +- (NSArray *)fromByteArraySource:(PAPIKotlinByteArray *)source __attribute__((swift_name("fromByteArray(source:)"))); +- (NSArray *)fromIntInt:(int32_t)int_ __attribute__((swift_name("fromInt(int:)"))); +- (NSArray *)fromLongLong:(int64_t)long_ __attribute__((swift_name("fromLong(long:)"))); +- (NSArray *)fromShortShort:(int16_t)short_ __attribute__((swift_name("fromShort(short:)"))); +- (NSArray *)fromUByteUByte:(uint8_t)uByte __attribute__((swift_name("fromUByte(uByte:)"))); +- (NSArray *)fromUByteArraySource:(id)source __attribute__((swift_name("fromUByteArray(source:)"))); +- (NSArray *)fromUIntUInt:(uint32_t)uInt __attribute__((swift_name("fromUInt(uInt:)"))); +- (NSArray *)fromULongULong:(uint64_t)uLong __attribute__((swift_name("fromULong(uLong:)"))); +- (NSArray *)fromUShortUShort:(uint16_t)uShort __attribute__((swift_name("fromUShort(uShort:)"))); +- (NSArray *)gcdFirst:(NSArray *)first second__:(NSArray *)second __attribute__((swift_name("gcd(first:second__:)"))); +- (NSArray *)multiplyFirst:(NSArray *)first second__:(NSArray *)second __attribute__((swift_name("multiply(first:second__:)"))); +- (NSArray *)notOperand__:(NSArray *)operand __attribute__((swift_name("not(operand__:)"))); +- (int64_t)numberOfDecimalDigitsOperand__:(NSArray *)operand __attribute__((swift_name("numberOfDecimalDigits(operand__:)"))); +- (int32_t)numberOfLeadingZerosInAWordValue_:(uint64_t)value __attribute__((swift_name("numberOfLeadingZerosInAWord(value_:)"))); +- (NSArray *)orOperand:(NSArray *)operand mask__:(NSArray *)mask __attribute__((swift_name("or(operand:mask__:)"))); +- (NSArray *)parseForBaseNumber:(NSString *)number base:(int32_t)base __attribute__((swift_name("parseForBase(number:base:)"))); +- (NSArray *)powBase:(NSArray *)base exponent__:(int64_t)exponent __attribute__((swift_name("pow(base:exponent__:)"))); +- (PAPIKotlinPair *, NSArray *> *)reciprocalOperand__:(NSArray *)operand __attribute__((swift_name("reciprocal(operand__:)"))); +- (NSArray *)setBitAtOperand:(NSArray *)operand position:(int64_t)position bit__:(BOOL)bit __attribute__((swift_name("setBitAt(operand:position:bit__:)"))); +- (NSArray *)shiftLeftOperand:(NSArray *)operand places__:(int32_t)places __attribute__((swift_name("shiftLeft(operand:places__:)"))); +- (NSArray *)shiftRightOperand:(NSArray *)operand places__:(int32_t)places __attribute__((swift_name("shiftRight(operand:places__:)"))); +- (PAPIKotlinPair *, NSArray *> *)sqrtOperand__:(NSArray *)operand __attribute__((swift_name("sqrt(operand__:)"))); +- (NSArray *)subtractFirst:(NSArray *)first second__:(NSArray *)second __attribute__((swift_name("subtract(first:second__:)"))); +- (PAPIKotlinByteArray *)toByteArrayOperand__:(NSArray *)operand __attribute__((swift_name("toByteArray(operand__:)"))); +- (NSString *)toStringOperand:(NSArray *)operand base__:(int32_t)base __attribute__((swift_name("toString(operand:base__:)"))); +- (id)toUByteArrayOperand__:(NSArray *)operand __attribute__((swift_name("toUByteArray(operand__:)"))); +- (int32_t)trailingZeroBitsValue__:(NSArray *)value __attribute__((swift_name("trailingZeroBits(value__:)"))); +- (NSArray *)xorOperand:(NSArray *)operand mask__:(NSArray *)mask __attribute__((swift_name("xor(operand:mask__:)"))); +@property (readonly) NSArray *ONE __attribute__((swift_name("ONE"))); +@property (readonly) NSArray *TEN __attribute__((swift_name("TEN"))); +@property (readonly) NSArray *TWO __attribute__((swift_name("TWO"))); +@property (readonly) NSArray *ZERO __attribute__((swift_name("ZERO"))); +@property (readonly) int32_t basePowerOfTwo __attribute__((swift_name("basePowerOfTwo"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ComparisonWorkaround"))) +@interface PAPIComparisonWorkaround : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)comparisonWorkaround __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIComparisonWorkaround *shared __attribute__((swift_name("shared"))); +- (BOOL)isSpecialHandlingForFloatNeededNumber:(id)number __attribute__((swift_name("isSpecialHandlingForFloatNeeded(number:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Quadruple"))) +@interface PAPIQuadruple : PAPIBase +- (instancetype)initWithA:(A _Nullable)a b:(B _Nullable)b c:(C _Nullable)c d:(D _Nullable)d __attribute__((swift_name("init(a:b:c:d:)"))) __attribute__((objc_designated_initializer)); +- (A _Nullable)component1 __attribute__((swift_name("component1()"))); +- (B _Nullable)component2 __attribute__((swift_name("component2()"))); +- (C _Nullable)component3 __attribute__((swift_name("component3()"))); +- (D _Nullable)component4 __attribute__((swift_name("component4()"))); +- (PAPIQuadruple *)doCopyA:(A _Nullable)a b:(B _Nullable)b c:(C _Nullable)c d:(D _Nullable)d __attribute__((swift_name("doCopy(a:b:c:d:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) A _Nullable a __attribute__((swift_name("a"))); +@property (readonly) B _Nullable b __attribute__((swift_name("b"))); +@property (readonly) C _Nullable c __attribute__((swift_name("c"))); +@property (readonly) D _Nullable d __attribute__((swift_name("d"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Quintuple"))) +@interface PAPIQuintuple : PAPIBase +- (instancetype)initWithA:(A _Nullable)a b:(B _Nullable)b c:(C _Nullable)c d:(D _Nullable)d e:(E _Nullable)e __attribute__((swift_name("init(a:b:c:d:e:)"))) __attribute__((objc_designated_initializer)); +- (A _Nullable)component1 __attribute__((swift_name("component1()"))); +- (B _Nullable)component2 __attribute__((swift_name("component2()"))); +- (C _Nullable)component3 __attribute__((swift_name("component3()"))); +- (D _Nullable)component4 __attribute__((swift_name("component4()"))); +- (E _Nullable)component5 __attribute__((swift_name("component5()"))); +- (PAPIQuintuple *)doCopyA:(A _Nullable)a b:(B _Nullable)b c:(C _Nullable)c d:(D _Nullable)d e:(E _Nullable)e __attribute__((swift_name("doCopy(a:b:c:d:e:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) A _Nullable a __attribute__((swift_name("a"))); +@property (readonly) B _Nullable b __attribute__((swift_name("b"))); +@property (readonly) C _Nullable c __attribute__((swift_name("c"))); +@property (readonly) D _Nullable d __attribute__((swift_name("d"))); +@property (readonly) E _Nullable e __attribute__((swift_name("e"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Sextuple"))) +@interface PAPISextuple : PAPIBase +- (instancetype)initWithA:(A _Nullable)a b:(B _Nullable)b c:(C _Nullable)c d:(D _Nullable)d e:(E _Nullable)e f:(F _Nullable)f __attribute__((swift_name("init(a:b:c:d:e:f:)"))) __attribute__((objc_designated_initializer)); +- (A _Nullable)component1 __attribute__((swift_name("component1()"))); +- (B _Nullable)component2 __attribute__((swift_name("component2()"))); +- (C _Nullable)component3 __attribute__((swift_name("component3()"))); +- (D _Nullable)component4 __attribute__((swift_name("component4()"))); +- (E _Nullable)component5 __attribute__((swift_name("component5()"))); +- (F _Nullable)component6 __attribute__((swift_name("component6()"))); +- (PAPISextuple *)doCopyA:(A _Nullable)a b:(B _Nullable)b c:(C _Nullable)c d:(D _Nullable)d e:(E _Nullable)e f:(F _Nullable)f __attribute__((swift_name("doCopy(a:b:c:d:e:f:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) A _Nullable a __attribute__((swift_name("a"))); +@property (readonly) B _Nullable b __attribute__((swift_name("b"))); +@property (readonly) C _Nullable c __attribute__((swift_name("c"))); +@property (readonly) D _Nullable d __attribute__((swift_name("d"))); +@property (readonly) E _Nullable e __attribute__((swift_name("e"))); +@property (readonly) F _Nullable f __attribute__((swift_name("f"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Sign"))) +@interface PAPISign : PAPIKotlinEnum ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@property (class, readonly) PAPISign *positive __attribute__((swift_name("positive"))); +@property (class, readonly) PAPISign *negative __attribute__((swift_name("negative"))); +@property (class, readonly) PAPISign *zero __attribute__((swift_name("zero"))); ++ (PAPIKotlinArray *)values __attribute__((swift_name("values()"))); +- (PAPISign *)not __attribute__((swift_name("not()"))); +- (int32_t)toInt __attribute__((swift_name("toInt()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AES"))) +@interface PAPIAES : PAPIBase +- (instancetype)initWithKey:(PAPIKotlinByteArray *)key __attribute__((swift_name("init(key:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithKeyWords:(PAPIKotlinIntArray *)keyWords __attribute__((swift_name("init(keyWords:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIAESCompanion *companion __attribute__((swift_name("companion"))); +- (void)decryptBlockM:(PAPIKotlinIntArray *)M offset:(int32_t)offset __attribute__((swift_name("decryptBlock(M:offset:)"))); +- (void)encryptBlockM:(PAPIKotlinIntArray *)M offset:(int32_t)offset __attribute__((swift_name("encryptBlock(M:offset:)"))); +@property (readonly) PAPIKotlinIntArray *keyWords __attribute__((swift_name("keyWords"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AES.Companion"))) +@interface PAPIAESCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIAESCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIKotlinByteArray *)decryptAes128CbcData:(PAPIKotlinByteArray *)data key:(PAPIKotlinByteArray *)key iv:(PAPIKotlinByteArray *)iv padding:(PAPIPadding *)padding __attribute__((swift_name("decryptAes128Cbc(data:key:iv:padding:)"))); +- (PAPIKotlinByteArray *)decryptAesCbcData:(PAPIKotlinByteArray *)data key:(PAPIKotlinByteArray *)key iv:(PAPIKotlinByteArray *)iv padding:(PAPIPadding *)padding __attribute__((swift_name("decryptAesCbc(data:key:iv:padding:)"))); +- (PAPIKotlinByteArray *)decryptAesCfbData:(PAPIKotlinByteArray *)data key:(PAPIKotlinByteArray *)key iv:(PAPIKotlinByteArray *)iv padding:(PAPIPadding *)padding __attribute__((swift_name("decryptAesCfb(data:key:iv:padding:)"))); +- (PAPIKotlinByteArray *)decryptAesEcbData:(PAPIKotlinByteArray *)data key:(PAPIKotlinByteArray *)key padding:(PAPIPadding *)padding __attribute__((swift_name("decryptAesEcb(data:key:padding:)"))); +- (PAPIKotlinByteArray *)decryptAesOfbData:(PAPIKotlinByteArray *)data key:(PAPIKotlinByteArray *)key iv:(PAPIKotlinByteArray *)iv padding:(PAPIPadding *)padding __attribute__((swift_name("decryptAesOfb(data:key:iv:padding:)"))); +- (PAPIKotlinByteArray *)decryptAesPcbcData:(PAPIKotlinByteArray *)data key:(PAPIKotlinByteArray *)key iv:(PAPIKotlinByteArray *)iv padding:(PAPIPadding *)padding __attribute__((swift_name("decryptAesPcbc(data:key:iv:padding:)"))); +- (PAPIKotlinByteArray *)encryptAes128CbcData:(PAPIKotlinByteArray *)data key:(PAPIKotlinByteArray *)key iv:(PAPIKotlinByteArray *)iv padding:(PAPIPadding *)padding __attribute__((swift_name("encryptAes128Cbc(data:key:iv:padding:)"))); +- (PAPIKotlinByteArray *)encryptAesCbcData:(PAPIKotlinByteArray *)data key:(PAPIKotlinByteArray *)key iv:(PAPIKotlinByteArray *)iv padding:(PAPIPadding *)padding __attribute__((swift_name("encryptAesCbc(data:key:iv:padding:)"))); +- (PAPIKotlinByteArray *)encryptAesCfbData:(PAPIKotlinByteArray *)data key:(PAPIKotlinByteArray *)key iv:(PAPIKotlinByteArray *)iv padding:(PAPIPadding *)padding __attribute__((swift_name("encryptAesCfb(data:key:iv:padding:)"))); +- (PAPIKotlinByteArray *)encryptAesEcbData:(PAPIKotlinByteArray *)data key:(PAPIKotlinByteArray *)key padding:(PAPIPadding *)padding __attribute__((swift_name("encryptAesEcb(data:key:padding:)"))); +- (PAPIKotlinByteArray *)encryptAesOfbData:(PAPIKotlinByteArray *)data key:(PAPIKotlinByteArray *)key iv:(PAPIKotlinByteArray *)iv padding:(PAPIPadding *)padding __attribute__((swift_name("encryptAesOfb(data:key:iv:padding:)"))); +- (PAPIKotlinByteArray *)encryptAesPcbcData:(PAPIKotlinByteArray *)data key:(PAPIKotlinByteArray *)key iv:(PAPIKotlinByteArray *)iv padding:(PAPIPadding *)padding __attribute__((swift_name("encryptAesPcbc(data:key:iv:padding:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("HMAC"))) +@interface PAPIHMAC : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +@property (class, readonly, getter=companion) PAPIHMACCompanion *companion __attribute__((swift_name("companion"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("HMAC.Companion"))) +@interface PAPIHMACCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIHMACCompanion *shared __attribute__((swift_name("shared"))); +- (id)hmacMD5Key:(PAPIKotlinByteArray *)key data:(PAPIKotlinByteArray *)data __attribute__((swift_name("hmacMD5(key:data:)"))); +- (id)hmacSHA1Key:(PAPIKotlinByteArray *)key data:(PAPIKotlinByteArray *)data __attribute__((swift_name("hmacSHA1(key:data:)"))); +- (id)hmacSHA256Key:(PAPIKotlinByteArray *)key data:(PAPIKotlinByteArray *)data __attribute__((swift_name("hmacSHA256(key:data:)"))); +@end; + +__attribute__((swift_name("Hasher"))) +@interface PAPIHasher : PAPIBase +- (instancetype)initWithChunkSize:(int32_t)chunkSize digestSize:(int32_t)digestSize __attribute__((swift_name("init(chunkSize:digestSize:)"))) __attribute__((objc_designated_initializer)); +- (void)coreDigestOut:(PAPIKotlinByteArray *)out __attribute__((swift_name("coreDigest(out:)"))); +- (PAPIKotlinByteArray *)corePaddingTotalWritten:(int64_t)totalWritten __attribute__((swift_name("corePadding(totalWritten:)"))); +- (void)coreReset __attribute__((swift_name("coreReset()"))); +- (void)coreUpdateChunk:(PAPIKotlinByteArray *)chunk __attribute__((swift_name("coreUpdate(chunk:)"))); +- (id)digest __attribute__((swift_name("digest()"))); +- (void)digestOutOut:(PAPIKotlinByteArray *)out __attribute__((swift_name("digestOut(out:)"))); +- (PAPIHasher *)reset __attribute__((swift_name("reset()"))); +- (PAPIHasher *)updateData:(PAPIKotlinByteArray *)data __attribute__((swift_name("update(data:)"))); +- (PAPIHasher *)updateData:(PAPIKotlinByteArray *)data offset:(int32_t)offset count:(int32_t)count __attribute__((swift_name("update(data:offset:count:)"))); +@property (readonly) int32_t chunkSize __attribute__((swift_name("chunkSize"))); +@property (readonly) int32_t digestSize __attribute__((swift_name("digestSize"))); +@end; + +__attribute__((swift_name("HasherFactory"))) +@interface PAPIHasherFactory : PAPIBase +- (instancetype)initWithCreate:(PAPIHasher *(^)(void))create __attribute__((swift_name("init(create:)"))) __attribute__((objc_designated_initializer)); +- (id)digestData:(PAPIKotlinByteArray *)data __attribute__((swift_name("digest(data:)"))); +- (id)digestTemp:(PAPIKotlinByteArray *)temp readBytes:(PAPIInt *(^)(PAPIKotlinByteArray *))readBytes __attribute__((swift_name("digest(temp:readBytes:)"))); +@property (readonly) PAPIHasher *(^create)(void) __attribute__((swift_name("create"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MD4"))) +@interface PAPIMD4 : PAPIHasher +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (instancetype)initWithChunkSize:(int32_t)chunkSize digestSize:(int32_t)digestSize __attribute__((swift_name("init(chunkSize:digestSize:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@property (class, readonly, getter=companion) PAPIMD4Companion *companion __attribute__((swift_name("companion"))); +- (void)coreDigestOut:(PAPIKotlinByteArray *)out __attribute__((swift_name("coreDigest(out:)"))); +- (PAPIKotlinByteArray *)corePaddingTotalWritten:(int64_t)totalWritten __attribute__((swift_name("corePadding(totalWritten:)"))); +- (void)coreReset __attribute__((swift_name("coreReset()"))); +- (void)coreUpdateChunk:(PAPIKotlinByteArray *)chunk __attribute__((swift_name("coreUpdate(chunk:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MD4.Companion"))) +@interface PAPIMD4Companion : PAPIHasherFactory ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithCreate:(PAPIHasher *(^)(void))create __attribute__((swift_name("init(create:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIMD4Companion *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MD5"))) +@interface PAPIMD5 : PAPIHasher +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (instancetype)initWithChunkSize:(int32_t)chunkSize digestSize:(int32_t)digestSize __attribute__((swift_name("init(chunkSize:digestSize:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@property (class, readonly, getter=companion) PAPIMD5Companion *companion __attribute__((swift_name("companion"))); +- (void)coreDigestOut:(PAPIKotlinByteArray *)out __attribute__((swift_name("coreDigest(out:)"))); +- (PAPIKotlinByteArray *)corePaddingTotalWritten:(int64_t)totalWritten __attribute__((swift_name("corePadding(totalWritten:)"))); +- (void)coreReset __attribute__((swift_name("coreReset()"))); +- (void)coreUpdateChunk:(PAPIKotlinByteArray *)chunk __attribute__((swift_name("coreUpdate(chunk:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MD5.Companion"))) +@interface PAPIMD5Companion : PAPIHasherFactory ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithCreate:(PAPIHasher *(^)(void))create __attribute__((swift_name("init(create:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIMD5Companion *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PBKDF2"))) +@interface PAPIPBKDF2 : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +@property (class, readonly, getter=companion) PAPIPBKDF2Companion *companion __attribute__((swift_name("companion"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PBKDF2.Companion"))) +@interface PAPIPBKDF2Companion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIPBKDF2Companion *shared __attribute__((swift_name("shared"))); +- (PAPIKotlinByteArray *)pbkdf2WithHmacSHA1Password:(PAPIKotlinByteArray *)password salt:(PAPIKotlinByteArray *)salt iterationCount:(int32_t)iterationCount keySizeInBits:(int32_t)keySizeInBits __attribute__((swift_name("pbkdf2WithHmacSHA1(password:salt:iterationCount:keySizeInBits:)"))); +- (PAPIKotlinByteArray *)pbkdf2WithHmacSHA256Password:(PAPIKotlinByteArray *)password salt:(PAPIKotlinByteArray *)salt iterationCount:(int32_t)iterationCount keySizeInBits:(int32_t)keySizeInBits __attribute__((swift_name("pbkdf2WithHmacSHA256(password:salt:iterationCount:keySizeInBits:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Padding"))) +@interface PAPIPadding : PAPIKotlinEnum ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@property (class, readonly, getter=companion) PAPIPaddingCompanion *companion __attribute__((swift_name("companion"))); +@property (class, readonly) PAPIPadding *nopadding __attribute__((swift_name("nopadding"))); +@property (class, readonly) PAPIPadding *pkcs7padding __attribute__((swift_name("pkcs7padding"))); +@property (class, readonly) PAPIPadding *ansix923padding __attribute__((swift_name("ansix923padding"))); +@property (class, readonly) PAPIPadding *iso10126padding __attribute__((swift_name("iso10126padding"))); +@property (class, readonly) PAPIPadding *zeropadding __attribute__((swift_name("zeropadding"))); ++ (PAPIKotlinArray *)values __attribute__((swift_name("values()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Padding.Companion"))) +@interface PAPIPaddingCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIPaddingCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIKotlinByteArray *)paddingData:(PAPIKotlinByteArray *)data blockSize:(int32_t)blockSize padding:(PAPIPadding *)padding __attribute__((swift_name("padding(data:blockSize:padding:)"))); +- (PAPIKotlinByteArray *)removePaddingData:(PAPIKotlinByteArray *)data padding:(PAPIPadding *)padding __attribute__((swift_name("removePadding(data:padding:)"))); +@end; + +__attribute__((swift_name("SHA"))) +@interface PAPISHA : PAPIHasher +- (instancetype)initWithChunkSize:(int32_t)chunkSize digestSize:(int32_t)digestSize __attribute__((swift_name("init(chunkSize:digestSize:)"))) __attribute__((objc_designated_initializer)); +- (PAPIKotlinByteArray *)corePaddingTotalWritten:(int64_t)totalWritten __attribute__((swift_name("corePadding(totalWritten:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SHA1"))) +@interface PAPISHA1 : PAPISHA +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (instancetype)initWithChunkSize:(int32_t)chunkSize digestSize:(int32_t)digestSize __attribute__((swift_name("init(chunkSize:digestSize:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@property (class, readonly, getter=companion) PAPISHA1Companion *companion __attribute__((swift_name("companion"))); +- (void)coreDigestOut:(PAPIKotlinByteArray *)out __attribute__((swift_name("coreDigest(out:)"))); +- (void)coreReset __attribute__((swift_name("coreReset()"))); +- (void)coreUpdateChunk:(PAPIKotlinByteArray *)chunk __attribute__((swift_name("coreUpdate(chunk:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SHA1.Companion"))) +@interface PAPISHA1Companion : PAPIHasherFactory ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithCreate:(PAPIHasher *(^)(void))create __attribute__((swift_name("init(create:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPISHA1Companion *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SHA256"))) +@interface PAPISHA256 : PAPISHA +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (instancetype)initWithChunkSize:(int32_t)chunkSize digestSize:(int32_t)digestSize __attribute__((swift_name("init(chunkSize:digestSize:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@property (class, readonly, getter=companion) PAPISHA256Companion *companion __attribute__((swift_name("companion"))); +- (void)coreDigestOut:(PAPIKotlinByteArray *)out __attribute__((swift_name("coreDigest(out:)"))); +- (void)coreReset __attribute__((swift_name("coreReset()"))); +- (void)coreUpdateChunk:(PAPIKotlinByteArray *)chunk __attribute__((swift_name("coreUpdate(chunk:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SHA256.Companion"))) +@interface PAPISHA256Companion : PAPIHasherFactory ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithCreate:(PAPIHasher *(^)(void))create __attribute__((swift_name("init(create:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPISHA256Companion *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((swift_name("KotlinRandom"))) +@interface PAPIKotlinRandom : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +@property (class, readonly, getter=companion) PAPIKotlinRandomDefault *companion __attribute__((swift_name("companion"))); +- (int32_t)nextBitsBitCount:(int32_t)bitCount __attribute__((swift_name("nextBits(bitCount:)"))); +- (BOOL)nextBoolean __attribute__((swift_name("nextBoolean()"))); +- (PAPIKotlinByteArray *)nextBytesArray:(PAPIKotlinByteArray *)array __attribute__((swift_name("nextBytes(array:)"))); +- (PAPIKotlinByteArray *)nextBytesArray:(PAPIKotlinByteArray *)array fromIndex:(int32_t)fromIndex toIndex:(int32_t)toIndex __attribute__((swift_name("nextBytes(array:fromIndex:toIndex:)"))); +- (PAPIKotlinByteArray *)nextBytesSize:(int32_t)size __attribute__((swift_name("nextBytes(size:)"))); +- (double)nextDouble __attribute__((swift_name("nextDouble()"))); +- (double)nextDoubleUntil:(double)until __attribute__((swift_name("nextDouble(until:)"))); +- (double)nextDoubleFrom:(double)from until:(double)until __attribute__((swift_name("nextDouble(from:until:)"))); +- (float)nextFloat __attribute__((swift_name("nextFloat()"))); +- (int32_t)nextInt __attribute__((swift_name("nextInt()"))); +- (int32_t)nextIntUntil:(int32_t)until __attribute__((swift_name("nextInt(until:)"))); +- (int32_t)nextIntFrom:(int32_t)from until:(int32_t)until __attribute__((swift_name("nextInt(from:until:)"))); +- (int64_t)nextLong __attribute__((swift_name("nextLong()"))); +- (int64_t)nextLongUntil:(int64_t)until __attribute__((swift_name("nextLong(until:)"))); +- (int64_t)nextLongFrom:(int64_t)from until:(int64_t)until __attribute__((swift_name("nextLong(from:until:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SecureRandom"))) +@interface PAPISecureRandom : PAPIKotlinRandom ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)secureRandom __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPISecureRandom *shared __attribute__((swift_name("shared"))); +- (int32_t)nextBitsBitCount:(int32_t)bitCount __attribute__((swift_name("nextBits(bitCount:)"))); +- (PAPIKotlinByteArray *)nextBytesArray:(PAPIKotlinByteArray *)array fromIndex:(int32_t)fromIndex toIndex:(int32_t)toIndex __attribute__((swift_name("nextBytes(array:fromIndex:toIndex:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ASCII"))) +@interface PAPIASCII : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)aSCII __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIASCII *shared __attribute__((swift_name("shared"))); +- (NSString *)decodeData:(PAPIKotlinByteArray *)data __attribute__((swift_name("decode(data:)"))); +- (PAPIKotlinByteArray *)encodeStr:(NSString *)str __attribute__((swift_name("encode(str:)"))); +- (NSString *)invokeV:(PAPIKotlinByteArray *)v __attribute__((swift_name("invoke(v:)"))); +- (PAPIKotlinByteArray *)invokeV_:(NSString *)v __attribute__((swift_name("invoke(v_:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Base64"))) +@interface PAPIBase64 : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)base64 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIBase64 *shared __attribute__((swift_name("shared"))); +- (int32_t)decodeSrc:(PAPIKotlinByteArray *)src dst:(PAPIKotlinByteArray *)dst url:(BOOL)url __attribute__((swift_name("decode(src:dst:url:)"))); +- (PAPIKotlinByteArray *)decodeStr:(NSString *)str url:(BOOL)url __attribute__((swift_name("decode(str:url:)"))); +- (PAPIKotlinByteArray *)decodeIgnoringSpacesStr:(NSString *)str url:(BOOL)url __attribute__((swift_name("decodeIgnoringSpaces(str:url:)"))); +- (NSString *)encodeSrc:(PAPIKotlinByteArray *)src url:(BOOL)url doPadding:(BOOL)doPadding __attribute__((swift_name("encode(src:url:doPadding:)"))); +- (NSString *)invokeV:(PAPIKotlinByteArray *)v url:(BOOL)url __attribute__((swift_name("invoke(v:url:)"))); +- (PAPIKotlinByteArray *)invokeV:(NSString *)v url_:(BOOL)url __attribute__((swift_name("invoke(v:url_:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Hex"))) +@interface PAPIHex : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)hex __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIHex *shared __attribute__((swift_name("shared"))); +- (void)appendHexByteAppender:(id)appender value:(int32_t)value __attribute__((swift_name("appendHexByte(appender:value:)"))); +- (void)decodeStr:(NSString *)str out:(void (^)(PAPIInt *, PAPIByte *))out __attribute__((swift_name("decode(str:out:)"))); +- (PAPIKotlinByteArray *)decodeStr:(NSString *)str out_:(PAPIKotlinByteArray *)out __attribute__((swift_name("decode(str:out_:)"))); +- (int32_t)decodeCharC:(unichar)c __attribute__((swift_name("decodeChar(c:)"))); +- (int32_t)decodeHexDigitC:(unichar)c __attribute__((swift_name("decodeHexDigit(c:)"))); +- (NSString *)encodeSrc:(PAPIKotlinByteArray *)src __attribute__((swift_name("encode(src:)"))); +- (void)encodeSrc:(PAPIKotlinByteArray *)src dst:(id)dst __attribute__((swift_name("encode(src:dst:)"))); +- (unichar)encodeCharLowerV:(int32_t)v __attribute__((swift_name("encodeCharLower(v:)"))); +- (unichar)encodeCharUpperV:(int32_t)v __attribute__((swift_name("encodeCharUpper(v:)"))); +- (NSString *)encodeLowerSrc:(PAPIKotlinByteArray *)src __attribute__((swift_name("encodeLower(src:)"))); +- (void)encodeLowerSrc:(PAPIKotlinByteArray *)src dst:(id)dst __attribute__((swift_name("encodeLower(src:dst:)"))); +- (NSString *)encodeUpperSrc:(PAPIKotlinByteArray *)src __attribute__((swift_name("encodeUpper(src:)"))); +- (void)encodeUpperSrc:(PAPIKotlinByteArray *)src dst:(id)dst __attribute__((swift_name("encodeUpper(src:dst:)"))); +- (NSString *)invokeV:(PAPIKotlinByteArray *)v __attribute__((swift_name("invoke(v:)"))); +- (PAPIKotlinByteArray *)invokeV_:(NSString *)v __attribute__((swift_name("invoke(v_:)"))); +- (BOOL)isHexDigitC:(unichar)c __attribute__((swift_name("isHexDigit(c:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Base58"))) +@interface PAPIBase58 : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)base58 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIBase58 *shared __attribute__((swift_name("shared"))); +- (PAPIKotlinByteArray *)decodeInput:(NSString *)input __attribute__((swift_name("decode(input:)"))); +- (NSString *)encodeInput:(PAPIKotlinByteArray *)input __attribute__((swift_name("encode(input:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Base58.Prefix"))) +@interface PAPIBase58Prefix : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)prefix __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIBase58Prefix *shared __attribute__((swift_name("shared"))); +@property (readonly) int8_t PubkeyAddress __attribute__((swift_name("PubkeyAddress"))); +@property (readonly) int8_t PubkeyAddressSegnet __attribute__((swift_name("PubkeyAddressSegnet"))); +@property (readonly) int8_t PubkeyAddressTestnet __attribute__((swift_name("PubkeyAddressTestnet"))); +@property (readonly) int8_t ScriptAddress __attribute__((swift_name("ScriptAddress"))); +@property (readonly) int8_t ScriptAddressSegnet __attribute__((swift_name("ScriptAddressSegnet"))); +@property (readonly) int8_t ScriptAddressTestnet __attribute__((swift_name("ScriptAddressTestnet"))); +@property (readonly) int8_t SecretKey __attribute__((swift_name("SecretKey"))); +@property (readonly) int8_t SecretKeySegnet __attribute__((swift_name("SecretKeySegnet"))); +@property (readonly) int8_t SecretKeyTestnet __attribute__((swift_name("SecretKeyTestnet"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Base58Check"))) +@interface PAPIBase58Check : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)base58Check __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIBase58Check *shared __attribute__((swift_name("shared"))); +- (PAPIKotlinByteArray *)checksumData:(PAPIKotlinByteArray *)data __attribute__((swift_name("checksum(data:)"))); +- (PAPIKotlinPair *)decodeEncoded:(NSString *)encoded __attribute__((swift_name("decode(encoded:)"))); +- (PAPIKotlinPair *)decodeWithIntPrefixEncoded:(NSString *)encoded __attribute__((swift_name("decodeWithIntPrefix(encoded:)"))); +- (PAPIKotlinPair *)decodeWithPrefixLenEncoded:(NSString *)encoded prefixLen:(int32_t)prefixLen __attribute__((swift_name("decodeWithPrefixLen(encoded:prefixLen:)"))); +- (NSString *)encodePrefix:(int8_t)prefix data:(PAPIByteVector *)data __attribute__((swift_name("encode(prefix:data:)"))); +- (NSString *)encodePrefix:(int8_t)prefix data_:(PAPIKotlinByteArray *)data __attribute__((swift_name("encode(prefix:data_:)"))); +- (NSString *)encodePrefix:(PAPIKotlinByteArray *)prefix data__:(PAPIKotlinByteArray *)data __attribute__((swift_name("encode(prefix:data__:)"))); +- (NSString *)encodePrefix:(int32_t)prefix data___:(PAPIKotlinByteArray *)data __attribute__((swift_name("encode(prefix:data___:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Bech32"))) +@interface PAPIBech32 : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)bech32 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIBech32 *shared __attribute__((swift_name("shared"))); +- (PAPIKotlinPair *> *)decodeBech32:(NSString *)bech32 __attribute__((swift_name("decode(bech32:)"))); +- (PAPIKotlinTriple *)decodeWitnessAddressAddress:(NSString *)address __attribute__((swift_name("decodeWitnessAddress(address:)"))); +- (PAPIKotlinArray *)eight2fiveInput:(PAPIKotlinByteArray *)input __attribute__((swift_name("eight2five(input:)"))); +- (NSString *)encodeHrp:(NSString *)hrp int5s:(PAPIKotlinByteArray *)int5s __attribute__((swift_name("encode(hrp:int5s:)"))); +- (NSString *)encodeWitnessAddressHrp:(NSString *)hrp witnessVersion:(int8_t)witnessVersion data:(PAPIKotlinByteArray *)data __attribute__((swift_name("encodeWitnessAddress(hrp:witnessVersion:data:)"))); +- (PAPIKotlinByteArray *)five2eightInput:(PAPIKotlinArray *)input offset:(int32_t)offset __attribute__((swift_name("five2eight(input:offset:)"))); +@property (readonly) NSString *alphabet __attribute__((swift_name("alphabet"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Bitcoin"))) +@interface PAPIBitcoin : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)bitcoin __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIBitcoin *shared __attribute__((swift_name("shared"))); +- (NSString * _Nullable)addressFromPublicKeyScriptChainHash:(PAPIByteVector32 *)chainHash pubkeyScript:(PAPIKotlinByteArray *)pubkeyScript __attribute__((swift_name("addressFromPublicKeyScript(chainHash:pubkeyScript:)"))); +- (NSString * _Nullable)addressFromPublicKeyScriptChainHash:(PAPIByteVector32 *)chainHash pubkeyScript_:(NSArray *)pubkeyScript __attribute__((swift_name("addressFromPublicKeyScript(chainHash:pubkeyScript_:)"))); +- (NSString *)computeBIP44AddressPub:(PAPIPublicKey_ *)pub chainHash:(PAPIByteVector32 *)chainHash __attribute__((swift_name("computeBIP44Address(pub:chainHash:)"))); +- (NSString *)computeBIP49AddressPub:(PAPIPublicKey_ *)pub chainHash:(PAPIByteVector32 *)chainHash __attribute__((swift_name("computeBIP49Address(pub:chainHash:)"))); +- (NSString *)computeBIP84AddressPub:(PAPIPublicKey_ *)pub chainHash:(PAPIByteVector32 *)chainHash __attribute__((swift_name("computeBIP84Address(pub:chainHash:)"))); +- (NSString *)computeP2PkhAddressPub:(PAPIPublicKey_ *)pub chainHash:(PAPIByteVector32 *)chainHash __attribute__((swift_name("computeP2PkhAddress(pub:chainHash:)"))); +- (NSString *)computeP2ShOfP2WpkhAddressPub:(PAPIPublicKey_ *)pub chainHash:(PAPIByteVector32 *)chainHash __attribute__((swift_name("computeP2ShOfP2WpkhAddress(pub:chainHash:)"))); +- (NSString *)computeP2WpkhAddressPub:(PAPIPublicKey_ *)pub chainHash:(PAPIByteVector32 *)chainHash __attribute__((swift_name("computeP2WpkhAddress(pub:chainHash:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Block"))) +@interface PAPIBlock : PAPIBase +- (instancetype)initWithHeader:(PAPIBlockHeader *)header tx:(NSArray *)tx __attribute__((swift_name("init(header:tx:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIBlockCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIBlockHeader *)component1 __attribute__((swift_name("component1()"))); +- (NSArray *)component2 __attribute__((swift_name("component2()"))); +- (PAPIBlock *)doCopyHeader:(PAPIBlockHeader *)header tx:(NSArray *)tx __attribute__((swift_name("doCopy(header:tx:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIByteVector32 *blockId __attribute__((swift_name("blockId"))); +@property (readonly, getter=hash_) PAPIByteVector32 *hash __attribute__((swift_name("hash"))); +@property (readonly) PAPIBlockHeader *header __attribute__((swift_name("header"))); +@property (readonly) NSArray *tx __attribute__((swift_name("tx"))); +@end; + +__attribute__((swift_name("BtcSerializer"))) +@interface PAPIBtcSerializer : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +@property (class, readonly, getter=companion) PAPIBtcSerializerCompanion *companion __attribute__((swift_name("companion"))); +- (T _Nullable)readInput:(id)input __attribute__((swift_name("read(input:)"))); +- (T _Nullable)readInput:(id)input protocolVersion:(int64_t)protocolVersion __attribute__((swift_name("read(input:protocolVersion:)"))); +- (T _Nullable)readInput_:(PAPIKotlinByteArray *)input __attribute__((swift_name("read(input_:)"))); +- (T _Nullable)readInput:(PAPIKotlinByteArray *)input protocolVersion_:(int64_t)protocolVersion __attribute__((swift_name("read(input:protocolVersion_:)"))); +- (T _Nullable)readInput__:(NSString *)input __attribute__((swift_name("read(input__:)"))); +- (T _Nullable)readInput:(NSString *)input protocolVersion__:(int64_t)protocolVersion __attribute__((swift_name("read(input:protocolVersion__:)"))); +- (void)validateMessage:(T _Nullable)message __attribute__((swift_name("validate(message:)"))); +- (PAPIKotlinByteArray *)writeMessage:(T _Nullable)message __attribute__((swift_name("write(message:)"))); +- (void)writeMessage:(T _Nullable)message out:(id)out __attribute__((swift_name("write(message:out:)"))); +- (void)writeMessage:(T _Nullable)message out:(id)out protocolVersion:(int64_t)protocolVersion __attribute__((swift_name("write(message:out:protocolVersion:)"))); +- (PAPIKotlinByteArray *)writeMessage:(T _Nullable)message protocolVersion:(int64_t)protocolVersion __attribute__((swift_name("write(message:protocolVersion:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Block.Companion"))) +@interface PAPIBlockCompanion : PAPIBtcSerializer ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIBlockCompanion *shared __attribute__((swift_name("shared"))); +- (BOOL)checkProofOfWorkBlock:(PAPIBlock *)block __attribute__((swift_name("checkProofOfWork(block:)"))); +- (PAPIBlock *)readInput:(id)input protocolVersion:(int64_t)protocolVersion __attribute__((swift_name("read(input:protocolVersion:)"))); +- (PAPIBlock *)readInput_:(PAPIKotlinByteArray *)input __attribute__((swift_name("read(input_:)"))); +- (PAPIBlock *)readInput__:(NSString *)input __attribute__((swift_name("read(input__:)"))); +- (void)validateMessage:(PAPIBlock *)message __attribute__((swift_name("validate(message:)"))); +- (PAPIKotlinByteArray *)writeMessage:(PAPIBlock *)message __attribute__((swift_name("write(message:)"))); +- (void)writeMessage:(PAPIBlock *)message out:(id)out protocolVersion:(int64_t)protocolVersion __attribute__((swift_name("write(message:out:protocolVersion:)"))); +@property (readonly) PAPIBlock *LivenetGenesisBlock __attribute__((swift_name("LivenetGenesisBlock"))); +@property (readonly) PAPIBlock *RegtestGenesisBlock __attribute__((swift_name("RegtestGenesisBlock"))); +@property (readonly) PAPIBlock *SegnetGenesisBlock __attribute__((swift_name("SegnetGenesisBlock"))); +@property (readonly) PAPIBlock *TestnetGenesisBlock __attribute__((swift_name("TestnetGenesisBlock"))); +@end; + +__attribute__((swift_name("BtcSerializable"))) +@protocol PAPIBtcSerializable +@required +- (PAPIBtcSerializer *)serializer __attribute__((swift_name("serializer()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BlockHeader"))) +@interface PAPIBlockHeader : PAPIBase +- (instancetype)initWithVersion:(int64_t)version hashPreviousBlock:(PAPIByteVector32 *)hashPreviousBlock hashMerkleRoot:(PAPIByteVector32 *)hashMerkleRoot time:(int64_t)time bits:(int64_t)bits nonce:(int64_t)nonce __attribute__((swift_name("init(version:hashPreviousBlock:hashMerkleRoot:time:bits:nonce:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIBlockHeaderCompanion *companion __attribute__((swift_name("companion"))); +- (int64_t)component1 __attribute__((swift_name("component1()"))); +- (PAPIByteVector32 *)component2 __attribute__((swift_name("component2()"))); +- (PAPIByteVector32 *)component3 __attribute__((swift_name("component3()"))); +- (int64_t)component4 __attribute__((swift_name("component4()"))); +- (int64_t)component5 __attribute__((swift_name("component5()"))); +- (int64_t)component6 __attribute__((swift_name("component6()"))); +- (PAPIBlockHeader *)doCopyVersion:(int64_t)version hashPreviousBlock:(PAPIByteVector32 *)hashPreviousBlock hashMerkleRoot:(PAPIByteVector32 *)hashMerkleRoot time:(int64_t)time bits:(int64_t)bits nonce:(int64_t)nonce __attribute__((swift_name("doCopy(version:hashPreviousBlock:hashMerkleRoot:time:bits:nonce:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIBtcSerializer *)serializer __attribute__((swift_name("serializer()"))); +- (PAPIBlockHeader *)setBitsInput:(int64_t)input __attribute__((swift_name("setBits(input:)"))); +- (PAPIBlockHeader *)setHashMerkleRootInput:(PAPIByteVector32 *)input __attribute__((swift_name("setHashMerkleRoot(input:)"))); +- (PAPIBlockHeader *)setHashPreviousBlockInput:(PAPIByteVector32 *)input __attribute__((swift_name("setHashPreviousBlock(input:)"))); +- (PAPIBlockHeader *)setNonceInput:(int64_t)input __attribute__((swift_name("setNonce(input:)"))); +- (PAPIBlockHeader *)setTimeInput:(int64_t)input __attribute__((swift_name("setTime(input:)"))); +- (PAPIBlockHeader *)setVersionInput:(int64_t)input __attribute__((swift_name("setVersion(input:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) int64_t bits __attribute__((swift_name("bits"))); +@property (readonly) PAPIByteVector32 *blockId __attribute__((swift_name("blockId"))); +@property (readonly, getter=hash_) PAPIByteVector32 *hash __attribute__((swift_name("hash"))); +@property (readonly) PAPIByteVector32 *hashMerkleRoot __attribute__((swift_name("hashMerkleRoot"))); +@property (readonly) PAPIByteVector32 *hashPreviousBlock __attribute__((swift_name("hashPreviousBlock"))); +@property (readonly) int64_t nonce __attribute__((swift_name("nonce"))); +@property (readonly) int64_t time __attribute__((swift_name("time"))); +@property (readonly) int64_t version __attribute__((swift_name("version"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BlockHeader.Companion"))) +@interface PAPIBlockHeaderCompanion : PAPIBtcSerializer ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIBlockHeaderCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIUInt256 *)blockProofHeader:(PAPIBlockHeader *)header __attribute__((swift_name("blockProof(header:)"))); +- (PAPIUInt256 *)blockProofBits:(int64_t)bits __attribute__((swift_name("blockProof(bits:)"))); +- (int64_t)calculateNextWorkRequiredLastHeader:(PAPIBlockHeader *)lastHeader lastRetargetTime:(int64_t)lastRetargetTime __attribute__((swift_name("calculateNextWorkRequired(lastHeader:lastRetargetTime:)"))); +- (BOOL)checkProofOfWorkHeader:(PAPIBlockHeader *)header __attribute__((swift_name("checkProofOfWork(header:)"))); +- (PAPIUInt256 *)getDifficultyHeader:(PAPIBlockHeader *)header __attribute__((swift_name("getDifficulty(header:)"))); +- (PAPIBlockHeader *)readInput:(id)input protocolVersion:(int64_t)protocolVersion __attribute__((swift_name("read(input:protocolVersion:)"))); +- (PAPIBlockHeader *)readInput_:(PAPIKotlinByteArray *)input __attribute__((swift_name("read(input_:)"))); +- (PAPIBlockHeader *)readInput__:(NSString *)input __attribute__((swift_name("read(input__:)"))); +- (PAPIKotlinByteArray *)writeMessage:(PAPIBlockHeader *)message __attribute__((swift_name("write(message:)"))); +- (void)writeMessage:(PAPIBlockHeader *)message out:(id)output protocolVersion:(int64_t)protocolVersion __attribute__((swift_name("write(message:out:protocolVersion:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BtcSerializerCompanion"))) +@interface PAPIBtcSerializerCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIBtcSerializerCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIKotlinByteArray *)bytesInput:(id)input size:(int32_t)size __attribute__((swift_name("bytes(input:size:)"))); +- (PAPIKotlinByteArray *)bytesInput:(id)input size_:(int64_t)size __attribute__((swift_name("bytes(input:size_:)"))); +- (PAPIKotlinByteArray *)hashInput:(id)input __attribute__((swift_name("hash(input:)"))); +- (NSArray *)readCollectionInput:(id)input reader:(id _Nullable (^)(id, PAPILong *))reader maxElement:(PAPIInt * _Nullable)maxElement protocolVersion:(int64_t)protocolVersion __attribute__((swift_name("readCollection(input:reader:maxElement:protocolVersion:)"))); +- (NSArray *)readCollectionInput:(id)input reader:(PAPIBtcSerializer *)reader maxElement:(PAPIInt * _Nullable)maxElement protocolVersion_:(int64_t)protocolVersion __attribute__((swift_name("readCollection(input:reader:maxElement:protocolVersion_:)"))); +- (NSArray *)readCollectionInput:(id)input reader:(PAPIBtcSerializer *)reader protocolVersion:(int64_t)protocolVersion __attribute__((swift_name("readCollection(input:reader:protocolVersion:)"))); +- (PAPIKotlinByteArray *)scriptInput:(id)input __attribute__((swift_name("script(input:)"))); +- (uint16_t)uint16Input:(id)input __attribute__((swift_name("uint16(input:)"))); +- (uint16_t)uint16Input_:(PAPIKotlinByteArray *)input __attribute__((swift_name("uint16(input_:)"))); +- (uint32_t)uint32Input:(id)input __attribute__((swift_name("uint32(input:)"))); +- (uint32_t)uint32Input_:(PAPIKotlinByteArray *)input __attribute__((swift_name("uint32(input_:)"))); +- (uint64_t)uint64Input:(id)input __attribute__((swift_name("uint64(input:)"))); +- (uint64_t)uint64Input_:(PAPIKotlinByteArray *)input __attribute__((swift_name("uint64(input_:)"))); +- (uint8_t)uint8Input:(id)input __attribute__((swift_name("uint8(input:)"))); +- (uint64_t)varintInput:(id)input __attribute__((swift_name("varint(input:)"))); +- (uint64_t)varintBlob:(PAPIKotlinByteArray *)blob __attribute__((swift_name("varint(blob:)"))); +- (NSString *)varstringInput:(id)input __attribute__((swift_name("varstring(input:)"))); +- (void)writeBytesInput:(PAPIByteVector *)input out:(id)out __attribute__((swift_name("writeBytes(input:out:)"))); +- (void)writeBytesInput:(PAPIByteVector32 *)input out_:(id)out __attribute__((swift_name("writeBytes(input:out_:)"))); +- (void)writeBytesInput:(PAPIKotlinByteArray *)input out__:(id)out __attribute__((swift_name("writeBytes(input:out__:)"))); +- (void)writeCollectionSeq:(NSArray *)seq output:(id)output writer:(void (^)(id _Nullable, id, PAPILong *))writer protocolVersion:(int64_t)protocolVersion __attribute__((swift_name("writeCollection(seq:output:writer:protocolVersion:)"))); +- (void)writeCollectionSeq:(NSArray *)seq output:(id)output writer:(PAPIBtcSerializer *)writer protocolVersion_:(int64_t)protocolVersion __attribute__((swift_name("writeCollection(seq:output:writer:protocolVersion_:)"))); +- (void)writeScriptInput:(PAPIByteVector *)input out:(id)out __attribute__((swift_name("writeScript(input:out:)"))); +- (void)writeScriptInput:(PAPIKotlinByteArray *)input out_:(id)out __attribute__((swift_name("writeScript(input:out_:)"))); +- (PAPIKotlinByteArray *)writeUInt16Input:(uint16_t)input __attribute__((swift_name("writeUInt16(input:)"))); +- (void)writeUInt16Input:(uint16_t)input out:(id)out __attribute__((swift_name("writeUInt16(input:out:)"))); +- (PAPIKotlinByteArray *)writeUInt32Input:(uint32_t)input __attribute__((swift_name("writeUInt32(input:)"))); +- (void)writeUInt32Input:(uint32_t)input out:(id)out __attribute__((swift_name("writeUInt32(input:out:)"))); +- (PAPIKotlinByteArray *)writeUInt64Input:(uint64_t)input __attribute__((swift_name("writeUInt64(input:)"))); +- (void)writeUInt64Input:(uint64_t)input out:(id)out __attribute__((swift_name("writeUInt64(input:out:)"))); +- (void)writeUInt8Input:(uint8_t)input out:(id)out __attribute__((swift_name("writeUInt8(input:out:)"))); +- (void)writeVarintInput:(int32_t)input out:(id)out __attribute__((swift_name("writeVarint(input:out:)"))); +- (void)writeVarintInput:(uint64_t)input out_:(id)out __attribute__((swift_name("writeVarint(input:out_:)"))); +- (void)writeVarstringInput:(NSString *)input out:(id)out __attribute__((swift_name("writeVarstring(input:out:)"))); +@end; + +__attribute__((swift_name("ByteVector"))) +@interface PAPIByteVector : PAPIBase +- (instancetype)initWithBytes:(PAPIKotlinByteArray *)bytes __attribute__((swift_name("init(bytes:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithInput:(NSString *)input __attribute__((swift_name("init(input:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithBytes:(PAPIKotlinByteArray *)bytes offset:(int32_t)offset size:(int32_t)size __attribute__((swift_name("init(bytes:offset:size:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIByteVectorCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIByteVector *)concatOther:(PAPIByteVector *)other __attribute__((swift_name("concat(other:)"))); +- (PAPIByteVector *)concatValue:(int8_t)value __attribute__((swift_name("concat(value:)"))); +- (PAPIByteVector *)concatOther_:(PAPIKotlinByteArray *)other __attribute__((swift_name("concat(other_:)"))); +- (BOOL)contentEqualsInput:(PAPIKotlinByteArray *)input __attribute__((swift_name("contentEquals(input:)"))); +- (BOOL)contentEqualsInput:(PAPIKotlinByteArray *)input inputOffset:(int32_t)inputOffset inputSize:(int32_t)inputSize __attribute__((swift_name("contentEquals(input:inputOffset:inputSize:)"))); +- (PAPIByteVector *)dropN:(int32_t)n __attribute__((swift_name("drop(n:)"))); +- (PAPIByteVector *)dropRightN:(int32_t)n __attribute__((swift_name("dropRight(n:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (int8_t)getI:(int32_t)i __attribute__((swift_name("get(i:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (BOOL)isEmpty_ __attribute__((swift_name("isEmpty()"))); +- (id _Nullable)mapF:(id _Nullable (^)(PAPIKotlinByteArray *, PAPIInt *, PAPIInt *))f __attribute__((swift_name("map(f:)"))); +- (PAPIByteVector *)orOther_:(PAPIByteVector *)other __attribute__((swift_name("or(other_:)"))); +- (PAPIByteVector *)padLeftLength:(int32_t)length __attribute__((swift_name("padLeft(length:)"))); +- (PAPIByteVector *)padRightLength:(int32_t)length __attribute__((swift_name("padRight(length:)"))); +- (PAPIByteVector *)plusOther__:(PAPIByteVector *)other __attribute__((swift_name("plus(other__:)"))); +- (PAPIByteVector *)plusOther___:(PAPIKotlinByteArray *)other __attribute__((swift_name("plus(other___:)"))); +- (PAPIByteVector *)reversed __attribute__((swift_name("reversed()"))); +- (PAPIByteVector *)ripemd160 __attribute__((swift_name("ripemd160()"))); +- (PAPIByteVector32 *)sha256 __attribute__((swift_name("sha256()"))); +- (int32_t)size __attribute__((swift_name("size()"))); +- (PAPIByteVector *)sliceFrom:(int32_t)from to:(int32_t)to __attribute__((swift_name("slice(from:to:)"))); +- (PAPIByteVector *)takeN:(int32_t)n __attribute__((swift_name("take(n:)"))); +- (PAPIByteVector *)takeRightN:(int32_t)n __attribute__((swift_name("takeRight(n:)"))); +- (PAPIKotlinByteArray *)toByteArray __attribute__((swift_name("toByteArray()"))); +- (NSString *)toHex __attribute__((swift_name("toHex()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +- (PAPIByteVector *)updateI:(int32_t)i b:(int8_t)b __attribute__((swift_name("update(i:b:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ByteVector.Companion"))) +@interface PAPIByteVectorCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIByteVectorCompanion *shared __attribute__((swift_name("shared"))); +@property (readonly) PAPIByteVector *empty __attribute__((swift_name("empty"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ByteVector32"))) +@interface PAPIByteVector32 : PAPIByteVector +- (instancetype)initWithBytes:(PAPIKotlinByteArray *)bytes __attribute__((swift_name("init(bytes:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithInput:(NSString *)input __attribute__((swift_name("init(input:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithInput_:(PAPIByteVector *)input __attribute__((swift_name("init(input_:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithBytes:(PAPIKotlinByteArray *)bytes offset:(int32_t)offset __attribute__((swift_name("init(bytes:offset:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithBytes:(PAPIKotlinByteArray *)bytes offset:(int32_t)offset size:(int32_t)size __attribute__((swift_name("init(bytes:offset:size:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@property (class, readonly, getter=companion) PAPIByteVector32Companion *companion __attribute__((swift_name("companion"))); +- (PAPIByteVector32 *)reversed __attribute__((swift_name("reversed()"))); +- (PAPIByteVector32 *)updateI:(int32_t)i b:(int8_t)b __attribute__((swift_name("update(i:b:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ByteVector32.Companion"))) +@interface PAPIByteVector32Companion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIByteVector32Companion *shared __attribute__((swift_name("shared"))); +- (PAPIByteVector32 *)fromValidHexInput:(NSString *)input __attribute__((swift_name("fromValidHex(input:)"))); +@property (readonly) PAPIByteVector32 *One __attribute__((swift_name("One"))); +@property (readonly) PAPIByteVector32 *Zeroes __attribute__((swift_name("Zeroes"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ByteVector64"))) +@interface PAPIByteVector64 : PAPIByteVector +- (instancetype)initWithBytes:(PAPIKotlinByteArray *)bytes __attribute__((swift_name("init(bytes:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithInput:(NSString *)input __attribute__((swift_name("init(input:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithBytes:(PAPIKotlinByteArray *)bytes offset:(int32_t)offset __attribute__((swift_name("init(bytes:offset:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithBytes:(PAPIKotlinByteArray *)bytes offset:(int32_t)offset size:(int32_t)size __attribute__((swift_name("init(bytes:offset:size:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@property (class, readonly, getter=companion) PAPIByteVector64Companion *companion __attribute__((swift_name("companion"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ByteVector64.Companion"))) +@interface PAPIByteVector64Companion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIByteVector64Companion *shared __attribute__((swift_name("shared"))); +- (PAPIByteVector64 *)fromValidHexInput:(NSString *)input __attribute__((swift_name("fromValidHex(input:)"))); +@property (readonly) PAPIByteVector64 *Zeroes __attribute__((swift_name("Zeroes"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Crypto"))) +@interface PAPICrypto : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)crypto __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICrypto *shared __attribute__((swift_name("shared"))); +- (BOOL)checkPubKeyEncodingKey:(PAPIKotlinByteArray *)key flags:(int32_t)flags sigVersion:(int32_t)sigVersion __attribute__((swift_name("checkPubKeyEncoding(key:flags:sigVersion:)"))); +- (BOOL)checkSignatureEncodingSig:(PAPIKotlinByteArray *)sig flags:(int32_t)flags __attribute__((swift_name("checkSignatureEncoding(sig:flags:)"))); +- (PAPIByteVector *)compact2derSignature:(PAPIByteVector64 *)signature __attribute__((swift_name("compact2der(signature:)"))); +- (PAPIKotlinPair *)decodeSignatureLaxInput:(PAPIByteArrayInput *)input __attribute__((swift_name("decodeSignatureLax(input:)"))); +- (PAPIByteVector64 *)der2compactSignature:(PAPIKotlinByteArray *)signature __attribute__((swift_name("der2compact(signature:)"))); +- (PAPIKotlinByteArray *)ecdhPriv:(PAPIPrivateKey *)priv pub:(PAPIPublicKey_ *)pub __attribute__((swift_name("ecdh(priv:pub:)"))); +- (PAPIKotlinByteArray *)hash160Input:(PAPIByteVector *)input __attribute__((swift_name("hash160(input:)"))); +- (PAPIKotlinByteArray *)hash160Input_:(PAPIKotlinByteArray *)input __attribute__((swift_name("hash160(input_:)"))); +- (PAPIKotlinByteArray *)hash160Input:(PAPIKotlinByteArray *)input offset:(int32_t)offset len:(int32_t)len __attribute__((swift_name("hash160(input:offset:len:)"))); +- (PAPIKotlinByteArray *)hash256Input:(PAPIByteVector *)input __attribute__((swift_name("hash256(input:)"))); +- (PAPIKotlinByteArray *)hash256Input_:(PAPIKotlinByteArray *)input __attribute__((swift_name("hash256(input_:)"))); +- (PAPIKotlinByteArray *)hash256Input:(PAPIKotlinByteArray *)input offset:(int32_t)offset len:(int32_t)len __attribute__((swift_name("hash256(input:offset:len:)"))); +- (PAPIKotlinByteArray *)hmac512Key:(PAPIKotlinByteArray *)key data:(PAPIKotlinByteArray *)data __attribute__((swift_name("hmac512(key:data:)"))); +- (BOOL)isDERSignatureSig:(PAPIKotlinByteArray *)sig __attribute__((swift_name("isDERSignature(sig:)"))); +- (BOOL)isDefinedHashtypeSignatureSig:(PAPIKotlinByteArray *)sig __attribute__((swift_name("isDefinedHashtypeSignature(sig:)"))); +- (BOOL)isLowDERSignatureSig:(PAPIKotlinByteArray *)sig __attribute__((swift_name("isLowDERSignature(sig:)"))); +- (BOOL)isPubKeyCompressedKey:(PAPIKotlinByteArray *)key __attribute__((swift_name("isPubKeyCompressed(key:)"))); +- (BOOL)isPubKeyCompressedOrUncompressedKey:(PAPIKotlinByteArray *)key __attribute__((swift_name("isPubKeyCompressedOrUncompressed(key:)"))); +- (BOOL)isPubKeyValidKey:(PAPIKotlinByteArray *)key __attribute__((swift_name("isPubKeyValid(key:)"))); +- (PAPIKotlinPair *)normalizeSignature:(PAPIKotlinByteArray *)signature __attribute__((swift_name("normalize(signature:)"))); +- (PAPIKotlinPair *)recoverPublicKeySig:(PAPIByteVector64 *)sig message:(PAPIKotlinByteArray *)message __attribute__((swift_name("recoverPublicKey(sig:message:)"))); +- (PAPIPublicKey_ *)recoverPublicKeySig:(PAPIByteVector64 *)sig message:(PAPIKotlinByteArray *)message recid:(int32_t)recid __attribute__((swift_name("recoverPublicKey(sig:message:recid:)"))); +- (PAPIKotlinByteArray *)ripemd160Input:(PAPIByteVector *)input __attribute__((swift_name("ripemd160(input:)"))); +- (PAPIKotlinByteArray *)ripemd160Input_:(PAPIKotlinByteArray *)input __attribute__((swift_name("ripemd160(input_:)"))); +- (PAPIKotlinByteArray *)ripemd160Input:(PAPIKotlinByteArray *)input offset:(int32_t)offset len:(int32_t)len __attribute__((swift_name("ripemd160(input:offset:len:)"))); +- (PAPIKotlinByteArray *)sha1Input:(PAPIByteVector *)input __attribute__((swift_name("sha1(input:)"))); +- (PAPIKotlinByteArray *)sha256Input:(PAPIByteVector *)input __attribute__((swift_name("sha256(input:)"))); +- (PAPIKotlinByteArray *)sha256Input_:(PAPIKotlinByteArray *)input __attribute__((swift_name("sha256(input_:)"))); +- (PAPIKotlinByteArray *)sha256Input:(PAPIKotlinByteArray *)input offset:(int32_t)offset len:(int32_t)len __attribute__((swift_name("sha256(input:offset:len:)"))); +- (PAPIByteVector64 *)signData:(PAPIByteVector32 *)data privateKey:(PAPIPrivateKey *)privateKey __attribute__((swift_name("sign(data:privateKey:)"))); +- (PAPIByteVector64 *)signData:(PAPIKotlinByteArray *)data privateKey_:(PAPIPrivateKey *)privateKey __attribute__((swift_name("sign(data:privateKey_:)"))); +- (BOOL)verifySignatureData:(PAPIByteVector32 *)data signature:(PAPIByteVector64 *)signature publicKey:(PAPIPublicKey_ *)publicKey __attribute__((swift_name("verifySignature(data:signature:publicKey:)"))); +- (BOOL)verifySignatureData:(PAPIKotlinByteArray *)data signature:(PAPIByteVector64 *)signature publicKey_:(PAPIPublicKey_ *)publicKey __attribute__((swift_name("verifySignature(data:signature:publicKey_:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DeterministicWallet"))) +@interface PAPIDeterministicWallet : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)deterministicWallet __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDeterministicWallet *shared __attribute__((swift_name("shared"))); +- (PAPIDeterministicWalletExtendedPrivateKey *)derivePrivateKeyParent:(PAPIDeterministicWalletExtendedPrivateKey *)parent keyPath:(PAPIKeyPath *)keyPath __attribute__((swift_name("derivePrivateKey(parent:keyPath:)"))); +- (PAPIDeterministicWalletExtendedPrivateKey *)derivePrivateKeyParent:(PAPIDeterministicWalletExtendedPrivateKey *)parent index:(int64_t)index __attribute__((swift_name("derivePrivateKey(parent:index:)"))); +- (PAPIDeterministicWalletExtendedPrivateKey *)derivePrivateKeyParent:(PAPIDeterministicWalletExtendedPrivateKey *)parent keyPath_:(NSString *)keyPath __attribute__((swift_name("derivePrivateKey(parent:keyPath_:)"))); +- (PAPIDeterministicWalletExtendedPrivateKey *)derivePrivateKeyParent:(PAPIDeterministicWalletExtendedPrivateKey *)parent chain:(NSArray *)chain __attribute__((swift_name("derivePrivateKey(parent:chain:)"))); +- (PAPIDeterministicWalletExtendedPublicKey *)derivePublicKeyParent:(PAPIDeterministicWalletExtendedPublicKey *)parent keyPath:(PAPIKeyPath *)keyPath __attribute__((swift_name("derivePublicKey(parent:keyPath:)"))); +- (PAPIDeterministicWalletExtendedPublicKey *)derivePublicKeyParent:(PAPIDeterministicWalletExtendedPublicKey *)parent index:(int64_t)index __attribute__((swift_name("derivePublicKey(parent:index:)"))); +- (PAPIDeterministicWalletExtendedPublicKey *)derivePublicKeyParent:(PAPIDeterministicWalletExtendedPublicKey *)parent keyPath_:(NSString *)keyPath __attribute__((swift_name("derivePublicKey(parent:keyPath_:)"))); +- (PAPIDeterministicWalletExtendedPublicKey *)derivePublicKeyParent:(PAPIDeterministicWalletExtendedPublicKey *)parent chain:(NSArray *)chain __attribute__((swift_name("derivePublicKey(parent:chain:)"))); +- (NSString *)encodeInput:(PAPIDeterministicWalletExtendedPrivateKey *)input testnet:(BOOL)testnet __attribute__((swift_name("encode(input:testnet:)"))); +- (NSString *)encodeInput:(PAPIDeterministicWalletExtendedPrivateKey *)input prefix:(int32_t)prefix __attribute__((swift_name("encode(input:prefix:)"))); +- (NSString *)encodeInput:(PAPIDeterministicWalletExtendedPublicKey *)input testnet_:(BOOL)testnet __attribute__((swift_name("encode(input:testnet_:)"))); +- (NSString *)encodeInput:(PAPIDeterministicWalletExtendedPublicKey *)input prefix_:(int32_t)prefix __attribute__((swift_name("encode(input:prefix_:)"))); +- (int64_t)fingerprintInput:(PAPIDeterministicWalletExtendedPrivateKey *)input __attribute__((swift_name("fingerprint(input:)"))); +- (int64_t)fingerprintInput_:(PAPIDeterministicWalletExtendedPublicKey *)input __attribute__((swift_name("fingerprint(input_:)"))); +- (PAPIDeterministicWalletExtendedPrivateKey *)generateSeed:(PAPIByteVector *)seed __attribute__((swift_name("generate(seed:)"))); +- (PAPIDeterministicWalletExtendedPrivateKey *)generateSeed_:(PAPIKotlinByteArray *)seed __attribute__((swift_name("generate(seed_:)"))); +- (int64_t)hardenedIndex:(int64_t)index __attribute__((swift_name("hardened(index:)"))); +- (BOOL)isHardenedIndex:(int64_t)index __attribute__((swift_name("isHardened(index:)"))); +- (PAPIDeterministicWalletExtendedPublicKey *)publicKeyInput:(PAPIDeterministicWalletExtendedPrivateKey *)input __attribute__((swift_name("publicKey(input:)"))); +@property (readonly) int64_t hardenedKeyIndex __attribute__((swift_name("hardenedKeyIndex"))); +@property (readonly) int32_t tprv __attribute__((swift_name("tprv"))); +@property (readonly) int32_t tpub __attribute__((swift_name("tpub"))); +@property (readonly) int32_t uprv __attribute__((swift_name("uprv"))); +@property (readonly) int32_t upub __attribute__((swift_name("upub"))); +@property (readonly) int32_t vprv __attribute__((swift_name("vprv"))); +@property (readonly) int32_t vpub __attribute__((swift_name("vpub"))); +@property (readonly) int32_t xprv __attribute__((swift_name("xprv"))); +@property (readonly) int32_t xpub __attribute__((swift_name("xpub"))); +@property (readonly) int32_t yprv __attribute__((swift_name("yprv"))); +@property (readonly) int32_t ypub __attribute__((swift_name("ypub"))); +@property (readonly) int32_t zprv __attribute__((swift_name("zprv"))); +@property (readonly) int32_t zpub __attribute__((swift_name("zpub"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DeterministicWallet.ExtendedPrivateKey"))) +@interface PAPIDeterministicWalletExtendedPrivateKey : PAPIBase +- (instancetype)initWithSecretkeybytes:(PAPIByteVector32 *)secretkeybytes chaincode:(PAPIByteVector32 *)chaincode depth:(int32_t)depth path:(PAPIKeyPath *)path parent:(int64_t)parent __attribute__((swift_name("init(secretkeybytes:chaincode:depth:path:parent:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIDeterministicWalletExtendedPrivateKeyCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIByteVector32 *)component1 __attribute__((swift_name("component1()"))); +- (PAPIByteVector32 *)component2 __attribute__((swift_name("component2()"))); +- (int32_t)component3 __attribute__((swift_name("component3()"))); +- (PAPIKeyPath *)component4 __attribute__((swift_name("component4()"))); +- (int64_t)component5 __attribute__((swift_name("component5()"))); +- (PAPIDeterministicWalletExtendedPrivateKey *)doCopySecretkeybytes:(PAPIByteVector32 *)secretkeybytes chaincode:(PAPIByteVector32 *)chaincode depth:(int32_t)depth path:(PAPIKeyPath *)path parent:(int64_t)parent __attribute__((swift_name("doCopy(secretkeybytes:chaincode:depth:path:parent:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIByteVector32 *chaincode __attribute__((swift_name("chaincode"))); +@property (readonly) int32_t depth __attribute__((swift_name("depth"))); +@property (readonly) int64_t parent __attribute__((swift_name("parent"))); +@property (readonly) PAPIKeyPath *path __attribute__((swift_name("path"))); +@property (readonly) PAPIPrivateKey *privateKey __attribute__((swift_name("privateKey"))); +@property (readonly) PAPIPublicKey_ *publicKey __attribute__((swift_name("publicKey"))); +@property (readonly) PAPIByteVector32 *secretkeybytes __attribute__((swift_name("secretkeybytes"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DeterministicWallet.ExtendedPrivateKeyCompanion"))) +@interface PAPIDeterministicWalletExtendedPrivateKeyCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDeterministicWalletExtendedPrivateKeyCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIKotlinPair *)decodeInput:(NSString *)input parentPath:(PAPIKeyPath *)parentPath __attribute__((swift_name("decode(input:parentPath:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DeterministicWallet.ExtendedPublicKey"))) +@interface PAPIDeterministicWalletExtendedPublicKey : PAPIBase +- (instancetype)initWithPublickeybytes:(PAPIByteVector *)publickeybytes chaincode:(PAPIByteVector32 *)chaincode depth:(int32_t)depth path:(PAPIKeyPath *)path parent:(int64_t)parent __attribute__((swift_name("init(publickeybytes:chaincode:depth:path:parent:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIDeterministicWalletExtendedPublicKeyCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIByteVector *)component1 __attribute__((swift_name("component1()"))); +- (PAPIByteVector32 *)component2 __attribute__((swift_name("component2()"))); +- (int32_t)component3 __attribute__((swift_name("component3()"))); +- (PAPIKeyPath *)component4 __attribute__((swift_name("component4()"))); +- (int64_t)component5 __attribute__((swift_name("component5()"))); +- (PAPIDeterministicWalletExtendedPublicKey *)doCopyPublickeybytes:(PAPIByteVector *)publickeybytes chaincode:(PAPIByteVector32 *)chaincode depth:(int32_t)depth path:(PAPIKeyPath *)path parent:(int64_t)parent __attribute__((swift_name("doCopy(publickeybytes:chaincode:depth:path:parent:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIByteVector32 *chaincode __attribute__((swift_name("chaincode"))); +@property (readonly) int32_t depth __attribute__((swift_name("depth"))); +@property (readonly) int64_t parent __attribute__((swift_name("parent"))); +@property (readonly) PAPIKeyPath *path __attribute__((swift_name("path"))); +@property (readonly) PAPIPublicKey_ *publicKey __attribute__((swift_name("publicKey"))); +@property (readonly) PAPIByteVector *publickeybytes __attribute__((swift_name("publickeybytes"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DeterministicWallet.ExtendedPublicKeyCompanion"))) +@interface PAPIDeterministicWalletExtendedPublicKeyCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDeterministicWalletExtendedPublicKeyCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIKotlinPair *)decodeInput:(NSString *)input parentPath:(PAPIKeyPath *)parentPath __attribute__((swift_name("decode(input:parentPath:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KeyPath"))) +@interface PAPIKeyPath : PAPIBase +- (instancetype)initWithPath:(NSString *)path __attribute__((swift_name("init(path:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithPath_:(NSArray *)path __attribute__((swift_name("init(path_:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIKeyPathCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIKeyPath *)appendThat:(PAPIKeyPath *)that __attribute__((swift_name("append(that:)"))); +- (PAPIKeyPath *)appendIndex:(int64_t)index __attribute__((swift_name("append(index:)"))); +- (PAPIKeyPath *)appendIndexes:(NSArray *)indexes __attribute__((swift_name("append(indexes:)"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (PAPIKeyPath *)doCopyPath:(NSArray *)path __attribute__((swift_name("doCopy(path:)"))); +- (PAPIKeyPath *)deriveNumber:(int64_t)number __attribute__((swift_name("derive(number:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) int64_t lastChildNumber __attribute__((swift_name("lastChildNumber"))); +@property (readonly) NSArray *path __attribute__((swift_name("path"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KeyPath.Companion"))) +@interface PAPIKeyPathCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKeyPathCompanion *shared __attribute__((swift_name("shared"))); +- (NSString *)childNumberToStringChildNumber:(int64_t)childNumber __attribute__((swift_name("childNumberToString(childNumber:)"))); +- (NSArray *)computePathPath:(NSString *)path __attribute__((swift_name("computePath(path:)"))); +- (PAPIKeyPath *)fromPathPath:(NSString *)path __attribute__((swift_name("fromPath(path:)"))); +@property (readonly) PAPIKeyPath *empty __attribute__((swift_name("empty"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("LexicographicalOrdering"))) +@interface PAPILexicographicalOrdering : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)lexicographicalOrdering __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPILexicographicalOrdering *shared __attribute__((swift_name("shared"))); +- (int32_t)compareA:(PAPIOutPoint *)a b:(PAPIOutPoint *)b __attribute__((swift_name("compare(a:b:)"))); +- (int32_t)compareA:(PAPITxIn *)a b_:(PAPITxIn *)b __attribute__((swift_name("compare(a:b_:)"))); +- (int32_t)compareA:(PAPITxOut *)a b__:(PAPITxOut *)b __attribute__((swift_name("compare(a:b__:)"))); +- (BOOL)isLessThanA:(PAPIByteVector *)a b:(PAPIByteVector *)b __attribute__((swift_name("isLessThan(a:b:)"))); +- (BOOL)isLessThanA:(PAPIByteVector32 *)a b_:(PAPIByteVector32 *)b __attribute__((swift_name("isLessThan(a:b_:)"))); +- (BOOL)isLessThanA:(PAPIOutPoint *)a b__:(PAPIOutPoint *)b __attribute__((swift_name("isLessThan(a:b__:)"))); +- (BOOL)isLessThanA:(PAPIPublicKey_ *)a b___:(PAPIPublicKey_ *)b __attribute__((swift_name("isLessThan(a:b___:)"))); +- (BOOL)isLessThanA:(PAPITxIn *)a b____:(PAPITxIn *)b __attribute__((swift_name("isLessThan(a:b____:)"))); +- (BOOL)isLessThanA:(PAPITxOut *)a b_____:(PAPITxOut *)b __attribute__((swift_name("isLessThan(a:b_____:)"))); +- (BOOL)isLessThanA:(PAPIKotlinByteArray *)a b______:(PAPIKotlinByteArray *)b __attribute__((swift_name("isLessThan(a:b______:)"))); +- (PAPITransaction *)sortTx:(PAPITransaction *)tx __attribute__((swift_name("sort(tx:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MerkleTree"))) +@interface PAPIMerkleTree : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)merkleTree __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIMerkleTree *shared __attribute__((swift_name("shared"))); +- (PAPIByteVector32 *)computeRootTree:(NSArray *)tree __attribute__((swift_name("computeRoot(tree:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MnemonicCode_"))) +@interface PAPIMnemonicCode_ : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)mnemonicCode __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIMnemonicCode_ *shared __attribute__((swift_name("shared"))); +- (NSArray *)toMnemonicsEntropy:(PAPIKotlinByteArray *)entropy __attribute__((swift_name("toMnemonics(entropy:)"))); +- (NSArray *)toMnemonicsEntropy:(PAPIKotlinByteArray *)entropy wordlist:(NSArray *)wordlist __attribute__((swift_name("toMnemonics(entropy:wordlist:)"))); +- (PAPIKotlinByteArray *)toSeedMnemonics:(NSString *)mnemonics passphrase:(NSString *)passphrase __attribute__((swift_name("toSeed(mnemonics:passphrase:)"))); +- (PAPIKotlinByteArray *)toSeedMnemonics:(NSArray *)mnemonics passphrase_:(NSString *)passphrase __attribute__((swift_name("toSeed(mnemonics:passphrase_:)"))); +- (void)validateMnemonics:(NSString *)mnemonics __attribute__((swift_name("validate(mnemonics:)"))); +- (void)validateMnemonics:(NSArray *)mnemonics wordlist:(NSArray *)wordlist __attribute__((swift_name("validate(mnemonics:wordlist:)"))); +@property (readonly) NSArray *englishWordlist __attribute__((swift_name("englishWordlist"))); +@end; + +__attribute__((swift_name("ScriptElt"))) +@interface PAPIScriptElt : PAPIBase +@property (class, readonly, getter=companion) PAPIScriptEltCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isPush __attribute__((swift_name("isPush()"))); +- (BOOL)isPushSize:(int32_t)size __attribute__((swift_name("isPush(size:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_0"))) +@interface PAPIOP_0 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_0 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_0 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_0NOTEQUAL"))) +@interface PAPIOP_0NOTEQUAL : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_0NOTEQUAL __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_0NOTEQUAL *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_1"))) +@interface PAPIOP_1 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_1 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_1 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_10"))) +@interface PAPIOP_10 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_10 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_10 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_11"))) +@interface PAPIOP_11 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_11 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_11 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_12"))) +@interface PAPIOP_12 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_12 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_12 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_13"))) +@interface PAPIOP_13 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_13 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_13 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_14"))) +@interface PAPIOP_14 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_14 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_14 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_15"))) +@interface PAPIOP_15 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_15 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_15 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_16"))) +@interface PAPIOP_16 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_16 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_16 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_1ADD"))) +@interface PAPIOP_1ADD : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_1ADD __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_1ADD *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_1NEGATE"))) +@interface PAPIOP_1NEGATE : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_1NEGATE __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_1NEGATE *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_1SUB"))) +@interface PAPIOP_1SUB : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_1SUB __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_1SUB *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_2"))) +@interface PAPIOP_2 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_2 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_2 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_2DIV"))) +@interface PAPIOP_2DIV : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_2DIV __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_2DIV *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_2DROP"))) +@interface PAPIOP_2DROP : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_2DROP __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_2DROP *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_2DUP"))) +@interface PAPIOP_2DUP : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_2DUP __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_2DUP *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_2MUL"))) +@interface PAPIOP_2MUL : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_2MUL __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_2MUL *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_2OVER"))) +@interface PAPIOP_2OVER : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_2OVER __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_2OVER *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_2ROT"))) +@interface PAPIOP_2ROT : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_2ROT __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_2ROT *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_2SWAP"))) +@interface PAPIOP_2SWAP : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_2SWAP __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_2SWAP *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_3"))) +@interface PAPIOP_3 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_3 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_3 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_3DUP"))) +@interface PAPIOP_3DUP : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_3DUP __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_3DUP *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_4"))) +@interface PAPIOP_4 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_4 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_4 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_5"))) +@interface PAPIOP_5 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_5 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_5 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_6"))) +@interface PAPIOP_6 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_6 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_6 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_7"))) +@interface PAPIOP_7 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_7 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_7 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_8"))) +@interface PAPIOP_8 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_8 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_8 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_9"))) +@interface PAPIOP_9 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_9 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_9 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_ABS"))) +@interface PAPIOP_ABS : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_ABS __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_ABS *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_ADD"))) +@interface PAPIOP_ADD : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_ADD __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_ADD *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_AND"))) +@interface PAPIOP_AND : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_AND __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_AND *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_BOOLAND"))) +@interface PAPIOP_BOOLAND : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_BOOLAND __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_BOOLAND *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_BOOLOR"))) +@interface PAPIOP_BOOLOR : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_BOOLOR __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_BOOLOR *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_CAT"))) +@interface PAPIOP_CAT : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_CAT __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_CAT *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_CHECKLOCKTIMEVERIFY"))) +@interface PAPIOP_CHECKLOCKTIMEVERIFY : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_CHECKLOCKTIMEVERIFY __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_CHECKLOCKTIMEVERIFY *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_CHECKMULTISIG"))) +@interface PAPIOP_CHECKMULTISIG : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_CHECKMULTISIG __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_CHECKMULTISIG *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_CHECKMULTISIGVERIFY"))) +@interface PAPIOP_CHECKMULTISIGVERIFY : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_CHECKMULTISIGVERIFY __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_CHECKMULTISIGVERIFY *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_CHECKSEQUENCEVERIFY"))) +@interface PAPIOP_CHECKSEQUENCEVERIFY : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_CHECKSEQUENCEVERIFY __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_CHECKSEQUENCEVERIFY *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_CHECKSIG"))) +@interface PAPIOP_CHECKSIG : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_CHECKSIG __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_CHECKSIG *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_CHECKSIGVERIFY"))) +@interface PAPIOP_CHECKSIGVERIFY : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_CHECKSIGVERIFY __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_CHECKSIGVERIFY *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_CODESEPARATOR"))) +@interface PAPIOP_CODESEPARATOR : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_CODESEPARATOR __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_CODESEPARATOR *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_DEPTH"))) +@interface PAPIOP_DEPTH : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_DEPTH __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_DEPTH *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_DIV"))) +@interface PAPIOP_DIV : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_DIV __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_DIV *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_DROP"))) +@interface PAPIOP_DROP : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_DROP __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_DROP *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_DUP"))) +@interface PAPIOP_DUP : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_DUP __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_DUP *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_ELSE"))) +@interface PAPIOP_ELSE : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_ELSE __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_ELSE *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_ENDIF"))) +@interface PAPIOP_ENDIF : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_ENDIF __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_ENDIF *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_EQUAL"))) +@interface PAPIOP_EQUAL : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_EQUAL __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_EQUAL *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_EQUALVERIFY"))) +@interface PAPIOP_EQUALVERIFY : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_EQUALVERIFY __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_EQUALVERIFY *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_FROMALTSTACK"))) +@interface PAPIOP_FROMALTSTACK : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_FROMALTSTACK __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_FROMALTSTACK *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_GREATERTHAN"))) +@interface PAPIOP_GREATERTHAN : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_GREATERTHAN __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_GREATERTHAN *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_GREATERTHANOREQUAL"))) +@interface PAPIOP_GREATERTHANOREQUAL : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_GREATERTHANOREQUAL __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_GREATERTHANOREQUAL *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_HASH160"))) +@interface PAPIOP_HASH160 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_HASH160 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_HASH160 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_HASH256"))) +@interface PAPIOP_HASH256 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_HASH256 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_HASH256 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_IF"))) +@interface PAPIOP_IF : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_IF __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_IF *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_IFDUP"))) +@interface PAPIOP_IFDUP : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_IFDUP __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_IFDUP *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_INVALID"))) +@interface PAPIOP_INVALID : PAPIScriptElt +- (instancetype)initWithCode:(int32_t)code __attribute__((swift_name("init(code:)"))) __attribute__((objc_designated_initializer)); +- (int32_t)component1 __attribute__((swift_name("component1()"))); +- (PAPIOP_INVALID *)doCopyCode:(int32_t)code __attribute__((swift_name("doCopy(code:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) int32_t code __attribute__((swift_name("code"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_INVALIDOPCODE"))) +@interface PAPIOP_INVALIDOPCODE : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_INVALIDOPCODE __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_INVALIDOPCODE *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_INVERT"))) +@interface PAPIOP_INVERT : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_INVERT __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_INVERT *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_LEFT"))) +@interface PAPIOP_LEFT : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_LEFT __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_LEFT *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_LESSTHAN"))) +@interface PAPIOP_LESSTHAN : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_LESSTHAN __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_LESSTHAN *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_LESSTHANOREQUAL"))) +@interface PAPIOP_LESSTHANOREQUAL : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_LESSTHANOREQUAL __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_LESSTHANOREQUAL *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_LSHIFT"))) +@interface PAPIOP_LSHIFT : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_LSHIFT __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_LSHIFT *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_MAX"))) +@interface PAPIOP_MAX : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_MAX __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_MAX *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_MIN"))) +@interface PAPIOP_MIN : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_MIN __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_MIN *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_MOD"))) +@interface PAPIOP_MOD : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_MOD __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_MOD *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_MUL"))) +@interface PAPIOP_MUL : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_MUL __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_MUL *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_NEGATE"))) +@interface PAPIOP_NEGATE : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_NEGATE __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_NEGATE *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_NIP"))) +@interface PAPIOP_NIP : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_NIP __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_NIP *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_NOP"))) +@interface PAPIOP_NOP : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_NOP __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_NOP *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_NOP1"))) +@interface PAPIOP_NOP1 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_NOP1 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_NOP1 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_NOP10"))) +@interface PAPIOP_NOP10 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_NOP10 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_NOP10 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_NOP4"))) +@interface PAPIOP_NOP4 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_NOP4 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_NOP4 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_NOP5"))) +@interface PAPIOP_NOP5 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_NOP5 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_NOP5 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_NOP6"))) +@interface PAPIOP_NOP6 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_NOP6 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_NOP6 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_NOP7"))) +@interface PAPIOP_NOP7 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_NOP7 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_NOP7 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_NOP8"))) +@interface PAPIOP_NOP8 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_NOP8 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_NOP8 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_NOP9"))) +@interface PAPIOP_NOP9 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_NOP9 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_NOP9 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_NOT"))) +@interface PAPIOP_NOT : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_NOT __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_NOT *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_NOTIF"))) +@interface PAPIOP_NOTIF : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_NOTIF __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_NOTIF *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_NUMEQUAL"))) +@interface PAPIOP_NUMEQUAL : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_NUMEQUAL __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_NUMEQUAL *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_NUMEQUALVERIFY"))) +@interface PAPIOP_NUMEQUALVERIFY : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_NUMEQUALVERIFY __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_NUMEQUALVERIFY *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_NUMNOTEQUAL"))) +@interface PAPIOP_NUMNOTEQUAL : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_NUMNOTEQUAL __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_NUMNOTEQUAL *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_OR"))) +@interface PAPIOP_OR : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_OR __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_OR *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_OVER"))) +@interface PAPIOP_OVER : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_OVER __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_OVER *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_PICK"))) +@interface PAPIOP_PICK : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_PICK __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_PICK *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_PUSHDATA"))) +@interface PAPIOP_PUSHDATA : PAPIScriptElt +- (instancetype)initWithData:(PAPIKotlinByteArray *)data code:(int32_t)code __attribute__((swift_name("init(data:code:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithData:(PAPIKotlinByteArray *)data __attribute__((swift_name("init(data:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithData_:(PAPIByteVector *)data __attribute__((swift_name("init(data_:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithData__:(PAPIByteVector32 *)data __attribute__((swift_name("init(data__:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithPublicKey:(PAPIPublicKey_ *)publicKey __attribute__((swift_name("init(publicKey:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithData:(PAPIByteVector *)data code_:(int32_t)code __attribute__((swift_name("init(data:code_:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIOP_PUSHDATACompanion *companion __attribute__((swift_name("companion"))); +- (PAPIByteVector *)component1 __attribute__((swift_name("component1()"))); +- (int32_t)component2 __attribute__((swift_name("component2()"))); +- (PAPIOP_PUSHDATA *)doCopyData:(PAPIByteVector *)data code:(int32_t)code __attribute__((swift_name("doCopy(data:code:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) int32_t code __attribute__((swift_name("code"))); +@property (readonly) PAPIByteVector *data __attribute__((swift_name("data"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_PUSHDATA.Companion"))) +@interface PAPIOP_PUSHDATACompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_PUSHDATACompanion *shared __attribute__((swift_name("shared"))); +- (int32_t)codeFromDataLengthLength:(int32_t)length __attribute__((swift_name("codeFromDataLength(length:)"))); +- (BOOL)isMinimalData:(PAPIKotlinByteArray *)data code:(int32_t)code __attribute__((swift_name("isMinimal(data:code:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_PUSHDATA1"))) +@interface PAPIOP_PUSHDATA1 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_PUSHDATA1 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_PUSHDATA1 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_PUSHDATA2"))) +@interface PAPIOP_PUSHDATA2 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_PUSHDATA2 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_PUSHDATA2 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_PUSHDATA4"))) +@interface PAPIOP_PUSHDATA4 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_PUSHDATA4 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_PUSHDATA4 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_RESERVED"))) +@interface PAPIOP_RESERVED : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_RESERVED __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_RESERVED *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_RESERVED1"))) +@interface PAPIOP_RESERVED1 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_RESERVED1 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_RESERVED1 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_RESERVED2"))) +@interface PAPIOP_RESERVED2 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_RESERVED2 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_RESERVED2 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_RETURN"))) +@interface PAPIOP_RETURN : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_RETURN __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_RETURN *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_RIGHT"))) +@interface PAPIOP_RIGHT : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_RIGHT __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_RIGHT *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_RIPEMD160"))) +@interface PAPIOP_RIPEMD160 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_RIPEMD160 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_RIPEMD160 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_ROLL"))) +@interface PAPIOP_ROLL : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_ROLL __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_ROLL *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_ROT"))) +@interface PAPIOP_ROT : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_ROT __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_ROT *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_RSHIFT"))) +@interface PAPIOP_RSHIFT : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_RSHIFT __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_RSHIFT *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_SHA1"))) +@interface PAPIOP_SHA1 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_SHA1 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_SHA1 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_SHA256"))) +@interface PAPIOP_SHA256 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_SHA256 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_SHA256 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_SIZE"))) +@interface PAPIOP_SIZE : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_SIZE __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_SIZE *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_SMALLINTEGER"))) +@interface PAPIOP_SMALLINTEGER : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_SMALLINTEGER __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_SMALLINTEGER *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_SUB"))) +@interface PAPIOP_SUB : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_SUB __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_SUB *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_SUBSTR"))) +@interface PAPIOP_SUBSTR : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_SUBSTR __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_SUBSTR *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_SWAP"))) +@interface PAPIOP_SWAP : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_SWAP __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_SWAP *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_TOALTSTACK"))) +@interface PAPIOP_TOALTSTACK : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_TOALTSTACK __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_TOALTSTACK *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_TUCK"))) +@interface PAPIOP_TUCK : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_TUCK __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_TUCK *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_VER"))) +@interface PAPIOP_VER : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_VER __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_VER *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_VERIF"))) +@interface PAPIOP_VERIF : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_VERIF __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_VERIF *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_VERIFY"))) +@interface PAPIOP_VERIFY : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_VERIFY __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_VERIFY *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_VERNOTIF"))) +@interface PAPIOP_VERNOTIF : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_VERNOTIF __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_VERNOTIF *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_WITHIN"))) +@interface PAPIOP_WITHIN : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_WITHIN __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_WITHIN *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_XOR"))) +@interface PAPIOP_XOR : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_XOR __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_XOR *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OutPoint"))) +@interface PAPIOutPoint : PAPIBase +- (instancetype)initWithHash:(PAPIKotlinByteArray *)hash index:(int64_t)index __attribute__((swift_name("init(hash:index:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithTx:(PAPITransaction *)tx index:(int64_t)index __attribute__((swift_name("init(tx:index:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithHash:(PAPIByteVector32 *)hash index_:(int64_t)index __attribute__((swift_name("init(hash:index_:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIOutPointCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIByteVector32 *)component1 __attribute__((swift_name("component1()"))); +- (int64_t)component2 __attribute__((swift_name("component2()"))); +- (PAPIOutPoint *)doCopyHash:(PAPIByteVector32 *)hash index:(int64_t)index __attribute__((swift_name("doCopy(hash:index:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIBtcSerializer *)serializer __attribute__((swift_name("serializer()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly, getter=hash_) PAPIByteVector32 *hash __attribute__((swift_name("hash"))); +@property (readonly) int64_t index __attribute__((swift_name("index"))); +@property (readonly) BOOL isCoinbase __attribute__((swift_name("isCoinbase"))); +@property (readonly) PAPIByteVector32 *txid __attribute__((swift_name("txid"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OutPoint.Companion"))) +@interface PAPIOutPointCompanion : PAPIBtcSerializer ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOutPointCompanion *shared __attribute__((swift_name("shared"))); +- (BOOL)isCoinbaseInput:(PAPIOutPoint *)input __attribute__((swift_name("isCoinbase(input:)"))); +- (BOOL)isNullInput:(PAPIOutPoint *)input __attribute__((swift_name("isNull(input:)"))); +- (PAPIOutPoint *)readInput:(id)input protocolVersion:(int64_t)protocolVersion __attribute__((swift_name("read(input:protocolVersion:)"))); +- (PAPIOutPoint *)readInput_:(PAPIKotlinByteArray *)input __attribute__((swift_name("read(input_:)"))); +- (PAPIKotlinByteArray *)writeMessage:(PAPIOutPoint *)message __attribute__((swift_name("write(message:)"))); +- (void)writeMessage:(PAPIOutPoint *)message out:(id)out protocolVersion:(int64_t)protocolVersion __attribute__((swift_name("write(message:out:protocolVersion:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PrivateKey"))) +@interface PAPIPrivateKey : PAPIBase +- (instancetype)initWithData:(PAPIKotlinByteArray *)data __attribute__((swift_name("init(data:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithData_:(PAPIByteVector *)data __attribute__((swift_name("init(data_:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(PAPIByteVector32 *)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIPrivateKeyCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIByteVector32 *)component1 __attribute__((swift_name("component1()"))); +- (PAPIPrivateKey *)doCopyValue:(PAPIByteVector32 *)value __attribute__((swift_name("doCopy(value:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIPrivateKey *)minusThat:(PAPIPrivateKey *)that __attribute__((swift_name("minus(that:)"))); +- (PAPIPrivateKey *)plusThat:(PAPIPrivateKey *)that __attribute__((swift_name("plus(that:)"))); +- (PAPIPublicKey_ *)publicKey __attribute__((swift_name("publicKey()"))); +- (PAPIPrivateKey *)timesThat:(PAPIPrivateKey *)that __attribute__((swift_name("times(that:)"))); +- (NSString *)toBase58Prefix:(int8_t)prefix __attribute__((swift_name("toBase58(prefix:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIByteVector32 *value __attribute__((swift_name("value"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PrivateKey.Companion"))) +@interface PAPIPrivateKeyCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIPrivateKeyCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIKotlinPair *)fromBase58Value:(NSString *)value prefix:(int8_t)prefix __attribute__((swift_name("fromBase58(value:prefix:)"))); +- (PAPIPrivateKey *)fromHexHex:(NSString *)hex __attribute__((swift_name("fromHex(hex:)"))); +- (BOOL)isCompressedData:(PAPIKotlinByteArray *)data __attribute__((swift_name("isCompressed(data:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Protocol"))) +@interface PAPIProtocol : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)protocol __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIProtocol *shared __attribute__((swift_name("shared"))); +@property (readonly) int64_t PROTOCOL_VERSION __attribute__((swift_name("PROTOCOL_VERSION"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PublicKey_"))) +@interface PAPIPublicKey_ : PAPIBase +- (instancetype)initWithData:(PAPIKotlinByteArray *)data __attribute__((swift_name("init(data:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(PAPIByteVector *)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIPublicKey_Companion *companion __attribute__((swift_name("companion"))); +- (PAPIByteVector *)component1 __attribute__((swift_name("component1()"))); +- (PAPIPublicKey_ *)doCopyValue:(PAPIByteVector *)value __attribute__((swift_name("doCopy(value:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (PAPIKotlinByteArray *)hash160 __attribute__((swift_name("hash160()"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)p2pkhAddressChainHash:(PAPIByteVector32 *)chainHash __attribute__((swift_name("p2pkhAddress(chainHash:)"))); +- (NSString *)p2shOfP2wpkhAddressChainHash:(PAPIByteVector32 *)chainHash __attribute__((swift_name("p2shOfP2wpkhAddress(chainHash:)"))); +- (NSString *)p2wpkhAddressChainHash:(PAPIByteVector32 *)chainHash __attribute__((swift_name("p2wpkhAddress(chainHash:)"))); +- (PAPIPublicKey_ *)plusThat:(PAPIPublicKey_ *)that __attribute__((swift_name("plus(that:)"))); +- (PAPIPublicKey_ *)timesThat:(PAPIPrivateKey *)that __attribute__((swift_name("times(that:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +- (PAPIKotlinByteArray *)toUncompressedBin __attribute__((swift_name("toUncompressedBin()"))); +@property (readonly) PAPIByteVector *value __attribute__((swift_name("value"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PublicKey_.Companion"))) +@interface PAPIPublicKey_Companion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIPublicKey_Companion *shared __attribute__((swift_name("shared"))); +- (PAPIKotlinByteArray *)compressPub:(PAPIKotlinByteArray *)pub __attribute__((swift_name("compress(pub:)"))); +- (PAPIPublicKey_ *)fromHexHex:(NSString *)hex __attribute__((swift_name("fromHex(hex:)"))); +@property (readonly) PAPIPublicKey_ *Generator __attribute__((swift_name("Generator"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Satoshi"))) +@interface PAPISatoshi : PAPIBase +- (instancetype)initWithSat:(int64_t)sat __attribute__((swift_name("init(sat:)"))) __attribute__((objc_designated_initializer)); +- (int32_t)compareToOther:(PAPISatoshi *)other __attribute__((swift_name("compareTo(other:)"))); +- (int64_t)component1 __attribute__((swift_name("component1()"))); +- (PAPISatoshi *)doCopySat:(int64_t)sat __attribute__((swift_name("doCopy(sat:)"))); +- (PAPISatoshi *)divD:(int64_t)d __attribute__((swift_name("div(d:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPISatoshi *)maxOther:(PAPISatoshi *)other __attribute__((swift_name("max(other:)"))); +- (PAPISatoshi *)minOther:(PAPISatoshi *)other __attribute__((swift_name("min(other:)"))); +- (PAPISatoshi *)minusOther:(PAPISatoshi *)other __attribute__((swift_name("minus(other:)"))); +- (PAPISatoshi *)plusOther:(PAPISatoshi *)other __attribute__((swift_name("plus(other:)"))); +- (PAPISatoshi *)timesM:(double)m __attribute__((swift_name("times(m:)"))); +- (PAPISatoshi *)timesM_:(int64_t)m __attribute__((swift_name("times(m_:)"))); +- (int64_t)toLong __attribute__((swift_name("toLong()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +- (uint64_t)toULong __attribute__((swift_name("toULong()"))); +- (PAPISatoshi *)unaryMinus __attribute__((swift_name("unaryMinus()"))); +@property (readonly) int64_t sat __attribute__((swift_name("sat"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Script"))) +@interface PAPIScript : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)script __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIScript *shared __attribute__((swift_name("shared"))); +- (BOOL)checkLockTimeLockTime:(int64_t)lockTime tx:(PAPITransaction *)tx inputIndex:(int32_t)inputIndex __attribute__((swift_name("checkLockTime(lockTime:tx:inputIndex:)"))); +- (BOOL)checkSequenceSequence:(int64_t)sequence tx:(PAPITransaction *)tx inputIndex:(int32_t)inputIndex __attribute__((swift_name("checkSequence(sequence:tx:inputIndex:)"))); +- (int32_t)costOp:(PAPIScriptElt *)op __attribute__((swift_name("cost(op:)"))); +- (NSArray *)createMultiSigMofNM:(int32_t)m pubkeys:(NSArray *)pubkeys __attribute__((swift_name("createMultiSigMofN(m:pubkeys:)"))); +- (int64_t)decodeNumberInput:(PAPIByteVector *)input checkMinimalEncoding:(BOOL)checkMinimalEncoding maximumSize:(int32_t)maximumSize __attribute__((swift_name("decodeNumber(input:checkMinimalEncoding:maximumSize:)"))); +- (int64_t)decodeNumberInput:(PAPIKotlinByteArray *)input checkMinimalEncoding:(BOOL)checkMinimalEncoding maximumSize_:(int32_t)maximumSize __attribute__((swift_name("decodeNumber(input:checkMinimalEncoding:maximumSize_:)"))); +- (PAPIByteVector *)encodeNumberValue:(int32_t)value __attribute__((swift_name("encodeNumber(value:)"))); +- (PAPIByteVector *)encodeNumberValue_:(int64_t)value __attribute__((swift_name("encodeNumber(value_:)"))); +- (PAPIScriptElt *)fromSimpleValueValue:(int8_t)value __attribute__((swift_name("fromSimpleValue(value:)"))); +- (BOOL)isDisabledOp:(PAPIScriptElt *)op __attribute__((swift_name("isDisabled(op:)"))); +- (BOOL)isPay2pkhScript:(PAPIKotlinByteArray *)script __attribute__((swift_name("isPay2pkh(script:)"))); +- (BOOL)isPay2pkhScript_:(NSArray *)script __attribute__((swift_name("isPay2pkh(script_:)"))); +- (BOOL)isPay2shScript:(PAPIKotlinByteArray *)script __attribute__((swift_name("isPay2sh(script:)"))); +- (BOOL)isPay2shScript_:(NSArray *)script __attribute__((swift_name("isPay2sh(script_:)"))); +- (BOOL)isPay2wpkhScript:(PAPIKotlinByteArray *)script __attribute__((swift_name("isPay2wpkh(script:)"))); +- (BOOL)isPay2wpkhScript_:(NSArray *)script __attribute__((swift_name("isPay2wpkh(script_:)"))); +- (BOOL)isPay2wshScript:(PAPIKotlinByteArray *)script __attribute__((swift_name("isPay2wsh(script:)"))); +- (BOOL)isPay2wshScript_:(NSArray *)script __attribute__((swift_name("isPay2wsh(script_:)"))); +- (BOOL)isPayToScriptScript:(PAPIKotlinByteArray *)script __attribute__((swift_name("isPayToScript(script:)"))); +- (BOOL)isPushOnlyScript:(NSArray *)script __attribute__((swift_name("isPushOnly(script:)"))); +- (BOOL)isSimpleValueOp:(PAPIScriptElt *)op __attribute__((swift_name("isSimpleValue(op:)"))); +- (BOOL)isUpgradableNopOp:(PAPIScriptElt *)op __attribute__((swift_name("isUpgradableNop(op:)"))); +- (NSArray *)parseBlob:(PAPIByteVector *)blob __attribute__((swift_name("parse(blob:)"))); +- (NSArray *)parseInput:(id)input stack:(NSArray *)stack __attribute__((swift_name("parse(input:stack:)"))); +- (NSArray *)parseBlob_:(PAPIKotlinByteArray *)blob __attribute__((swift_name("parse(blob_:)"))); +- (NSArray *)parseHex:(NSString *)hex __attribute__((swift_name("parse(hex:)"))); +- (NSArray *)pay2pkhPubKey:(PAPIPublicKey_ *)pubKey __attribute__((swift_name("pay2pkh(pubKey:)"))); +- (NSArray *)pay2pkhPubKeyHash:(PAPIKotlinByteArray *)pubKeyHash __attribute__((swift_name("pay2pkh(pubKeyHash:)"))); +- (NSArray *)pay2shScript:(PAPIKotlinByteArray *)script __attribute__((swift_name("pay2sh(script:)"))); +- (NSArray *)pay2shScript_:(NSArray *)script __attribute__((swift_name("pay2sh(script_:)"))); +- (NSArray *)pay2wpkhPubKey:(PAPIPublicKey_ *)pubKey __attribute__((swift_name("pay2wpkh(pubKey:)"))); +- (NSArray *)pay2wpkhPubKeyHash:(PAPIKotlinByteArray *)pubKeyHash __attribute__((swift_name("pay2wpkh(pubKeyHash:)"))); +- (NSArray *)pay2wshScript:(PAPIByteVector *)script __attribute__((swift_name("pay2wsh(script:)"))); +- (NSArray *)pay2wshScript_:(PAPIKotlinByteArray *)script __attribute__((swift_name("pay2wsh(script_:)"))); +- (NSArray *)pay2wshScript__:(NSArray *)script __attribute__((swift_name("pay2wsh(script__:)"))); +- (NSArray *)removeSignatureScript:(NSArray *)script signature:(PAPIByteVector *)signature __attribute__((swift_name("removeSignature(script:signature:)"))); +- (NSArray *)removeSignaturesScript:(NSArray *)script sigs:(NSArray *)sigs __attribute__((swift_name("removeSignatures(script:sigs:)"))); +- (int8_t)simpleValueOp:(PAPIScriptElt *)op __attribute__((swift_name("simpleValue(op:)"))); +- (PAPIKotlinByteArray *)writeScript:(NSArray *)script __attribute__((swift_name("write(script:)"))); +- (void)writeScript:(NSArray *)script out:(id)out __attribute__((swift_name("write(script:out:)"))); +- (NSArray *)dropCheck:(NSArray *)receiver n:(int32_t)n __attribute__((swift_name("dropCheck(_:n:)"))); +- (NSArray *)tail:(NSArray *)receiver __attribute__((swift_name("tail(_:)"))); +@property (readonly) PAPIByteVector *False __attribute__((swift_name("False"))); +@property (readonly) int64_t LockTimeThreshold __attribute__((swift_name("LockTimeThreshold"))); +@property (readonly) int32_t MaxScriptElementSize __attribute__((swift_name("MaxScriptElementSize"))); +@property (readonly) PAPIByteVector *True __attribute__((swift_name("True"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Script.Context"))) +@interface PAPIScriptContext : PAPIBase +- (instancetype)initWithTx:(PAPITransaction *)tx inputIndex:(int32_t)inputIndex amount:(PAPISatoshi *)amount __attribute__((swift_name("init(tx:inputIndex:amount:)"))) __attribute__((objc_designated_initializer)); +- (PAPITransaction *)component1 __attribute__((swift_name("component1()"))); +- (int32_t)component2 __attribute__((swift_name("component2()"))); +- (PAPISatoshi *)component3 __attribute__((swift_name("component3()"))); +- (PAPIScriptContext *)doCopyTx:(PAPITransaction *)tx inputIndex:(int32_t)inputIndex amount:(PAPISatoshi *)amount __attribute__((swift_name("doCopy(tx:inputIndex:amount:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPISatoshi *amount __attribute__((swift_name("amount"))); +@property (readonly) int32_t inputIndex __attribute__((swift_name("inputIndex"))); +@property (readonly) PAPITransaction *tx __attribute__((swift_name("tx"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Script.Runner"))) +@interface PAPIScriptRunner : PAPIBase +- (instancetype)initWithContext:(PAPIScriptContext *)context scriptFlag:(int32_t)scriptFlag callback:(PAPIBoolean *(^ _Nullable)(NSArray *, NSArray *, PAPIScriptRunnerCompanionState *))callback __attribute__((swift_name("init(context:scriptFlag:callback:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIScriptRunnerCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)checkMinimalEncoding __attribute__((swift_name("checkMinimalEncoding()"))); +- (BOOL)checkSignaturePubKey:(PAPIByteVector *)pubKey sigBytes:(PAPIByteVector *)sigBytes scriptCode:(PAPIByteVector *)scriptCode signatureVersion:(int32_t)signatureVersion __attribute__((swift_name("checkSignature(pubKey:sigBytes:scriptCode:signatureVersion:)"))); +- (BOOL)checkSignaturePubKey:(PAPIKotlinByteArray *)pubKey sigBytes:(PAPIKotlinByteArray *)sigBytes scriptCode:(PAPIKotlinByteArray *)scriptCode signatureVersion_:(int32_t)signatureVersion __attribute__((swift_name("checkSignature(pubKey:sigBytes:scriptCode:signatureVersion_:)"))); +- (BOOL)checkSignaturesPubKeys:(NSArray *)pubKeys sigs:(NSArray *)sigs scriptCode:(PAPIByteVector *)scriptCode signatureVersion:(int32_t)signatureVersion __attribute__((swift_name("checkSignatures(pubKeys:sigs:scriptCode:signatureVersion:)"))); +- (int64_t)decodeNumberInput:(PAPIByteVector *)input maximumSize:(int32_t)maximumSize __attribute__((swift_name("decodeNumber(input:maximumSize:)"))); +- (int64_t)decodeNumberInput:(PAPIKotlinByteArray *)input maximumSize_:(int32_t)maximumSize __attribute__((swift_name("decodeNumber(input:maximumSize_:)"))); +- (NSArray *)runScript:(PAPIByteVector *)script stack:(NSArray *)stack signatureVersion:(int32_t)signatureVersion __attribute__((swift_name("run(script:stack:signatureVersion:)"))); +- (NSArray *)runScript:(PAPIKotlinByteArray *)script signatureVersion:(int32_t)signatureVersion __attribute__((swift_name("run(script:signatureVersion:)"))); +- (NSArray *)runScript:(PAPIKotlinByteArray *)script stack:(NSArray *)stack signatureVersion_:(int32_t)signatureVersion __attribute__((swift_name("run(script:stack:signatureVersion_:)"))); +- (NSArray *)runScript:(NSArray *)script signatureVersion_:(int32_t)signatureVersion __attribute__((swift_name("run(script:signatureVersion_:)"))); +- (NSArray *)runScript:(NSArray *)script stack:(NSArray *)stack state:(PAPIScriptRunnerCompanionState *)state signatureVersion:(int32_t)signatureVersion __attribute__((swift_name("run(script:stack:state:signatureVersion:)"))); +- (NSArray *)runScript:(NSArray *)script stack:(NSArray *)stack signatureVersion__:(int32_t)signatureVersion __attribute__((swift_name("run(script:stack:signatureVersion__:)"))); +- (BOOL)verifyScriptsScriptSig:(PAPIByteVector *)scriptSig scriptPubKey:(PAPIByteVector *)scriptPubKey witness:(PAPIScriptWitness *)witness __attribute__((swift_name("verifyScripts(scriptSig:scriptPubKey:witness:)"))); +- (BOOL)verifyScriptsScriptSig:(PAPIKotlinByteArray *)scriptSig scriptPubKey:(PAPIKotlinByteArray *)scriptPubKey __attribute__((swift_name("verifyScripts(scriptSig:scriptPubKey:)"))); +- (BOOL)verifyScriptsScriptSig:(PAPIKotlinByteArray *)scriptSig scriptPubKey:(PAPIKotlinByteArray *)scriptPubKey witness_:(PAPIScriptWitness *)witness __attribute__((swift_name("verifyScripts(scriptSig:scriptPubKey:witness_:)"))); +- (void)verifyWitnessProgramWitness:(PAPIScriptWitness *)witness witnessVersion:(int64_t)witnessVersion program:(PAPIKotlinByteArray *)program __attribute__((swift_name("verifyWitnessProgram(witness:witnessVersion:program:)"))); +@property (readonly) PAPIBoolean *(^ _Nullable callback)(NSArray *, NSArray *, PAPIScriptRunnerCompanionState *) __attribute__((swift_name("callback"))); +@property (readonly) PAPIScriptContext *context __attribute__((swift_name("context"))); +@property (readonly) int32_t scriptFlag __attribute__((swift_name("scriptFlag"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Script.RunnerCompanion"))) +@interface PAPIScriptRunnerCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIScriptRunnerCompanion *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Script.RunnerCompanionState"))) +@interface PAPIScriptRunnerCompanionState : PAPIBase +- (instancetype)initWithConditions:(NSArray *)conditions altstack:(NSArray *)altstack opCount:(int32_t)opCount scriptCode:(NSArray *)scriptCode __attribute__((swift_name("init(conditions:altstack:opCount:scriptCode:)"))) __attribute__((objc_designated_initializer)); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSArray *)component2 __attribute__((swift_name("component2()"))); +- (int32_t)component3 __attribute__((swift_name("component3()"))); +- (NSArray *)component4 __attribute__((swift_name("component4()"))); +- (PAPIScriptRunnerCompanionState *)doCopyConditions:(NSArray *)conditions altstack:(NSArray *)altstack opCount:(int32_t)opCount scriptCode:(NSArray *)scriptCode __attribute__((swift_name("doCopy(conditions:altstack:opCount:scriptCode:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSArray *altstack __attribute__((swift_name("altstack"))); +@property (readonly) NSArray *conditions __attribute__((swift_name("conditions"))); +@property (readonly) int32_t opCount __attribute__((swift_name("opCount"))); +@property (readonly) NSArray *scriptCode __attribute__((swift_name("scriptCode"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ScriptElt.Companion"))) +@interface PAPIScriptEltCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIScriptEltCompanion *shared __attribute__((swift_name("shared"))); +- (BOOL)isPushOp:(PAPIScriptElt *)op __attribute__((swift_name("isPush(op:)"))); +- (BOOL)isPushOp:(PAPIScriptElt *)op size:(int32_t)size __attribute__((swift_name("isPush(op:size:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ScriptEltMapping"))) +@interface PAPIScriptEltMapping : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)scriptEltMapping __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIScriptEltMapping *shared __attribute__((swift_name("shared"))); +- (NSString *)nameElt:(PAPIScriptElt *)elt __attribute__((swift_name("name(elt:)"))); +@property (readonly) PAPIMutableDictionary *code2elt __attribute__((swift_name("code2elt"))); +@property (readonly) NSDictionary *elt2code __attribute__((swift_name("elt2code"))); +@property (readonly) NSDictionary *name2code __attribute__((swift_name("name2code"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ScriptFlags"))) +@interface PAPIScriptFlags : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)scriptFlags __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIScriptFlags *shared __attribute__((swift_name("shared"))); +@property (readonly) int32_t MANDATORY_SCRIPT_VERIFY_FLAGS __attribute__((swift_name("MANDATORY_SCRIPT_VERIFY_FLAGS"))); +@property (readonly) int32_t SCRIPT_VERIFY_CHECKLOCKTIMEVERIFY __attribute__((swift_name("SCRIPT_VERIFY_CHECKLOCKTIMEVERIFY"))); +@property (readonly) int32_t SCRIPT_VERIFY_CHECKSEQUENCEVERIFY __attribute__((swift_name("SCRIPT_VERIFY_CHECKSEQUENCEVERIFY"))); +@property (readonly) int32_t SCRIPT_VERIFY_CLEANSTACK __attribute__((swift_name("SCRIPT_VERIFY_CLEANSTACK"))); +@property (readonly) int32_t SCRIPT_VERIFY_CONST_SCRIPTCODE __attribute__((swift_name("SCRIPT_VERIFY_CONST_SCRIPTCODE"))); +@property (readonly) int32_t SCRIPT_VERIFY_DERSIG __attribute__((swift_name("SCRIPT_VERIFY_DERSIG"))); +@property (readonly) int32_t SCRIPT_VERIFY_DISCOURAGE_UPGRADABLE_NOPS __attribute__((swift_name("SCRIPT_VERIFY_DISCOURAGE_UPGRADABLE_NOPS"))); +@property (readonly) int32_t SCRIPT_VERIFY_DISCOURAGE_UPGRADABLE_WITNESS_PROGRAM __attribute__((swift_name("SCRIPT_VERIFY_DISCOURAGE_UPGRADABLE_WITNESS_PROGRAM"))); +@property (readonly) int32_t SCRIPT_VERIFY_LOW_S __attribute__((swift_name("SCRIPT_VERIFY_LOW_S"))); +@property (readonly) int32_t SCRIPT_VERIFY_MINIMALDATA __attribute__((swift_name("SCRIPT_VERIFY_MINIMALDATA"))); +@property (readonly) int32_t SCRIPT_VERIFY_MINIMALIF __attribute__((swift_name("SCRIPT_VERIFY_MINIMALIF"))); +@property (readonly) int32_t SCRIPT_VERIFY_NONE __attribute__((swift_name("SCRIPT_VERIFY_NONE"))); +@property (readonly) int32_t SCRIPT_VERIFY_NULLDUMMY __attribute__((swift_name("SCRIPT_VERIFY_NULLDUMMY"))); +@property (readonly) int32_t SCRIPT_VERIFY_NULLFAIL __attribute__((swift_name("SCRIPT_VERIFY_NULLFAIL"))); +@property (readonly) int32_t SCRIPT_VERIFY_P2SH __attribute__((swift_name("SCRIPT_VERIFY_P2SH"))); +@property (readonly) int32_t SCRIPT_VERIFY_SIGPUSHONLY __attribute__((swift_name("SCRIPT_VERIFY_SIGPUSHONLY"))); +@property (readonly) int32_t SCRIPT_VERIFY_STRICTENC __attribute__((swift_name("SCRIPT_VERIFY_STRICTENC"))); +@property (readonly) int32_t SCRIPT_VERIFY_WITNESS __attribute__((swift_name("SCRIPT_VERIFY_WITNESS"))); +@property (readonly) int32_t SCRIPT_VERIFY_WITNESS_PUBKEYTYPE __attribute__((swift_name("SCRIPT_VERIFY_WITNESS_PUBKEYTYPE"))); +@property (readonly) int32_t STANDARD_NOT_MANDATORY_VERIFY_FLAGS __attribute__((swift_name("STANDARD_NOT_MANDATORY_VERIFY_FLAGS"))); +@property (readonly) int32_t STANDARD_SCRIPT_VERIFY_FLAGS __attribute__((swift_name("STANDARD_SCRIPT_VERIFY_FLAGS"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ScriptWitness"))) +@interface PAPIScriptWitness : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (instancetype)initWithStack:(NSArray *)stack __attribute__((swift_name("init(stack:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIScriptWitnessCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (PAPIScriptWitness *)doCopyStack:(NSArray *)stack __attribute__((swift_name("doCopy(stack:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (BOOL)isNotNull __attribute__((swift_name("isNotNull()"))); +- (BOOL)isNull __attribute__((swift_name("isNull()"))); +- (PAPIByteVector *)last __attribute__((swift_name("last()"))); +- (PAPIScriptWitness *)pushItem:(PAPIByteVector *)item __attribute__((swift_name("push(item:)"))); +- (PAPIScriptWitness *)pushItem_:(PAPIKotlinByteArray *)item __attribute__((swift_name("push(item_:)"))); +- (PAPIScriptWitness *)pushScript:(NSArray *)script __attribute__((swift_name("push(script:)"))); +- (PAPIBtcSerializer *)serializer __attribute__((swift_name("serializer()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSArray *stack __attribute__((swift_name("stack"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ScriptWitness.Companion"))) +@interface PAPIScriptWitnessCompanion : PAPIBtcSerializer ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIScriptWitnessCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIScriptWitness *)readInput:(id)input protocolVersion:(int64_t)protocolVersion __attribute__((swift_name("read(input:protocolVersion:)"))); +- (void)writeMessage:(PAPIScriptWitness *)t out:(id)out protocolVersion:(int64_t)protocolVersion __attribute__((swift_name("write(message:out:protocolVersion:)"))); +@property (readonly) PAPIScriptWitness *empty __attribute__((swift_name("empty"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SigHash"))) +@interface PAPISigHash : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)sigHash __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPISigHash *shared __attribute__((swift_name("shared"))); +- (BOOL)isAnyoneCanPaySighashType:(int32_t)sighashType __attribute__((swift_name("isAnyoneCanPay(sighashType:)"))); +- (BOOL)isHashNoneSighashType:(int32_t)sighashType __attribute__((swift_name("isHashNone(sighashType:)"))); +- (BOOL)isHashSingleSighashType:(int32_t)sighashType __attribute__((swift_name("isHashSingle(sighashType:)"))); +@property (readonly) int32_t SIGHASH_ALL __attribute__((swift_name("SIGHASH_ALL"))); +@property (readonly) int32_t SIGHASH_ANYONECANPAY __attribute__((swift_name("SIGHASH_ANYONECANPAY"))); +@property (readonly) int32_t SIGHASH_NONE __attribute__((swift_name("SIGHASH_NONE"))); +@property (readonly) int32_t SIGHASH_SINGLE __attribute__((swift_name("SIGHASH_SINGLE"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SigVersion"))) +@interface PAPISigVersion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)sigVersion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPISigVersion *shared __attribute__((swift_name("shared"))); +@property (readonly) int32_t SIGVERSION_BASE __attribute__((swift_name("SIGVERSION_BASE"))); +@property (readonly) int32_t SIGVERSION_WITNESS_V0 __attribute__((swift_name("SIGVERSION_WITNESS_V0"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Transaction"))) +@interface PAPITransaction : PAPIBase +- (instancetype)initWithVersion:(int64_t)version txIn:(NSArray *)txIn txOut:(NSArray *)txOut lockTime:(int64_t)lockTime __attribute__((swift_name("init(version:txIn:txOut:lockTime:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPITransactionCompanion *companion __attribute__((swift_name("companion"))); +- (PAPITransaction *)addInputInput:(PAPITxIn *)input __attribute__((swift_name("addInput(input:)"))); +- (PAPITransaction *)addOutputOutput:(PAPITxOut *)output __attribute__((swift_name("addOutput(output:)"))); +- (int64_t)component1 __attribute__((swift_name("component1()"))); +- (NSArray *)component2 __attribute__((swift_name("component2()"))); +- (NSArray *)component3 __attribute__((swift_name("component3()"))); +- (int64_t)component4 __attribute__((swift_name("component4()"))); +- (PAPITransaction *)doCopyVersion:(int64_t)version txIn:(NSArray *)txIn txOut:(NSArray *)txOut lockTime:(int64_t)lockTime __attribute__((swift_name("doCopy(version:txIn:txOut:lockTime:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIBtcSerializer *)serializer __attribute__((swift_name("serializer()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +- (PAPITransaction *)updateInputsInputs:(NSArray *)inputs __attribute__((swift_name("updateInputs(inputs:)"))); +- (PAPITransaction *)updateOutputsOutputs:(NSArray *)outputs __attribute__((swift_name("updateOutputs(outputs:)"))); +- (PAPITransaction *)updateSigScriptI:(int32_t)i sigScript:(PAPIKotlinByteArray *)sigScript __attribute__((swift_name("updateSigScript(i:sigScript:)"))); +- (PAPITransaction *)updateSigScriptI:(int32_t)i sigScript_:(NSArray *)sigScript __attribute__((swift_name("updateSigScript(i:sigScript_:)"))); +- (PAPITransaction *)updateWitnessI:(int32_t)i witness:(PAPIScriptWitness *)witness __attribute__((swift_name("updateWitness(i:witness:)"))); +- (PAPITransaction *)updateWitnessesWitnesses:(NSArray *)witnesses __attribute__((swift_name("updateWitnesses(witnesses:)"))); +- (int32_t)weight __attribute__((swift_name("weight()"))); +@property (readonly) BOOL hasWitness __attribute__((swift_name("hasWitness"))); +@property (readonly, getter=hash_) PAPIByteVector32 *hash __attribute__((swift_name("hash"))); +@property (readonly) int64_t lockTime __attribute__((swift_name("lockTime"))); +@property (readonly) NSArray *txIn __attribute__((swift_name("txIn"))); +@property (readonly) NSArray *txOut __attribute__((swift_name("txOut"))); +@property (readonly) PAPIByteVector32 *txid __attribute__((swift_name("txid"))); +@property (readonly) int64_t version __attribute__((swift_name("version"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Transaction.Companion"))) +@interface PAPITransactionCompanion : PAPIBtcSerializer ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPITransactionCompanion *shared __attribute__((swift_name("shared"))); +- (int32_t)baseSizeTx:(PAPITransaction *)tx protocolVersion:(int64_t)protocolVersion __attribute__((swift_name("baseSize(tx:protocolVersion:)"))); +- (void)correctlySpendsTx:(PAPITransaction *)tx parent:(PAPITransaction *)parent scriptFlags:(int32_t)scriptFlags __attribute__((swift_name("correctlySpends(tx:parent:scriptFlags:)"))); +- (void)correctlySpendsTx:(PAPITransaction *)tx parent:(PAPITransaction *)parent scriptFlags:(int32_t)scriptFlags callback:(PAPIBoolean *(^ _Nullable)(NSArray *, NSArray *, PAPIScriptRunnerCompanionState *))callback __attribute__((swift_name("correctlySpends(tx:parent:scriptFlags:callback:)"))); +- (void)correctlySpendsTx:(PAPITransaction *)tx inputs:(NSArray *)inputs scriptFlags:(int32_t)scriptFlags __attribute__((swift_name("correctlySpends(tx:inputs:scriptFlags:)"))); +- (void)correctlySpendsTx:(PAPITransaction *)tx inputs:(NSArray *)inputs scriptFlags:(int32_t)scriptFlags callback:(PAPIBoolean *(^ _Nullable)(NSArray *, NSArray *, PAPIScriptRunnerCompanionState *))callback __attribute__((swift_name("correctlySpends(tx:inputs:scriptFlags:callback:)"))); +- (void)correctlySpendsTx:(PAPITransaction *)tx previousOutputs:(NSDictionary *)previousOutputs scriptFlags:(int32_t)scriptFlags __attribute__((swift_name("correctlySpends(tx:previousOutputs:scriptFlags:)"))); +- (void)correctlySpendsTx:(PAPITransaction *)tx previousOutputs:(NSDictionary *)previousOutputs scriptFlags:(int32_t)scriptFlags callback:(PAPIBoolean *(^ _Nullable)(NSArray *, NSArray *, PAPIScriptRunnerCompanionState *))callback __attribute__((swift_name("correctlySpends(tx:previousOutputs:scriptFlags:callback:)"))); +- (PAPIKotlinByteArray *)hashForSigningTx:(PAPITransaction *)tx inputIndex:(int32_t)inputIndex previousOutputScript:(PAPIKotlinByteArray *)previousOutputScript sighashType:(int32_t)sighashType __attribute__((swift_name("hashForSigning(tx:inputIndex:previousOutputScript:sighashType:)"))); +- (PAPIKotlinByteArray *)hashForSigningTx:(PAPITransaction *)tx inputIndex:(int32_t)inputIndex previousOutputScript:(PAPIKotlinByteArray *)previousOutputScript sighashType:(int32_t)sighashType amount:(PAPISatoshi *)amount signatureVersion:(int32_t)signatureVersion __attribute__((swift_name("hashForSigning(tx:inputIndex:previousOutputScript:sighashType:amount:signatureVersion:)"))); +- (PAPIKotlinByteArray *)hashForSigningTx:(PAPITransaction *)tx inputIndex:(int32_t)inputIndex previousOutputScript:(NSArray *)previousOutputScript sighashType:(int32_t)sighashType amount:(PAPISatoshi *)amount signatureVersion_:(int32_t)signatureVersion __attribute__((swift_name("hashForSigning(tx:inputIndex:previousOutputScript:sighashType:amount:signatureVersion_:)"))); +- (BOOL)isCoinbaseInput:(PAPITransaction *)input __attribute__((swift_name("isCoinbase(input:)"))); +- (PAPITransaction *)prepareForSigningTx:(PAPITransaction *)tx inputIndex:(int32_t)inputIndex previousOutputScript:(PAPIKotlinByteArray *)previousOutputScript sighashType:(int32_t)sighashType __attribute__((swift_name("prepareForSigning(tx:inputIndex:previousOutputScript:sighashType:)"))); +- (PAPITransaction *)readInput:(id)input protocolVersion:(int64_t)protocolVersion __attribute__((swift_name("read(input:protocolVersion:)"))); +- (PAPITransaction *)readInput_:(PAPIKotlinByteArray *)input __attribute__((swift_name("read(input_:)"))); +- (PAPITransaction *)readInput__:(NSString *)input __attribute__((swift_name("read(input__:)"))); +- (BOOL)serializeTxWitnessVersion:(int64_t)version __attribute__((swift_name("serializeTxWitness(version:)"))); +- (PAPIKotlinByteArray *)signInputTx:(PAPITransaction *)tx inputIndex:(int32_t)inputIndex previousOutputScript:(PAPIByteVector *)previousOutputScript sighashType:(int32_t)sighashType privateKey:(PAPIPrivateKey *)privateKey __attribute__((swift_name("signInput(tx:inputIndex:previousOutputScript:sighashType:privateKey:)"))); +- (PAPIKotlinByteArray *)signInputTx:(PAPITransaction *)tx inputIndex:(int32_t)inputIndex previousOutputScript:(PAPIByteVector *)previousOutputScript sighashType:(int32_t)sighashType amount:(PAPISatoshi *)amount signatureVersion:(int32_t)signatureVersion privateKey:(PAPIPrivateKey *)privateKey __attribute__((swift_name("signInput(tx:inputIndex:previousOutputScript:sighashType:amount:signatureVersion:privateKey:)"))); +- (PAPIKotlinByteArray *)signInputTx:(PAPITransaction *)tx inputIndex:(int32_t)inputIndex previousOutputScript:(PAPIKotlinByteArray *)previousOutputScript sighashType:(int32_t)sighashType privateKey_:(PAPIPrivateKey *)privateKey __attribute__((swift_name("signInput(tx:inputIndex:previousOutputScript:sighashType:privateKey_:)"))); +- (PAPIKotlinByteArray *)signInputTx:(PAPITransaction *)tx inputIndex:(int32_t)inputIndex previousOutputScript:(PAPIKotlinByteArray *)previousOutputScript sighashType:(int32_t)sighashType amount:(PAPISatoshi *)amount signatureVersion:(int32_t)signatureVersion privateKey_:(PAPIPrivateKey *)privateKey __attribute__((swift_name("signInput(tx:inputIndex:previousOutputScript:sighashType:amount:signatureVersion:privateKey_:)"))); +- (PAPIKotlinByteArray *)signInputTx:(PAPITransaction *)tx inputIndex:(int32_t)inputIndex previousOutputScript:(NSArray *)previousOutputScript sighashType:(int32_t)sighashType privateKey__:(PAPIPrivateKey *)privateKey __attribute__((swift_name("signInput(tx:inputIndex:previousOutputScript:sighashType:privateKey__:)"))); +- (PAPIKotlinByteArray *)signInputTx:(PAPITransaction *)tx inputIndex:(int32_t)inputIndex previousOutputScript:(NSArray *)previousOutputScript sighashType:(int32_t)sighashType amount:(PAPISatoshi *)amount signatureVersion:(int32_t)signatureVersion privateKey__:(PAPIPrivateKey *)privateKey __attribute__((swift_name("signInput(tx:inputIndex:previousOutputScript:sighashType:amount:signatureVersion:privateKey__:)"))); +- (int32_t)totalSizeTx:(PAPITransaction *)tx protocolVersion:(int64_t)protocolVersion __attribute__((swift_name("totalSize(tx:protocolVersion:)"))); +- (void)validateMessage:(PAPITransaction *)input __attribute__((swift_name("validate(message:)"))); +- (int32_t)weightTx:(PAPITransaction *)tx __attribute__((swift_name("weight(tx:)"))); +- (int32_t)weightTx:(PAPITransaction *)tx protocolVersion:(int64_t)protocolVersion __attribute__((swift_name("weight(tx:protocolVersion:)"))); +- (PAPIKotlinByteArray *)writeMessage:(PAPITransaction *)message __attribute__((swift_name("write(message:)"))); +- (void)writeMessage:(PAPITransaction *)tx out:(id)out protocolVersion:(int64_t)protocolVersion __attribute__((swift_name("write(message:out:protocolVersion:)"))); +@property (readonly) int64_t LOCKTIME_THRESHOLD __attribute__((swift_name("LOCKTIME_THRESHOLD"))); +@property (readonly) int64_t SERIALIZE_TRANSACTION_NO_WITNESS __attribute__((swift_name("SERIALIZE_TRANSACTION_NO_WITNESS"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("TxIn"))) +@interface PAPITxIn : PAPIBase +- (instancetype)initWithOutPoint:(PAPIOutPoint *)outPoint signatureScript:(PAPIKotlinByteArray *)signatureScript sequence:(int64_t)sequence __attribute__((swift_name("init(outPoint:signatureScript:sequence:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithOutPoint:(PAPIOutPoint *)outPoint sequence:(int64_t)sequence __attribute__((swift_name("init(outPoint:sequence:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithOutPoint:(PAPIOutPoint *)outPoint signatureScript:(NSArray *)signatureScript sequence_:(int64_t)sequence __attribute__((swift_name("init(outPoint:signatureScript:sequence_:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithOutPoint:(PAPIOutPoint *)outPoint signatureScript:(PAPIByteVector *)signatureScript sequence:(int64_t)sequence witness:(PAPIScriptWitness *)witness __attribute__((swift_name("init(outPoint:signatureScript:sequence:witness:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPITxInCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIOutPoint *)component1 __attribute__((swift_name("component1()"))); +- (PAPIByteVector *)component2 __attribute__((swift_name("component2()"))); +- (int64_t)component3 __attribute__((swift_name("component3()"))); +- (PAPIScriptWitness *)component4 __attribute__((swift_name("component4()"))); +- (PAPITxIn *)doCopyOutPoint:(PAPIOutPoint *)outPoint signatureScript:(PAPIByteVector *)signatureScript sequence:(int64_t)sequence witness:(PAPIScriptWitness *)witness __attribute__((swift_name("doCopy(outPoint:signatureScript:sequence:witness:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIBtcSerializer *)serializer __attribute__((swift_name("serializer()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +- (PAPITxIn *)updateSignatureScriptSignatureScript:(PAPIByteVector *)signatureScript __attribute__((swift_name("updateSignatureScript(signatureScript:)"))); +- (PAPITxIn *)updateSignatureScriptSignatureScript_:(PAPIKotlinByteArray *)signatureScript __attribute__((swift_name("updateSignatureScript(signatureScript_:)"))); +- (PAPITxIn *)updateWitnessWitness:(PAPIScriptWitness *)witness __attribute__((swift_name("updateWitness(witness:)"))); +@property (readonly) BOOL hasWitness __attribute__((swift_name("hasWitness"))); +@property (readonly) BOOL isFinal __attribute__((swift_name("isFinal"))); +@property (readonly) PAPIOutPoint *outPoint __attribute__((swift_name("outPoint"))); +@property (readonly) int64_t sequence __attribute__((swift_name("sequence"))); +@property (readonly) PAPIByteVector *signatureScript __attribute__((swift_name("signatureScript"))); +@property (readonly) PAPIScriptWitness *witness __attribute__((swift_name("witness"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("TxIn.Companion"))) +@interface PAPITxInCompanion : PAPIBtcSerializer ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPITxInCompanion *shared __attribute__((swift_name("shared"))); +- (PAPITxIn *)coinbaseScript:(PAPIKotlinByteArray *)script __attribute__((swift_name("coinbase(script:)"))); +- (PAPITxIn *)coinbaseScript_:(NSArray *)script __attribute__((swift_name("coinbase(script_:)"))); +- (PAPITxIn *)readInput:(id)input protocolVersion:(int64_t)protocolVersion __attribute__((swift_name("read(input:protocolVersion:)"))); +- (void)validateMessage:(PAPITxIn *)input __attribute__((swift_name("validate(message:)"))); +- (void)writeMessage:(PAPITxIn *)message out:(id)out protocolVersion:(int64_t)protocolVersion __attribute__((swift_name("write(message:out:protocolVersion:)"))); +@property (readonly) int64_t SEQUENCE_FINAL __attribute__((swift_name("SEQUENCE_FINAL"))); +@property (readonly) int64_t SEQUENCE_LOCKTIME_DISABLE_FLAG __attribute__((swift_name("SEQUENCE_LOCKTIME_DISABLE_FLAG"))); +@property (readonly) int64_t SEQUENCE_LOCKTIME_GRANULARITY __attribute__((swift_name("SEQUENCE_LOCKTIME_GRANULARITY"))); +@property (readonly) int64_t SEQUENCE_LOCKTIME_MASK __attribute__((swift_name("SEQUENCE_LOCKTIME_MASK"))); +@property (readonly) int64_t SEQUENCE_LOCKTIME_TYPE_FLAG __attribute__((swift_name("SEQUENCE_LOCKTIME_TYPE_FLAG"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("TxOut"))) +@interface PAPITxOut : PAPIBase +- (instancetype)initWithAmount:(PAPISatoshi *)amount publicKeyScript:(PAPIKotlinByteArray *)publicKeyScript __attribute__((swift_name("init(amount:publicKeyScript:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithAmount:(PAPISatoshi *)amount publicKeyScript_:(NSArray *)publicKeyScript __attribute__((swift_name("init(amount:publicKeyScript_:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithAmount:(PAPISatoshi *)amount publicKeyScript__:(PAPIByteVector *)publicKeyScript __attribute__((swift_name("init(amount:publicKeyScript__:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPITxOutCompanion *companion __attribute__((swift_name("companion"))); +- (PAPISatoshi *)component1 __attribute__((swift_name("component1()"))); +- (PAPIByteVector *)component2 __attribute__((swift_name("component2()"))); +- (PAPITxOut *)doCopyAmount:(PAPISatoshi *)amount publicKeyScript:(PAPIByteVector *)publicKeyScript __attribute__((swift_name("doCopy(amount:publicKeyScript:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIBtcSerializer *)serializer __attribute__((swift_name("serializer()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +- (PAPITxOut *)updateAmountNewAmount:(PAPISatoshi *)newAmount __attribute__((swift_name("updateAmount(newAmount:)"))); +- (PAPITxOut *)updatePublicKeyScriptInput:(PAPIByteVector *)input __attribute__((swift_name("updatePublicKeyScript(input:)"))); +- (PAPITxOut *)updatePublicKeyScriptInput_:(PAPIKotlinByteArray *)input __attribute__((swift_name("updatePublicKeyScript(input_:)"))); +- (PAPITxOut *)updatePublicKeyScriptInput__:(NSArray *)input __attribute__((swift_name("updatePublicKeyScript(input__:)"))); +@property (readonly) PAPISatoshi *amount __attribute__((swift_name("amount"))); +@property (readonly) PAPIByteVector *publicKeyScript __attribute__((swift_name("publicKeyScript"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("TxOut.Companion"))) +@interface PAPITxOutCompanion : PAPIBtcSerializer ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPITxOutCompanion *shared __attribute__((swift_name("shared"))); +- (PAPITxOut *)readInput:(id)input protocolVersion:(int64_t)protocolVersion __attribute__((swift_name("read(input:protocolVersion:)"))); +- (PAPITxOut *)readInput_:(PAPIKotlinByteArray *)input __attribute__((swift_name("read(input_:)"))); +- (void)validateMessage:(PAPITxOut *)t __attribute__((swift_name("validate(message:)"))); +- (PAPIKotlinByteArray *)writeMessage:(PAPITxOut *)message __attribute__((swift_name("write(message:)"))); +- (void)writeMessage:(PAPITxOut *)t out:(id)out protocolVersion:(int64_t)protocolVersion __attribute__((swift_name("write(message:out:protocolVersion:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UInt256"))) +@interface PAPIUInt256 : PAPIBase +- (instancetype)initWithRhs:(PAPIUInt256 *)rhs __attribute__((swift_name("init(rhs:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(int64_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue_:(PAPIKotlinByteArray *)value __attribute__((swift_name("init(value_:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +@property (class, readonly, getter=companion) PAPIUInt256Companion *companion __attribute__((swift_name("companion"))); +- (int32_t)bits __attribute__((swift_name("bits()"))); +- (int32_t)compareToOther:(PAPIUInt256 *)other __attribute__((swift_name("compareTo(other:)"))); +- (void)divAssignOther:(PAPIUInt256 *)other __attribute__((swift_name("divAssign(other:)"))); +- (int64_t)endodeCompactFNegative:(BOOL)fNegative __attribute__((swift_name("endodeCompact(fNegative:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (int64_t)getLow64 __attribute__((swift_name("getLow64()"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIUInt256 *)inc __attribute__((swift_name("inc()"))); +- (PAPIUInt256 *)inv __attribute__((swift_name("inv()"))); +- (void)minusAssignOther:(PAPIUInt256 *)other __attribute__((swift_name("minusAssign(other:)"))); +- (void)plusAssignOther:(PAPIUInt256 *)other __attribute__((swift_name("plusAssign(other:)"))); +- (void)setUInt64Value:(int64_t)value __attribute__((swift_name("setUInt64(value:)"))); +- (PAPIUInt256 *)shlBitCount:(int32_t)bitCount __attribute__((swift_name("shl(bitCount:)"))); +- (PAPIUInt256 *)shrBitCount:(int32_t)bitCount __attribute__((swift_name("shr(bitCount:)"))); +- (void)timesAssignOther:(PAPIUInt256 *)other __attribute__((swift_name("timesAssign(other:)"))); +- (double)toDouble __attribute__((swift_name("toDouble()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +- (PAPIUInt256 *)unaryMinus __attribute__((swift_name("unaryMinus()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UInt256.Companion"))) +@interface PAPIUInt256Companion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIUInt256Companion *shared __attribute__((swift_name("shared"))); +- (PAPIKotlinTriple *)decodeCompactNCompact:(int64_t)nCompact __attribute__((swift_name("decodeCompact(nCompact:)"))); +@property (readonly) PAPIUInt256 *Zero __attribute__((swift_name("Zero"))); +@end; + +__attribute__((swift_name("Digest"))) +@protocol PAPIDigest +@required +- (int32_t)doFinalOut:(PAPIKotlinByteArray *)out outOffset:(int32_t)outOffset __attribute__((swift_name("doFinal(out:outOffset:)"))); +- (NSString *)getAlgorithmName __attribute__((swift_name("getAlgorithmName()"))); +- (int32_t)getDigestSize __attribute__((swift_name("getDigestSize()"))); +- (PAPIKotlinByteArray *)hashInput:(PAPIKotlinByteArray *)input __attribute__((swift_name("hash(input:)"))); +- (PAPIKotlinByteArray *)hashInput:(PAPIKotlinByteArray *)input inputOffset:(int32_t)inputOffset len:(int32_t)len __attribute__((swift_name("hash(input:inputOffset:len:)"))); +- (void)reset_ __attribute__((swift_name("reset_()"))); +- (void)updateInput_:(int8_t)input __attribute__((swift_name("update(input_:)"))); +- (void)updateInput:(PAPIKotlinByteArray *)input inputOffset:(int32_t)inputOffset len:(int32_t)len __attribute__((swift_name("update(input:inputOffset:len:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DigestCompanion"))) +@interface PAPIDigestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDigestCompanion *shared __attribute__((swift_name("shared"))); +- (id)ripemd160 __attribute__((swift_name("ripemd160()"))); +- (id)sha1 __attribute__((swift_name("sha1()"))); +- (id)sha256 __attribute__((swift_name("sha256()"))); +- (id)sha512 __attribute__((swift_name("sha512()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Pack"))) +@interface PAPIPack : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)pack __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIPack *shared __attribute__((swift_name("shared"))); +- (int16_t)int16BEInput:(id)input __attribute__((swift_name("int16BE(input:)"))); +- (int16_t)int16BEBs:(PAPIKotlinByteArray *)bs off:(int32_t)off __attribute__((swift_name("int16BE(bs:off:)"))); +- (int16_t)int16LEInput:(id)input __attribute__((swift_name("int16LE(input:)"))); +- (int16_t)int16LEBs:(PAPIKotlinByteArray *)bs off:(int32_t)off __attribute__((swift_name("int16LE(bs:off:)"))); +- (int32_t)int32BEInput:(id)input __attribute__((swift_name("int32BE(input:)"))); +- (int32_t)int32BEBs:(PAPIKotlinByteArray *)bs off:(int32_t)off __attribute__((swift_name("int32BE(bs:off:)"))); +- (int32_t)int32LEInput:(id)input __attribute__((swift_name("int32LE(input:)"))); +- (int32_t)int32LEBs:(PAPIKotlinByteArray *)bs off:(int32_t)off __attribute__((swift_name("int32LE(bs:off:)"))); +- (int64_t)int64BEInput:(id)input __attribute__((swift_name("int64BE(input:)"))); +- (int64_t)int64BEBs:(PAPIKotlinByteArray *)bs off:(int32_t)off __attribute__((swift_name("int64BE(bs:off:)"))); +- (int64_t)int64LEInput:(id)input __attribute__((swift_name("int64LE(input:)"))); +- (int64_t)int64LEBs:(PAPIKotlinByteArray *)bs off:(int32_t)off __attribute__((swift_name("int64LE(bs:off:)"))); +- (PAPIKotlinByteArray *)writeInt16BEN:(int16_t)n __attribute__((swift_name("writeInt16BE(n:)"))); +- (void)writeInt16BEN:(int16_t)n output:(id)output __attribute__((swift_name("writeInt16BE(n:output:)"))); +- (void)writeInt16BEN:(int16_t)n bs:(PAPIKotlinByteArray *)bs off:(int32_t)off __attribute__((swift_name("writeInt16BE(n:bs:off:)"))); +- (PAPIKotlinByteArray *)writeInt16LEN:(int16_t)n __attribute__((swift_name("writeInt16LE(n:)"))); +- (void)writeInt16LEN:(int16_t)n output:(id)output __attribute__((swift_name("writeInt16LE(n:output:)"))); +- (void)writeInt16LEN:(int16_t)n bs:(PAPIKotlinByteArray *)bs off:(int32_t)off __attribute__((swift_name("writeInt16LE(n:bs:off:)"))); +- (PAPIKotlinByteArray *)writeInt32BEN:(int32_t)n __attribute__((swift_name("writeInt32BE(n:)"))); +- (void)writeInt32BEN:(int32_t)n output:(id)output __attribute__((swift_name("writeInt32BE(n:output:)"))); +- (void)writeInt32BEN:(int32_t)n bs:(PAPIKotlinByteArray *)bs off:(int32_t)off __attribute__((swift_name("writeInt32BE(n:bs:off:)"))); +- (PAPIKotlinByteArray *)writeInt32LEN:(int32_t)n __attribute__((swift_name("writeInt32LE(n:)"))); +- (void)writeInt32LEN:(int32_t)n output:(id)output __attribute__((swift_name("writeInt32LE(n:output:)"))); +- (void)writeInt32LEN:(int32_t)n bs:(PAPIKotlinByteArray *)bs off:(int32_t)off __attribute__((swift_name("writeInt32LE(n:bs:off:)"))); +- (PAPIKotlinByteArray *)writeInt64BEN:(int64_t)n __attribute__((swift_name("writeInt64BE(n:)"))); +- (void)writeInt64BEN:(int64_t)n output:(id)output __attribute__((swift_name("writeInt64BE(n:output:)"))); +- (void)writeInt64BEN:(int64_t)n bs:(PAPIKotlinByteArray *)bs off:(int32_t)off __attribute__((swift_name("writeInt64BE(n:bs:off:)"))); +- (PAPIKotlinByteArray *)writeInt64LEN:(int64_t)n __attribute__((swift_name("writeInt64LE(n:)"))); +- (void)writeInt64LEN:(int64_t)n output:(id)output __attribute__((swift_name("writeInt64LE(n:output:)"))); +- (void)writeInt64LEN:(int64_t)n bs:(PAPIKotlinByteArray *)bs off:(int32_t)off __attribute__((swift_name("writeInt64LE(n:bs:off:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Pbkdf2"))) +@interface PAPIPbkdf2 : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)pbkdf2 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIPbkdf2 *shared __attribute__((swift_name("shared"))); +- (PAPIKotlinByteArray *)withHmacSha512Password:(PAPIKotlinByteArray *)password salt:(PAPIKotlinByteArray *)salt count:(int32_t)count dkLen:(int32_t)dkLen __attribute__((swift_name("withHmacSha512(password:salt:count:dkLen:)"))); +@end; + +__attribute__((swift_name("Input_"))) +@protocol PAPIInput_ +@required +- (int32_t)read __attribute__((swift_name("read()"))); +- (int32_t)readB:(PAPIKotlinByteArray *)b offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("read(b:offset:length:)"))); +@property (readonly) int32_t availableBytes __attribute__((swift_name("availableBytes"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ByteArrayInput"))) +@interface PAPIByteArrayInput : PAPIBase +- (instancetype)initWithArray:(PAPIKotlinByteArray *)array __attribute__((swift_name("init(array:)"))) __attribute__((objc_designated_initializer)); +- (int32_t)read __attribute__((swift_name("read()"))); +- (int32_t)readB:(PAPIKotlinByteArray *)b offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("read(b:offset:length:)"))); +@property (readonly) int32_t availableBytes __attribute__((swift_name("availableBytes"))); +@end; + +__attribute__((swift_name("Output_"))) +@protocol PAPIOutput_ +@required +- (void)writeBuffer:(PAPIKotlinByteArray *)buffer offset:(int32_t)offset count:(int32_t)count __attribute__((swift_name("write(buffer:offset:count:)"))); +- (void)writeByteValue_:(int32_t)byteValue __attribute__((swift_name("write(byteValue:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ByteArrayOutput"))) +@interface PAPIByteArrayOutput : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (PAPIKotlinByteArray *)toByteArray __attribute__((swift_name("toByteArray()"))); +- (void)writeBuffer:(PAPIKotlinByteArray *)buffer offset:(int32_t)offset count:(int32_t)count __attribute__((swift_name("write(buffer:offset:count:)"))); +- (void)writeByteValue_:(int32_t)byteValue __attribute__((swift_name("write(byteValue:)"))); +@end; + +__attribute__((swift_name("BinaryFormat"))) +@protocol PAPIBinaryFormat +@required +- (id _Nullable)decodeFromByteArrayDeserializer:(id)deserializer bytes:(PAPIKotlinByteArray *)bytes __attribute__((swift_name("decodeFromByteArray(deserializer:bytes:)"))); +- (PAPIKotlinByteArray *)encodeToByteArraySerializer:(id)serializer value:(id _Nullable)value __attribute__((swift_name("encodeToByteArray(serializer:value:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ContextualSerializer"))) +@interface PAPIContextualSerializer : PAPIBase +- (instancetype)initWithSerializableClass:(id)serializableClass __attribute__((swift_name("init(serializableClass:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithSerializableClass:(id)serializableClass fallbackSerializer:(id _Nullable)fallbackSerializer typeArgumentsSerializers:(PAPIKotlinArray> *)typeArgumentsSerializers __attribute__((swift_name("init(serializableClass:fallbackSerializer:typeArgumentsSerializers:)"))) __attribute__((objc_designated_initializer)); +- (T)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); +- (void)serializeEncoder:(id)encoder value:(T)value __attribute__((swift_name("serialize(encoder:value:)"))); +@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PolymorphicSerializer"))) +@interface PAPIPolymorphicSerializer : PAPIAbstractPolymorphicSerializer +- (instancetype)initWithBaseClass:(id)baseClass __attribute__((swift_name("init(baseClass:)"))) __attribute__((objc_designated_initializer)); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) id baseClass __attribute__((swift_name("baseClass"))); +@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SealedClassSerializer"))) +@interface PAPISealedClassSerializer : PAPIAbstractPolymorphicSerializer +- (instancetype)initWithSerialName:(NSString *)serialName baseClass:(id)baseClass subclasses:(PAPIKotlinArray> *)subclasses subclassSerializers:(PAPIKotlinArray> *)subclassSerializers __attribute__((swift_name("init(serialName:baseClass:subclasses:subclassSerializers:)"))) __attribute__((objc_designated_initializer)); +- (id _Nullable)findPolymorphicSerializerOrNullDecoder:(id)decoder klassName:(NSString * _Nullable)klassName __attribute__((swift_name("findPolymorphicSerializerOrNull(decoder:klassName:)"))); +- (id _Nullable)findPolymorphicSerializerOrNullEncoder:(id)encoder value:(T)value __attribute__((swift_name("findPolymorphicSerializerOrNull(encoder:value:)"))); +@property (readonly) id baseClass __attribute__((swift_name("baseClass"))); +@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("SerializationException"))) +@interface PAPISerializationException : PAPIKotlinIllegalArgumentException +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((swift_name("AbstractCollectionSerializer"))) +@interface PAPIAbstractCollectionSerializer : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (Builder _Nullable)builder __attribute__((swift_name("builder()"))); +- (Collection _Nullable)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); +- (Collection _Nullable)mergeDecoder:(id)decoder previous:(Collection _Nullable)previous __attribute__((swift_name("merge(decoder:previous:)"))); +- (void)readAllDecoder:(id)decoder builder:(Builder _Nullable)builder startIndex:(int32_t)startIndex size:(int32_t)size __attribute__((swift_name("readAll(decoder:builder:startIndex:size:)"))); +- (void)readElementDecoder:(id)decoder index:(int32_t)index builder:(Builder _Nullable)builder checkIndex:(BOOL)checkIndex __attribute__((swift_name("readElement(decoder:index:builder:checkIndex:)"))); +- (void)serializeEncoder:(id)encoder value:(Collection _Nullable)value __attribute__((swift_name("serialize(encoder:value:)"))); +- (int32_t)builderSize:(Builder _Nullable)receiver __attribute__((swift_name("builderSize(_:)"))); +- (void)checkCapacity:(Builder _Nullable)receiver size:(int32_t)size __attribute__((swift_name("checkCapacity(_:size:)"))); +- (id)collectionIterator:(Collection _Nullable)receiver __attribute__((swift_name("collectionIterator(_:)"))); +- (int32_t)collectionSize:(Collection _Nullable)receiver __attribute__((swift_name("collectionSize(_:)"))); +- (Builder _Nullable)toBuilder:(Collection _Nullable)receiver __attribute__((swift_name("toBuilder(_:)"))); +- (Collection _Nullable)toResult:(Builder _Nullable)receiver __attribute__((swift_name("toResult(_:)"))); +@end; + +__attribute__((swift_name("GeneratedSerializer"))) +@protocol PAPIGeneratedSerializer +@required +- (PAPIKotlinArray> *)childSerializers __attribute__((swift_name("childSerializers()"))); +- (PAPIKotlinArray> *)typeParametersSerializers __attribute__((swift_name("typeParametersSerializers()"))); +@end; + +__attribute__((swift_name("MapLikeSerializer"))) +@interface PAPIMapLikeSerializer : PAPIAbstractCollectionSerializer, Collection, PAPIMutableDictionary *> +- (instancetype)initWithKeySerializer:(id)keySerializer valueSerializer:(id)valueSerializer __attribute__((swift_name("init(keySerializer:valueSerializer:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (void)readAllDecoder:(id)decoder builder:(PAPIMutableDictionary *)builder startIndex:(int32_t)startIndex size:(int32_t)size __attribute__((swift_name("readAll(decoder:builder:startIndex:size:)"))); +- (void)readElementDecoder:(id)decoder index:(int32_t)index builder:(PAPIMutableDictionary *)builder checkIndex:(BOOL)checkIndex __attribute__((swift_name("readElement(decoder:index:builder:checkIndex:)"))); +- (void)serializeEncoder:(id)encoder value:(Collection _Nullable)value __attribute__((swift_name("serialize(encoder:value:)"))); +- (void)insertKeyValuePair:(PAPIMutableDictionary *)receiver index:(int32_t)index key:(Key _Nullable)key value:(Value _Nullable)value __attribute__((swift_name("insertKeyValuePair(_:index:key:value:)"))); +@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) id keySerializer __attribute__((swift_name("keySerializer"))); +@property (readonly) id valueSerializer __attribute__((swift_name("valueSerializer"))); +@end; + +__attribute__((swift_name("TaggedDecoder"))) +@interface PAPITaggedDecoder : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (id)beginStructureDescriptor:(id)descriptor __attribute__((swift_name("beginStructure(descriptor:)"))); +- (void)doCopyTagsToOther:(PAPITaggedDecoder *)other __attribute__((swift_name("doCopyTagsTo(other:)"))); +- (BOOL)decodeBoolean __attribute__((swift_name("decodeBoolean()"))); +- (BOOL)decodeBooleanElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeBooleanElement(descriptor:index:)"))); +- (int8_t)decodeByte __attribute__((swift_name("decodeByte()"))); +- (int8_t)decodeByteElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeByteElement(descriptor:index:)"))); +- (unichar)decodeChar __attribute__((swift_name("decodeChar()"))); +- (unichar)decodeCharElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeCharElement(descriptor:index:)"))); +- (double)decodeDouble __attribute__((swift_name("decodeDouble()"))); +- (double)decodeDoubleElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeDoubleElement(descriptor:index:)"))); +- (int32_t)decodeEnumEnumDescriptor:(id)enumDescriptor __attribute__((swift_name("decodeEnum(enumDescriptor:)"))); +- (float)decodeFloat __attribute__((swift_name("decodeFloat()"))); +- (float)decodeFloatElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeFloatElement(descriptor:index:)"))); +- (id)decodeInlineInlineDescriptor:(id)inlineDescriptor __attribute__((swift_name("decodeInline(inlineDescriptor:)"))); +- (id)decodeInlineElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeInlineElement(descriptor:index:)"))); +- (int32_t)decodeInt __attribute__((swift_name("decodeInt()"))); +- (int32_t)decodeIntElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeIntElement(descriptor:index:)"))); +- (int64_t)decodeLong __attribute__((swift_name("decodeLong()"))); +- (int64_t)decodeLongElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeLongElement(descriptor:index:)"))); +- (BOOL)decodeNotNullMark __attribute__((swift_name("decodeNotNullMark()"))); +- (PAPIKotlinNothing * _Nullable)decodeNull __attribute__((swift_name("decodeNull()"))); +- (id _Nullable)decodeNullableSerializableElementDescriptor:(id)descriptor index:(int32_t)index deserializer:(id)deserializer previousValue:(id _Nullable)previousValue __attribute__((swift_name("decodeNullableSerializableElement(descriptor:index:deserializer:previousValue:)"))); +- (id _Nullable)decodeSerializableElementDescriptor:(id)descriptor index:(int32_t)index deserializer:(id)deserializer previousValue:(id _Nullable)previousValue __attribute__((swift_name("decodeSerializableElement(descriptor:index:deserializer:previousValue:)"))); +- (id _Nullable)decodeSerializableValueDeserializer:(id)deserializer previousValue:(id _Nullable)previousValue __attribute__((swift_name("decodeSerializableValue(deserializer:previousValue:)"))); +- (int16_t)decodeShort __attribute__((swift_name("decodeShort()"))); +- (int16_t)decodeShortElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeShortElement(descriptor:index:)"))); +- (NSString *)decodeString __attribute__((swift_name("decodeString()"))); +- (NSString *)decodeStringElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeStringElement(descriptor:index:)"))); +- (BOOL)decodeTaggedBooleanTag:(Tag _Nullable)tag __attribute__((swift_name("decodeTaggedBoolean(tag:)"))); +- (int8_t)decodeTaggedByteTag:(Tag _Nullable)tag __attribute__((swift_name("decodeTaggedByte(tag:)"))); +- (unichar)decodeTaggedCharTag:(Tag _Nullable)tag __attribute__((swift_name("decodeTaggedChar(tag:)"))); +- (double)decodeTaggedDoubleTag:(Tag _Nullable)tag __attribute__((swift_name("decodeTaggedDouble(tag:)"))); +- (int32_t)decodeTaggedEnumTag:(Tag _Nullable)tag enumDescriptor:(id)enumDescriptor __attribute__((swift_name("decodeTaggedEnum(tag:enumDescriptor:)"))); +- (float)decodeTaggedFloatTag:(Tag _Nullable)tag __attribute__((swift_name("decodeTaggedFloat(tag:)"))); +- (id)decodeTaggedInlineTag:(Tag _Nullable)tag inlineDescriptor:(id)inlineDescriptor __attribute__((swift_name("decodeTaggedInline(tag:inlineDescriptor:)"))); +- (int32_t)decodeTaggedIntTag:(Tag _Nullable)tag __attribute__((swift_name("decodeTaggedInt(tag:)"))); +- (int64_t)decodeTaggedLongTag:(Tag _Nullable)tag __attribute__((swift_name("decodeTaggedLong(tag:)"))); +- (BOOL)decodeTaggedNotNullMarkTag:(Tag _Nullable)tag __attribute__((swift_name("decodeTaggedNotNullMark(tag:)"))); +- (PAPIKotlinNothing * _Nullable)decodeTaggedNullTag:(Tag _Nullable)tag __attribute__((swift_name("decodeTaggedNull(tag:)"))); +- (int16_t)decodeTaggedShortTag:(Tag _Nullable)tag __attribute__((swift_name("decodeTaggedShort(tag:)"))); +- (NSString *)decodeTaggedStringTag:(Tag _Nullable)tag __attribute__((swift_name("decodeTaggedString(tag:)"))); +- (id)decodeTaggedValueTag:(Tag _Nullable)tag __attribute__((swift_name("decodeTaggedValue(tag:)"))); +- (void)endStructureDescriptor:(id)descriptor __attribute__((swift_name("endStructure(descriptor:)"))); +- (Tag _Nullable)popTag __attribute__((swift_name("popTag()"))); +- (void)pushTagName:(Tag _Nullable)name __attribute__((swift_name("pushTag(name:)"))); +- (Tag _Nullable)getTag:(id)receiver index:(int32_t)index __attribute__((swift_name("getTag(_:index:)"))); +@property (readonly) Tag _Nullable currentTag __attribute__((swift_name("currentTag"))); +@property (readonly) Tag _Nullable currentTagOrNull __attribute__((swift_name("currentTagOrNull"))); +@property (readonly) PAPISerializersModule *serializersModule __attribute__((swift_name("serializersModule"))); +@end; + +__attribute__((swift_name("NamedValueDecoder"))) +@interface PAPINamedValueDecoder : PAPITaggedDecoder +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (NSString *)composeNameParentName:(NSString *)parentName childName:(NSString *)childName __attribute__((swift_name("composeName(parentName:childName:)"))); +- (NSString *)elementNameDesc:(id)desc index:(int32_t)index __attribute__((swift_name("elementName(desc:index:)"))); +- (NSString *)nestedNestedName:(NSString *)nestedName __attribute__((swift_name("nested(nestedName:)"))); +- (NSString *)getTag:(id)receiver index:(int32_t)index __attribute__((swift_name("getTag(_:index:)"))); +@end; + +__attribute__((swift_name("TaggedEncoder"))) +@interface PAPITaggedEncoder : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (id)beginStructureDescriptor:(id)descriptor __attribute__((swift_name("beginStructure(descriptor:)"))); +- (void)encodeBooleanValue:(BOOL)value __attribute__((swift_name("encodeBoolean(value:)"))); +- (void)encodeBooleanElementDescriptor:(id)descriptor index:(int32_t)index value:(BOOL)value __attribute__((swift_name("encodeBooleanElement(descriptor:index:value:)"))); +- (void)encodeByteValue:(int8_t)value __attribute__((swift_name("encodeByte(value:)"))); +- (void)encodeByteElementDescriptor:(id)descriptor index:(int32_t)index value:(int8_t)value __attribute__((swift_name("encodeByteElement(descriptor:index:value:)"))); +- (void)encodeCharValue:(unichar)value __attribute__((swift_name("encodeChar(value:)"))); +- (void)encodeCharElementDescriptor:(id)descriptor index:(int32_t)index value:(unichar)value __attribute__((swift_name("encodeCharElement(descriptor:index:value:)"))); +- (void)encodeDoubleValue:(double)value __attribute__((swift_name("encodeDouble(value:)"))); +- (void)encodeDoubleElementDescriptor:(id)descriptor index:(int32_t)index value:(double)value __attribute__((swift_name("encodeDoubleElement(descriptor:index:value:)"))); +- (void)encodeEnumEnumDescriptor:(id)enumDescriptor index:(int32_t)index __attribute__((swift_name("encodeEnum(enumDescriptor:index:)"))); +- (void)encodeFloatValue:(float)value __attribute__((swift_name("encodeFloat(value:)"))); +- (void)encodeFloatElementDescriptor:(id)descriptor index:(int32_t)index value:(float)value __attribute__((swift_name("encodeFloatElement(descriptor:index:value:)"))); +- (id)encodeInlineInlineDescriptor:(id)inlineDescriptor __attribute__((swift_name("encodeInline(inlineDescriptor:)"))); +- (id)encodeInlineElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("encodeInlineElement(descriptor:index:)"))); +- (void)encodeIntValue:(int32_t)value __attribute__((swift_name("encodeInt(value:)"))); +- (void)encodeIntElementDescriptor:(id)descriptor index:(int32_t)index value:(int32_t)value __attribute__((swift_name("encodeIntElement(descriptor:index:value:)"))); +- (void)encodeLongValue:(int64_t)value __attribute__((swift_name("encodeLong(value:)"))); +- (void)encodeLongElementDescriptor:(id)descriptor index:(int32_t)index value:(int64_t)value __attribute__((swift_name("encodeLongElement(descriptor:index:value:)"))); +- (void)encodeNotNullMark __attribute__((swift_name("encodeNotNullMark()"))); +- (void)encodeNull __attribute__((swift_name("encodeNull()"))); +- (void)encodeNullableSerializableElementDescriptor:(id)descriptor index:(int32_t)index serializer:(id)serializer value:(id _Nullable)value __attribute__((swift_name("encodeNullableSerializableElement(descriptor:index:serializer:value:)"))); +- (void)encodeSerializableElementDescriptor:(id)descriptor index:(int32_t)index serializer:(id)serializer value:(id _Nullable)value __attribute__((swift_name("encodeSerializableElement(descriptor:index:serializer:value:)"))); +- (void)encodeShortValue:(int16_t)value __attribute__((swift_name("encodeShort(value:)"))); +- (void)encodeShortElementDescriptor:(id)descriptor index:(int32_t)index value:(int16_t)value __attribute__((swift_name("encodeShortElement(descriptor:index:value:)"))); +- (void)encodeStringValue:(NSString *)value __attribute__((swift_name("encodeString(value:)"))); +- (void)encodeStringElementDescriptor:(id)descriptor index:(int32_t)index value:(NSString *)value __attribute__((swift_name("encodeStringElement(descriptor:index:value:)"))); +- (void)encodeTaggedBooleanTag:(Tag _Nullable)tag value:(BOOL)value __attribute__((swift_name("encodeTaggedBoolean(tag:value:)"))); +- (void)encodeTaggedByteTag:(Tag _Nullable)tag value:(int8_t)value __attribute__((swift_name("encodeTaggedByte(tag:value:)"))); +- (void)encodeTaggedCharTag:(Tag _Nullable)tag value:(unichar)value __attribute__((swift_name("encodeTaggedChar(tag:value:)"))); +- (void)encodeTaggedDoubleTag:(Tag _Nullable)tag value:(double)value __attribute__((swift_name("encodeTaggedDouble(tag:value:)"))); +- (void)encodeTaggedEnumTag:(Tag _Nullable)tag enumDescriptor:(id)enumDescriptor ordinal:(int32_t)ordinal __attribute__((swift_name("encodeTaggedEnum(tag:enumDescriptor:ordinal:)"))); +- (void)encodeTaggedFloatTag:(Tag _Nullable)tag value:(float)value __attribute__((swift_name("encodeTaggedFloat(tag:value:)"))); +- (id)encodeTaggedInlineTag:(Tag _Nullable)tag inlineDescriptor:(id)inlineDescriptor __attribute__((swift_name("encodeTaggedInline(tag:inlineDescriptor:)"))); +- (void)encodeTaggedIntTag:(Tag _Nullable)tag value:(int32_t)value __attribute__((swift_name("encodeTaggedInt(tag:value:)"))); +- (void)encodeTaggedLongTag:(Tag _Nullable)tag value:(int64_t)value __attribute__((swift_name("encodeTaggedLong(tag:value:)"))); +- (void)encodeTaggedNullTag:(Tag _Nullable)tag __attribute__((swift_name("encodeTaggedNull(tag:)"))); +- (void)encodeTaggedShortTag:(Tag _Nullable)tag value:(int16_t)value __attribute__((swift_name("encodeTaggedShort(tag:value:)"))); +- (void)encodeTaggedStringTag:(Tag _Nullable)tag value:(NSString *)value __attribute__((swift_name("encodeTaggedString(tag:value:)"))); +- (void)encodeTaggedValueTag:(Tag _Nullable)tag value:(id)value __attribute__((swift_name("encodeTaggedValue(tag:value:)"))); +- (void)endEncodeDescriptor:(id)descriptor __attribute__((swift_name("endEncode(descriptor:)"))); +- (void)endStructureDescriptor:(id)descriptor __attribute__((swift_name("endStructure(descriptor:)"))); +- (Tag _Nullable)popTag __attribute__((swift_name("popTag()"))); +- (void)pushTagName:(Tag _Nullable)name __attribute__((swift_name("pushTag(name:)"))); +- (Tag _Nullable)getTag:(id)receiver index:(int32_t)index __attribute__((swift_name("getTag(_:index:)"))); +@property (readonly) Tag _Nullable currentTag __attribute__((swift_name("currentTag"))); +@property (readonly) Tag _Nullable currentTagOrNull __attribute__((swift_name("currentTagOrNull"))); +@property (readonly) PAPISerializersModule *serializersModule __attribute__((swift_name("serializersModule"))); +@end; + +__attribute__((swift_name("NamedValueEncoder"))) +@interface PAPINamedValueEncoder : PAPITaggedEncoder +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (NSString *)composeNameParentName:(NSString *)parentName childName:(NSString *)childName __attribute__((swift_name("composeName(parentName:childName:)"))); +- (NSString *)elementNameDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("elementName(descriptor:index:)"))); +- (NSString *)nestedNestedName:(NSString *)nestedName __attribute__((swift_name("nested(nestedName:)"))); +- (NSString *)getTag:(id)receiver index:(int32_t)index __attribute__((swift_name("getTag(_:index:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PolymorphicModuleBuilder"))) +@interface PAPIPolymorphicModuleBuilder<__contravariant Base> : PAPIBase +- (void)defaultDefaultSerializerProvider:(id _Nullable (^)(NSString * _Nullable))defaultSerializerProvider __attribute__((swift_name("default(defaultSerializerProvider:)"))); +- (void)subclassSubclass:(id)subclass serializer:(id)serializer __attribute__((swift_name("subclass(subclass:serializer:)"))); +@end; + +__attribute__((swift_name("SerializersModule"))) +@interface PAPISerializersModule : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (void)dumpToCollector:(id)collector __attribute__((swift_name("dumpTo(collector:)"))); +- (id _Nullable)getContextualKClass:(id)kClass typeArgumentsSerializers:(NSArray> *)typeArgumentsSerializers __attribute__((swift_name("getContextual(kClass:typeArgumentsSerializers:)"))); +- (id _Nullable)getPolymorphicBaseClass:(id)baseClass value:(id)value __attribute__((swift_name("getPolymorphic(baseClass:value:)"))); +- (id _Nullable)getPolymorphicBaseClass:(id)baseClass serializedClassName:(NSString * _Nullable)serializedClassName __attribute__((swift_name("getPolymorphic(baseClass:serializedClassName:)"))); +@end; + +__attribute__((swift_name("SerializersModuleCollector"))) +@protocol PAPISerializersModuleCollector +@required +- (void)contextualKClass:(id)kClass provider:(id (^)(NSArray> *))provider __attribute__((swift_name("contextual(kClass:provider:)"))); +- (void)contextualKClass:(id)kClass serializer:(id)serializer __attribute__((swift_name("contextual(kClass:serializer:)"))); +- (void)polymorphicBaseClass:(id)baseClass actualClass:(id)actualClass actualSerializer:(id)actualSerializer __attribute__((swift_name("polymorphic(baseClass:actualClass:actualSerializer:)"))); +- (void)polymorphicDefaultBaseClass:(id)baseClass defaultSerializerProvider:(id _Nullable (^)(NSString * _Nullable))defaultSerializerProvider __attribute__((swift_name("polymorphicDefault(baseClass:defaultSerializerProvider:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SerializersModuleBuilder"))) +@interface PAPISerializersModuleBuilder : PAPIBase +- (void)contextualKClass:(id)kClass provider:(id (^)(NSArray> *))provider __attribute__((swift_name("contextual(kClass:provider:)"))); +- (void)contextualKClass:(id)kClass serializer:(id)serializer __attribute__((swift_name("contextual(kClass:serializer:)"))); +- (void)includeModule:(PAPISerializersModule *)module __attribute__((swift_name("include(module:)"))); +- (void)polymorphicBaseClass:(id)baseClass actualClass:(id)actualClass actualSerializer:(id)actualSerializer __attribute__((swift_name("polymorphic(baseClass:actualClass:actualSerializer:)"))); +- (void)polymorphicDefaultBaseClass:(id)baseClass defaultSerializerProvider:(id _Nullable (^)(NSString * _Nullable))defaultSerializerProvider __attribute__((swift_name("polymorphicDefault(baseClass:defaultSerializerProvider:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ClassSerialDescriptorBuilder"))) +@interface PAPIClassSerialDescriptorBuilder : PAPIBase +- (void)elementElementName:(NSString *)elementName descriptor:(id)descriptor annotations:(NSArray> *)annotations isOptional:(BOOL)isOptional __attribute__((swift_name("element(elementName:descriptor:annotations:isOptional:)"))); +@property NSArray> *annotations __attribute__((swift_name("annotations"))); +@property BOOL isNullable __attribute__((swift_name("isNullable"))); +@property (readonly) NSString *serialName __attribute__((swift_name("serialName"))); +@end; + +__attribute__((swift_name("SerialKind"))) +@interface PAPISerialKind : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@end; + +__attribute__((swift_name("PolymorphicKind"))) +@interface PAPIPolymorphicKind : PAPISerialKind +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PolymorphicKind.OPEN"))) +@interface PAPIPolymorphicKindOPEN : PAPIPolymorphicKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)oPEN __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIPolymorphicKindOPEN *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PolymorphicKind.SEALED"))) +@interface PAPIPolymorphicKindSEALED : PAPIPolymorphicKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)sEALED __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIPolymorphicKindSEALED *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((swift_name("PrimitiveKind"))) +@interface PAPIPrimitiveKind : PAPISerialKind +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PrimitiveKind.BOOLEAN"))) +@interface PAPIPrimitiveKindBOOLEAN : PAPIPrimitiveKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)bOOLEAN __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIPrimitiveKindBOOLEAN *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PrimitiveKind.BYTE"))) +@interface PAPIPrimitiveKindBYTE : PAPIPrimitiveKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)bYTE __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIPrimitiveKindBYTE *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PrimitiveKind.CHAR"))) +@interface PAPIPrimitiveKindCHAR : PAPIPrimitiveKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)cHAR __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIPrimitiveKindCHAR *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PrimitiveKind.DOUBLE"))) +@interface PAPIPrimitiveKindDOUBLE : PAPIPrimitiveKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)dOUBLE __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIPrimitiveKindDOUBLE *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PrimitiveKind.FLOAT"))) +@interface PAPIPrimitiveKindFLOAT : PAPIPrimitiveKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)fLOAT __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIPrimitiveKindFLOAT *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PrimitiveKind.INT"))) +@interface PAPIPrimitiveKindINT : PAPIPrimitiveKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)iNT __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIPrimitiveKindINT *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PrimitiveKind.LONG"))) +@interface PAPIPrimitiveKindLONG : PAPIPrimitiveKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)lONG __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIPrimitiveKindLONG *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PrimitiveKind.SHORT"))) +@interface PAPIPrimitiveKindSHORT : PAPIPrimitiveKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)sHORT __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIPrimitiveKindSHORT *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PrimitiveKind.STRING"))) +@interface PAPIPrimitiveKindSTRING : PAPIPrimitiveKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)sTRING __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIPrimitiveKindSTRING *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((swift_name("SerialDescriptor"))) +@protocol PAPISerialDescriptor +@required +- (NSArray> *)getElementAnnotationsIndex:(int32_t)index __attribute__((swift_name("getElementAnnotations(index:)"))); +- (id)getElementDescriptorIndex:(int32_t)index __attribute__((swift_name("getElementDescriptor(index:)"))); +- (int32_t)getElementIndexName:(NSString *)name __attribute__((swift_name("getElementIndex(name:)"))); +- (NSString *)getElementNameIndex:(int32_t)index __attribute__((swift_name("getElementName(index:)"))); +- (BOOL)isElementOptionalIndex:(int32_t)index __attribute__((swift_name("isElementOptional(index:)"))); +@property (readonly) NSArray> *annotations __attribute__((swift_name("annotations"))); +@property (readonly) int32_t elementsCount __attribute__((swift_name("elementsCount"))); +@property (readonly) BOOL isInline __attribute__((swift_name("isInline"))); +@property (readonly) BOOL isNullable __attribute__((swift_name("isNullable"))); +@property (readonly) PAPISerialKind *kind __attribute__((swift_name("kind"))); +@property (readonly) NSString *serialName __attribute__((swift_name("serialName"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SerialKind.CONTEXTUAL"))) +@interface PAPISerialKindCONTEXTUAL : PAPISerialKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)cONTEXTUAL __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPISerialKindCONTEXTUAL *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SerialKind.ENUM"))) +@interface PAPISerialKindENUM : PAPISerialKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)eNUM __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPISerialKindENUM *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((swift_name("StructureKind"))) +@interface PAPIStructureKind : PAPISerialKind +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("StructureKind.CLASS"))) +@interface PAPIStructureKindCLASS : PAPIStructureKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)cLASS __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIStructureKindCLASS *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("StructureKind.LIST"))) +@interface PAPIStructureKindLIST : PAPIStructureKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)lIST __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIStructureKindLIST *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("StructureKind.MAP"))) +@interface PAPIStructureKindMAP : PAPIStructureKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)mAP __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIStructureKindMAP *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("StructureKind.OBJECT"))) +@interface PAPIStructureKindOBJECT : PAPIStructureKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)oBJECT __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIStructureKindOBJECT *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("LongAsStringSerializer"))) +@interface PAPILongAsStringSerializer : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)longAsStringSerializer __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPILongAsStringSerializer *shared __attribute__((swift_name("shared"))); +- (PAPILong *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); +- (void)serializeEncoder:(id)encoder value:(PAPILong *)value __attribute__((swift_name("serialize(encoder:value:)"))); +@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("AbstractDecoder"))) +@interface PAPIAbstractDecoder : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (id)beginStructureDescriptor:(id)descriptor __attribute__((swift_name("beginStructure(descriptor:)"))); +- (BOOL)decodeBoolean __attribute__((swift_name("decodeBoolean()"))); +- (BOOL)decodeBooleanElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeBooleanElement(descriptor:index:)"))); +- (int8_t)decodeByte __attribute__((swift_name("decodeByte()"))); +- (int8_t)decodeByteElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeByteElement(descriptor:index:)"))); +- (unichar)decodeChar __attribute__((swift_name("decodeChar()"))); +- (unichar)decodeCharElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeCharElement(descriptor:index:)"))); +- (double)decodeDouble __attribute__((swift_name("decodeDouble()"))); +- (double)decodeDoubleElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeDoubleElement(descriptor:index:)"))); +- (int32_t)decodeEnumEnumDescriptor:(id)enumDescriptor __attribute__((swift_name("decodeEnum(enumDescriptor:)"))); +- (float)decodeFloat __attribute__((swift_name("decodeFloat()"))); +- (float)decodeFloatElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeFloatElement(descriptor:index:)"))); +- (id)decodeInlineInlineDescriptor:(id)inlineDescriptor __attribute__((swift_name("decodeInline(inlineDescriptor:)"))); +- (id)decodeInlineElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeInlineElement(descriptor:index:)"))); +- (int32_t)decodeInt __attribute__((swift_name("decodeInt()"))); +- (int32_t)decodeIntElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeIntElement(descriptor:index:)"))); +- (int64_t)decodeLong __attribute__((swift_name("decodeLong()"))); +- (int64_t)decodeLongElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeLongElement(descriptor:index:)"))); +- (BOOL)decodeNotNullMark __attribute__((swift_name("decodeNotNullMark()"))); +- (PAPIKotlinNothing * _Nullable)decodeNull __attribute__((swift_name("decodeNull()"))); +- (id _Nullable)decodeNullableSerializableElementDescriptor:(id)descriptor index:(int32_t)index deserializer:(id)deserializer previousValue:(id _Nullable)previousValue __attribute__((swift_name("decodeNullableSerializableElement(descriptor:index:deserializer:previousValue:)"))); +- (id _Nullable)decodeSerializableElementDescriptor:(id)descriptor index:(int32_t)index deserializer:(id)deserializer previousValue:(id _Nullable)previousValue __attribute__((swift_name("decodeSerializableElement(descriptor:index:deserializer:previousValue:)"))); +- (id _Nullable)decodeSerializableValueDeserializer:(id)deserializer previousValue:(id _Nullable)previousValue __attribute__((swift_name("decodeSerializableValue(deserializer:previousValue:)"))); +- (int16_t)decodeShort __attribute__((swift_name("decodeShort()"))); +- (int16_t)decodeShortElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeShortElement(descriptor:index:)"))); +- (NSString *)decodeString __attribute__((swift_name("decodeString()"))); +- (NSString *)decodeStringElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeStringElement(descriptor:index:)"))); +- (id)decodeValue __attribute__((swift_name("decodeValue()"))); +- (void)endStructureDescriptor:(id)descriptor __attribute__((swift_name("endStructure(descriptor:)"))); +@end; + +__attribute__((swift_name("AbstractEncoder"))) +@interface PAPIAbstractEncoder : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (id)beginStructureDescriptor:(id)descriptor __attribute__((swift_name("beginStructure(descriptor:)"))); +- (void)encodeBooleanValue:(BOOL)value __attribute__((swift_name("encodeBoolean(value:)"))); +- (void)encodeBooleanElementDescriptor:(id)descriptor index:(int32_t)index value:(BOOL)value __attribute__((swift_name("encodeBooleanElement(descriptor:index:value:)"))); +- (void)encodeByteValue:(int8_t)value __attribute__((swift_name("encodeByte(value:)"))); +- (void)encodeByteElementDescriptor:(id)descriptor index:(int32_t)index value:(int8_t)value __attribute__((swift_name("encodeByteElement(descriptor:index:value:)"))); +- (void)encodeCharValue:(unichar)value __attribute__((swift_name("encodeChar(value:)"))); +- (void)encodeCharElementDescriptor:(id)descriptor index:(int32_t)index value:(unichar)value __attribute__((swift_name("encodeCharElement(descriptor:index:value:)"))); +- (void)encodeDoubleValue:(double)value __attribute__((swift_name("encodeDouble(value:)"))); +- (void)encodeDoubleElementDescriptor:(id)descriptor index:(int32_t)index value:(double)value __attribute__((swift_name("encodeDoubleElement(descriptor:index:value:)"))); +- (BOOL)encodeElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("encodeElement(descriptor:index:)"))); +- (void)encodeEnumEnumDescriptor:(id)enumDescriptor index:(int32_t)index __attribute__((swift_name("encodeEnum(enumDescriptor:index:)"))); +- (void)encodeFloatValue:(float)value __attribute__((swift_name("encodeFloat(value:)"))); +- (void)encodeFloatElementDescriptor:(id)descriptor index:(int32_t)index value:(float)value __attribute__((swift_name("encodeFloatElement(descriptor:index:value:)"))); +- (id)encodeInlineInlineDescriptor:(id)inlineDescriptor __attribute__((swift_name("encodeInline(inlineDescriptor:)"))); +- (id)encodeInlineElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("encodeInlineElement(descriptor:index:)"))); +- (void)encodeIntValue:(int32_t)value __attribute__((swift_name("encodeInt(value:)"))); +- (void)encodeIntElementDescriptor:(id)descriptor index:(int32_t)index value:(int32_t)value __attribute__((swift_name("encodeIntElement(descriptor:index:value:)"))); +- (void)encodeLongValue:(int64_t)value __attribute__((swift_name("encodeLong(value:)"))); +- (void)encodeLongElementDescriptor:(id)descriptor index:(int32_t)index value:(int64_t)value __attribute__((swift_name("encodeLongElement(descriptor:index:value:)"))); +- (void)encodeNull __attribute__((swift_name("encodeNull()"))); +- (void)encodeNullableSerializableElementDescriptor:(id)descriptor index:(int32_t)index serializer:(id)serializer value:(id _Nullable)value __attribute__((swift_name("encodeNullableSerializableElement(descriptor:index:serializer:value:)"))); +- (void)encodeSerializableElementDescriptor:(id)descriptor index:(int32_t)index serializer:(id)serializer value:(id _Nullable)value __attribute__((swift_name("encodeSerializableElement(descriptor:index:serializer:value:)"))); +- (void)encodeShortValue:(int16_t)value __attribute__((swift_name("encodeShort(value:)"))); +- (void)encodeShortElementDescriptor:(id)descriptor index:(int32_t)index value:(int16_t)value __attribute__((swift_name("encodeShortElement(descriptor:index:value:)"))); +- (void)encodeStringValue:(NSString *)value __attribute__((swift_name("encodeString(value:)"))); +- (void)encodeStringElementDescriptor:(id)descriptor index:(int32_t)index value:(NSString *)value __attribute__((swift_name("encodeStringElement(descriptor:index:value:)"))); +- (void)encodeValueValue:(id)value __attribute__((swift_name("encodeValue(value:)"))); +- (void)endStructureDescriptor:(id)descriptor __attribute__((swift_name("endStructure(descriptor:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CompositeDecoderCompanion"))) +@interface PAPICompositeDecoderCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICompositeDecoderCompanion *shared __attribute__((swift_name("shared"))); +@property (readonly) int32_t DECODE_DONE __attribute__((swift_name("DECODE_DONE"))); +@property (readonly) int32_t UNKNOWN_NAME __attribute__((swift_name("UNKNOWN_NAME"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtomicArray"))) +@interface PAPIAtomicArray : PAPIBase +- (id)getIndex:(int32_t)index __attribute__((swift_name("get(index:)"))); +@property (readonly) int32_t size __attribute__((swift_name("size"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtomicBooleanArray"))) +@interface PAPIAtomicBooleanArray : PAPIBase +- (instancetype)initWithSize:(int32_t)size __attribute__((swift_name("init(size:)"))) __attribute__((objc_designated_initializer)); +- (id)getIndex:(int32_t)index __attribute__((swift_name("get(index:)"))); +@property (readonly) int32_t size __attribute__((swift_name("size"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtomicIntArray"))) +@interface PAPIAtomicIntArray : PAPIBase +- (instancetype)initWithSize:(int32_t)size __attribute__((swift_name("init(size:)"))) __attribute__((objc_designated_initializer)); +- (id)getIndex:(int32_t)index __attribute__((swift_name("get(index:)"))); +@property (readonly) int32_t size __attribute__((swift_name("size"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtomicLongArray"))) +@interface PAPIAtomicLongArray : PAPIBase +- (instancetype)initWithSize:(int32_t)size __attribute__((swift_name("init(size:)"))) __attribute__((objc_designated_initializer)); +- (id)getIndex:(int32_t)index __attribute__((swift_name("get(index:)"))); +@property (readonly) int32_t size __attribute__((swift_name("size"))); +@end; + +__attribute__((swift_name("TraceBase"))) +@interface PAPITraceBase : PAPIBase +- (void)appendEvent:(id)event __attribute__((swift_name("append(event:)"))); +- (void)appendEvent1:(id)event1 event2:(id)event2 __attribute__((swift_name("append(event1:event2:)"))); +- (void)appendEvent1:(id)event1 event2:(id)event2 event3:(id)event3 __attribute__((swift_name("append(event1:event2:event3:)"))); +- (void)appendEvent1:(id)event1 event2:(id)event2 event3:(id)event3 event4:(id)event4 __attribute__((swift_name("append(event1:event2:event3:event4:)"))); +- (void)invokeEvent:(id (^)(void))event __attribute__((swift_name("invoke(event:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("TraceBase.None"))) +@interface PAPITraceBaseNone : PAPITraceBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)none __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPITraceBaseNone *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((swift_name("TraceFormat"))) +@interface PAPITraceFormat : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (NSString *)formatIndex:(int32_t)index event:(id)event __attribute__((swift_name("format(index:event:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MutexPool"))) +@interface PAPIMutexPool : PAPIBase +- (instancetype)initWithCapacity:(int32_t)capacity __attribute__((swift_name("init(capacity:)"))) __attribute__((objc_designated_initializer)); +- (void *)allocate __attribute__((swift_name("allocate()"))); +- (void)releaseMutexNode:(void *)mutexNode __attribute__((swift_name("release(mutexNode:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SynchronizedObject.LockState"))) +@interface PAPISynchronizedObjectLockState : PAPIBase +- (instancetype)initWithStatus:(PAPISynchronizedObjectStatus *)status nestedLocks:(int32_t)nestedLocks waiters:(int32_t)waiters ownerThreadId:(void * _Nullable)ownerThreadId mutex:(void * _Nullable)mutex __attribute__((swift_name("init(status:nestedLocks:waiters:ownerThreadId:mutex:)"))) __attribute__((objc_designated_initializer)); +@property (readonly) void * _Nullable mutex __attribute__((swift_name("mutex"))); +@property (readonly) int32_t nestedLocks __attribute__((swift_name("nestedLocks"))); +@property (readonly) void * _Nullable ownerThreadId __attribute__((swift_name("ownerThreadId"))); +@property (readonly) PAPISynchronizedObjectStatus *status __attribute__((swift_name("status"))); +@property (readonly) int32_t waiters __attribute__((swift_name("waiters"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SynchronizedObject.Status"))) +@interface PAPISynchronizedObjectStatus : PAPIKotlinEnum ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@property (class, readonly) PAPISynchronizedObjectStatus *unlocked __attribute__((swift_name("unlocked"))); +@property (class, readonly) PAPISynchronizedObjectStatus *thin __attribute__((swift_name("thin"))); +@property (class, readonly) PAPISynchronizedObjectStatus *fat __attribute__((swift_name("fat"))); ++ (PAPIKotlinArray *)values __attribute__((swift_name("values()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Hex_"))) +@interface PAPIHex_ : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)hex __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIHex_ *shared __attribute__((swift_name("shared"))); +- (PAPIKotlinByteArray *)decodeHex:(NSString *)hex __attribute__((swift_name("decode(hex:)"))); +- (NSString *)encodeInput:(PAPIKotlinByteArray *)input __attribute__((swift_name("encode(input:)"))); +- (NSString *)encodeInput:(PAPIKotlinByteArray *)input offset:(int32_t)offset len:(int32_t)len __attribute__((swift_name("encode(input:offset:len:)"))); +@end; + +__attribute__((swift_name("Secp256k1"))) +@protocol PAPISecp256k1 +@required +- (void)cleanup __attribute__((swift_name("cleanup()"))); +- (PAPIKotlinByteArray *)compact2derSig:(PAPIKotlinByteArray *)sig __attribute__((swift_name("compact2der(sig:)"))); +- (PAPIKotlinByteArray *)ecdhSeckey:(PAPIKotlinByteArray *)seckey pubkey:(PAPIKotlinByteArray *)pubkey __attribute__((swift_name("ecdh(seckey:pubkey:)"))); +- (PAPIKotlinByteArray *)ecdsaRecoverSig:(PAPIKotlinByteArray *)sig message:(PAPIKotlinByteArray *)message recid:(int32_t)recid __attribute__((swift_name("ecdsaRecover(sig:message:recid:)"))); +- (PAPIKotlinByteArray *)privKeyNegatePrivkey:(PAPIKotlinByteArray *)privkey __attribute__((swift_name("privKeyNegate(privkey:)"))); +- (PAPIKotlinByteArray *)privKeyTweakAddPrivkey:(PAPIKotlinByteArray *)privkey tweak:(PAPIKotlinByteArray *)tweak __attribute__((swift_name("privKeyTweakAdd(privkey:tweak:)"))); +- (PAPIKotlinByteArray *)privKeyTweakMulPrivkey:(PAPIKotlinByteArray *)privkey tweak:(PAPIKotlinByteArray *)tweak __attribute__((swift_name("privKeyTweakMul(privkey:tweak:)"))); +- (PAPIKotlinByteArray *)pubKeyAddPubkey1:(PAPIKotlinByteArray *)pubkey1 pubkey2:(PAPIKotlinByteArray *)pubkey2 __attribute__((swift_name("pubKeyAdd(pubkey1:pubkey2:)"))); +- (PAPIKotlinByteArray *)pubKeyCompressPubkey:(PAPIKotlinByteArray *)pubkey __attribute__((swift_name("pubKeyCompress(pubkey:)"))); +- (PAPIKotlinByteArray *)pubKeyNegatePubkey:(PAPIKotlinByteArray *)pubkey __attribute__((swift_name("pubKeyNegate(pubkey:)"))); +- (PAPIKotlinByteArray *)pubKeyTweakAddPubkey:(PAPIKotlinByteArray *)pubkey tweak:(PAPIKotlinByteArray *)tweak __attribute__((swift_name("pubKeyTweakAdd(pubkey:tweak:)"))); +- (PAPIKotlinByteArray *)pubKeyTweakMulPubkey:(PAPIKotlinByteArray *)pubkey tweak:(PAPIKotlinByteArray *)tweak __attribute__((swift_name("pubKeyTweakMul(pubkey:tweak:)"))); +- (PAPIKotlinByteArray *)pubkeyCreateSeckey:(PAPIKotlinByteArray *)seckey __attribute__((swift_name("pubkeyCreate(seckey:)"))); +- (PAPIKotlinByteArray *)pubkeyParsePubkey:(PAPIKotlinByteArray *)pubkey __attribute__((swift_name("pubkeyParse(pubkey:)"))); +- (BOOL)secKeyVerifySeckey:(PAPIKotlinByteArray *)seckey __attribute__((swift_name("secKeyVerify(seckey:)"))); +- (PAPIKotlinByteArray *)signData:(PAPIKotlinByteArray *)data sec:(PAPIKotlinByteArray *)sec __attribute__((swift_name("sign(data:sec:)"))); +- (PAPIKotlinPair *)signatureNormalizeSig:(PAPIKotlinByteArray *)sig __attribute__((swift_name("signatureNormalize(sig:)"))); +- (BOOL)verifySignature:(PAPIKotlinByteArray *)signature data:(PAPIKotlinByteArray *)data pub:(PAPIKotlinByteArray *)pub __attribute__((swift_name("verify(signature:data:pub:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Secp256k1Companion"))) +@interface PAPISecp256k1Companion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPISecp256k1Companion *shared __attribute__((swift_name("shared"))); +- (void)cleanup __attribute__((swift_name("cleanup()"))); +- (PAPIKotlinByteArray *)compact2derSig:(PAPIKotlinByteArray *)sig __attribute__((swift_name("compact2der(sig:)"))); +- (PAPIKotlinByteArray *)ecdhSeckey:(PAPIKotlinByteArray *)seckey pubkey:(PAPIKotlinByteArray *)pubkey __attribute__((swift_name("ecdh(seckey:pubkey:)"))); +- (PAPIKotlinByteArray *)ecdsaRecoverSig:(PAPIKotlinByteArray *)sig message:(PAPIKotlinByteArray *)message recid:(int32_t)recid __attribute__((swift_name("ecdsaRecover(sig:message:recid:)"))); +- (id)get __attribute__((swift_name("get()"))); +- (PAPIKotlinByteArray *)privKeyNegatePrivkey:(PAPIKotlinByteArray *)privkey __attribute__((swift_name("privKeyNegate(privkey:)"))); +- (PAPIKotlinByteArray *)privKeyTweakAddPrivkey:(PAPIKotlinByteArray *)privkey tweak:(PAPIKotlinByteArray *)tweak __attribute__((swift_name("privKeyTweakAdd(privkey:tweak:)"))); +- (PAPIKotlinByteArray *)privKeyTweakMulPrivkey:(PAPIKotlinByteArray *)privkey tweak:(PAPIKotlinByteArray *)tweak __attribute__((swift_name("privKeyTweakMul(privkey:tweak:)"))); +- (PAPIKotlinByteArray *)pubKeyAddPubkey1:(PAPIKotlinByteArray *)pubkey1 pubkey2:(PAPIKotlinByteArray *)pubkey2 __attribute__((swift_name("pubKeyAdd(pubkey1:pubkey2:)"))); +- (PAPIKotlinByteArray *)pubKeyCompressPubkey:(PAPIKotlinByteArray *)pubkey __attribute__((swift_name("pubKeyCompress(pubkey:)"))); +- (PAPIKotlinByteArray *)pubKeyNegatePubkey:(PAPIKotlinByteArray *)pubkey __attribute__((swift_name("pubKeyNegate(pubkey:)"))); +- (PAPIKotlinByteArray *)pubKeyTweakAddPubkey:(PAPIKotlinByteArray *)pubkey tweak:(PAPIKotlinByteArray *)tweak __attribute__((swift_name("pubKeyTweakAdd(pubkey:tweak:)"))); +- (PAPIKotlinByteArray *)pubKeyTweakMulPubkey:(PAPIKotlinByteArray *)pubkey tweak:(PAPIKotlinByteArray *)tweak __attribute__((swift_name("pubKeyTweakMul(pubkey:tweak:)"))); +- (PAPIKotlinByteArray *)pubkeyCreateSeckey:(PAPIKotlinByteArray *)seckey __attribute__((swift_name("pubkeyCreate(seckey:)"))); +- (PAPIKotlinByteArray *)pubkeyParsePubkey:(PAPIKotlinByteArray *)pubkey __attribute__((swift_name("pubkeyParse(pubkey:)"))); +- (BOOL)secKeyVerifySeckey:(PAPIKotlinByteArray *)seckey __attribute__((swift_name("secKeyVerify(seckey:)"))); +- (PAPIKotlinByteArray *)signData:(PAPIKotlinByteArray *)data sec:(PAPIKotlinByteArray *)sec __attribute__((swift_name("sign(data:sec:)"))); +- (PAPIKotlinPair *)signatureNormalizeSig:(PAPIKotlinByteArray *)sig __attribute__((swift_name("signatureNormalize(sig:)"))); +- (BOOL)verifySignature:(PAPIKotlinByteArray *)signature data:(PAPIKotlinByteArray *)data pub:(PAPIKotlinByteArray *)pub __attribute__((swift_name("verify(signature:data:pub:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Secp256k1Exception"))) +@interface PAPISecp256k1Exception : PAPIKotlinRuntimeException +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (instancetype)initWithCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Secp256k1Native"))) +@interface PAPISecp256k1Native : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)secp256k1Native __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPISecp256k1Native *shared __attribute__((swift_name("shared"))); +- (void)cleanup __attribute__((swift_name("cleanup()"))); +- (PAPIKotlinByteArray *)compact2derSig:(PAPIKotlinByteArray *)sig __attribute__((swift_name("compact2der(sig:)"))); +- (PAPIKotlinByteArray *)ecdhSeckey:(PAPIKotlinByteArray *)seckey pubkey:(PAPIKotlinByteArray *)pubkey __attribute__((swift_name("ecdh(seckey:pubkey:)"))); +- (PAPIKotlinByteArray *)ecdsaRecoverSig:(PAPIKotlinByteArray *)sig message:(PAPIKotlinByteArray *)message recid:(int32_t)recid __attribute__((swift_name("ecdsaRecover(sig:message:recid:)"))); +- (PAPIKotlinByteArray *)privKeyNegatePrivkey:(PAPIKotlinByteArray *)privkey __attribute__((swift_name("privKeyNegate(privkey:)"))); +- (PAPIKotlinByteArray *)privKeyTweakAddPrivkey:(PAPIKotlinByteArray *)privkey tweak:(PAPIKotlinByteArray *)tweak __attribute__((swift_name("privKeyTweakAdd(privkey:tweak:)"))); +- (PAPIKotlinByteArray *)privKeyTweakMulPrivkey:(PAPIKotlinByteArray *)privkey tweak:(PAPIKotlinByteArray *)tweak __attribute__((swift_name("privKeyTweakMul(privkey:tweak:)"))); +- (PAPIKotlinByteArray *)pubKeyAddPubkey1:(PAPIKotlinByteArray *)pubkey1 pubkey2:(PAPIKotlinByteArray *)pubkey2 __attribute__((swift_name("pubKeyAdd(pubkey1:pubkey2:)"))); +- (PAPIKotlinByteArray *)pubKeyNegatePubkey:(PAPIKotlinByteArray *)pubkey __attribute__((swift_name("pubKeyNegate(pubkey:)"))); +- (PAPIKotlinByteArray *)pubKeyTweakAddPubkey:(PAPIKotlinByteArray *)pubkey tweak:(PAPIKotlinByteArray *)tweak __attribute__((swift_name("pubKeyTweakAdd(pubkey:tweak:)"))); +- (PAPIKotlinByteArray *)pubKeyTweakMulPubkey:(PAPIKotlinByteArray *)pubkey tweak:(PAPIKotlinByteArray *)tweak __attribute__((swift_name("pubKeyTweakMul(pubkey:tweak:)"))); +- (PAPIKotlinByteArray *)pubkeyCreateSeckey:(PAPIKotlinByteArray *)seckey __attribute__((swift_name("pubkeyCreate(seckey:)"))); +- (PAPIKotlinByteArray *)pubkeyParsePubkey:(PAPIKotlinByteArray *)pubkey __attribute__((swift_name("pubkeyParse(pubkey:)"))); +- (BOOL)secKeyVerifySeckey:(PAPIKotlinByteArray *)seckey __attribute__((swift_name("secKeyVerify(seckey:)"))); +- (PAPIKotlinByteArray *)signData:(PAPIKotlinByteArray *)data sec:(PAPIKotlinByteArray *)sec __attribute__((swift_name("sign(data:sec:)"))); +- (PAPIKotlinPair *)signatureNormalizeSig:(PAPIKotlinByteArray *)sig __attribute__((swift_name("signatureNormalize(sig:)"))); +- (BOOL)verifySignature:(PAPIKotlinByteArray *)signature data:(PAPIKotlinByteArray *)data pub:(PAPIKotlinByteArray *)pub __attribute__((swift_name("verify(signature:data:pub:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialBatch"))) +@interface PAPICredentialBatch : PAPIBase +- (instancetype)initWithRoot:(PAPIMerkleRoot *)root proofs:(NSArray *)proofs __attribute__((swift_name("init(root:proofs:)"))) __attribute__((objc_designated_initializer)); +- (PAPIMerkleRoot *)component1 __attribute__((swift_name("component1()"))); +- (NSArray *)component2 __attribute__((swift_name("component2()"))); +- (PAPICredentialBatch *)doCopyRoot:(PAPIMerkleRoot *)root proofs:(NSArray *)proofs __attribute__((swift_name("doCopy(root:proofs:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSArray *proofs __attribute__((swift_name("proofs"))); +@property (readonly) PAPIMerkleRoot *root __attribute__((swift_name("root"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialBatches"))) +@interface PAPICredentialBatches : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)credentialBatches __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICredentialBatches *shared __attribute__((swift_name("shared"))); +- (PAPICredentialBatch *)batchSignedCredentials:(NSArray *)signedCredentials __attribute__((swift_name("batch(signedCredentials:)"))); +- (PAPICredentialBatchId *)computeCredentialBatchIdDid:(PAPIPrismDid *)did merkleRoot:(PAPIMerkleRoot *)merkleRoot __attribute__((swift_name("computeCredentialBatchId(did:merkleRoot:)"))); +- (BOOL)verifyInclusionSignedCredential:(PAPIPrismCredential *)signedCredential merkleRoot:(PAPIMerkleRoot *)merkleRoot inclusionProof:(PAPIMerkleInclusionProof *)inclusionProof __attribute__((swift_name("verifyInclusion(signedCredential:merkleRoot:inclusionProof:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialClaim"))) +@interface PAPICredentialClaim : PAPIBase +- (instancetype)initWithSubjectDid:(PAPIPrismDid *)subjectDid content:(NSDictionary *)content __attribute__((swift_name("init(subjectDid:content:)"))) __attribute__((objc_designated_initializer)); +- (PAPIPrismDid *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPICredentialClaim *)doCopySubjectDid:(PAPIPrismDid *)subjectDid content:(NSDictionary *)content __attribute__((swift_name("doCopy(subjectDid:content:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSDictionary *content __attribute__((swift_name("content"))); +@property (readonly) PAPIPrismDid *subjectDid __attribute__((swift_name("subjectDid"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialInfo"))) +@interface PAPICredentialInfo : PAPIBase +- (instancetype)initWithSignedCredential:(PAPIPrismCredential *)signedCredential inclusionProof:(PAPIMerkleInclusionProof *)inclusionProof __attribute__((swift_name("init(signedCredential:inclusionProof:)"))) __attribute__((objc_designated_initializer)); +- (PAPIPrismCredential *)component1 __attribute__((swift_name("component1()"))); +- (PAPIMerkleInclusionProof *)component2 __attribute__((swift_name("component2()"))); +- (PAPICredentialInfo *)doCopySignedCredential:(PAPIPrismCredential *)signedCredential inclusionProof:(PAPIMerkleInclusionProof *)inclusionProof __attribute__((swift_name("doCopy(signedCredential:inclusionProof:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMerkleInclusionProof *inclusionProof __attribute__((swift_name("inclusionProof"))); +@property (readonly) PAPIPrismCredential *signedCredential __attribute__((swift_name("signedCredential"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialVerificationService"))) +@interface PAPICredentialVerificationService : PAPIBase +- (instancetype)initWithNodeService:(id)nodeService __attribute__((swift_name("init(nodeService:)"))) __attribute__((objc_designated_initializer)); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)verifySignedCredential:(PAPIPrismCredential *)signedCredential merkleInclusionProof:(PAPIMerkleInclusionProof *)merkleInclusionProof completionHandler:(void (^)(PAPIVerificationResult * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("verify(signedCredential:merkleInclusionProof:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KeyGenerator"))) +@interface PAPIKeyGenerator : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)keyGenerator __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKeyGenerator *shared __attribute__((swift_name("shared"))); +- (PAPIECKeyPair *)deriveKeyFromFullPathSeed:(PAPIKotlinByteArray *)seed didIndex:(int32_t)didIndex keyType:(PAPIPublicKeyUsage *)keyType keyIndex:(int32_t)keyIndex __attribute__((swift_name("deriveKeyFromFullPath(seed:didIndex:keyType:keyIndex:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PrismDidDocument"))) +@interface PAPIPrismDidDocument : PAPIBase +- (instancetype)initWithDidData:(PAPIDIDData *)didData __attribute__((swift_name("init(didData:)"))) __attribute__((objc_designated_initializer)); +- (PAPIDIDData *)component1 __attribute__((swift_name("component1()"))); +- (PAPIPrismDidDocument *)doCopyDidData:(PAPIDIDData *)didData __attribute__((swift_name("doCopy(didData:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (PAPIPublicKey * _Nullable)getPublicKeyIssuingKeyId:(NSString *)issuingKeyId __attribute__((swift_name("getPublicKey(issuingKeyId:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIDIDData *didData __attribute__((swift_name("didData"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PrismPayload"))) +@interface PAPIPrismPayload : PAPIBase +- (instancetype)initWithValue:(PAPIKotlinByteArray *)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +@property (readonly) PAPIKotlinByteArray *value __attribute__((swift_name("value"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ProtoUtils"))) +@interface PAPIProtoUtils : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)protoUtils __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIProtoUtils *shared __attribute__((swift_name("shared"))); +- (PAPIAtalaOperation *)issueCredentialBatchOperationData:(PAPICredentialBatchData *)data __attribute__((swift_name("issueCredentialBatchOperation(data:)"))); +- (PAPISignedAtalaOperation *)protocolUpdateSignedOperationMasterKeyId:(NSString *)masterKeyId masterKey:(PAPIECPrivateKey *)masterKey did:(PAPICanonicalPrismDid *)did versionName:(NSString * _Nullable)versionName protocolVersion:(PAPIProtocolVersion *)protocolVersion effectiveSinceBlockIndex:(int32_t)effectiveSinceBlockIndex __attribute__((swift_name("protocolUpdateSignedOperation(masterKeyId:masterKey:did:versionName:protocolVersion:effectiveSinceBlockIndex:)"))); +- (PAPIAtalaOperation *)revokeCredentialsOperationBatchOperationHash:(PAPISha256Digest *)batchOperationHash batchId:(PAPICredentialBatchId *)batchId credentials:(NSArray *)credentials __attribute__((swift_name("revokeCredentialsOperation(batchOperationHash:batchId:credentials:)"))); +- (PAPISignedAtalaOperation *)revokeCredentialsSignedOperationRevocationKKeyId:(NSString *)revocationKKeyId revocationKey:(PAPIECPrivateKey *)revocationKey issuanceOperationHash:(PAPISha256Digest *)issuanceOperationHash batchId:(NSString *)batchId credentialsToRevoke:(NSArray *)credentialsToRevoke __attribute__((swift_name("revokeCredentialsSignedOperation(revocationKKeyId:revocationKey:issuanceOperationHash:batchId:credentialsToRevoke:)"))); +- (PAPISignedAtalaOperation *)signedAtalaOperationPrivateKey:(PAPIECPrivateKey *)privateKey signedWith:(NSString *)signedWith atalaOperation:(PAPIAtalaOperation *)atalaOperation __attribute__((swift_name("signedAtalaOperation(privateKey:signedWith:atalaOperation:)"))); +- (PAPISignedAtalaOperation *)signedAtalaOperationDecodeEncodedOperation:(NSString *)encodedOperation __attribute__((swift_name("signedAtalaOperationDecode(encodedOperation:)"))); +- (NSString *)signedAtalaOperationEncodeSignedAtalaOperation:(PAPISignedAtalaOperation *)signedAtalaOperation __attribute__((swift_name("signedAtalaOperationEncode(signedAtalaOperation:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RequestUtils"))) +@interface PAPIRequestUtils : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)requestUtils __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIRequestUtils *shared __attribute__((swift_name("shared"))); +- (PAPIPrismMetadata *)generateBytesMetadataDid:(NSString *)did didPrivateKey:(PAPIECPrivateKey *)didPrivateKey bytes:(PAPIKotlinByteArray *)bytes nonce:(PAPIKotlinByteArray * _Nullable)nonce __attribute__((swift_name("generateBytesMetadata(did:didPrivateKey:bytes:nonce:)"))); +- (PAPIPrismMetadata *)generateRequestMetadataDid:(NSString *)did didPrivateKey:(PAPIECPrivateKey *)didPrivateKey request:(id)request nonce:(PAPIKotlinByteArray * _Nullable)nonce __attribute__((swift_name("generateRequestMetadata(did:didPrivateKey:request:nonce:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("VerifiableCredential"))) +@interface PAPIVerifiableCredential : PAPIBase +- (instancetype)initWithSignedCredential:(PAPIPrismCredential *)signedCredential merkleInclusionProof:(PAPIMerkleInclusionProof *)merkleInclusionProof __attribute__((swift_name("init(signedCredential:merkleInclusionProof:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIVerifiableCredentialCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIPrismCredential *)component1 __attribute__((swift_name("component1()"))); +- (PAPIMerkleInclusionProof *)component2 __attribute__((swift_name("component2()"))); +- (PAPIVerifiableCredential *)doCopySignedCredential:(PAPIPrismCredential *)signedCredential merkleInclusionProof:(PAPIMerkleInclusionProof *)merkleInclusionProof __attribute__((swift_name("doCopy(signedCredential:merkleInclusionProof:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSString *)export __attribute__((swift_name("export()"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMerkleInclusionProof *merkleInclusionProof __attribute__((swift_name("merkleInclusionProof"))); +@property (readonly) PAPIPrismCredential *signedCredential __attribute__((swift_name("signedCredential"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("VerifiableCredential.Companion"))) +@interface PAPIVerifiableCredentialCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIVerifiableCredentialCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIVerifiableCredential *)importExportedVerifiableCredential:(NSString *)exportedVerifiableCredential __attribute__((swift_name("import(exportedVerifiableCredential:)"))); +@end; + +__attribute__((swift_name("VerificationError"))) +@interface PAPIVerificationError : PAPIBase +- (instancetype)initWithErrorMessage:(NSString *)errorMessage __attribute__((swift_name("init(errorMessage:)"))) __attribute__((objc_designated_initializer)); +@property (readonly) NSString *errorMessage __attribute__((swift_name("errorMessage"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("VerificationError.BatchNotFoundOnChain"))) +@interface PAPIVerificationErrorBatchNotFoundOnChain : PAPIVerificationError +- (instancetype)initWithBatchId:(NSString *)batchId __attribute__((swift_name("init(batchId:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithErrorMessage:(NSString *)errorMessage __attribute__((swift_name("init(errorMessage:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIVerificationErrorBatchNotFoundOnChain *)doCopyBatchId:(NSString *)batchId __attribute__((swift_name("doCopy(batchId:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *batchId __attribute__((swift_name("batchId"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("VerificationError.BatchPublicationTimestampNotFoundOnChain"))) +@interface PAPIVerificationErrorBatchPublicationTimestampNotFoundOnChain : PAPIVerificationError +- (instancetype)initWithBatchId:(NSString *)batchId __attribute__((swift_name("init(batchId:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithErrorMessage:(NSString *)errorMessage __attribute__((swift_name("init(errorMessage:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIVerificationErrorBatchPublicationTimestampNotFoundOnChain *)doCopyBatchId:(NSString *)batchId __attribute__((swift_name("doCopy(batchId:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *batchId __attribute__((swift_name("batchId"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("VerificationError.BatchWasRevokedOn"))) +@interface PAPIVerificationErrorBatchWasRevokedOn : PAPIVerificationError +- (instancetype)initWithTimestamp:(PAPITimestampInfo_ *)timestamp __attribute__((swift_name("init(timestamp:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithErrorMessage:(NSString *)errorMessage __attribute__((swift_name("init(errorMessage:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (PAPITimestampInfo_ *)component1 __attribute__((swift_name("component1()"))); +- (PAPIVerificationErrorBatchWasRevokedOn *)doCopyTimestamp:(PAPITimestampInfo_ *)timestamp __attribute__((swift_name("doCopy(timestamp:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPITimestampInfo_ *timestamp __attribute__((swift_name("timestamp"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("VerificationError.CredentialWasRevokedOn"))) +@interface PAPIVerificationErrorCredentialWasRevokedOn : PAPIVerificationError +- (instancetype)initWithTimestamp:(PAPITimestampInfo_ *)timestamp __attribute__((swift_name("init(timestamp:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithErrorMessage:(NSString *)errorMessage __attribute__((swift_name("init(errorMessage:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (PAPITimestampInfo_ *)component1 __attribute__((swift_name("component1()"))); +- (PAPIVerificationErrorCredentialWasRevokedOn *)doCopyTimestamp:(PAPITimestampInfo_ *)timestamp __attribute__((swift_name("doCopy(timestamp:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPITimestampInfo_ *timestamp __attribute__((swift_name("timestamp"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("VerificationError.InvalidMerkleProof"))) +@interface PAPIVerificationErrorInvalidMerkleProof : PAPIVerificationError ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithErrorMessage:(NSString *)errorMessage __attribute__((swift_name("init(errorMessage:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)invalidMerkleProof __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIVerificationErrorInvalidMerkleProof *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("VerificationError.InvalidSignature"))) +@interface PAPIVerificationErrorInvalidSignature : PAPIVerificationError +- (instancetype)initWithSignedCredential:(PAPIPrismCredential *)signedCredential publicKey:(PAPIECPublicKey *)publicKey __attribute__((swift_name("init(signedCredential:publicKey:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithErrorMessage:(NSString *)errorMessage __attribute__((swift_name("init(errorMessage:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (PAPIPrismCredential *)component1 __attribute__((swift_name("component1()"))); +- (PAPIECPublicKey *)component2 __attribute__((swift_name("component2()"))); +- (PAPIVerificationErrorInvalidSignature *)doCopySignedCredential:(PAPIPrismCredential *)signedCredential publicKey:(PAPIECPublicKey *)publicKey __attribute__((swift_name("doCopy(signedCredential:publicKey:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIECPublicKey *publicKey __attribute__((swift_name("publicKey"))); +@property (readonly) PAPIPrismCredential *signedCredential __attribute__((swift_name("signedCredential"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("VerificationError.IssuanceKeyPublicationTimestampNotFoundOnChain"))) +@interface PAPIVerificationErrorIssuanceKeyPublicationTimestampNotFoundOnChain : PAPIVerificationError +- (instancetype)initWithIssuerKeyId:(NSString *)issuerKeyId publicKey:(PAPIPublicKey *)publicKey __attribute__((swift_name("init(issuerKeyId:publicKey:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithErrorMessage:(NSString *)errorMessage __attribute__((swift_name("init(errorMessage:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIPublicKey *)component2 __attribute__((swift_name("component2()"))); +- (PAPIVerificationErrorIssuanceKeyPublicationTimestampNotFoundOnChain *)doCopyIssuerKeyId:(NSString *)issuerKeyId publicKey:(PAPIPublicKey *)publicKey __attribute__((swift_name("doCopy(issuerKeyId:publicKey:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *issuerKeyId __attribute__((swift_name("issuerKeyId"))); +@property (readonly) PAPIPublicKey *publicKey __attribute__((swift_name("publicKey"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("VerificationError.IssuerDidDocumentNotFoundOnChain"))) +@interface PAPIVerificationErrorIssuerDidDocumentNotFoundOnChain : PAPIVerificationError +- (instancetype)initWithDid:(PAPIPrismDid *)did __attribute__((swift_name("init(did:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithErrorMessage:(NSString *)errorMessage __attribute__((swift_name("init(errorMessage:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (PAPIPrismDid *)component1 __attribute__((swift_name("component1()"))); +- (PAPIVerificationErrorIssuerDidDocumentNotFoundOnChain *)doCopyDid:(PAPIPrismDid *)did __attribute__((swift_name("doCopy(did:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIPrismDid *did __attribute__((swift_name("did"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("VerificationError.IssuerDidNotFoundInCredential"))) +@interface PAPIVerificationErrorIssuerDidNotFoundInCredential : PAPIVerificationError ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithErrorMessage:(NSString *)errorMessage __attribute__((swift_name("init(errorMessage:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)issuerDidNotFoundInCredential __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIVerificationErrorIssuerDidNotFoundInCredential *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("VerificationError.IssuerKeyNotFoundInCredential"))) +@interface PAPIVerificationErrorIssuerKeyNotFoundInCredential : PAPIVerificationError ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithErrorMessage:(NSString *)errorMessage __attribute__((swift_name("init(errorMessage:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)issuerKeyNotFoundInCredential __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIVerificationErrorIssuerKeyNotFoundInCredential *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("VerificationError.IssuingKeyIdNotFoundOnChain"))) +@interface PAPIVerificationErrorIssuingKeyIdNotFoundOnChain : PAPIVerificationError +- (instancetype)initWithIssuerKeyId:(NSString *)issuerKeyId didDocument:(PAPIPrismDidDocument *)didDocument __attribute__((swift_name("init(issuerKeyId:didDocument:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithErrorMessage:(NSString *)errorMessage __attribute__((swift_name("init(errorMessage:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIPrismDidDocument *)component2 __attribute__((swift_name("component2()"))); +- (PAPIVerificationErrorIssuingKeyIdNotFoundOnChain *)doCopyIssuerKeyId:(NSString *)issuerKeyId didDocument:(PAPIPrismDidDocument *)didDocument __attribute__((swift_name("doCopy(issuerKeyId:didDocument:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIPrismDidDocument *didDocument __attribute__((swift_name("didDocument"))); +@property (readonly) NSString *issuerKeyId __attribute__((swift_name("issuerKeyId"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("VerificationError.KeyAddedAfterIssuance"))) +@interface PAPIVerificationErrorKeyAddedAfterIssuance : PAPIVerificationError +- (instancetype)initWithKeyAddedOn:(PAPITimestampInfo_ *)keyAddedOn batchIssuedOn:(PAPITimestampInfo_ *)batchIssuedOn __attribute__((swift_name("init(keyAddedOn:batchIssuedOn:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithErrorMessage:(NSString *)errorMessage __attribute__((swift_name("init(errorMessage:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (PAPITimestampInfo_ *)component1 __attribute__((swift_name("component1()"))); +- (PAPITimestampInfo_ *)component2 __attribute__((swift_name("component2()"))); +- (PAPIVerificationErrorKeyAddedAfterIssuance *)doCopyKeyAddedOn:(PAPITimestampInfo_ *)keyAddedOn batchIssuedOn:(PAPITimestampInfo_ *)batchIssuedOn __attribute__((swift_name("doCopy(keyAddedOn:batchIssuedOn:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPITimestampInfo_ *batchIssuedOn __attribute__((swift_name("batchIssuedOn"))); +@property (readonly) PAPITimestampInfo_ *keyAddedOn __attribute__((swift_name("keyAddedOn"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("VerificationError.KeyAddedTimestampEqualsIssuance"))) +@interface PAPIVerificationErrorKeyAddedTimestampEqualsIssuance : PAPIVerificationError +- (instancetype)initWithKeyAddedOn:(PAPITimestampInfo_ *)keyAddedOn batchIssuedOn:(PAPITimestampInfo_ *)batchIssuedOn __attribute__((swift_name("init(keyAddedOn:batchIssuedOn:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithErrorMessage:(NSString *)errorMessage __attribute__((swift_name("init(errorMessage:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (PAPITimestampInfo_ *)component1 __attribute__((swift_name("component1()"))); +- (PAPITimestampInfo_ *)component2 __attribute__((swift_name("component2()"))); +- (PAPIVerificationErrorKeyAddedTimestampEqualsIssuance *)doCopyKeyAddedOn:(PAPITimestampInfo_ *)keyAddedOn batchIssuedOn:(PAPITimestampInfo_ *)batchIssuedOn __attribute__((swift_name("doCopy(keyAddedOn:batchIssuedOn:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPITimestampInfo_ *batchIssuedOn __attribute__((swift_name("batchIssuedOn"))); +@property (readonly) PAPITimestampInfo_ *keyAddedOn __attribute__((swift_name("keyAddedOn"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("VerificationError.KeyRevokedTimestampEqualsIssuance"))) +@interface PAPIVerificationErrorKeyRevokedTimestampEqualsIssuance : PAPIVerificationError +- (instancetype)initWithKeyRevokedOn:(PAPITimestampInfo_ *)keyRevokedOn batchIssuedOn:(PAPITimestampInfo_ *)batchIssuedOn __attribute__((swift_name("init(keyRevokedOn:batchIssuedOn:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithErrorMessage:(NSString *)errorMessage __attribute__((swift_name("init(errorMessage:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (PAPITimestampInfo_ *)component1 __attribute__((swift_name("component1()"))); +- (PAPITimestampInfo_ *)component2 __attribute__((swift_name("component2()"))); +- (PAPIVerificationErrorKeyRevokedTimestampEqualsIssuance *)doCopyKeyRevokedOn:(PAPITimestampInfo_ *)keyRevokedOn batchIssuedOn:(PAPITimestampInfo_ *)batchIssuedOn __attribute__((swift_name("doCopy(keyRevokedOn:batchIssuedOn:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPITimestampInfo_ *batchIssuedOn __attribute__((swift_name("batchIssuedOn"))); +@property (readonly) PAPITimestampInfo_ *keyRevokedOn __attribute__((swift_name("keyRevokedOn"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("VerificationError.KeyWasRevoked"))) +@interface PAPIVerificationErrorKeyWasRevoked : PAPIVerificationError +- (instancetype)initWithKeyRevokedOn:(PAPITimestampInfo_ *)keyRevokedOn batchIssuedOn:(PAPITimestampInfo_ *)batchIssuedOn __attribute__((swift_name("init(keyRevokedOn:batchIssuedOn:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithErrorMessage:(NSString *)errorMessage __attribute__((swift_name("init(errorMessage:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (PAPITimestampInfo_ *)component1 __attribute__((swift_name("component1()"))); +- (PAPITimestampInfo_ *)component2 __attribute__((swift_name("component2()"))); +- (PAPIVerificationErrorKeyWasRevoked *)doCopyKeyRevokedOn:(PAPITimestampInfo_ *)keyRevokedOn batchIssuedOn:(PAPITimestampInfo_ *)batchIssuedOn __attribute__((swift_name("doCopy(keyRevokedOn:batchIssuedOn:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPITimestampInfo_ *batchIssuedOn __attribute__((swift_name("batchIssuedOn"))); +@property (readonly) PAPITimestampInfo_ *keyRevokedOn __attribute__((swift_name("keyRevokedOn"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("VerificationError.OnChainIssuingKeyCannotBeParsed"))) +@interface PAPIVerificationErrorOnChainIssuingKeyCannotBeParsed : PAPIVerificationError +- (instancetype)initWithIssuerKeyId:(NSString *)issuerKeyId publicKey:(PAPIPublicKey *)publicKey __attribute__((swift_name("init(issuerKeyId:publicKey:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithErrorMessage:(NSString *)errorMessage __attribute__((swift_name("init(errorMessage:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIPublicKey *)component2 __attribute__((swift_name("component2()"))); +- (PAPIVerificationErrorOnChainIssuingKeyCannotBeParsed *)doCopyIssuerKeyId:(NSString *)issuerKeyId publicKey:(PAPIPublicKey *)publicKey __attribute__((swift_name("doCopy(issuerKeyId:publicKey:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *issuerKeyId __attribute__((swift_name("issuerKeyId"))); +@property (readonly) PAPIPublicKey *publicKey __attribute__((swift_name("publicKey"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("VerificationResult"))) +@interface PAPIVerificationResult : PAPIBase +- (instancetype)initWithVerificationErrors:(NSArray *)verificationErrors lastSyncBlockTimestamp:(PAPITimestamp * _Nullable)lastSyncBlockTimestamp __attribute__((swift_name("init(verificationErrors:lastSyncBlockTimestamp:)"))) __attribute__((objc_designated_initializer)); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (PAPITimestamp * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (PAPIVerificationResult *)doCopyVerificationErrors:(NSArray *)verificationErrors lastSyncBlockTimestamp:(PAPITimestamp * _Nullable)lastSyncBlockTimestamp __attribute__((swift_name("doCopy(verificationErrors:lastSyncBlockTimestamp:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPITimestamp * _Nullable lastSyncBlockTimestamp __attribute__((swift_name("lastSyncBlockTimestamp"))); +@property (readonly) NSArray *verificationErrors __attribute__((swift_name("verificationErrors"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BatchState"))) +@interface PAPIBatchState : PAPIBase +- (instancetype)initWithIssuerDid:(NSString *)issuerDid merkleRoot:(PAPISha256Digest *)merkleRoot publicationLedgerData:(PAPILedgerData *)publicationLedgerData revocationLedgerData:(PAPILedgerData * _Nullable)revocationLedgerData issuanceHash:(PAPISha256Digest *)issuanceHash lastSyncedBlockTimestamp:(PAPITimestamp *)lastSyncedBlockTimestamp __attribute__((swift_name("init(issuerDid:merkleRoot:publicationLedgerData:revocationLedgerData:issuanceHash:lastSyncedBlockTimestamp:)"))) __attribute__((objc_designated_initializer)); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPISha256Digest *)component2 __attribute__((swift_name("component2()"))); +- (PAPILedgerData *)component3 __attribute__((swift_name("component3()"))); +- (PAPILedgerData * _Nullable)component4 __attribute__((swift_name("component4()"))); +- (PAPISha256Digest *)component5 __attribute__((swift_name("component5()"))); +- (PAPITimestamp *)component6 __attribute__((swift_name("component6()"))); +- (PAPIBatchState *)doCopyIssuerDid:(NSString *)issuerDid merkleRoot:(PAPISha256Digest *)merkleRoot publicationLedgerData:(PAPILedgerData *)publicationLedgerData revocationLedgerData:(PAPILedgerData * _Nullable)revocationLedgerData issuanceHash:(PAPISha256Digest *)issuanceHash lastSyncedBlockTimestamp:(PAPITimestamp *)lastSyncedBlockTimestamp __attribute__((swift_name("doCopy(issuerDid:merkleRoot:publicationLedgerData:revocationLedgerData:issuanceHash:lastSyncedBlockTimestamp:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPISha256Digest *issuanceHash __attribute__((swift_name("issuanceHash"))); +@property (readonly) NSString *issuerDid __attribute__((swift_name("issuerDid"))); +@property (readonly) PAPITimestamp *lastSyncedBlockTimestamp __attribute__((swift_name("lastSyncedBlockTimestamp"))); +@property (readonly) PAPISha256Digest *merkleRoot __attribute__((swift_name("merkleRoot"))); +@property (readonly) PAPILedgerData *publicationLedgerData __attribute__((swift_name("publicationLedgerData"))); +@property (readonly) PAPILedgerData * _Nullable revocationLedgerData __attribute__((swift_name("revocationLedgerData"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateDidInfo"))) +@interface PAPICreateDidInfo : PAPIBase +- (instancetype)initWithPayload:(PAPIPrismPayload *)payload operationHash:(PAPISha256Digest *)operationHash __attribute__((swift_name("init(payload:operationHash:)"))) __attribute__((objc_designated_initializer)); +- (PAPIPrismPayload *)component1 __attribute__((swift_name("component1()"))); +- (PAPISha256Digest *)component2 __attribute__((swift_name("component2()"))); +- (PAPICreateDidInfo *)doCopyPayload:(PAPIPrismPayload *)payload operationHash:(PAPISha256Digest *)operationHash __attribute__((swift_name("doCopy(payload:operationHash:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPISha256Digest *operationHash __attribute__((swift_name("operationHash"))); +@property (readonly) PAPIPrismPayload *payload __attribute__((swift_name("payload"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetCredentialRevocationTimeResult"))) +@interface PAPIGetCredentialRevocationTimeResult : PAPIBase +- (instancetype)initWithLedgerData:(PAPILedgerData * _Nullable)ledgerData lastSyncedBlockTimestamp:(PAPITimestamp *)lastSyncedBlockTimestamp __attribute__((swift_name("init(ledgerData:lastSyncedBlockTimestamp:)"))) __attribute__((objc_designated_initializer)); +- (PAPILedgerData * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (PAPITimestamp *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetCredentialRevocationTimeResult *)doCopyLedgerData:(PAPILedgerData * _Nullable)ledgerData lastSyncedBlockTimestamp:(PAPITimestamp *)lastSyncedBlockTimestamp __attribute__((swift_name("doCopy(ledgerData:lastSyncedBlockTimestamp:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPITimestamp *lastSyncedBlockTimestamp __attribute__((swift_name("lastSyncedBlockTimestamp"))); +@property (readonly) PAPILedgerData * _Nullable ledgerData __attribute__((swift_name("ledgerData"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("IssueCredentialsInfo"))) +@interface PAPIIssueCredentialsInfo : PAPIBase +- (instancetype)initWithPayload:(PAPIPrismPayload *)payload batchId:(PAPICredentialBatchId *)batchId operationHash:(PAPISha256Digest *)operationHash credentialsAndProofs:(PAPIKotlinArray *)credentialsAndProofs merkleRoot:(PAPIMerkleRoot *)merkleRoot __attribute__((swift_name("init(payload:batchId:operationHash:credentialsAndProofs:merkleRoot:)"))) __attribute__((objc_designated_initializer)); +- (PAPIPrismPayload *)component1 __attribute__((swift_name("component1()"))); +- (PAPICredentialBatchId *)component2 __attribute__((swift_name("component2()"))); +- (PAPISha256Digest *)component3 __attribute__((swift_name("component3()"))); +- (PAPIKotlinArray *)component4 __attribute__((swift_name("component4()"))); +- (PAPIMerkleRoot *)component5 __attribute__((swift_name("component5()"))); +- (PAPIIssueCredentialsInfo *)doCopyPayload:(PAPIPrismPayload *)payload batchId:(PAPICredentialBatchId *)batchId operationHash:(PAPISha256Digest *)operationHash credentialsAndProofs:(PAPIKotlinArray *)credentialsAndProofs merkleRoot:(PAPIMerkleRoot *)merkleRoot __attribute__((swift_name("doCopy(payload:batchId:operationHash:credentialsAndProofs:merkleRoot:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPICredentialBatchId *batchId __attribute__((swift_name("batchId"))); +@property (readonly) PAPIKotlinArray *credentialsAndProofs __attribute__((swift_name("credentialsAndProofs"))); +@property (readonly) PAPIMerkleRoot *merkleRoot __attribute__((swift_name("merkleRoot"))); +@property (readonly) PAPISha256Digest *operationHash __attribute__((swift_name("operationHash"))); +@property (readonly) PAPIPrismPayload *payload __attribute__((swift_name("payload"))); +@end; + +__attribute__((swift_name("NodePublicApi"))) +@protocol PAPINodePublicApi +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)getBatchStateBatchId:(NSString *)batchId completionHandler:(void (^)(PAPIBatchState * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getBatchState(batchId:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)getCredentialRevocationTimeBatchId:(NSString *)batchId credentialHash:(PAPISha256Digest *)credentialHash completionHandler:(void (^)(PAPIGetCredentialRevocationTimeResult * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getCredentialRevocationTime(batchId:credentialHash:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)getDidDocumentDid:(PAPIPrismDid *)did completionHandler:(void (^)(PAPIPrismDidState * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getDidDocument(did:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)getOperationInfoOperationId:(PAPIAtalaOperationId *)operationId completionHandler:(void (^)(PAPIAtalaOperationInfo * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getOperationInfo(operationId:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)getOperationStatusOperationId:(PAPIAtalaOperationId *)operationId completionHandler:(void (^)(PAPIInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getOperationStatus(operationId:completionHandler:)"))) __attribute__((deprecated("Deprecated since 1.3.0. Use [getOperationInfo] instead"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)healthCheckWithCompletionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("healthCheck(completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)verifySignedCredential:(PAPIPrismCredential *)signedCredential merkleInclusionProof:(PAPIMerkleInclusionProof *)merkleInclusionProof completionHandler:(void (^)(PAPIVerificationResult * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("verify(signedCredential:merkleInclusionProof:completionHandler:)"))); +@end; + +__attribute__((swift_name("NodeAuthApi"))) +@protocol PAPINodeAuthApi +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)createDidPayload:(PAPIPrismPayload *)payload did:(PAPILongFormPrismDid * _Nullable)did masterKeyId:(NSString * _Nullable)masterKeyId completionHandler:(void (^)(PAPIAtalaOperationId * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("createDid(payload:did:masterKeyId:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)issueCredentialsPayload:(PAPIPrismPayload *)payload did:(PAPICanonicalPrismDid * _Nullable)did issuingKeyId:(NSString * _Nullable)issuingKeyId merkleRoot:(PAPIMerkleRoot * _Nullable)merkleRoot completionHandler:(void (^)(PAPIAtalaOperationId * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("issueCredentials(payload:did:issuingKeyId:merkleRoot:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)protocolVersionUpdatePayload:(PAPIPrismPayload *)payload did:(PAPICanonicalPrismDid * _Nullable)did masterKeyId:(NSString * _Nullable)masterKeyId versionName:(NSString * _Nullable)versionName protocolVersion:(PAPIProtocolVersion * _Nullable)protocolVersion effectiveSinceBlockIndex:(PAPIInt * _Nullable)effectiveSinceBlockIndex completionHandler:(void (^)(PAPIAtalaOperationId * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("protocolVersionUpdate(payload:did:masterKeyId:versionName:protocolVersion:effectiveSinceBlockIndex:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)revokeCredentialsPayload:(PAPIPrismPayload *)payload did:(PAPICanonicalPrismDid * _Nullable)did revocationKeyId:(NSString * _Nullable)revocationKeyId previousOperationHash:(PAPISha256Digest * _Nullable)previousOperationHash batchId:(NSString * _Nullable)batchId credentialsToRevoke:(PAPIKotlinArray * _Nullable)credentialsToRevoke completionHandler:(void (^)(PAPIAtalaOperationId * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("revokeCredentials(payload:did:revocationKeyId:previousOperationHash:batchId:credentialsToRevoke:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)updateDidPayload:(PAPIPrismPayload *)payload did:(PAPICanonicalPrismDid * _Nullable)did masterKeyId:(NSString * _Nullable)masterKeyId previousOperationHash:(PAPISha256Digest * _Nullable)previousOperationHash keysToAdd:(PAPIKotlinArray * _Nullable)keysToAdd keysToRevoke:(PAPIKotlinArray * _Nullable)keysToRevoke completionHandler:(void (^)(PAPIAtalaOperationId * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("updateDid(payload:did:masterKeyId:previousOperationHash:keysToAdd:keysToRevoke:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("NodeAuthApiImpl"))) +@interface PAPINodeAuthApiImpl : PAPIBase +- (instancetype)initWithOptions:(PAPIGrpcOptions *)options __attribute__((swift_name("init(options:)"))) __attribute__((objc_designated_initializer)); +- (void)close __attribute__((swift_name("close()"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)createDidPayload:(PAPIPrismPayload *)payload did:(PAPILongFormPrismDid * _Nullable)did masterKeyId:(NSString * _Nullable)masterKeyId completionHandler:(void (^)(PAPIAtalaOperationId * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("createDid(payload:did:masterKeyId:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)getBatchStateBatchId:(NSString *)batchId completionHandler:(void (^)(PAPIBatchState * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getBatchState(batchId:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)getCredentialRevocationTimeBatchId:(NSString *)batchId credentialHash:(PAPISha256Digest *)credentialHash completionHandler:(void (^)(PAPIGetCredentialRevocationTimeResult * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getCredentialRevocationTime(batchId:credentialHash:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)getDidDocumentDid:(PAPIPrismDid *)did completionHandler:(void (^)(PAPIPrismDidState * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getDidDocument(did:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)getOperationInfoOperationId:(PAPIAtalaOperationId *)operationId completionHandler:(void (^)(PAPIAtalaOperationInfo * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getOperationInfo(operationId:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)getOperationStatusOperationId:(PAPIAtalaOperationId *)operationId completionHandler:(void (^)(PAPIInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getOperationStatus(operationId:completionHandler:)"))) __attribute__((deprecated("Deprecated since 1.3.0. Use [getOperationInfo] instead"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)healthCheckWithCompletionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("healthCheck(completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)issueCredentialsPayload:(PAPIPrismPayload *)payload did:(PAPICanonicalPrismDid * _Nullable)did issuingKeyId:(NSString * _Nullable)issuingKeyId merkleRoot:(PAPIMerkleRoot * _Nullable)merkleRoot completionHandler:(void (^)(PAPIAtalaOperationId * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("issueCredentials(payload:did:issuingKeyId:merkleRoot:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)protocolVersionUpdatePayload:(PAPIPrismPayload *)payload did:(PAPICanonicalPrismDid * _Nullable)did masterKeyId:(NSString * _Nullable)masterKeyId versionName:(NSString * _Nullable)versionName protocolVersion:(PAPIProtocolVersion * _Nullable)protocolVersion effectiveSinceBlockIndex:(PAPIInt * _Nullable)effectiveSinceBlockIndex completionHandler:(void (^)(PAPIAtalaOperationId * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("protocolVersionUpdate(payload:did:masterKeyId:versionName:protocolVersion:effectiveSinceBlockIndex:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)revokeCredentialsPayload:(PAPIPrismPayload *)payload did:(PAPICanonicalPrismDid * _Nullable)did revocationKeyId:(NSString * _Nullable)revocationKeyId previousOperationHash:(PAPISha256Digest * _Nullable)previousOperationHash batchId:(NSString * _Nullable)batchId credentialsToRevoke:(PAPIKotlinArray * _Nullable)credentialsToRevoke completionHandler:(void (^)(PAPIAtalaOperationId * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("revokeCredentials(payload:did:revocationKeyId:previousOperationHash:batchId:credentialsToRevoke:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)updateDidPayload:(PAPIPrismPayload *)payload did:(PAPICanonicalPrismDid * _Nullable)did masterKeyId:(NSString * _Nullable)masterKeyId previousOperationHash:(PAPISha256Digest * _Nullable)previousOperationHash keysToAdd:(PAPIKotlinArray * _Nullable)keysToAdd keysToRevoke:(PAPIKotlinArray * _Nullable)keysToRevoke completionHandler:(void (^)(PAPIAtalaOperationId * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("updateDid(payload:did:masterKeyId:previousOperationHash:keysToAdd:keysToRevoke:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)verifySignedCredential:(PAPIPrismCredential *)signedCredential merkleInclusionProof:(PAPIMerkleInclusionProof *)merkleInclusionProof completionHandler:(void (^)(PAPIVerificationResult * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("verify(signedCredential:merkleInclusionProof:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("NodePayloadGenerator"))) +@interface PAPINodePayloadGenerator : PAPIBase +- (instancetype)initWithDid:(PAPILongFormPrismDid *)did keys:(NSDictionary *)keys __attribute__((swift_name("init(did:keys:)"))) __attribute__((objc_designated_initializer)); +- (PAPICreateDidInfo *)createDidMasterKeyId:(NSString *)masterKeyId __attribute__((swift_name("createDid(masterKeyId:)"))); +- (PAPIIssueCredentialsInfo *)issueCredentialsIssuingKeyId:(NSString *)issuingKeyId credentialsClaims:(PAPIKotlinArray *)credentialsClaims __attribute__((swift_name("issueCredentials(issuingKeyId:credentialsClaims:)"))); +- (PAPIProtocolVersionUpdateInfo *)protocolVersionUpdateMasterKeyId:(NSString *)masterKeyId versionName:(NSString * _Nullable)versionName protocolVersion:(PAPIProtocolVersion *)protocolVersion effectiveSinceBlockIndex:(int32_t)effectiveSinceBlockIndex __attribute__((swift_name("protocolVersionUpdate(masterKeyId:versionName:protocolVersion:effectiveSinceBlockIndex:)"))); +- (PAPIRevokeCredentialsInfo *)revokeCredentialsRevocationKeyId:(NSString *)revocationKeyId previousOperationHash:(PAPISha256Digest *)previousOperationHash batchId:(NSString *)batchId credentialsToRevoke:(PAPIKotlinArray *)credentialsToRevoke __attribute__((swift_name("revokeCredentials(revocationKeyId:previousOperationHash:batchId:credentialsToRevoke:)"))); +- (PAPIUpdateDidInfo *)updateDidPreviousHash:(PAPISha256Digest *)previousHash masterKeyId:(NSString *)masterKeyId keysToAdd:(PAPIKotlinArray *)keysToAdd keysToRevoke:(PAPIKotlinArray *)keysToRevoke __attribute__((swift_name("updateDid(previousHash:masterKeyId:keysToAdd:keysToRevoke:)"))); +@property (readonly) PAPILongFormPrismDid *did __attribute__((swift_name("did"))); +@property (readonly) NSDictionary *keys __attribute__((swift_name("keys"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("NodePublicApiImpl"))) +@interface PAPINodePublicApiImpl : PAPIBase +- (instancetype)initWithOptions:(PAPIGrpcOptions *)options __attribute__((swift_name("init(options:)"))) __attribute__((objc_designated_initializer)); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)getBatchStateBatchId:(NSString *)batchId completionHandler:(void (^)(PAPIBatchState * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getBatchState(batchId:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)getCredentialRevocationTimeBatchId:(NSString *)batchId credentialHash:(PAPISha256Digest *)credentialHash completionHandler:(void (^)(PAPIGetCredentialRevocationTimeResult * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getCredentialRevocationTime(batchId:credentialHash:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)getDidDocumentDid:(PAPIPrismDid *)did completionHandler:(void (^)(PAPIPrismDidState * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getDidDocument(did:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)getOperationInfoOperationId:(PAPIAtalaOperationId *)operationId completionHandler:(void (^)(PAPIAtalaOperationInfo * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getOperationInfo(operationId:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)getOperationStatusOperationId:(PAPIAtalaOperationId *)operationId completionHandler:(void (^)(PAPIInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getOperationStatus(operationId:completionHandler:)"))) __attribute__((deprecated("Overrides deprecated member in 'io.iohk.atala.prism.api.node.NodePublicApi'. Deprecated since 1.3.0. Use [getOperationInfo] instead"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)healthCheckWithCompletionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("healthCheck(completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)verifySignedCredential:(PAPIPrismCredential *)signedCredential merkleInclusionProof:(PAPIMerkleInclusionProof *)merkleInclusionProof completionHandler:(void (^)(PAPIVerificationResult * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("verify(signedCredential:merkleInclusionProof:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PrismDidState"))) +@interface PAPIPrismDidState : PAPIBase +- (instancetype)initWithDidData:(PAPIPrismDidDataModel *)didData lastUpdateOperation:(PAPISha256Digest * _Nullable)lastUpdateOperation lastSyncedBlockTimestamp:(PAPITimestamp * _Nullable)lastSyncedBlockTimestamp __attribute__((swift_name("init(didData:lastUpdateOperation:lastSyncedBlockTimestamp:)"))) __attribute__((objc_designated_initializer)); +- (PAPIPrismDidDataModel *)component1 __attribute__((swift_name("component1()"))); +- (PAPISha256Digest * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (PAPITimestamp * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (PAPIPrismDidState *)doCopyDidData:(PAPIPrismDidDataModel *)didData lastUpdateOperation:(PAPISha256Digest * _Nullable)lastUpdateOperation lastSyncedBlockTimestamp:(PAPITimestamp * _Nullable)lastSyncedBlockTimestamp __attribute__((swift_name("doCopy(didData:lastUpdateOperation:lastSyncedBlockTimestamp:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIPrismDidDataModel *didData __attribute__((swift_name("didData"))); +@property (readonly) PAPITimestamp * _Nullable lastSyncedBlockTimestamp __attribute__((swift_name("lastSyncedBlockTimestamp"))); +@property (readonly) PAPISha256Digest * _Nullable lastUpdateOperation __attribute__((swift_name("lastUpdateOperation"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ProtocolVersionUpdateInfo"))) +@interface PAPIProtocolVersionUpdateInfo : PAPIBase +- (instancetype)initWithPayload:(PAPIPrismPayload *)payload operationHash:(PAPISha256Digest *)operationHash __attribute__((swift_name("init(payload:operationHash:)"))) __attribute__((objc_designated_initializer)); +- (PAPIPrismPayload *)component1 __attribute__((swift_name("component1()"))); +- (PAPISha256Digest *)component2 __attribute__((swift_name("component2()"))); +- (PAPIProtocolVersionUpdateInfo *)doCopyPayload:(PAPIPrismPayload *)payload operationHash:(PAPISha256Digest *)operationHash __attribute__((swift_name("doCopy(payload:operationHash:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPISha256Digest *operationHash __attribute__((swift_name("operationHash"))); +@property (readonly) PAPIPrismPayload *payload __attribute__((swift_name("payload"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RevokeCredentialsInfo"))) +@interface PAPIRevokeCredentialsInfo : PAPIBase +- (instancetype)initWithPayload:(PAPIPrismPayload *)payload operationHash:(PAPISha256Digest *)operationHash __attribute__((swift_name("init(payload:operationHash:)"))) __attribute__((objc_designated_initializer)); +- (PAPIPrismPayload *)component1 __attribute__((swift_name("component1()"))); +- (PAPISha256Digest *)component2 __attribute__((swift_name("component2()"))); +- (PAPIRevokeCredentialsInfo *)doCopyPayload:(PAPIPrismPayload *)payload operationHash:(PAPISha256Digest *)operationHash __attribute__((swift_name("doCopy(payload:operationHash:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPISha256Digest *operationHash __attribute__((swift_name("operationHash"))); +@property (readonly) PAPIPrismPayload *payload __attribute__((swift_name("payload"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UpdateDidInfo"))) +@interface PAPIUpdateDidInfo : PAPIBase +- (instancetype)initWithPayload:(PAPIPrismPayload *)payload operationHash:(PAPISha256Digest *)operationHash __attribute__((swift_name("init(payload:operationHash:)"))) __attribute__((objc_designated_initializer)); +- (PAPIPrismPayload *)component1 __attribute__((swift_name("component1()"))); +- (PAPISha256Digest *)component2 __attribute__((swift_name("component2()"))); +- (PAPIUpdateDidInfo *)doCopyPayload:(PAPIPrismPayload *)payload operationHash:(PAPISha256Digest *)operationHash __attribute__((swift_name("doCopy(payload:operationHash:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPISha256Digest *operationHash __attribute__((swift_name("operationHash"))); +@property (readonly) PAPIPrismPayload *payload __attribute__((swift_name("payload"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtalaOperationId"))) +@interface PAPIAtalaOperationId : PAPIBase +- (instancetype)initWithDigest:(PAPISha256Digest *)digest __attribute__((swift_name("init(digest:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIAtalaOperationIdCompanion *companion __attribute__((swift_name("companion"))); +- (PAPISha256Digest *)component1 __attribute__((swift_name("component1()"))); +- (PAPIAtalaOperationId *)doCopyDigest:(PAPISha256Digest *)digest __attribute__((swift_name("doCopy(digest:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)hexValue __attribute__((swift_name("hexValue()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +- (PAPIKotlinByteArray *)value __attribute__((swift_name("value()"))); +@property (readonly) PAPISha256Digest *digest __attribute__((swift_name("digest"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtalaOperationId.Companion"))) +@interface PAPIAtalaOperationIdCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIAtalaOperationIdCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIAtalaOperationId *)fromBytesBytes:(PAPIKotlinByteArray *)bytes __attribute__((swift_name("fromBytes(bytes:)"))); +- (PAPIAtalaOperationId *)fromHexHex:(NSString *)hex __attribute__((swift_name("fromHex(hex:)"))); +- (PAPIAtalaOperationId *)ofAtalaOperation:(PAPISignedAtalaOperation *)atalaOperation __attribute__((swift_name("of(atalaOperation:)"))); +- (PAPIAtalaOperationId *)random __attribute__((swift_name("random()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtalaOperationInfo"))) +@interface PAPIAtalaOperationInfo : PAPIBase +- (instancetype)initWithStatus:(int32_t)status statusDetails:(NSString * _Nullable)statusDetails transactionId:(NSString * _Nullable)transactionId lastSyncedBlockTimestamp:(PAPITimestamp * _Nullable)lastSyncedBlockTimestamp __attribute__((swift_name("init(status:statusDetails:transactionId:lastSyncedBlockTimestamp:)"))) __attribute__((objc_designated_initializer)); +- (int32_t)component1 __attribute__((swift_name("component1()"))); +- (NSString * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (NSString * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (PAPITimestamp * _Nullable)component4 __attribute__((swift_name("component4()"))); +- (PAPIAtalaOperationInfo *)doCopyStatus:(int32_t)status statusDetails:(NSString * _Nullable)statusDetails transactionId:(NSString * _Nullable)transactionId lastSyncedBlockTimestamp:(PAPITimestamp * _Nullable)lastSyncedBlockTimestamp __attribute__((swift_name("doCopy(status:statusDetails:transactionId:lastSyncedBlockTimestamp:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPITimestamp * _Nullable lastSyncedBlockTimestamp __attribute__((swift_name("lastSyncedBlockTimestamp"))); +@property (readonly) int32_t status __attribute__((swift_name("status"))); +@property (readonly) NSString * _Nullable statusDetails __attribute__((swift_name("statusDetails"))); +@property (readonly) NSString * _Nullable transactionId __attribute__((swift_name("transactionId"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtalaOperationStatus"))) +@interface PAPIAtalaOperationStatus : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)atalaOperationStatus __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIAtalaOperationStatus *shared __attribute__((swift_name("shared"))); +- (NSString *)asStringKey:(int32_t)key __attribute__((swift_name("asString(key:)"))); +- (PAPIInt * _Nullable)fromStringString:(NSString *)string __attribute__((swift_name("fromString(string:)"))); +@property (readonly) int32_t AWAIT_CONFIRMATION __attribute__((swift_name("AWAIT_CONFIRMATION"))); +@property (readonly) int32_t CONFIRMED_AND_APPLIED __attribute__((swift_name("CONFIRMED_AND_APPLIED"))); +@property (readonly) int32_t CONFIRMED_AND_REJECTED __attribute__((swift_name("CONFIRMED_AND_REJECTED"))); +@property (readonly) int32_t PENDING_SUBMISSION __attribute__((swift_name("PENDING_SUBMISSION"))); +@property (readonly) int32_t UNKNOWN_OPERATION __attribute__((swift_name("UNKNOWN_OPERATION"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ProtocolVersion"))) +@interface PAPIProtocolVersion : PAPIBase +- (instancetype)initWithMajorVersion:(int32_t)majorVersion minorVersion:(int32_t)minorVersion __attribute__((swift_name("init(majorVersion:minorVersion:)"))) __attribute__((objc_designated_initializer)); +- (int32_t)component1 __attribute__((swift_name("component1()"))); +- (int32_t)component2 __attribute__((swift_name("component2()"))); +- (PAPIProtocolVersion *)doCopyMajorVersion:(int32_t)majorVersion minorVersion:(int32_t)minorVersion __attribute__((swift_name("doCopy(majorVersion:minorVersion:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) int32_t majorVersion __attribute__((swift_name("majorVersion"))); +@property (readonly) int32_t minorVersion __attribute__((swift_name("minorVersion"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DidValidation"))) +@interface PAPIDidValidation : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)didValidation __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDidValidation *shared __attribute__((swift_name("shared"))); +- (PAPISignedAtalaOperation *)verifyPayloadDid:(PAPILongFormPrismDid * _Nullable)did masterKeyId:(NSString * _Nullable)masterKeyId payload:(PAPIPrismPayload *)payload __attribute__((swift_name("verifyPayload(did:masterKeyId:payload:)"))); +@end; + +__attribute__((swift_name("Validated"))) +@interface PAPIValidated<__covariant R, E> : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (PAPIValidated *)flatMapMap:(PAPIValidated *(^)(R _Nullable))map __attribute__((swift_name("flatMap(map:)"))); +- (PAPIValidated *)mapMap:(id _Nullable (^)(R _Nullable))map __attribute__((swift_name("map(map:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)suspendableFlatMapMap:(id)map completionHandler:(void (^)(PAPIValidated * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("suspendableFlatMap(map:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)suspendableMapMap:(id)map completionHandler:(void (^)(PAPIValidated * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("suspendableMap(map:completionHandler:)"))); +- (PAPIKotlinPair *)toTuple __attribute__((swift_name("toTuple()"))); +@property (readonly) E _Nullable error __attribute__((swift_name("error"))); +@property (readonly) R _Nullable result __attribute__((swift_name("result"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ValidatedApplicative"))) +@interface PAPIValidatedApplicative : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)applicative __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIValidatedApplicative *shared __attribute__((swift_name("shared"))); +- (PAPIValidated *)applyValidated1:(PAPIValidated *)validated1 validated2:(PAPIValidated *)validated2 apply:(PAPIValidated *(^)(id _Nullable, id _Nullable))apply __attribute__((swift_name("apply(validated1:validated2:apply:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ValidatedInvalid"))) +@interface PAPIValidatedInvalid<__covariant R, E> : PAPIValidated +- (instancetype)initWithError:(E _Nullable)error __attribute__((swift_name("init(error:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (E _Nullable)component1 __attribute__((swift_name("component1()"))); +- (PAPIValidatedInvalid *)doCopyError:(E _Nullable)error __attribute__((swift_name("doCopy(error:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) E _Nullable error __attribute__((swift_name("error"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ValidatedValid"))) +@interface PAPIValidatedValid<__covariant R, E> : PAPIValidated +- (instancetype)initWithResult:(R _Nullable)result __attribute__((swift_name("init(result:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (R _Nullable)component1 __attribute__((swift_name("component1()"))); +- (PAPIValidatedValid *)doCopyResult:(R _Nullable)result __attribute__((swift_name("doCopy(result:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) R _Nullable result __attribute__((swift_name("result"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AuthDetails"))) +@interface PAPIAuthDetails : PAPIBase +- (instancetype)initWithDid:(PAPILongFormPrismDid *)did masterKeyId:(NSString *)masterKeyId privateKey:(PAPIECPrivateKey *)privateKey __attribute__((swift_name("init(did:masterKeyId:privateKey:)"))) __attribute__((objc_designated_initializer)); +- (PAPILongFormPrismDid *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (PAPIECPrivateKey *)component3 __attribute__((swift_name("component3()"))); +- (PAPIAuthDetails *)doCopyDid:(PAPILongFormPrismDid *)did masterKeyId:(NSString *)masterKeyId privateKey:(PAPIECPrivateKey *)privateKey __attribute__((swift_name("doCopy(did:masterKeyId:privateKey:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPILongFormPrismDid *did __attribute__((swift_name("did"))); +@property (readonly) NSString *masterKeyId __attribute__((swift_name("masterKeyId"))); +@property (readonly) PAPIECPrivateKey *privateKey __attribute__((swift_name("privateKey"))); +@end; + +__attribute__((swift_name("ConnectorAuthApi"))) +@protocol PAPIConnectorAuthApi +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)addConnectionFromTokenToken:(NSString *)token publicKey:(PAPIECPublicKey *)publicKey authDetails:(PAPIAuthDetails *)authDetails completionHandler:(void (^)(PAPIConnectorConnectionInfo * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("addConnectionFromToken(token:publicKey:authDetails:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)generateConnectionTokenCount:(int32_t)count authDetails:(PAPIAuthDetails *)authDetails completionHandler:(void (^)(NSArray * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("generateConnectionToken(count:authDetails:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)getConnectionByTokenToken:(NSString *)token authDetails:(PAPIAuthDetails *)authDetails completionHandler:(void (^)(PAPIConnectorConnectionReference * _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("getConnectionByToken(token:authDetails:completionHandler:)"))); +@end; + +__attribute__((swift_name("ConnectorPublicApi"))) +@protocol PAPIConnectorPublicApi +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)getConnectionTokenInfoToken:(NSString *)token completionHandler:(void (^)(PAPIConnectorTokenInfo * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getConnectionTokenInfo(token:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)healthCheckWithCompletionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("healthCheck(completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)registerExistingDidDid:(PAPIPrismDid *)did name:(NSString *)name role:(PAPIRole *)role completionHandler:(void (^)(PAPIAtalaOperationId * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("registerExistingDid(did:name:role:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)registerNewDidPayload:(PAPIPrismPayload *)payload did:(PAPILongFormPrismDid * _Nullable)did masterKeyId:(NSString * _Nullable)masterKeyId name:(NSString *)name role:(PAPIRole *)role completionHandler:(void (^)(PAPIAtalaOperationId * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("registerNewDid(payload:did:masterKeyId:name:role:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ConnectorAuthApiImpl"))) +@interface PAPIConnectorAuthApiImpl : PAPIBase +- (instancetype)initWithOptions:(PAPIGrpcOptions *)options __attribute__((swift_name("init(options:)"))) __attribute__((objc_designated_initializer)); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)addConnectionFromTokenToken:(NSString *)token publicKey:(PAPIECPublicKey *)publicKey authDetails:(PAPIAuthDetails *)authDetails completionHandler:(void (^)(PAPIConnectorConnectionInfo * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("addConnectionFromToken(token:publicKey:authDetails:completionHandler:)"))); +- (void)close __attribute__((swift_name("close()"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)generateConnectionTokenCount:(int32_t)count authDetails:(PAPIAuthDetails *)authDetails completionHandler:(void (^)(NSArray * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("generateConnectionToken(count:authDetails:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)getConnectionByTokenToken:(NSString *)token authDetails:(PAPIAuthDetails *)authDetails completionHandler:(void (^)(PAPIConnectorConnectionReference * _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("getConnectionByToken(token:authDetails:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)getConnectionTokenInfoToken:(NSString *)token completionHandler:(void (^)(PAPIConnectorTokenInfo * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getConnectionTokenInfo(token:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)healthCheckWithCompletionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("healthCheck(completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)registerExistingDidDid:(PAPIPrismDid *)did name:(NSString *)name role:(PAPIRole *)role completionHandler:(void (^)(PAPIAtalaOperationId * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("registerExistingDid(did:name:role:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)registerNewDidPayload:(PAPIPrismPayload *)payload did:(PAPILongFormPrismDid * _Nullable)did masterKeyId:(NSString * _Nullable)masterKeyId name:(NSString *)name role:(PAPIRole *)role completionHandler:(void (^)(PAPIAtalaOperationId * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("registerNewDid(payload:did:masterKeyId:name:role:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ConnectorConnectionInfo"))) +@interface PAPIConnectorConnectionInfo : PAPIBase +- (instancetype)initWithConnectionReference:(PAPIConnectorConnectionReference *)connectionReference created:(PAPITimestamp * _Nullable)created participantInfo:(PAPIConnectorParticipantInfo *)participantInfo __attribute__((swift_name("init(connectionReference:created:participantInfo:)"))) __attribute__((objc_designated_initializer)); +- (PAPIConnectorConnectionReference *)component1 __attribute__((swift_name("component1()"))); +- (PAPITimestamp * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (PAPIConnectorParticipantInfo *)component3 __attribute__((swift_name("component3()"))); +- (PAPIConnectorConnectionInfo *)doCopyConnectionReference:(PAPIConnectorConnectionReference *)connectionReference created:(PAPITimestamp * _Nullable)created participantInfo:(PAPIConnectorParticipantInfo *)participantInfo __attribute__((swift_name("doCopy(connectionReference:created:participantInfo:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIConnectorConnectionReference *connectionReference __attribute__((swift_name("connectionReference"))); +@property (readonly) PAPITimestamp * _Nullable created __attribute__((swift_name("created"))); +@property (readonly) PAPIConnectorParticipantInfo *participantInfo __attribute__((swift_name("participantInfo"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ConnectorConnectionReference"))) +@interface PAPIConnectorConnectionReference : PAPIBase +- (instancetype)initWithId:(NSString *)id token:(NSString *)token __attribute__((swift_name("init(id:token:)"))) __attribute__((objc_designated_initializer)); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (PAPIConnectorConnectionReference *)doCopyId:(NSString *)id token:(NSString *)token __attribute__((swift_name("doCopy(id:token:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *id __attribute__((swift_name("id"))); +@property (readonly) NSString *token __attribute__((swift_name("token"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ConnectorParticipantInfo"))) +@interface PAPIConnectorParticipantInfo : PAPIBase +- (instancetype)initWithName:(NSString *)name did:(PAPIPrismDid *)did logo:(PAPIKotlinByteArray *)logo __attribute__((swift_name("init(name:did:logo:)"))) __attribute__((objc_designated_initializer)); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIPrismDid *)component2 __attribute__((swift_name("component2()"))); +- (PAPIKotlinByteArray *)component3 __attribute__((swift_name("component3()"))); +- (PAPIConnectorParticipantInfo *)doCopyName:(NSString *)name did:(PAPIPrismDid *)did logo:(PAPIKotlinByteArray *)logo __attribute__((swift_name("doCopy(name:did:logo:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIPrismDid *did __attribute__((swift_name("did"))); +@property (readonly) PAPIKotlinByteArray *logo __attribute__((swift_name("logo"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ConnectorPublicApiImpl"))) +@interface PAPIConnectorPublicApiImpl : PAPIBase +- (instancetype)initWithOptions:(PAPIGrpcOptions *)options __attribute__((swift_name("init(options:)"))) __attribute__((objc_designated_initializer)); +- (void)close __attribute__((swift_name("close()"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)getConnectionTokenInfoToken:(NSString *)token completionHandler:(void (^)(PAPIConnectorTokenInfo * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getConnectionTokenInfo(token:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)healthCheckWithCompletionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("healthCheck(completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)registerExistingDidDid:(PAPIPrismDid *)did name:(NSString *)name role:(PAPIRole *)role completionHandler:(void (^)(PAPIAtalaOperationId * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("registerExistingDid(did:name:role:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)registerNewDidPayload:(PAPIPrismPayload *)payload did:(PAPILongFormPrismDid * _Nullable)did masterKeyId:(NSString * _Nullable)masterKeyId name:(NSString *)name role:(PAPIRole *)role completionHandler:(void (^)(PAPIAtalaOperationId * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("registerNewDid(payload:did:masterKeyId:name:role:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ConnectorTokenInfo"))) +@interface PAPIConnectorTokenInfo : PAPIBase +- (instancetype)initWithCreatorInfo:(PAPIConnectorParticipantInfo *)creatorInfo __attribute__((swift_name("init(creatorInfo:)"))) __attribute__((objc_designated_initializer)); +- (PAPIConnectorParticipantInfo *)component1 __attribute__((swift_name("component1()"))); +- (PAPIConnectorTokenInfo *)doCopyCreatorInfo:(PAPIConnectorParticipantInfo *)creatorInfo __attribute__((swift_name("doCopy(creatorInfo:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIConnectorParticipantInfo *creatorInfo __attribute__((swift_name("creatorInfo"))); +@end; + +__attribute__((swift_name("Role"))) +@interface PAPIRole : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Role.ISSUER"))) +@interface PAPIRoleISSUER : PAPIRole ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)iSSUER __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIRoleISSUER *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Role.UNRECOGNIZED"))) +@interface PAPIRoleUNRECOGNIZED : PAPIRole +- (instancetype)initWithValue:(int32_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +@property (readonly) int32_t value __attribute__((swift_name("value"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Role.VERIFIER"))) +@interface PAPIRoleVERIFIER : PAPIRole ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)vERIFIER __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIRoleVERIFIER *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinArray"))) +@interface PAPIKotlinArray : PAPIBase ++ (instancetype)arrayWithSize:(int32_t)size init:(T _Nullable (^)(PAPIInt *))init __attribute__((swift_name("init(size:init:)"))); ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (T _Nullable)getIndex:(int32_t)index __attribute__((swift_name("get(index:)"))); +- (id)iterator __attribute__((swift_name("iterator()"))); +- (void)setIndex:(int32_t)index value:(T _Nullable)value __attribute__((swift_name("set(index:value:)"))); +@property (readonly) int32_t size __attribute__((swift_name("size"))); +@end; + +@interface PAPIKotlinArray (Extensions) +- (PAPIPrismKeyInformation * _Nullable)findPublicKeyKeyId:(NSString *)keyId __attribute__((swift_name("findPublicKey(keyId:)"))); +- (id)asFlow __attribute__((swift_name("asFlow()"))); +- (void)hexColumsPrintChunk:(int32_t)chunk __attribute__((swift_name("hexColumsPrint(chunk:)"))); +@end; + +@interface PAPILongFormPrismDid (Extensions) +- (PAPIDIDData *)toDidDataProto __attribute__((swift_name("toDidDataProto()"))); +@end; + +@interface PAPICreateDIDOperationDIDCreationData (Extensions) +- (PAPIPrismDidDataModel * _Nullable)toModelDid:(PAPICanonicalPrismDid *)did __attribute__((swift_name("toModel(did:)"))); +- (PAPICreateDIDOperationDIDCreationData *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIPublicKey (Extensions) +- (PAPIPrismKeyInformation * _Nullable)toModel __attribute__((swift_name("toModel()"))); +- (PAPIPublicKey *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIPrismDidDataModel (Extensions) +- (PAPIDIDData *)toProto __attribute__((swift_name("toProto()"))); +@end; + +@interface PAPIPrismKeyInformation (Extensions) +- (PAPIPublicKey *)toProto __attribute__((swift_name("toProto()"))); +@end; + +@interface PAPICompressedECKeyData (Extensions) +- (PAPIECPublicKey *)toModel __attribute__((swift_name("toModel()"))); +- (PAPICompressedECKeyData *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIECPublicKey (Extensions) +- (PAPICompressedECKeyData *)toProto __attribute__((swift_name("toProto()"))); +@end; + +@interface PAPIAddConnectionFromTokenRequest (Extensions) +- (PAPIAddConnectionFromTokenRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIAddConnectionFromTokenResponse (Extensions) +- (PAPIAddConnectionFromTokenResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIAddKeyAction (Extensions) +- (PAPIAddKeyAction *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIArchiveCredentialTypeCategoryRequest (Extensions) +- (PAPIArchiveCredentialTypeCategoryRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIArchiveCredentialTypeCategoryResponse (Extensions) +- (PAPIArchiveCredentialTypeCategoryResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIAtalaBlock (Extensions) +- (PAPIAtalaBlock *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIAtalaErrorMessage (Extensions) +- (PAPIAtalaErrorMessage *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIAtalaMessage (Extensions) +- (PAPIAtalaMessage *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIAtalaObject (Extensions) +- (PAPIAtalaObject *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIAtalaOperation (Extensions) +- (PAPIAtalaOperation *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIBlockInfo (Extensions) +- (PAPIBlockInfo *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICManagerGenericCredential (Extensions) +- (PAPICManagerGenericCredential *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIConnection (Extensions) +- (PAPIConnection *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIConnectionInfo (Extensions) +- (PAPIConnectionInfo *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIConnectionKey (Extensions) +- (PAPIConnectionKey *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIConnectionsStatusRequest (Extensions) +- (PAPIConnectionsStatusRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIConnectionsStatusResponse (Extensions) +- (PAPIConnectionsStatusResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIConnectorPublicKey (Extensions) +- (PAPIConnectorPublicKey *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIConnectorRequestMetadata (Extensions) +- (PAPIConnectorRequestMetadata *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIConsoleUpdateProfileRequest (Extensions) +- (PAPIConsoleUpdateProfileRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIConsoleUpdateProfileResponse (Extensions) +- (PAPIConsoleUpdateProfileResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIContact (Extensions) +- (PAPIContact *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIContactConnection (Extensions) +- (PAPIContactConnection *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICopyGroupRequest (Extensions) +- (PAPICopyGroupRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICopyGroupResponse (Extensions) +- (PAPICopyGroupResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICreateContactRequest (Extensions) +- (PAPICreateContactRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICreateContactResponse (Extensions) +- (PAPICreateContactResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICreateContactsRequestContact (Extensions) +- (PAPICreateContactsRequestContact *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICreateContactsRequest (Extensions) +- (PAPICreateContactsRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICreateContactsResponse (Extensions) +- (PAPICreateContactsResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICreateCredentialIssuanceRequest (Extensions) +- (PAPICreateCredentialIssuanceRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICreateCredentialIssuanceResponse (Extensions) +- (PAPICreateCredentialIssuanceResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICreateCredentialType (Extensions) +- (PAPICreateCredentialType *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICreateCredentialTypeCategory (Extensions) +- (PAPICreateCredentialTypeCategory *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICreateCredentialTypeCategoryRequest (Extensions) +- (PAPICreateCredentialTypeCategoryRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICreateCredentialTypeCategoryResponse (Extensions) +- (PAPICreateCredentialTypeCategoryResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICreateCredentialTypeField (Extensions) +- (PAPICreateCredentialTypeField *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICreateCredentialTypeRequest (Extensions) +- (PAPICreateCredentialTypeRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICreateCredentialTypeResponse (Extensions) +- (PAPICreateCredentialTypeResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICreateDIDOperation (Extensions) +- (PAPICreateDIDOperation *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICreateDIDOutput (Extensions) +- (PAPICreateDIDOutput *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICreateGenericCredentialBulkRequest (Extensions) +- (PAPICreateGenericCredentialBulkRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICreateGenericCredentialBulkResponse (Extensions) +- (PAPICreateGenericCredentialBulkResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICreateGenericCredentialRequest (Extensions) +- (PAPICreateGenericCredentialRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICreateGenericCredentialResponse (Extensions) +- (PAPICreateGenericCredentialResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICreateGroupRequest (Extensions) +- (PAPICreateGroupRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICreateGroupResponse (Extensions) +- (PAPICreateGroupResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICredentialBatchData (Extensions) +- (PAPICredentialBatchData *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICredentialIssuanceContact (Extensions) +- (PAPICredentialIssuanceContact *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICredentialRevoked (Extensions) +- (PAPICredentialRevoked *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICredentialType (Extensions) +- (PAPICredentialType *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICredentialTypeCategory (Extensions) +- (PAPICredentialTypeCategory *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICredentialTypeField (Extensions) +- (PAPICredentialTypeField *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICredentialTypeWithRequiredFields (Extensions) +- (PAPICredentialTypeWithRequiredFields *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIDIDData (Extensions) +- (PAPIDIDData *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIDate (Extensions) +- (PAPIDate *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIDeleteContactRequest (Extensions) +- (PAPIDeleteContactRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIDeleteContactResponse (Extensions) +- (PAPIDeleteContactResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIDeleteCredentialsRequest (Extensions) +- (PAPIDeleteCredentialsRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIDeleteCredentialsResponse (Extensions) +- (PAPIDeleteCredentialsResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIDeleteGroupRequest (Extensions) +- (PAPIDeleteGroupRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIDeleteGroupResponse (Extensions) +- (PAPIDeleteGroupResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIECKeyData (Extensions) +- (PAPIECKeyData *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIEncodedPublicKey (Extensions) +- (PAPIEncodedPublicKey *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIEncryptedMessage (Extensions) +- (PAPIEncryptedMessage *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGenerateConnectionTokenForContactRequest (Extensions) +- (PAPIGenerateConnectionTokenForContactRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGenerateConnectionTokenForContactResponse (Extensions) +- (PAPIGenerateConnectionTokenForContactResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGenerateConnectionTokenRequest (Extensions) +- (PAPIGenerateConnectionTokenRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGenerateConnectionTokenResponse (Extensions) +- (PAPIGenerateConnectionTokenResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetBatchStateRequest (Extensions) +- (PAPIGetBatchStateRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetBatchStateResponse (Extensions) +- (PAPIGetBatchStateResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetBlockchainDataRequest (Extensions) +- (PAPIGetBlockchainDataRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetBlockchainDataResponse (Extensions) +- (PAPIGetBlockchainDataResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetBuildInfoRequest (Extensions) +- (PAPIGetBuildInfoRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetBuildInfoResponse (Extensions) +- (PAPIGetBuildInfoResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetConnectionByIdRequest (Extensions) +- (PAPIGetConnectionByIdRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetConnectionByIdResponse (Extensions) +- (PAPIGetConnectionByIdResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetConnectionByTokenRequest (Extensions) +- (PAPIGetConnectionByTokenRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetConnectionByTokenResponse (Extensions) +- (PAPIGetConnectionByTokenResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetConnectionCommunicationKeysRequest (Extensions) +- (PAPIGetConnectionCommunicationKeysRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetConnectionCommunicationKeysResponse (Extensions) +- (PAPIGetConnectionCommunicationKeysResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetConnectionTokenInfoRequest (Extensions) +- (PAPIGetConnectionTokenInfoRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetConnectionTokenInfoResponse (Extensions) +- (PAPIGetConnectionTokenInfoResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetConnectionsPaginatedRequest (Extensions) +- (PAPIGetConnectionsPaginatedRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetConnectionsPaginatedResponse (Extensions) +- (PAPIGetConnectionsPaginatedResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetConsoleCurrentUserRequest (Extensions) +- (PAPIGetConsoleCurrentUserRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetConsoleCurrentUserResponse (Extensions) +- (PAPIGetConsoleCurrentUserResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetContactCredentialsRequest (Extensions) +- (PAPIGetContactCredentialsRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetContactCredentialsResponse (Extensions) +- (PAPIGetContactCredentialsResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetContactRequest (Extensions) +- (PAPIGetContactRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetContactResponse (Extensions) +- (PAPIGetContactResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetContactsRequestFilterBy (Extensions) +- (PAPIGetContactsRequestFilterBy *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetContactsRequestSortBy (Extensions) +- (PAPIGetContactsRequestSortBy *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetContactsRequest (Extensions) +- (PAPIGetContactsRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetContactsResponseContactDetails (Extensions) +- (PAPIGetContactsResponseContactDetails *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetContactsResponse (Extensions) +- (PAPIGetContactsResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetCredentialIssuanceRequest (Extensions) +- (PAPIGetCredentialIssuanceRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetCredentialIssuanceResponse (Extensions) +- (PAPIGetCredentialIssuanceResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetCredentialRevocationTimeRequest (Extensions) +- (PAPIGetCredentialRevocationTimeRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetCredentialRevocationTimeResponse (Extensions) +- (PAPIGetCredentialRevocationTimeResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetCredentialTypeCategoriesRequest (Extensions) +- (PAPIGetCredentialTypeCategoriesRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetCredentialTypeCategoriesResponse (Extensions) +- (PAPIGetCredentialTypeCategoriesResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetCredentialTypeRequest (Extensions) +- (PAPIGetCredentialTypeRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetCredentialTypeResponse (Extensions) +- (PAPIGetCredentialTypeResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetCredentialTypesRequest (Extensions) +- (PAPIGetCredentialTypesRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetCredentialTypesResponse (Extensions) +- (PAPIGetCredentialTypesResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetCurrentUserRequest (Extensions) +- (PAPIGetCurrentUserRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetCurrentUserResponse (Extensions) +- (PAPIGetCurrentUserResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetDidDocumentRequest (Extensions) +- (PAPIGetDidDocumentRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetDidDocumentResponse (Extensions) +- (PAPIGetDidDocumentResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetGenericCredentialsRequestFilterBy (Extensions) +- (PAPIGetGenericCredentialsRequestFilterBy *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetGenericCredentialsRequestSortBy (Extensions) +- (PAPIGetGenericCredentialsRequestSortBy *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetGenericCredentialsRequest (Extensions) +- (PAPIGetGenericCredentialsRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetGenericCredentialsResponse (Extensions) +- (PAPIGetGenericCredentialsResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetGroupsRequestFilterBy (Extensions) +- (PAPIGetGroupsRequestFilterBy *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetGroupsRequestSortBy (Extensions) +- (PAPIGetGroupsRequestSortBy *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetGroupsRequest (Extensions) +- (PAPIGetGroupsRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetGroupsResponse (Extensions) +- (PAPIGetGroupsResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetLastSyncedBlockTimestampRequest (Extensions) +- (PAPIGetLastSyncedBlockTimestampRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetLastSyncedBlockTimestampResponse (Extensions) +- (PAPIGetLastSyncedBlockTimestampResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetLatestCredentialExternalIdRequest (Extensions) +- (PAPIGetLatestCredentialExternalIdRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetLatestCredentialExternalIdResponse (Extensions) +- (PAPIGetLatestCredentialExternalIdResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetLedgerDataRequest (Extensions) +- (PAPIGetLedgerDataRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetLedgerDataResponse (Extensions) +- (PAPIGetLedgerDataResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetMessageStreamRequest (Extensions) +- (PAPIGetMessageStreamRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetMessageStreamResponse (Extensions) +- (PAPIGetMessageStreamResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetMessagesForConnectionRequest (Extensions) +- (PAPIGetMessagesForConnectionRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetMessagesForConnectionResponse (Extensions) +- (PAPIGetMessagesForConnectionResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetMessagesPaginatedRequest (Extensions) +- (PAPIGetMessagesPaginatedRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetMessagesPaginatedResponse (Extensions) +- (PAPIGetMessagesPaginatedResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetNodeBuildInfoRequest (Extensions) +- (PAPIGetNodeBuildInfoRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetNodeBuildInfoResponse (Extensions) +- (PAPIGetNodeBuildInfoResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetOperationInfoRequest (Extensions) +- (PAPIGetOperationInfoRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetOperationInfoResponse (Extensions) +- (PAPIGetOperationInfoResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetStatisticsRequest (Extensions) +- (PAPIGetStatisticsRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetStatisticsResponse (Extensions) +- (PAPIGetStatisticsResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetStoredCredentialsForRequest (Extensions) +- (PAPIGetStoredCredentialsForRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetStoredCredentialsForResponse (Extensions) +- (PAPIGetStoredCredentialsForResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGroup (Extensions) +- (PAPIGroup *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIHealthCheckRequest (Extensions) +- (PAPIHealthCheckRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIHealthCheckResponse (Extensions) +- (PAPIHealthCheckResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIIssueCredentialBatchOperation (Extensions) +- (PAPIIssueCredentialBatchOperation *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIIssueCredentialBatchOutput (Extensions) +- (PAPIIssueCredentialBatchOutput *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPILedgerData_ (Extensions) +- (PAPILedgerData_ *)orDefault __attribute__((swift_name("orDefault()"))); +- (PAPILedgerData *)toModel __attribute__((swift_name("toModel()"))); +@end; + +@interface PAPIMarkAsArchivedCredentialTypeRequest (Extensions) +- (PAPIMarkAsArchivedCredentialTypeRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIMarkAsArchivedCredentialTypeResponse (Extensions) +- (PAPIMarkAsArchivedCredentialTypeResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIMarkAsReadyCredentialTypeRequest (Extensions) +- (PAPIMarkAsReadyCredentialTypeRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIMarkAsReadyCredentialTypeResponse (Extensions) +- (PAPIMarkAsReadyCredentialTypeResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIMessageToSendByConnectionToken (Extensions) +- (PAPIMessageToSendByConnectionToken *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIOperationOutput (Extensions) +- (PAPIOperationOutput *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIPlainTextCredential (Extensions) +- (PAPIPlainTextCredential *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIProofRequest (Extensions) +- (PAPIProofRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIProtocolVersionInfo (Extensions) +- (PAPIProtocolVersionInfo *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIProtocolVersionUpdateOperation (Extensions) +- (PAPIProtocolVersionUpdateOperation *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIProtocolVersionUpdateOutput (Extensions) +- (PAPIProtocolVersionUpdateOutput *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIPublishBatchRequest (Extensions) +- (PAPIPublishBatchRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIPublishBatchResponse (Extensions) +- (PAPIPublishBatchResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIReceivedMessage (Extensions) +- (PAPIReceivedMessage *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIRegisterConsoleDIDRequest (Extensions) +- (PAPIRegisterConsoleDIDRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIRegisterConsoleDIDResponse (Extensions) +- (PAPIRegisterConsoleDIDResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIRegisterDIDRequest (Extensions) +- (PAPIRegisterDIDRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIRegisterDIDResponse (Extensions) +- (PAPIRegisterDIDResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIRemoveKeyAction (Extensions) +- (PAPIRemoveKeyAction *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIRevokeConnectionRequest (Extensions) +- (PAPIRevokeConnectionRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIRevokeConnectionResponse (Extensions) +- (PAPIRevokeConnectionResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIRevokeCredentialsOperation (Extensions) +- (PAPIRevokeCredentialsOperation *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIRevokeCredentialsOutput (Extensions) +- (PAPIRevokeCredentialsOutput *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIRevokePublishedCredentialRequest (Extensions) +- (PAPIRevokePublishedCredentialRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIRevokePublishedCredentialResponse (Extensions) +- (PAPIRevokePublishedCredentialResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIScheduleOperationsRequest (Extensions) +- (PAPIScheduleOperationsRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIScheduleOperationsResponse (Extensions) +- (PAPIScheduleOperationsResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPISendMessageRequest (Extensions) +- (PAPISendMessageRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPISendMessageResponse (Extensions) +- (PAPISendMessageResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPISendMessagesRequest (Extensions) +- (PAPISendMessagesRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPISendMessagesResponse (Extensions) +- (PAPISendMessagesResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIShareCredentialRequest (Extensions) +- (PAPIShareCredentialRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIShareCredentialResponse (Extensions) +- (PAPIShareCredentialResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIShareCredentialsRequest (Extensions) +- (PAPIShareCredentialsRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIShareCredentialsResponse (Extensions) +- (PAPIShareCredentialsResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPISignedAtalaOperation (Extensions) +- (PAPISignedAtalaOperation *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIStatus (Extensions) +- (PAPIStatus *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIStoreCredentialRequest (Extensions) +- (PAPIStoreCredentialRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIStoreCredentialResponse (Extensions) +- (PAPIStoreCredentialResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIStorePublishedCredentialRequest (Extensions) +- (PAPIStorePublishedCredentialRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIStorePublishedCredentialResponse (Extensions) +- (PAPIStorePublishedCredentialResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIStoredSignedCredential (Extensions) +- (PAPIStoredSignedCredential *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPITimeInterval (Extensions) +- (PAPITimeInterval *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPITimestampInfo (Extensions) +- (PAPITimestampInfo *)orDefault __attribute__((swift_name("orDefault()"))); +- (PAPITimestampInfo_ *)toModel __attribute__((swift_name("toModel()"))); +@end; + +@interface PAPITransactionInfo (Extensions) +- (PAPITransactionInfo *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIUnArchiveCredentialTypeCategoryRequest (Extensions) +- (PAPIUnArchiveCredentialTypeCategoryRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIUnArchiveCredentialTypeCategoryResponse (Extensions) +- (PAPIUnArchiveCredentialTypeCategoryResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIUpdateContactRequest (Extensions) +- (PAPIUpdateContactRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIUpdateContactResponse (Extensions) +- (PAPIUpdateContactResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIUpdateCredentialType (Extensions) +- (PAPIUpdateCredentialType *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIUpdateCredentialTypeRequest (Extensions) +- (PAPIUpdateCredentialTypeRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIUpdateCredentialTypeResponse (Extensions) +- (PAPIUpdateCredentialTypeResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIUpdateDIDAction (Extensions) +- (PAPIUpdateDIDAction *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIUpdateDIDOperation (Extensions) +- (PAPIUpdateDIDOperation *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIUpdateDIDOutput (Extensions) +- (PAPIUpdateDIDOutput *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIUpdateGroupRequest (Extensions) +- (PAPIUpdateGroupRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIUpdateGroupResponse (Extensions) +- (PAPIUpdateGroupResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIUpdateProfileRequest (Extensions) +- (PAPIUpdateProfileRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIUpdateProfileResponse (Extensions) +- (PAPIUpdateProfileResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPILedger (Extensions) +- (int32_t)toModel __attribute__((swift_name("toModel()"))); +@end; + +@interface PAPILedgerData (Extensions) +- (PAPILedgerData_ *)toProto __attribute__((swift_name("toProto()"))); +@end; + +@interface PAPITimestampInfo_ (Extensions) +- (PAPITimestampInfo *)toProto __attribute__((swift_name("toProto()"))); +@end; + +@interface PAPIAny (Extensions) +- (PAPIAny *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIApi (Extensions) +- (PAPIApi *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIBoolValue (Extensions) +- (PAPIBoolValue *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIBytesValue (Extensions) +- (PAPIBytesValue *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIDescriptorProtoExtensionRange (Extensions) +- (PAPIDescriptorProtoExtensionRange *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIDescriptorProtoReservedRange (Extensions) +- (PAPIDescriptorProtoReservedRange *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIDescriptorProto (Extensions) +- (PAPIDescriptorProto *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIDoubleValue (Extensions) +- (PAPIDoubleValue *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIDuration (Extensions) +- (PAPIDuration *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIEmpty (Extensions) +- (PAPIEmpty *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIEnum (Extensions) +- (PAPIEnum *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIEnumDescriptorProtoEnumReservedRange (Extensions) +- (PAPIEnumDescriptorProtoEnumReservedRange *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIEnumDescriptorProto (Extensions) +- (PAPIEnumDescriptorProto *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIEnumOptions (Extensions) +- (PAPIEnumOptions *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIEnumValue (Extensions) +- (PAPIEnumValue *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIEnumValueDescriptorProto (Extensions) +- (PAPIEnumValueDescriptorProto *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIEnumValueOptions (Extensions) +- (PAPIEnumValueOptions *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIExtensionRangeOptions (Extensions) +- (PAPIExtensionRangeOptions *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIField (Extensions) +- (PAPIField *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIFieldDescriptorProto (Extensions) +- (PAPIFieldDescriptorProto *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIFieldMask (Extensions) +- (PAPIFieldMask *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIFieldOptions (Extensions) +- (PAPIFieldOptions *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIFileDescriptorProto (Extensions) +- (PAPIFileDescriptorProto *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIFileDescriptorSet (Extensions) +- (PAPIFileDescriptorSet *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIFileOptions (Extensions) +- (PAPIFileOptions *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIFloatValue (Extensions) +- (PAPIFloatValue *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGeneratedCodeInfoAnnotation (Extensions) +- (PAPIGeneratedCodeInfoAnnotation *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGeneratedCodeInfo (Extensions) +- (PAPIGeneratedCodeInfo *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIInt32Value (Extensions) +- (PAPIInt32Value *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIInt64Value (Extensions) +- (PAPIInt64Value *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIListValue (Extensions) +- (PAPIListValue *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIMessageOptions (Extensions) +- (PAPIMessageOptions *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIMethod (Extensions) +- (PAPIMethod *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIMethodDescriptorProto (Extensions) +- (PAPIMethodDescriptorProto *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIMethodOptions (Extensions) +- (PAPIMethodOptions *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIMixin (Extensions) +- (PAPIMixin *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIOneofDescriptorProto (Extensions) +- (PAPIOneofDescriptorProto *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIOneofOptions (Extensions) +- (PAPIOneofOptions *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIOption (Extensions) +- (PAPIOption *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIServiceDescriptorProto (Extensions) +- (PAPIServiceDescriptorProto *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIServiceOptions (Extensions) +- (PAPIServiceOptions *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPISourceCodeInfoLocation (Extensions) +- (PAPISourceCodeInfoLocation *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPISourceCodeInfo (Extensions) +- (PAPISourceCodeInfo *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPISourceContext (Extensions) +- (PAPISourceContext *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIStringValue (Extensions) +- (PAPIStringValue *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIStructFieldsEntry (Extensions) +- (PAPIStructFieldsEntry *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIStruct (Extensions) +- (PAPIStruct *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPITimestamp (Extensions) +- (PAPITimestamp *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIType (Extensions) +- (PAPIType *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIUInt32Value (Extensions) +- (PAPIUInt32Value *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIUInt64Value (Extensions) +- (PAPIUInt64Value *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIUninterpretedOptionNamePart (Extensions) +- (PAPIUninterpretedOptionNamePart *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIUninterpretedOption (Extensions) +- (PAPIUninterpretedOption *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIValue (Extensions) +- (PAPIValue *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIInstant (Extensions) +- (int32_t)daysUntilOther:(PAPIInstant *)other timeZone:(PAPITimeZone *)timeZone __attribute__((swift_name("daysUntil(other:timeZone:)"))); +- (PAPIInstant *)minusValue:(int32_t)value unit:(PAPIDateTimeUnit *)unit timeZone:(PAPITimeZone *)timeZone __attribute__((swift_name("minus(value:unit:timeZone:)"))); +- (PAPIInstant *)minusValue:(int32_t)value unit:(PAPIDateTimeUnitTimeBased *)unit __attribute__((swift_name("minus(value:unit:)"))); +- (PAPIInstant *)minusValue:(int64_t)value unit:(PAPIDateTimeUnit *)unit timeZone_:(PAPITimeZone *)timeZone __attribute__((swift_name("minus(value:unit:timeZone_:)"))); +- (PAPIInstant *)minusValue:(int64_t)value unit_:(PAPIDateTimeUnitTimeBased *)unit __attribute__((swift_name("minus(value:unit_:)"))); +- (PAPIInstant *)minusPeriod:(PAPIDateTimePeriod *)period timeZone:(PAPITimeZone *)timeZone __attribute__((swift_name("minus(period:timeZone:)"))); +- (PAPIInstant *)minusUnit:(PAPIDateTimeUnit *)unit timeZone:(PAPITimeZone *)timeZone __attribute__((swift_name("minus(unit:timeZone:)"))); +- (PAPIInstant *)minusUnit:(PAPIDateTimeUnitTimeBased *)unit __attribute__((swift_name("minus(unit:)"))); +- (int64_t)minusOther:(PAPIInstant *)other unit:(PAPIDateTimeUnit *)unit timeZone:(PAPITimeZone *)timeZone __attribute__((swift_name("minus(other:unit:timeZone:)"))); +- (int64_t)minusOther:(PAPIInstant *)other unit:(PAPIDateTimeUnitTimeBased *)unit __attribute__((swift_name("minus(other:unit:)"))); +- (PAPIDateTimePeriod *)minusOther:(PAPIInstant *)other timeZone:(PAPITimeZone *)timeZone __attribute__((swift_name("minus(other:timeZone:)"))); +- (int32_t)monthsUntilOther:(PAPIInstant *)other timeZone:(PAPITimeZone *)timeZone __attribute__((swift_name("monthsUntil(other:timeZone:)"))); +- (PAPIZoneOffset *)offsetInTimeZone:(PAPITimeZone *)timeZone __attribute__((swift_name("offsetIn(timeZone:)"))); +- (PAPIDateTimePeriod *)periodUntilOther:(PAPIInstant *)other timeZone:(PAPITimeZone *)timeZone __attribute__((swift_name("periodUntil(other:timeZone:)"))); +- (PAPIInstant *)plusValue:(int32_t)value unit:(PAPIDateTimeUnit *)unit timeZone:(PAPITimeZone *)timeZone __attribute__((swift_name("plus(value:unit:timeZone:)"))); +- (PAPIInstant *)plusValue:(int32_t)value unit:(PAPIDateTimeUnitTimeBased *)unit __attribute__((swift_name("plus(value:unit:)"))); +- (PAPIInstant *)plusValue:(int64_t)value unit:(PAPIDateTimeUnit *)unit timeZone_:(PAPITimeZone *)timeZone __attribute__((swift_name("plus(value:unit:timeZone_:)"))); +- (PAPIInstant *)plusValue:(int64_t)value unit_:(PAPIDateTimeUnitTimeBased *)unit __attribute__((swift_name("plus(value:unit_:)"))); +- (PAPIInstant *)plusPeriod:(PAPIDateTimePeriod *)period timeZone:(PAPITimeZone *)timeZone __attribute__((swift_name("plus(period:timeZone:)"))); +- (PAPIInstant *)plusUnit:(PAPIDateTimeUnit *)unit timeZone:(PAPITimeZone *)timeZone __attribute__((swift_name("plus(unit:timeZone:)"))); +- (PAPIInstant *)plusUnit:(PAPIDateTimeUnitTimeBased *)unit __attribute__((swift_name("plus(unit:)"))); +- (PAPILocalDateTime *)toLocalDateTimeTimeZone:(PAPITimeZone *)timeZone __attribute__((swift_name("toLocalDateTime(timeZone:)"))); +- (NSDate *)toNSDate __attribute__((swift_name("toNSDate()"))); +- (int64_t)untilOther:(PAPIInstant *)other unit:(PAPIDateTimeUnit *)unit timeZone:(PAPITimeZone *)timeZone __attribute__((swift_name("until(other:unit:timeZone:)"))); +- (int64_t)untilOther:(PAPIInstant *)other unit:(PAPIDateTimeUnitTimeBased *)unit __attribute__((swift_name("until(other:unit:)"))); +- (int32_t)yearsUntilOther:(PAPIInstant *)other timeZone:(PAPITimeZone *)timeZone __attribute__((swift_name("yearsUntil(other:timeZone:)"))); +@property (readonly) BOOL isDistantFuture __attribute__((swift_name("isDistantFuture"))); +@property (readonly) BOOL isDistantPast __attribute__((swift_name("isDistantPast"))); +@end; + +@interface PAPIDayOfWeek (Extensions) +@property (readonly) int32_t isoDayNumber __attribute__((swift_name("isoDayNumber"))); +@end; + +@interface PAPIMonth (Extensions) +@property (readonly) int32_t number __attribute__((swift_name("number"))); +@end; + +@interface PAPILocalDate (Extensions) +- (PAPIInstant *)atStartOfDayInTimeZone:(PAPITimeZone *)timeZone __attribute__((swift_name("atStartOfDayIn(timeZone:)"))); +- (PAPILocalDateTime *)atTimeHour:(int32_t)hour minute:(int32_t)minute second:(int32_t)second nanosecond:(int32_t)nanosecond __attribute__((swift_name("atTime(hour:minute:second:nanosecond:)"))); +- (int32_t)daysUntilOther:(PAPILocalDate *)other __attribute__((swift_name("daysUntil(other:)"))); +- (PAPILocalDate *)minusValue:(int32_t)value unit:(PAPIDateTimeUnitDateBased *)unit __attribute__((swift_name("minus(value:unit:)"))); +- (PAPILocalDate *)minusValue:(int64_t)value unit_:(PAPIDateTimeUnitDateBased *)unit __attribute__((swift_name("minus(value:unit_:)"))); +- (PAPILocalDate *)minusPeriod:(PAPIDatePeriod *)period __attribute__((swift_name("minus(period:)"))); +- (PAPILocalDate *)minusUnit:(PAPIDateTimeUnitDateBased *)unit __attribute__((swift_name("minus(unit:)"))); +- (PAPIDatePeriod *)minusOther:(PAPILocalDate *)other __attribute__((swift_name("minus(other:)"))); +- (int32_t)monthsUntilOther:(PAPILocalDate *)other __attribute__((swift_name("monthsUntil(other:)"))); +- (PAPIDatePeriod *)periodUntilOther:(PAPILocalDate *)other __attribute__((swift_name("periodUntil(other:)"))); +- (PAPILocalDate *)plusValue:(int32_t)value unit:(PAPIDateTimeUnitDateBased *)unit __attribute__((swift_name("plus(value:unit:)"))); +- (PAPILocalDate *)plusValue:(int64_t)value unit_:(PAPIDateTimeUnitDateBased *)unit __attribute__((swift_name("plus(value:unit_:)"))); +- (PAPILocalDate *)plusPeriod:(PAPIDatePeriod *)period __attribute__((swift_name("plus(period:)"))); +- (PAPILocalDate *)plusUnit:(PAPIDateTimeUnitDateBased *)unit __attribute__((swift_name("plus(unit:)"))); +- (NSDateComponents *)toNSDateComponents __attribute__((swift_name("toNSDateComponents()"))); +- (int32_t)untilOther:(PAPILocalDate *)other unit:(PAPIDateTimeUnitDateBased *)unit __attribute__((swift_name("until(other:unit:)"))); +- (int32_t)yearsUntilOther:(PAPILocalDate *)other __attribute__((swift_name("yearsUntil(other:)"))); +@end; + +@interface PAPITimeZone (Extensions) +- (PAPIZoneOffset *)offsetAtInstant:(PAPIInstant *)instant __attribute__((swift_name("offsetAt(instant:)"))); +- (NSTimeZone *)toNSTimeZone __attribute__((swift_name("toNSTimeZone()"))); +@end; + +@interface PAPIDatePeriod (Extensions) +- (PAPIDatePeriod *)plusOther:(PAPIDatePeriod *)other __attribute__((swift_name("plus(other:)"))); +@end; + +@interface PAPIDateTimePeriod (Extensions) +- (PAPIDateTimePeriod *)plusOther__:(PAPIDateTimePeriod *)other __attribute__((swift_name("plus(other__:)"))); +@end; + +@interface PAPILocalDateTime (Extensions) +- (PAPIInstant *)toInstantTimeZone:(PAPITimeZone *)timeZone __attribute__((swift_name("toInstant(timeZone:)"))); +- (NSDateComponents *)toNSDateComponents __attribute__((swift_name("toNSDateComponents()"))); +@end; + +@interface PAPIUuid (Extensions) +@property (readonly) PAPIKotlinByteArray *bytes __attribute__((swift_name("bytes"))); +@property (readonly) PAPIKotlinByteArray *uuid __attribute__((swift_name("uuid"))) __attribute__((deprecated("Use uuidFrom() instead. This will be removed in the next release."))); +@property (readonly) int32_t variant __attribute__((swift_name("variant"))); +@property (readonly) int32_t version __attribute__((swift_name("version"))); +@end; + +@interface PAPIJsonPrimitive (Extensions) +@property (readonly) BOOL boolean __attribute__((swift_name("boolean"))); +@property (readonly) PAPIBoolean * _Nullable booleanOrNull __attribute__((swift_name("booleanOrNull"))); +@property (readonly) NSString * _Nullable contentOrNull __attribute__((swift_name("contentOrNull"))); +@property (readonly, getter=double) double double_ __attribute__((swift_name("double_"))); +@property (readonly) PAPIDouble * _Nullable doubleOrNull __attribute__((swift_name("doubleOrNull"))); +@property (readonly, getter=float) float float_ __attribute__((swift_name("float_"))); +@property (readonly) PAPIFloat * _Nullable floatOrNull __attribute__((swift_name("floatOrNull"))); +@property (readonly, getter=int) int32_t int_ __attribute__((swift_name("int_"))); +@property (readonly) PAPIInt * _Nullable intOrNull __attribute__((swift_name("intOrNull"))); +@property (readonly, getter=long) int64_t long_ __attribute__((swift_name("long_"))); +@property (readonly) PAPILong * _Nullable longOrNull __attribute__((swift_name("longOrNull"))); +@end; + +@interface PAPIJsonElement (Extensions) +@property (readonly) NSArray *jsonArray __attribute__((swift_name("jsonArray"))); +@property (readonly) PAPIJsonNull *jsonNull __attribute__((swift_name("jsonNull"))); +@property (readonly) NSDictionary *jsonObject __attribute__((swift_name("jsonObject"))); +@property (readonly) PAPIJsonPrimitive *jsonPrimitive __attribute__((swift_name("jsonPrimitive"))); +@end; + +@interface PAPIJsonArrayBuilder (Extensions) +- (BOOL)addValue:(PAPIBoolean * _Nullable)value __attribute__((swift_name("add(value:)"))); +- (BOOL)addValue_:(id _Nullable)value __attribute__((swift_name("add(value_:)"))); +- (BOOL)addValue__:(NSString * _Nullable)value __attribute__((swift_name("add(value__:)"))); +- (BOOL)addJsonArrayBuilderAction:(void (^)(PAPIJsonArrayBuilder *))builderAction __attribute__((swift_name("addJsonArray(builderAction:)"))); +- (BOOL)addJsonObjectBuilderAction:(void (^)(PAPIJsonObjectBuilder *))builderAction __attribute__((swift_name("addJsonObject(builderAction:)"))); +@end; + +@interface PAPIJson (Extensions) +- (id _Nullable)decodeFromJsonElementJson:(PAPIJsonElement *)json __attribute__((swift_name("decodeFromJsonElement(json:)"))); +- (PAPIJsonElement *)encodeToJsonElementValue:(id _Nullable)value __attribute__((swift_name("encodeToJsonElement(value:)"))); +@end; + +@interface PAPIJsonObjectBuilder (Extensions) +- (PAPIJsonElement * _Nullable)putKey:(NSString *)key value:(PAPIBoolean * _Nullable)value __attribute__((swift_name("put(key:value:)"))); +- (PAPIJsonElement * _Nullable)putKey:(NSString *)key value_:(id _Nullable)value __attribute__((swift_name("put(key:value_:)"))); +- (PAPIJsonElement * _Nullable)putKey:(NSString *)key value__:(NSString * _Nullable)value __attribute__((swift_name("put(key:value__:)"))); +- (PAPIJsonElement * _Nullable)putJsonArrayKey:(NSString *)key builderAction:(void (^)(PAPIJsonArrayBuilder *))builderAction __attribute__((swift_name("putJsonArray(key:builderAction:)"))); +- (PAPIJsonElement * _Nullable)putJsonObjectKey:(NSString *)key builderAction:(void (^)(PAPIJsonObjectBuilder *))builderAction __attribute__((swift_name("putJsonObject(key:builderAction:)"))); +@end; + +@interface PAPIByteChannelSequentialBase (Extensions) + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)doCopyToDst:(PAPIByteChannelSequentialBase *)dst limit:(int64_t)limit completionHandler:(void (^)(PAPILong * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("doCopyTo(dst:limit:completionHandler:)"))) __attribute__((unavailable("This is going to become internal. Use ByteReadChannel receiver instead."))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)joinToDst:(PAPIByteChannelSequentialBase *)dst closeOnEnd:(BOOL)closeOnEnd completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("joinTo(dst:closeOnEnd:completionHandler:)"))) __attribute__((unavailable("This is going to become internal. Use ByteReadChannel receiver instead."))); +@end; + +@interface PAPIKotlinThrowable (Extensions) +- (void)printStack __attribute__((swift_name("printStack()"))); +@end; + +@interface PAPIMemory (Extensions) +- (void)doCopyToDestination:(PAPIKotlinByteArray *)destination offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("doCopyTo(destination:offset:length:)"))); +- (void)doCopyToDestination:(PAPIKotlinByteArray *)destination offset:(int32_t)offset length:(int32_t)length destinationOffset__:(int32_t)destinationOffset __attribute__((swift_name("doCopyTo(destination:offset:length:destinationOffset__:)"))); +- (void)doCopyToDestination:(PAPIKotlinByteArray *)destination offset:(int64_t)offset length_:(int32_t)length __attribute__((swift_name("doCopyTo(destination:offset:length_:)"))); +- (void)doCopyToDestination:(PAPIKotlinByteArray *)destination offset:(int64_t)offset length:(int32_t)length destinationOffset___:(int32_t)destinationOffset __attribute__((swift_name("doCopyTo(destination:offset:length:destinationOffset___:)"))); +- (void)doCopyToDestination:(void *)destination offset:(int32_t)offset length:(int32_t)length destinationOffset____:(int32_t)destinationOffset __attribute__((swift_name("doCopyTo(destination:offset:length:destinationOffset____:)"))); +- (void)doCopyToDestination:(void *)destination offset:(int64_t)offset length:(int64_t)length destinationOffset_____:(int64_t)destinationOffset __attribute__((swift_name("doCopyTo(destination:offset:length:destinationOffset_____:)"))); +- (void)fillOffset:(int32_t)offset count:(int32_t)count value:(int8_t)value __attribute__((swift_name("fill(offset:count:value:)"))); +- (void)fillOffset:(int64_t)offset count:(int64_t)count value_:(int8_t)value __attribute__((swift_name("fill(offset:count:value_:)"))); +- (int8_t)getIndex:(int32_t)index __attribute__((swift_name("get(index:)"))); +- (int8_t)getIndex_:(int64_t)index __attribute__((swift_name("get(index_:)"))); +- (void)loadByteArrayOffset:(int32_t)offset destination:(PAPIKotlinByteArray *)destination destinationOffset:(int32_t)destinationOffset count:(int32_t)count __attribute__((swift_name("loadByteArray(offset:destination:destinationOffset:count:)"))); +- (void)loadByteArrayOffset:(int64_t)offset destination:(PAPIKotlinByteArray *)destination destinationOffset:(int32_t)destinationOffset count_:(int32_t)count __attribute__((swift_name("loadByteArray(offset:destination:destinationOffset:count_:)"))); +- (void)loadDoubleArrayOffset:(int32_t)offset destination:(PAPIKotlinDoubleArray *)destination destinationOffset:(int32_t)destinationOffset count:(int32_t)count __attribute__((swift_name("loadDoubleArray(offset:destination:destinationOffset:count:)"))); +- (void)loadDoubleArrayOffset:(int64_t)offset destination:(PAPIKotlinDoubleArray *)destination destinationOffset:(int32_t)destinationOffset count_:(int32_t)count __attribute__((swift_name("loadDoubleArray(offset:destination:destinationOffset:count_:)"))); +- (double)loadDoubleAtOffset:(int32_t)offset __attribute__((swift_name("loadDoubleAt(offset:)"))); +- (double)loadDoubleAtOffset_:(int64_t)offset __attribute__((swift_name("loadDoubleAt(offset_:)"))); +- (void)loadFloatArrayOffset:(int32_t)offset destination:(PAPIKotlinFloatArray *)destination destinationOffset:(int32_t)destinationOffset count:(int32_t)count __attribute__((swift_name("loadFloatArray(offset:destination:destinationOffset:count:)"))); +- (void)loadFloatArrayOffset:(int64_t)offset destination:(PAPIKotlinFloatArray *)destination destinationOffset:(int32_t)destinationOffset count_:(int32_t)count __attribute__((swift_name("loadFloatArray(offset:destination:destinationOffset:count_:)"))); +- (float)loadFloatAtOffset:(int32_t)offset __attribute__((swift_name("loadFloatAt(offset:)"))); +- (float)loadFloatAtOffset_:(int64_t)offset __attribute__((swift_name("loadFloatAt(offset_:)"))); +- (void)loadIntArrayOffset:(int32_t)offset destination:(PAPIKotlinIntArray *)destination destinationOffset:(int32_t)destinationOffset count:(int32_t)count __attribute__((swift_name("loadIntArray(offset:destination:destinationOffset:count:)"))); +- (void)loadIntArrayOffset:(int64_t)offset destination:(PAPIKotlinIntArray *)destination destinationOffset:(int32_t)destinationOffset count_:(int32_t)count __attribute__((swift_name("loadIntArray(offset:destination:destinationOffset:count_:)"))); +- (int32_t)loadIntAtOffset:(int32_t)offset __attribute__((swift_name("loadIntAt(offset:)"))); +- (int32_t)loadIntAtOffset_:(int64_t)offset __attribute__((swift_name("loadIntAt(offset_:)"))); +- (void)loadLongArrayOffset:(int32_t)offset destination:(PAPIKotlinLongArray *)destination destinationOffset:(int32_t)destinationOffset count:(int32_t)count __attribute__((swift_name("loadLongArray(offset:destination:destinationOffset:count:)"))); +- (void)loadLongArrayOffset:(int64_t)offset destination:(PAPIKotlinLongArray *)destination destinationOffset:(int32_t)destinationOffset count_:(int32_t)count __attribute__((swift_name("loadLongArray(offset:destination:destinationOffset:count_:)"))); +- (int64_t)loadLongAtOffset:(int32_t)offset __attribute__((swift_name("loadLongAt(offset:)"))); +- (int64_t)loadLongAtOffset_:(int64_t)offset __attribute__((swift_name("loadLongAt(offset_:)"))); +- (void)loadShortArrayOffset:(int32_t)offset destination:(PAPIKotlinShortArray *)destination destinationOffset:(int32_t)destinationOffset count:(int32_t)count __attribute__((swift_name("loadShortArray(offset:destination:destinationOffset:count:)"))); +- (void)loadShortArrayOffset:(int64_t)offset destination:(PAPIKotlinShortArray *)destination destinationOffset:(int32_t)destinationOffset count_:(int32_t)count __attribute__((swift_name("loadShortArray(offset:destination:destinationOffset:count_:)"))); +- (int16_t)loadShortAtOffset:(int32_t)offset __attribute__((swift_name("loadShortAt(offset:)"))); +- (int16_t)loadShortAtOffset_:(int64_t)offset __attribute__((swift_name("loadShortAt(offset_:)"))); +- (void)loadUByteArrayOffset:(int32_t)offset destination:(id)destination destinationOffset:(int32_t)destinationOffset count:(int32_t)count __attribute__((swift_name("loadUByteArray(offset:destination:destinationOffset:count:)"))); +- (void)loadUByteArrayOffset:(int64_t)offset destination:(id)destination destinationOffset:(int32_t)destinationOffset count_:(int32_t)count __attribute__((swift_name("loadUByteArray(offset:destination:destinationOffset:count_:)"))); +- (void)loadUIntArrayOffset:(int32_t)offset destination:(id)destination destinationOffset:(int32_t)destinationOffset count:(int32_t)count __attribute__((swift_name("loadUIntArray(offset:destination:destinationOffset:count:)"))); +- (void)loadUIntArrayOffset:(int64_t)offset destination:(id)destination destinationOffset:(int32_t)destinationOffset count_:(int32_t)count __attribute__((swift_name("loadUIntArray(offset:destination:destinationOffset:count_:)"))); +- (uint32_t)loadUIntAtOffset:(int32_t)offset __attribute__((swift_name("loadUIntAt(offset:)"))); +- (uint32_t)loadUIntAtOffset_:(int64_t)offset __attribute__((swift_name("loadUIntAt(offset_:)"))); +- (void)loadULongArrayOffset:(int32_t)offset destination:(id)destination destinationOffset:(int32_t)destinationOffset count:(int32_t)count __attribute__((swift_name("loadULongArray(offset:destination:destinationOffset:count:)"))); +- (void)loadULongArrayOffset:(int64_t)offset destination:(id)destination destinationOffset:(int32_t)destinationOffset count_:(int32_t)count __attribute__((swift_name("loadULongArray(offset:destination:destinationOffset:count_:)"))); +- (uint64_t)loadULongAtOffset:(int32_t)offset __attribute__((swift_name("loadULongAt(offset:)"))); +- (uint64_t)loadULongAtOffset_:(int64_t)offset __attribute__((swift_name("loadULongAt(offset_:)"))); +- (void)loadUShortArrayOffset:(int32_t)offset destination:(id)destination destinationOffset:(int32_t)destinationOffset count:(int32_t)count __attribute__((swift_name("loadUShortArray(offset:destination:destinationOffset:count:)"))); +- (void)loadUShortArrayOffset:(int64_t)offset destination:(id)destination destinationOffset:(int32_t)destinationOffset count_:(int32_t)count __attribute__((swift_name("loadUShortArray(offset:destination:destinationOffset:count_:)"))); +- (uint16_t)loadUShortAtOffset:(int32_t)offset __attribute__((swift_name("loadUShortAt(offset:)"))); +- (uint16_t)loadUShortAtOffset_:(int64_t)offset __attribute__((swift_name("loadUShortAt(offset_:)"))); +- (void)setIndex:(int32_t)index value:(int8_t)value __attribute__((swift_name("set(index:value:)"))); +- (void)setIndex:(int64_t)index value_:(int8_t)value __attribute__((swift_name("set(index:value_:)"))); +- (void)storeAtIndex:(int32_t)index value__:(uint8_t)value __attribute__((swift_name("storeAt(index:value__:)"))); +- (void)storeAtIndex:(int64_t)index value___:(uint8_t)value __attribute__((swift_name("storeAt(index:value___:)"))); +- (void)storeByteArrayOffset:(int32_t)offset source:(PAPIKotlinByteArray *)source sourceOffset:(int32_t)sourceOffset count:(int32_t)count __attribute__((swift_name("storeByteArray(offset:source:sourceOffset:count:)"))); +- (void)storeByteArrayOffset:(int64_t)offset source:(PAPIKotlinByteArray *)source sourceOffset:(int32_t)sourceOffset count_:(int32_t)count __attribute__((swift_name("storeByteArray(offset:source:sourceOffset:count_:)"))); +- (void)storeDoubleArrayOffset:(int32_t)offset source:(PAPIKotlinDoubleArray *)source sourceOffset:(int32_t)sourceOffset count:(int32_t)count __attribute__((swift_name("storeDoubleArray(offset:source:sourceOffset:count:)"))); +- (void)storeDoubleArrayOffset:(int64_t)offset source:(PAPIKotlinDoubleArray *)source sourceOffset:(int32_t)sourceOffset count_:(int32_t)count __attribute__((swift_name("storeDoubleArray(offset:source:sourceOffset:count_:)"))); +- (void)storeDoubleAtOffset:(int32_t)offset value:(double)value __attribute__((swift_name("storeDoubleAt(offset:value:)"))); +- (void)storeDoubleAtOffset:(int64_t)offset value_:(double)value __attribute__((swift_name("storeDoubleAt(offset:value_:)"))); +- (void)storeFloatArrayOffset:(int32_t)offset source:(PAPIKotlinFloatArray *)source sourceOffset:(int32_t)sourceOffset count:(int32_t)count __attribute__((swift_name("storeFloatArray(offset:source:sourceOffset:count:)"))); +- (void)storeFloatArrayOffset:(int64_t)offset source:(PAPIKotlinFloatArray *)source sourceOffset:(int32_t)sourceOffset count_:(int32_t)count __attribute__((swift_name("storeFloatArray(offset:source:sourceOffset:count_:)"))); +- (void)storeFloatAtOffset:(int32_t)offset value:(float)value __attribute__((swift_name("storeFloatAt(offset:value:)"))); +- (void)storeFloatAtOffset:(int64_t)offset value_:(float)value __attribute__((swift_name("storeFloatAt(offset:value_:)"))); +- (void)storeIntArrayOffset:(int32_t)offset source:(PAPIKotlinIntArray *)source sourceOffset:(int32_t)sourceOffset count:(int32_t)count __attribute__((swift_name("storeIntArray(offset:source:sourceOffset:count:)"))); +- (void)storeIntArrayOffset:(int64_t)offset source:(PAPIKotlinIntArray *)source sourceOffset:(int32_t)sourceOffset count_:(int32_t)count __attribute__((swift_name("storeIntArray(offset:source:sourceOffset:count_:)"))); +- (void)storeIntAtOffset:(int32_t)offset value:(int32_t)value __attribute__((swift_name("storeIntAt(offset:value:)"))); +- (void)storeIntAtOffset:(int64_t)offset value_:(int32_t)value __attribute__((swift_name("storeIntAt(offset:value_:)"))); +- (void)storeLongArrayOffset:(int32_t)offset source:(PAPIKotlinLongArray *)source sourceOffset:(int32_t)sourceOffset count:(int32_t)count __attribute__((swift_name("storeLongArray(offset:source:sourceOffset:count:)"))); +- (void)storeLongArrayOffset:(int64_t)offset source:(PAPIKotlinLongArray *)source sourceOffset:(int32_t)sourceOffset count_:(int32_t)count __attribute__((swift_name("storeLongArray(offset:source:sourceOffset:count_:)"))); +- (void)storeLongAtOffset:(int32_t)offset value:(int64_t)value __attribute__((swift_name("storeLongAt(offset:value:)"))); +- (void)storeLongAtOffset:(int64_t)offset value_:(int64_t)value __attribute__((swift_name("storeLongAt(offset:value_:)"))); +- (void)storeShortArrayOffset:(int32_t)offset source:(PAPIKotlinShortArray *)source sourceOffset:(int32_t)sourceOffset count:(int32_t)count __attribute__((swift_name("storeShortArray(offset:source:sourceOffset:count:)"))); +- (void)storeShortArrayOffset:(int64_t)offset source:(PAPIKotlinShortArray *)source sourceOffset:(int32_t)sourceOffset count_:(int32_t)count __attribute__((swift_name("storeShortArray(offset:source:sourceOffset:count_:)"))); +- (void)storeShortAtOffset:(int32_t)offset value:(int16_t)value __attribute__((swift_name("storeShortAt(offset:value:)"))); +- (void)storeShortAtOffset:(int64_t)offset value_:(int16_t)value __attribute__((swift_name("storeShortAt(offset:value_:)"))); +- (void)storeUByteArrayOffset:(int32_t)offset source:(id)source sourceOffset:(int32_t)sourceOffset count:(int32_t)count __attribute__((swift_name("storeUByteArray(offset:source:sourceOffset:count:)"))); +- (void)storeUByteArrayOffset:(int64_t)offset source:(id)source sourceOffset:(int32_t)sourceOffset count_:(int32_t)count __attribute__((swift_name("storeUByteArray(offset:source:sourceOffset:count_:)"))); +- (void)storeUIntArrayOffset:(int32_t)offset source:(id)source sourceOffset:(int32_t)sourceOffset count:(int32_t)count __attribute__((swift_name("storeUIntArray(offset:source:sourceOffset:count:)"))); +- (void)storeUIntArrayOffset:(int64_t)offset source:(id)source sourceOffset:(int32_t)sourceOffset count_:(int32_t)count __attribute__((swift_name("storeUIntArray(offset:source:sourceOffset:count_:)"))); +- (void)storeUIntAtOffset:(int32_t)offset value:(uint32_t)value __attribute__((swift_name("storeUIntAt(offset:value:)"))); +- (void)storeUIntAtOffset:(int64_t)offset value_:(uint32_t)value __attribute__((swift_name("storeUIntAt(offset:value_:)"))); +- (void)storeULongArrayOffset:(int32_t)offset source:(id)source sourceOffset:(int32_t)sourceOffset count:(int32_t)count __attribute__((swift_name("storeULongArray(offset:source:sourceOffset:count:)"))); +- (void)storeULongArrayOffset:(int64_t)offset source:(id)source sourceOffset:(int32_t)sourceOffset count_:(int32_t)count __attribute__((swift_name("storeULongArray(offset:source:sourceOffset:count_:)"))); +- (void)storeULongAtOffset:(int32_t)offset value:(uint64_t)value __attribute__((swift_name("storeULongAt(offset:value:)"))); +- (void)storeULongAtOffset:(int64_t)offset value_:(uint64_t)value __attribute__((swift_name("storeULongAt(offset:value_:)"))); +- (void)storeUShortArrayOffset:(int32_t)offset source:(id)source sourceOffset:(int32_t)sourceOffset count:(int32_t)count __attribute__((swift_name("storeUShortArray(offset:source:sourceOffset:count:)"))); +- (void)storeUShortArrayOffset:(int64_t)offset source:(id)source sourceOffset:(int32_t)sourceOffset count_:(int32_t)count __attribute__((swift_name("storeUShortArray(offset:source:sourceOffset:count_:)"))); +- (void)storeUShortAtOffset:(int32_t)offset value:(uint16_t)value __attribute__((swift_name("storeUShortAt(offset:value:)"))); +- (void)storeUShortAtOffset:(int64_t)offset value_:(uint16_t)value __attribute__((swift_name("storeUShortAt(offset:value_:)"))); +@end; + +@interface PAPIMemoryCompanion (Extensions) +- (PAPIMemory *)ofPointer:(void *)pointer size:(int32_t)size __attribute__((swift_name("of(pointer:size:)"))); +- (PAPIMemory *)ofPointer:(void *)pointer size_:(int64_t)size __attribute__((swift_name("of(pointer:size_:)"))); +- (PAPIMemory *)ofPointer:(void *)pointer size__:(uint64_t)size __attribute__((swift_name("of(pointer:size__:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinByteArray"))) +@interface PAPIKotlinByteArray : PAPIBase ++ (instancetype)arrayWithSize:(int32_t)size __attribute__((swift_name("init(size:)"))); ++ (instancetype)arrayWithSize:(int32_t)size init:(PAPIByte *(^)(PAPIInt *))init __attribute__((swift_name("init(size:init:)"))); ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (int8_t)getIndex:(int32_t)index __attribute__((swift_name("get(index:)"))); +- (PAPIKotlinByteIterator *)iterator __attribute__((swift_name("iterator()"))); +- (void)setIndex:(int32_t)index value:(int8_t)value __attribute__((swift_name("set(index:value:)"))); +@property (readonly) int32_t size __attribute__((swift_name("size"))); +@end; + +@interface PAPIKotlinByteArray (Extensions) +- (id _Nullable)useMemoryOffset:(int32_t)offset length:(int32_t)length block:(id _Nullable (^)(PAPIMemory *))block __attribute__((swift_name("useMemory(offset:length:block:)"))); +- (id)hashAlgo:(PAPIHasherFactory *)algo __attribute__((swift_name("hash(algo:)"))); +- (id)md4 __attribute__((swift_name("md4()"))); +- (id)md5 __attribute__((swift_name("md5()"))); +- (id)sha1 __attribute__((swift_name("sha1()"))); +- (id)sha256 __attribute__((swift_name("sha256()"))); +- (NSString *)toBase64Url:(BOOL)url doPadding:(BOOL)doPadding __attribute__((swift_name("toBase64(url:doPadding:)"))); +- (PAPIByteVector *)byteVector __attribute__((swift_name("byteVector()"))); +- (PAPIByteVector32 *)byteVector32 __attribute__((swift_name("byteVector32()"))); +- (PAPIByteVector64 *)byteVector64 __attribute__((swift_name("byteVector64()"))); +@property (readonly) NSString *ascii __attribute__((swift_name("ascii"))); +@property (readonly) NSString *base64 __attribute__((swift_name("base64"))); +@property (readonly) NSString *base64Url __attribute__((swift_name("base64Url"))); +@property (readonly) NSString *hex __attribute__((swift_name("hex"))); +@property (readonly) NSString *hexLower __attribute__((swift_name("hexLower"))); +@property (readonly) NSString *hexUpper __attribute__((swift_name("hexUpper"))); +@end; + +@interface PAPIBuffer (Extensions) +- (PAPIBuffer *)appendC:(unichar)c __attribute__((swift_name("append(c:)"))) __attribute__((deprecated("This is no longer supported. Use a packet builder to append characters instead."))); +- (PAPIBuffer *)appendCsq:(PAPIKotlinCharArray *)csq start:(int32_t)start end_:(int32_t)end __attribute__((swift_name("append(csq:start:end_:)"))) __attribute__((deprecated("This is no longer supported. Use a packet builder to append characters instead."))); +- (PAPIBuffer *)appendCsq:(id _Nullable)csq __attribute__((swift_name("append(csq:)"))) __attribute__((deprecated("This is no longer supported. Use a packet builder to append characters instead."))); +- (PAPIBuffer *)appendCsq:(id _Nullable)csq start:(int32_t)start end__:(int32_t)end __attribute__((swift_name("append(csq:start:end__:)"))) __attribute__((deprecated("This is no longer supported. Use a packet builder to append characters instead."))); +- (BOOL)canRead __attribute__((swift_name("canRead()"))); +- (BOOL)canWrite __attribute__((swift_name("canWrite()"))); +- (void)fillTimes:(int32_t)times value:(int8_t)value __attribute__((swift_name("fill(times:value:)"))); +- (void)fillTimes:(int32_t)times value_:(uint8_t)value __attribute__((swift_name("fill(times:value_:)"))); +- (void)fillN:(int64_t)n v:(int8_t)v __attribute__((swift_name("fill(n:v:)"))) __attribute__((deprecated("Use fill with n with type Int"))); +- (void)flush_ __attribute__((swift_name("flush_()"))) __attribute__((deprecated("Does nothing."))); +- (void)forEachBlock:(void (^)(PAPIByte *))block __attribute__((swift_name("forEach(block:)"))); +- (PAPIBuffer *)makeView_ __attribute__((swift_name("makeView_()"))) __attribute__((deprecated("Use duplicate instead"))); +- (void)pushBackN:(int32_t)n __attribute__((swift_name("pushBack(n:)"))) __attribute__((deprecated("Use rewind instead"))); +- (int32_t)readBlock:(PAPIInt *(^)(PAPIMemory *, PAPIInt *, PAPIInt *))block __attribute__((swift_name("read(block:)"))); +- (int32_t)readAvailableDst:(PAPIBuffer *)dst length:(int32_t)length __attribute__((swift_name("readAvailable(dst:length:)"))); +- (int32_t)readAvailableDestination:(PAPIKotlinByteArray *)destination offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("readAvailable(destination:offset:length:)"))); +- (int32_t)readAvailableDestination:(PAPIKotlinDoubleArray *)destination offset:(int32_t)offset length_:(int32_t)length __attribute__((swift_name("readAvailable(destination:offset:length_:)"))); +- (int32_t)readAvailableDestination:(PAPIKotlinFloatArray *)destination offset:(int32_t)offset length__:(int32_t)length __attribute__((swift_name("readAvailable(destination:offset:length__:)"))); +- (int32_t)readAvailableDestination:(PAPIKotlinIntArray *)destination offset:(int32_t)offset length___:(int32_t)length __attribute__((swift_name("readAvailable(destination:offset:length___:)"))); +- (int32_t)readAvailableDestination:(PAPIKotlinLongArray *)destination offset:(int32_t)offset length____:(int32_t)length __attribute__((swift_name("readAvailable(destination:offset:length____:)"))); +- (int32_t)readAvailableDestination:(PAPIKotlinShortArray *)destination offset:(int32_t)offset length_____:(int32_t)length __attribute__((swift_name("readAvailable(destination:offset:length_____:)"))); +- (int32_t)readAvailableDestination:(id)destination offset:(int32_t)offset length______:(int32_t)length __attribute__((swift_name("readAvailable(destination:offset:length______:)"))); +- (int32_t)readAvailableDestination:(id)destination offset:(int32_t)offset length_______:(int32_t)length __attribute__((swift_name("readAvailable(destination:offset:length_______:)"))); +- (int32_t)readAvailableDestination:(id)destination offset:(int32_t)offset length________:(int32_t)length __attribute__((swift_name("readAvailable(destination:offset:length________:)"))); +- (int32_t)readAvailableDestination:(id)destination offset:(int32_t)offset length_________:(int32_t)length __attribute__((swift_name("readAvailable(destination:offset:length_________:)"))); +- (int32_t)readAvailablePointer:(void *)pointer offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("readAvailable(pointer:offset:length:)"))); +- (int32_t)readAvailablePointer:(void *)pointer offset:(int64_t)offset length_:(int32_t)length __attribute__((swift_name("readAvailable(pointer:offset:length_:)"))); +- (int32_t)readAvailableLittleEndianDst:(PAPIKotlinDoubleArray *)dst offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("readAvailableLittleEndian(dst:offset:length:)"))); +- (int32_t)readAvailableLittleEndianDst:(PAPIKotlinFloatArray *)dst offset:(int32_t)offset length_:(int32_t)length __attribute__((swift_name("readAvailableLittleEndian(dst:offset:length_:)"))); +- (int32_t)readAvailableLittleEndianDst:(PAPIKotlinIntArray *)dst offset:(int32_t)offset length__:(int32_t)length __attribute__((swift_name("readAvailableLittleEndian(dst:offset:length__:)"))); +- (int32_t)readAvailableLittleEndianDst:(PAPIKotlinLongArray *)dst offset:(int32_t)offset length___:(int32_t)length __attribute__((swift_name("readAvailableLittleEndian(dst:offset:length___:)"))); +- (int32_t)readAvailableLittleEndianDst:(PAPIKotlinShortArray *)dst offset:(int32_t)offset length____:(int32_t)length __attribute__((swift_name("readAvailableLittleEndian(dst:offset:length____:)"))); +- (int32_t)readAvailableLittleEndianDst:(id)dst offset:(int32_t)offset length_____:(int32_t)length __attribute__((swift_name("readAvailableLittleEndian(dst:offset:length_____:)"))); +- (int32_t)readAvailableLittleEndianDst:(id)dst offset:(int32_t)offset length______:(int32_t)length __attribute__((swift_name("readAvailableLittleEndian(dst:offset:length______:)"))); +- (int32_t)readAvailableLittleEndianDst:(id)dst offset:(int32_t)offset length_______:(int32_t)length __attribute__((swift_name("readAvailableLittleEndian(dst:offset:length_______:)"))); +- (PAPIKotlinByteArray *)readBytesCount:(int32_t)count __attribute__((swift_name("readBytes(count:)"))); +- (int32_t)readDirectBlock_:(PAPIInt *(^)(id))block __attribute__((swift_name("readDirect(block_:)"))); +- (double)readDouble __attribute__((swift_name("readDouble()"))); +- (double)readDoubleLittleEndian __attribute__((swift_name("readDoubleLittleEndian()"))); +- (float)readFloat __attribute__((swift_name("readFloat()"))); +- (float)readFloatLittleEndian __attribute__((swift_name("readFloatLittleEndian()"))); +- (int32_t)readFullyDst:(PAPIBuffer *)dst length:(int32_t)length __attribute__((swift_name("readFully(dst:length:)"))); +- (void)readFullyDst:(PAPIKotlinArray *)dst offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("readFully(dst:offset:length:)"))); +- (void)readFullyDestination:(PAPIKotlinByteArray *)destination offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("readFully(destination:offset:length:)"))); +- (void)readFullyDestination:(PAPIKotlinDoubleArray *)destination offset:(int32_t)offset length_:(int32_t)length __attribute__((swift_name("readFully(destination:offset:length_:)"))); +- (void)readFullyDestination:(PAPIKotlinFloatArray *)destination offset:(int32_t)offset length__:(int32_t)length __attribute__((swift_name("readFully(destination:offset:length__:)"))); +- (void)readFullyDestination:(PAPIKotlinIntArray *)destination offset:(int32_t)offset length___:(int32_t)length __attribute__((swift_name("readFully(destination:offset:length___:)"))); +- (void)readFullyDestination:(PAPIKotlinLongArray *)destination offset:(int32_t)offset length____:(int32_t)length __attribute__((swift_name("readFully(destination:offset:length____:)"))); +- (void)readFullyDestination:(PAPIKotlinShortArray *)destination offset:(int32_t)offset length_____:(int32_t)length __attribute__((swift_name("readFully(destination:offset:length_____:)"))); +- (void)readFullyDestination:(id)destination offset:(int32_t)offset length______:(int32_t)length __attribute__((swift_name("readFully(destination:offset:length______:)"))); +- (void)readFullyDestination:(id)destination offset:(int32_t)offset length_______:(int32_t)length __attribute__((swift_name("readFully(destination:offset:length_______:)"))); +- (void)readFullyDestination:(id)destination offset:(int32_t)offset length________:(int32_t)length __attribute__((swift_name("readFully(destination:offset:length________:)"))); +- (void)readFullyDestination:(id)destination offset:(int32_t)offset length_________:(int32_t)length __attribute__((swift_name("readFully(destination:offset:length_________:)"))); +- (void)readFullyPointer:(void *)pointer offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("readFully(pointer:offset:length:)"))); +- (void)readFullyPointer:(void *)pointer offset:(int64_t)offset length_:(int32_t)length __attribute__((swift_name("readFully(pointer:offset:length_:)"))); +- (void)readFullyLittleEndianDst:(PAPIKotlinDoubleArray *)dst offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("readFullyLittleEndian(dst:offset:length:)"))); +- (void)readFullyLittleEndianDst:(PAPIKotlinFloatArray *)dst offset:(int32_t)offset length_:(int32_t)length __attribute__((swift_name("readFullyLittleEndian(dst:offset:length_:)"))); +- (void)readFullyLittleEndianDst:(PAPIKotlinIntArray *)dst offset:(int32_t)offset length__:(int32_t)length __attribute__((swift_name("readFullyLittleEndian(dst:offset:length__:)"))); +- (void)readFullyLittleEndianDst:(PAPIKotlinLongArray *)dst offset:(int32_t)offset length___:(int32_t)length __attribute__((swift_name("readFullyLittleEndian(dst:offset:length___:)"))); +- (void)readFullyLittleEndianDst:(PAPIKotlinShortArray *)dst offset:(int32_t)offset length____:(int32_t)length __attribute__((swift_name("readFullyLittleEndian(dst:offset:length____:)"))); +- (void)readFullyLittleEndianDst:(id)dst offset:(int32_t)offset length_____:(int32_t)length __attribute__((swift_name("readFullyLittleEndian(dst:offset:length_____:)"))); +- (void)readFullyLittleEndianDst:(id)dst offset:(int32_t)offset length______:(int32_t)length __attribute__((swift_name("readFullyLittleEndian(dst:offset:length______:)"))); +- (void)readFullyLittleEndianDst:(id)dst offset:(int32_t)offset length_______:(int32_t)length __attribute__((swift_name("readFullyLittleEndian(dst:offset:length_______:)"))); +- (int32_t)readInt __attribute__((swift_name("readInt()"))); +- (int32_t)readIntLittleEndian __attribute__((swift_name("readIntLittleEndian()"))); +- (int64_t)readLong __attribute__((swift_name("readLong()"))); +- (int64_t)readLongLittleEndian __attribute__((swift_name("readLongLittleEndian()"))); +- (int16_t)readShort __attribute__((swift_name("readShort()"))); +- (int16_t)readShortLittleEndian __attribute__((swift_name("readShortLittleEndian()"))); +- (NSString *)readTextCharset:(PAPICharset *)charset max:(int32_t)max __attribute__((swift_name("readText(charset:max:)"))); +- (int32_t)readTextDecoder:(PAPICharsetDecoder *)decoder out:(id)out lastBuffer:(BOOL)lastBuffer max:(int32_t)max __attribute__((swift_name("readText(decoder:out:lastBuffer:max:)"))) __attribute__((deprecated("This is no longer supported. Read from a packet instead."))); +- (uint8_t)readUByte __attribute__((swift_name("readUByte()"))); +- (uint32_t)readUInt __attribute__((swift_name("readUInt()"))); +- (uint64_t)readULong __attribute__((swift_name("readULong()"))); +- (uint16_t)readUShort __attribute__((swift_name("readUShort()"))); +- (int32_t)tryPeek_ __attribute__((swift_name("tryPeek_()"))) __attribute__((deprecated("Use tryPeekByte instead"))); +- (int32_t)writeBlock:(PAPIInt *(^)(PAPIMemory *, PAPIInt *, PAPIInt *))block __attribute__((swift_name("write(block:)"))); +- (int32_t)writeDirectBlock_:(PAPIInt *(^)(id))block __attribute__((swift_name("writeDirect(block_:)"))); +- (void)writeDoubleValue:(double)value __attribute__((swift_name("writeDouble(value:)"))); +- (void)writeDoubleLittleEndianValue:(double)value __attribute__((swift_name("writeDoubleLittleEndian(value:)"))); +- (void)writeFloatValue:(float)value __attribute__((swift_name("writeFloat(value:)"))); +- (void)writeFloatLittleEndianValue:(float)value __attribute__((swift_name("writeFloatLittleEndian(value:)"))); +- (void)writeFullySrc:(PAPIBuffer *)src __attribute__((swift_name("writeFully(src:)"))); +- (void)writeFullySrc:(PAPIBuffer *)src length:(int32_t)length __attribute__((swift_name("writeFully(src:length:)"))); +- (void)writeFullySource:(PAPIKotlinByteArray *)source offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("writeFully(source:offset:length:)"))); +- (void)writeFullySource:(PAPIKotlinDoubleArray *)source offset:(int32_t)offset length_:(int32_t)length __attribute__((swift_name("writeFully(source:offset:length_:)"))); +- (void)writeFullySource:(PAPIKotlinFloatArray *)source offset:(int32_t)offset length__:(int32_t)length __attribute__((swift_name("writeFully(source:offset:length__:)"))); +- (void)writeFullySource:(PAPIKotlinIntArray *)source offset:(int32_t)offset length___:(int32_t)length __attribute__((swift_name("writeFully(source:offset:length___:)"))); +- (void)writeFullySource:(PAPIKotlinLongArray *)source offset:(int32_t)offset length____:(int32_t)length __attribute__((swift_name("writeFully(source:offset:length____:)"))); +- (void)writeFullySource:(PAPIKotlinShortArray *)source offset:(int32_t)offset length_____:(int32_t)length __attribute__((swift_name("writeFully(source:offset:length_____:)"))); +- (void)writeFullySource:(id)source offset:(int32_t)offset length______:(int32_t)length __attribute__((swift_name("writeFully(source:offset:length______:)"))); +- (void)writeFullySource:(id)source offset:(int32_t)offset length_______:(int32_t)length __attribute__((swift_name("writeFully(source:offset:length_______:)"))); +- (void)writeFullySource:(id)source offset:(int32_t)offset length________:(int32_t)length __attribute__((swift_name("writeFully(source:offset:length________:)"))); +- (void)writeFullySource:(id)source offset:(int32_t)offset length_________:(int32_t)length __attribute__((swift_name("writeFully(source:offset:length_________:)"))); +- (void)writeFullyPointer:(void *)pointer offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("writeFully(pointer:offset:length:)"))); +- (void)writeFullyPointer:(void *)pointer offset:(int64_t)offset length_:(int32_t)length __attribute__((swift_name("writeFully(pointer:offset:length_:)"))); +- (void)writeFullyLittleEndianSource:(PAPIKotlinDoubleArray *)source offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("writeFullyLittleEndian(source:offset:length:)"))); +- (void)writeFullyLittleEndianSource:(PAPIKotlinFloatArray *)source offset:(int32_t)offset length_:(int32_t)length __attribute__((swift_name("writeFullyLittleEndian(source:offset:length_:)"))); +- (void)writeFullyLittleEndianSource:(PAPIKotlinIntArray *)source offset:(int32_t)offset length__:(int32_t)length __attribute__((swift_name("writeFullyLittleEndian(source:offset:length__:)"))); +- (void)writeFullyLittleEndianSource:(PAPIKotlinLongArray *)source offset:(int32_t)offset length___:(int32_t)length __attribute__((swift_name("writeFullyLittleEndian(source:offset:length___:)"))); +- (void)writeFullyLittleEndianSource:(PAPIKotlinShortArray *)source offset:(int32_t)offset length____:(int32_t)length __attribute__((swift_name("writeFullyLittleEndian(source:offset:length____:)"))); +- (void)writeFullyLittleEndianSource:(id)source offset:(int32_t)offset length_____:(int32_t)length __attribute__((swift_name("writeFullyLittleEndian(source:offset:length_____:)"))); +- (void)writeFullyLittleEndianSource:(id)source offset:(int32_t)offset length______:(int32_t)length __attribute__((swift_name("writeFullyLittleEndian(source:offset:length______:)"))); +- (void)writeFullyLittleEndianSource:(id)source offset:(int32_t)offset length_______:(int32_t)length __attribute__((swift_name("writeFullyLittleEndian(source:offset:length_______:)"))); +- (void)writeIntValue:(int32_t)value __attribute__((swift_name("writeInt(value:)"))); +- (void)writeIntLittleEndianValue:(int32_t)value __attribute__((swift_name("writeIntLittleEndian(value:)"))); +- (void)writeLongValue:(int64_t)value __attribute__((swift_name("writeLong(value:)"))); +- (void)writeLongLittleEndianValue:(int64_t)value __attribute__((swift_name("writeLongLittleEndian(value:)"))); +- (void)writeShortValue:(int16_t)value __attribute__((swift_name("writeShort(value:)"))); +- (void)writeShortLittleEndianValue:(int16_t)value __attribute__((swift_name("writeShortLittleEndian(value:)"))); +- (void)writeUByteValue:(uint8_t)value __attribute__((swift_name("writeUByte(value:)"))); +- (void)writeUIntValue:(uint32_t)value __attribute__((swift_name("writeUInt(value:)"))); +- (void)writeULongValue:(uint64_t)value __attribute__((swift_name("writeULong(value:)"))); +- (void)writeUShortValue:(uint16_t)value __attribute__((swift_name("writeUShort(value:)"))); +- (int32_t)decodeUTF8Consumer:(PAPIBoolean *(^)(id))consumer __attribute__((swift_name("decodeUTF8(consumer:)"))); +@property PAPIByteOrder *byteOrder_ __attribute__((swift_name("byteOrder_"))) __attribute__((unavailable("This is no longer supported. All operations are big endian by default. Use readXXXLittleEndian to read primitives in little endian"))); +@end; + +@interface PAPIByteReadPacket (Extensions) +- (int32_t)readAvailableDst:(void *)dst limit:(int32_t)limit __attribute__((swift_name("readAvailable(dst:limit:)"))); +- (int64_t)readAvailableDst:(void *)dst limit_:(int64_t)limit __attribute__((swift_name("readAvailable(dst:limit_:)"))); +- (PAPIKotlinByteArray *)readBytesN:(int32_t)n __attribute__((swift_name("readBytes(n:)"))); +- (int32_t)readFullyDst:(void *)dst size:(int32_t)size __attribute__((swift_name("readFully(dst:size:)"))); +- (int64_t)readFullyDst:(void *)dst size_:(int64_t)size __attribute__((swift_name("readFully(dst:size_:)"))); +- (NSString * _Nullable)readUTF8LineEstimate:(int32_t)estimate limit:(int32_t)limit __attribute__((swift_name("readUTF8Line(estimate:limit:)"))); +- (void)_unsafeAppend_Builder:(PAPIBytePacketBuilder *)builder __attribute__((swift_name("_unsafeAppend_(builder:)"))); +@property (readonly) BOOL isEmpty __attribute__((swift_name("isEmpty"))); +@property (readonly) BOOL isNotEmpty __attribute__((swift_name("isNotEmpty"))); +@end; + +@interface PAPIChunkBuffer (Extensions) +- (PAPIChunkBuffer *)makeView__ __attribute__((swift_name("makeView__()"))) __attribute__((deprecated("Use duplicate instead"))); +- (int64_t)remainingAll __attribute__((swift_name("remainingAll()"))); +@end; + +@interface PAPIBytePacketBuilder (Extensions) +- (id _Nullable)previewBlock:(id _Nullable (^)(PAPIByteReadPacket *))block __attribute__((swift_name("preview(block:)"))); +- (void)reset __attribute__((swift_name("reset()"))); +- (void)writeFullySrc:(void *)src size:(int32_t)size __attribute__((swift_name("writeFully(src:size:)"))); +@end; + +@interface PAPIIoBuffer (Extensions) +- (int32_t)readAvailableDestination:(PAPIKotlinByteArray *)destination offset:(int32_t)offset length__________:(int32_t)length __attribute__((swift_name("readAvailable(destination:offset:length__________:)"))) __attribute__((deprecated("IoBuffer is deprecated. Use Memory or Input instead."))); +- (double)readDouble_ __attribute__((swift_name("readDouble_()"))) __attribute__((deprecated("IoBuffer is deprecated. Use Memory or Input instead."))); +- (float)readFloat_ __attribute__((swift_name("readFloat_()"))) __attribute__((deprecated("IoBuffer is deprecated. Use Memory or Input instead."))); +- (void)readFullyDestination:(PAPIKotlinByteArray *)destination offset:(int32_t)offset length__________:(int32_t)length __attribute__((swift_name("readFully(destination:offset:length__________:)"))) __attribute__((deprecated("IoBuffer is deprecated. Use Memory or Input instead."))); +- (int32_t)readInt_ __attribute__((swift_name("readInt_()"))) __attribute__((deprecated("IoBuffer is deprecated. Use Memory or Input instead."))); +- (int64_t)readLong_ __attribute__((swift_name("readLong_()"))) __attribute__((deprecated("IoBuffer is deprecated. Use Memory or Input instead."))); +- (int16_t)readShort_ __attribute__((swift_name("readShort_()"))) __attribute__((deprecated("IoBuffer is deprecated. Use Memory or Input instead."))); +- (uint8_t)readUByte_ __attribute__((swift_name("readUByte_()"))) __attribute__((deprecated("IoBuffer is deprecated. Use Memory or Input instead."))); +- (uint32_t)readUInt_ __attribute__((swift_name("readUInt_()"))) __attribute__((deprecated("IoBuffer is deprecated. Use Memory or Input instead."))); +- (uint64_t)readULong_ __attribute__((swift_name("readULong_()"))) __attribute__((deprecated("IoBuffer is deprecated. Use Memory or Input instead."))); +- (uint16_t)readUShort_ __attribute__((swift_name("readUShort_()"))) __attribute__((deprecated("IoBuffer is deprecated. Use Memory or Input instead."))); +- (void)releasePool__:(id)pool __attribute__((swift_name("release(pool__:)"))); +- (void)writeDoubleValue_:(double)value __attribute__((swift_name("writeDouble(value_:)"))) __attribute__((deprecated("IoBuffer is deprecated. Use Memory or Output instead."))); +- (void)writeFloatValue_:(float)value __attribute__((swift_name("writeFloat(value_:)"))) __attribute__((deprecated("IoBuffer is deprecated. Use Memory or Output instead."))); +- (void)writeFullySource:(PAPIKotlinByteArray *)source offset:(int32_t)offset length__________:(int32_t)length __attribute__((swift_name("writeFully(source:offset:length__________:)"))) __attribute__((deprecated("IoBuffer is deprecated. Use Memory or Output instead."))); +- (void)writeIntValue_:(int32_t)value __attribute__((swift_name("writeInt(value_:)"))) __attribute__((deprecated("IoBuffer is deprecated. Use Memory or Output instead."))); +- (void)writeLongValue_:(int64_t)value __attribute__((swift_name("writeLong(value_:)"))) __attribute__((deprecated("IoBuffer is deprecated. Use Memory or Output instead."))); +- (void)writeShortValue_:(int16_t)value __attribute__((swift_name("writeShort(value_:)"))) __attribute__((deprecated("IoBuffer is deprecated. Use Memory or Output instead."))); +- (void)writeUByteValue_:(uint8_t)value __attribute__((swift_name("writeUByte(value_:)"))) __attribute__((deprecated("IoBuffer is deprecated. Use Memory or Output instead."))); +- (void)writeUIntValue_:(uint32_t)value __attribute__((swift_name("writeUInt(value_:)"))) __attribute__((deprecated("IoBuffer is deprecated. Use Memory or Output instead."))); +- (void)writeULongValue_:(uint64_t)value __attribute__((swift_name("writeULong(value_:)"))) __attribute__((deprecated("IoBuffer is deprecated. Use Memory or Output instead."))); +- (void)writeUShortValue_:(uint16_t)value __attribute__((swift_name("writeUShort(value_:)"))) __attribute__((deprecated("IoBuffer is deprecated. Use Memory or Output instead."))); +@end; + +@interface PAPICharsetDecoder (Extensions) +- (NSString *)decodeInput:(id)input max:(int32_t)max __attribute__((swift_name("decode(input:max:)"))); +- (int32_t)decodeInput:(id)input dst:(id)dst max:(int32_t)max __attribute__((swift_name("decode(input:dst:max:)"))); +- (NSString *)decodeExactBytesInput:(id)input inputLength:(int32_t)inputLength __attribute__((swift_name("decodeExactBytes(input:inputLength:)"))); +@property (readonly) PAPICharset *charset __attribute__((swift_name("charset"))); +@end; + +@interface PAPICharsetEncoder (Extensions) +- (void)encodeInput:(PAPIKotlinCharArray *)input fromIndex:(int32_t)fromIndex toIndex:(int32_t)toIndex dst:(id)dst __attribute__((swift_name("encode(input:fromIndex:toIndex:dst:)"))); +- (PAPIByteReadPacket *)encodeInput:(id)input fromIndex:(int32_t)fromIndex toIndex:(int32_t)toIndex __attribute__((swift_name("encode(input:fromIndex:toIndex:)"))); +- (void)encodeInput:(id)input fromIndex:(int32_t)fromIndex toIndex:(int32_t)toIndex dst_:(id)dst __attribute__((swift_name("encode(input:fromIndex:toIndex:dst_:)"))) __attribute__((deprecated("Use writeText on Output instead."))); +- (PAPIKotlinByteArray *)encodeToByteArrayInput:(id)input fromIndex:(int32_t)fromIndex toIndex:(int32_t)toIndex __attribute__((swift_name("encodeToByteArray(input:fromIndex:toIndex:)"))); +- (PAPIKotlinByteArray *)encodeToByteArrayImplInput:(id)input fromIndex:(int32_t)fromIndex toIndex:(int32_t)toIndex __attribute__((swift_name("encodeToByteArrayImpl(input:fromIndex:toIndex:)"))) __attribute__((deprecated("Internal API. Will be hidden in future releases. Use encodeToByteArray instead."))); +- (PAPIByteReadPacket *)encodeUTF8Input:(PAPIByteReadPacket *)input __attribute__((swift_name("encodeUTF8(input:)"))); +- (void)encodeUTF8Input:(PAPIByteReadPacket *)input dst:(id)dst __attribute__((swift_name("encodeUTF8(input:dst:)"))); +@property (readonly) PAPICharset *charset __attribute__((swift_name("charset"))); +@end; + +@interface PAPICharset (Extensions) +@property (readonly, getter=name) NSString *name_ __attribute__((swift_name("name_"))); +@end; + +@interface PAPISyntaxTree (Extensions) +- (PAPISyntaxTree *)flattenStructureParsers:(NSSet> *)structureParsers __attribute__((swift_name("flatten(structureParsers:)"))); +- (PAPISyntaxTree *)flattenForGrammarGrammar:(PAPIGrammar *)grammar __attribute__((swift_name("flattenForGrammar(grammar:)"))); +@end; + +@interface PAPIGrammar (Extensions) +- (PAPIGrammar *> *)liftToSyntaxTreeGrammarLiftOptions:(PAPILiftToSyntaxTreeOptions *)liftOptions structureParsers:(NSSet> * _Nullable)structureParsers transformer:(id _Nullable)transformer __attribute__((swift_name("liftToSyntaxTreeGrammar(liftOptions:structureParsers:transformer:)"))); +- (id _Nullable)parseToEndInput:(NSString *)input __attribute__((swift_name("parseToEnd(input:)"))); +- (PAPIParseResult *)tryParseToEndInput:(NSString *)input __attribute__((swift_name("tryParseToEnd(input:)"))); +@end; + +@interface PAPITuple10 (Extensions) +@property (readonly) NSArray *components __attribute__((swift_name("components"))); +@end; + +@interface PAPITuple11 (Extensions) +@property (readonly) NSArray *components __attribute__((swift_name("components"))); +@end; + +@interface PAPITuple12 (Extensions) +@property (readonly) NSArray *components __attribute__((swift_name("components"))); +@end; + +@interface PAPITuple13 (Extensions) +@property (readonly) NSArray *components __attribute__((swift_name("components"))); +@end; + +@interface PAPITuple14 (Extensions) +@property (readonly) NSArray *components __attribute__((swift_name("components"))); +@end; + +@interface PAPITuple15 (Extensions) +@property (readonly) NSArray *components __attribute__((swift_name("components"))); +@end; + +@interface PAPITuple16 (Extensions) +@property (readonly) NSArray *components __attribute__((swift_name("components"))); +@end; + +@interface PAPITuple1 (Extensions) +@property (readonly) NSArray *components __attribute__((swift_name("components"))); +@end; + +@interface PAPITuple2 (Extensions) +@property (readonly) NSArray *components __attribute__((swift_name("components"))); +@end; + +@interface PAPITuple3 (Extensions) +@property (readonly) NSArray *components __attribute__((swift_name("components"))); +@end; + +@interface PAPITuple4 (Extensions) +@property (readonly) NSArray *components __attribute__((swift_name("components"))); +@end; + +@interface PAPITuple5 (Extensions) +@property (readonly) NSArray *components __attribute__((swift_name("components"))); +@end; + +@interface PAPITuple6 (Extensions) +@property (readonly) NSArray *components __attribute__((swift_name("components"))); +@end; + +@interface PAPITuple7 (Extensions) +@property (readonly) NSArray *components __attribute__((swift_name("components"))); +@end; + +@interface PAPITuple8 (Extensions) +@property (readonly) NSArray *components __attribute__((swift_name("components"))); +@end; + +@interface PAPITuple9 (Extensions) +@property (readonly) NSArray *components __attribute__((swift_name("components"))); +@end; + +@interface PAPIParseResult (Extensions) +- (PAPIParsed *)toParsedOrThrow __attribute__((swift_name("toParsedOrThrow()"))); +@end; + +@interface PAPIAndCombinator (Extensions) +- (PAPIAndCombinator *> *)andOther:(id)other __attribute__((swift_name("and(other:)"))); +- (PAPIAndCombinator> *)andOther_:(PAPISkipParser *)other __attribute__((swift_name("and(other_:)"))); +- (PAPIAndCombinator *> *)andP11:(id)p11 __attribute__((swift_name("and(p11:)"))); +- (PAPIAndCombinator *> *)andP12:(id)p12 __attribute__((swift_name("and(p12:)"))); +- (PAPIAndCombinator *> *)andP13:(id)p13 __attribute__((swift_name("and(p13:)"))); +- (PAPIAndCombinator *> *)andP14:(id)p14 __attribute__((swift_name("and(p14:)"))); +- (PAPIAndCombinator *> *)andP15:(id)p15 __attribute__((swift_name("and(p15:)"))); +- (PAPIAndCombinator *> *)andP16:(id)p16 __attribute__((swift_name("and(p16:)"))); +- (PAPIAndCombinator *> *)andP3:(id)p3 __attribute__((swift_name("and(p3:)"))); +- (PAPIAndCombinator *> *)andP4:(id)p4 __attribute__((swift_name("and(p4:)"))); +- (PAPIAndCombinator *> *)andP5:(id)p5 __attribute__((swift_name("and(p5:)"))); +- (PAPIAndCombinator *> *)andP6:(id)p6 __attribute__((swift_name("and(p6:)"))); +- (PAPIAndCombinator *> *)andP7:(id)p7 __attribute__((swift_name("and(p7:)"))); +- (PAPIAndCombinator *> *)andP8:(id)p8 __attribute__((swift_name("and(p8:)"))); +- (PAPIAndCombinator *> *)andP9:(id)p9 __attribute__((swift_name("and(p9:)"))); +- (PAPIAndCombinator *> *)andP10:(id)p10 __attribute__((swift_name("and(p10:)"))); +- (PAPIAndCombinator *> *)timesOther:(id)other __attribute__((swift_name("times(other:)"))); +- (PAPIAndCombinator> *)timesOther_:(PAPISkipParser *)other __attribute__((swift_name("times(other_:)"))); +- (PAPIAndCombinator *> *)timesP11:(id)p11 __attribute__((swift_name("times(p11:)"))); +- (PAPIAndCombinator *> *)timesP12:(id)p12 __attribute__((swift_name("times(p12:)"))); +- (PAPIAndCombinator *> *)timesP13:(id)p13 __attribute__((swift_name("times(p13:)"))); +- (PAPIAndCombinator *> *)timesP14:(id)p14 __attribute__((swift_name("times(p14:)"))); +- (PAPIAndCombinator *> *)timesP15:(id)p15 __attribute__((swift_name("times(p15:)"))); +- (PAPIAndCombinator *> *)timesP16:(id)p16 __attribute__((swift_name("times(p16:)"))); +- (PAPIAndCombinator *> *)timesP3:(id)p3 __attribute__((swift_name("times(p3:)"))); +- (PAPIAndCombinator *> *)timesP4:(id)p4 __attribute__((swift_name("times(p4:)"))); +- (PAPIAndCombinator *> *)timesP5:(id)p5 __attribute__((swift_name("times(p5:)"))); +- (PAPIAndCombinator *> *)timesP6:(id)p6 __attribute__((swift_name("times(p6:)"))); +- (PAPIAndCombinator *> *)timesP7:(id)p7 __attribute__((swift_name("times(p7:)"))); +- (PAPIAndCombinator *> *)timesP8:(id)p8 __attribute__((swift_name("times(p8:)"))); +- (PAPIAndCombinator *> *)timesP9:(id)p9 __attribute__((swift_name("times(p9:)"))); +- (PAPIAndCombinator *> *)timesP10:(id)p10 __attribute__((swift_name("times(p10:)"))); +@end; + +@interface PAPISkipParser (Extensions) +- (PAPISkipParser *)andOther:(PAPISkipParser *)other __attribute__((swift_name("and(other:)"))); +- (PAPIAndCombinator *)andOther_:(id)other __attribute__((swift_name("and(other_:)"))); +- (PAPISkipParser *)timesOther:(PAPISkipParser *)other __attribute__((swift_name("times(other:)"))); +- (PAPIAndCombinator *)timesOther_:(id)other __attribute__((swift_name("times(other_:)"))); +@end; + +__attribute__((swift_name("KotlinIntProgression"))) +@interface PAPIKotlinIntProgression : PAPIBase +@property (class, readonly, getter=companion) PAPIKotlinIntProgressionCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (BOOL)isEmpty_ __attribute__((swift_name("isEmpty()"))); +- (PAPIKotlinIntIterator *)iterator __attribute__((swift_name("iterator()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) int32_t first __attribute__((swift_name("first"))); +@property (readonly) int32_t last __attribute__((swift_name("last"))); +@property (readonly) int32_t step __attribute__((swift_name("step"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinIntRange"))) +@interface PAPIKotlinIntRange : PAPIKotlinIntProgression +- (instancetype)initWithStart:(int32_t)start endInclusive:(int32_t)endInclusive __attribute__((swift_name("init(start:endInclusive:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIKotlinIntRangeCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)containsValue:(PAPIInt *)value __attribute__((swift_name("contains(value:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (BOOL)isEmpty_ __attribute__((swift_name("isEmpty()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIInt *endInclusive __attribute__((swift_name("endInclusive"))); +@property (readonly, getter=start_) PAPIInt *start __attribute__((swift_name("start"))); +@end; + +@interface PAPIKotlinIntRange (Extensions) +- (id)timesParser:(id)parser __attribute__((swift_name("times(parser:)"))); +- (id)asFlow __attribute__((swift_name("asFlow()"))); +@end; + +@interface PAPICoroutineDispatcher (Extensions) + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)invokeBlock:(id)block completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("invoke(block:completionHandler:)"))); +@end; + +@interface PAPISharingStartedCompanion (Extensions) +- (id)WhileSubscribedStopTimeout:(int64_t)stopTimeout replayExpiration:(int64_t)replayExpiration __attribute__((swift_name("WhileSubscribed(stopTimeout:replayExpiration:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinIntArray"))) +@interface PAPIKotlinIntArray : PAPIBase ++ (instancetype)arrayWithSize:(int32_t)size __attribute__((swift_name("init(size:)"))); ++ (instancetype)arrayWithSize:(int32_t)size init:(PAPIInt *(^)(PAPIInt *))init __attribute__((swift_name("init(size:init:)"))); ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (int32_t)getIndex:(int32_t)index __attribute__((swift_name("get(index:)"))); +- (PAPIKotlinIntIterator *)iterator __attribute__((swift_name("iterator()"))); +- (void)setIndex:(int32_t)index value:(int32_t)value __attribute__((swift_name("set(index:value:)"))); +@property (readonly) int32_t size __attribute__((swift_name("size"))); +@end; + +@interface PAPIKotlinIntArray (Extensions) +- (id)asFlow __attribute__((swift_name("asFlow()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinLongArray"))) +@interface PAPIKotlinLongArray : PAPIBase ++ (instancetype)arrayWithSize:(int32_t)size __attribute__((swift_name("init(size:)"))); ++ (instancetype)arrayWithSize:(int32_t)size init:(PAPILong *(^)(PAPIInt *))init __attribute__((swift_name("init(size:init:)"))); ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (int64_t)getIndex:(int32_t)index __attribute__((swift_name("get(index:)"))); +- (PAPIKotlinLongIterator *)iterator __attribute__((swift_name("iterator()"))); +- (void)setIndex:(int32_t)index value:(int64_t)value __attribute__((swift_name("set(index:value:)"))); +@property (readonly) int32_t size __attribute__((swift_name("size"))); +@end; + +@interface PAPIKotlinLongArray (Extensions) +- (id)asFlow __attribute__((swift_name("asFlow()"))); +@end; + +__attribute__((swift_name("KotlinLongProgression"))) +@interface PAPIKotlinLongProgression : PAPIBase +@property (class, readonly, getter=companion) PAPIKotlinLongProgressionCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (BOOL)isEmpty_ __attribute__((swift_name("isEmpty()"))); +- (PAPIKotlinLongIterator *)iterator __attribute__((swift_name("iterator()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) int64_t first __attribute__((swift_name("first"))); +@property (readonly) int64_t last __attribute__((swift_name("last"))); +@property (readonly) int64_t step __attribute__((swift_name("step"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinLongRange"))) +@interface PAPIKotlinLongRange : PAPIKotlinLongProgression +- (instancetype)initWithStart:(int64_t)start endInclusive:(int64_t)endInclusive __attribute__((swift_name("init(start:endInclusive:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIKotlinLongRangeCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)containsValue:(PAPILong *)value __attribute__((swift_name("contains(value:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (BOOL)isEmpty_ __attribute__((swift_name("isEmpty()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPILong *endInclusive __attribute__((swift_name("endInclusive"))); +@property (readonly, getter=start_) PAPILong *start __attribute__((swift_name("start"))); +@end; + +@interface PAPIKotlinLongRange (Extensions) +- (id)asFlow __attribute__((swift_name("asFlow()"))); +@end; + +@interface PAPIBigIntegerCompanion (Extensions) +- (PAPIBigInteger *)fromTwosComplementByteArraySource:(PAPIKotlinByteArray *)source __attribute__((swift_name("fromTwosComplementByteArray(source:)"))); +@end; + +@interface PAPIBigInteger (Extensions) +- (PAPIKotlinByteArray *)toTwosComplementByteArray __attribute__((swift_name("toTwosComplementByteArray()"))); +@end; + +@interface PAPIAbstractPolymorphicSerializer (Extensions) +- (id)findPolymorphicSerializerDecoder:(id)decoder klassName:(NSString * _Nullable)klassName __attribute__((swift_name("findPolymorphicSerializer(decoder:klassName:)"))); +- (id)findPolymorphicSerializerEncoder:(id)encoder value:(id)value __attribute__((swift_name("findPolymorphicSerializer(encoder:value:)"))); +@end; + +@interface PAPISerializersModule (Extensions) +- (id)serializer_ __attribute__((swift_name("serializer_()"))); +- (id)serializerType:(id)type __attribute__((swift_name("serializer(type:)"))); +- (id _Nullable)serializerOrNullType:(id)type __attribute__((swift_name("serializerOrNull(type:)"))); +- (PAPISerializersModule *)overwriteWithOther:(PAPISerializersModule *)other __attribute__((swift_name("overwriteWith(other:)"))); +- (PAPISerializersModule *)plusOther__:(PAPISerializersModule *)other __attribute__((swift_name("plus(other__:)"))); +- (id _Nullable)getContextualDescriptorDescriptor:(id)descriptor __attribute__((swift_name("getContextualDescriptor(descriptor:)"))); +- (NSArray> *)getPolymorphicDescriptorsDescriptor:(id)descriptor __attribute__((swift_name("getPolymorphicDescriptors(descriptor:)"))); +@end; + +@interface PAPISerializersModuleBuilder (Extensions) +- (void)contextualSerializer:(id)serializer __attribute__((swift_name("contextual(serializer:)"))); +- (void)polymorphicBaseClass:(id)baseClass baseSerializer:(id _Nullable)baseSerializer builderAction:(void (^)(PAPIPolymorphicModuleBuilder *))builderAction __attribute__((swift_name("polymorphic(baseClass:baseSerializer:builderAction:)"))); +@end; + +@interface PAPIPolymorphicModuleBuilder (Extensions) +- (void)subclassClazz:(id)clazz __attribute__((swift_name("subclass(clazz:)"))); +- (void)subclassSerializer:(id)serializer __attribute__((swift_name("subclass(serializer:)"))); +@end; + +@interface PAPIClassSerialDescriptorBuilder (Extensions) +- (void)elementElementName:(NSString *)elementName annotations:(NSArray> *)annotations isOptional:(BOOL)isOptional __attribute__((swift_name("element(elementName:annotations:isOptional:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinBoolean.Companion"))) +@interface PAPIKotlinBooleanCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKotlinBooleanCompanion *shared __attribute__((swift_name("shared"))); +@end; + +@interface PAPIKotlinBooleanCompanion (Extensions) +- (id)serializer __attribute__((swift_name("serializer()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinByte.Companion"))) +@interface PAPIKotlinByteCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKotlinByteCompanion *shared __attribute__((swift_name("shared"))); +@property (readonly) int8_t MAX_VALUE __attribute__((swift_name("MAX_VALUE"))); +@property (readonly) int8_t MIN_VALUE __attribute__((swift_name("MIN_VALUE"))); +@property (readonly) int32_t SIZE_BITS __attribute__((swift_name("SIZE_BITS"))); +@property (readonly) int32_t SIZE_BYTES __attribute__((swift_name("SIZE_BYTES"))); +@end; + +@interface PAPIKotlinByteCompanion (Extensions) +- (id)serializer __attribute__((swift_name("serializer()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinChar.Companion"))) +@interface PAPIKotlinCharCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKotlinCharCompanion *shared __attribute__((swift_name("shared"))); +@property (readonly) int32_t MAX_CODE_POINT __attribute__((swift_name("MAX_CODE_POINT"))); +@property (readonly) unichar MAX_HIGH_SURROGATE __attribute__((swift_name("MAX_HIGH_SURROGATE"))); +@property (readonly) unichar MAX_LOW_SURROGATE __attribute__((swift_name("MAX_LOW_SURROGATE"))); +@property (readonly) int32_t MAX_RADIX __attribute__((swift_name("MAX_RADIX"))); +@property (readonly) unichar MAX_SURROGATE __attribute__((swift_name("MAX_SURROGATE"))); +@property (readonly) unichar MAX_VALUE __attribute__((swift_name("MAX_VALUE"))); +@property (readonly) int32_t MIN_CODE_POINT __attribute__((swift_name("MIN_CODE_POINT"))); +@property (readonly) unichar MIN_HIGH_SURROGATE __attribute__((swift_name("MIN_HIGH_SURROGATE"))); +@property (readonly) unichar MIN_LOW_SURROGATE __attribute__((swift_name("MIN_LOW_SURROGATE"))); +@property (readonly) int32_t MIN_RADIX __attribute__((swift_name("MIN_RADIX"))); +@property (readonly) int32_t MIN_SUPPLEMENTARY_CODE_POINT __attribute__((swift_name("MIN_SUPPLEMENTARY_CODE_POINT"))); +@property (readonly) unichar MIN_SURROGATE __attribute__((swift_name("MIN_SURROGATE"))); +@property (readonly) unichar MIN_VALUE __attribute__((swift_name("MIN_VALUE"))); +@property (readonly) int32_t SIZE_BITS __attribute__((swift_name("SIZE_BITS"))); +@property (readonly) int32_t SIZE_BYTES __attribute__((swift_name("SIZE_BYTES"))); +@end; + +@interface PAPIKotlinCharCompanion (Extensions) +- (id)serializer __attribute__((swift_name("serializer()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinDouble.Companion"))) +@interface PAPIKotlinDoubleCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKotlinDoubleCompanion *shared __attribute__((swift_name("shared"))); +@property (readonly) double MAX_VALUE __attribute__((swift_name("MAX_VALUE"))); +@property (readonly) double MIN_VALUE __attribute__((swift_name("MIN_VALUE"))); +@property (readonly) double NEGATIVE_INFINITY __attribute__((swift_name("NEGATIVE_INFINITY"))); +@property (readonly) double NaN __attribute__((swift_name("NaN"))); +@property (readonly) double POSITIVE_INFINITY __attribute__((swift_name("POSITIVE_INFINITY"))); +@property (readonly) int32_t SIZE_BITS __attribute__((swift_name("SIZE_BITS"))); +@property (readonly) int32_t SIZE_BYTES __attribute__((swift_name("SIZE_BYTES"))); +@end; + +@interface PAPIKotlinDoubleCompanion (Extensions) +- (id)serializer __attribute__((swift_name("serializer()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinFloat.Companion"))) +@interface PAPIKotlinFloatCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKotlinFloatCompanion *shared __attribute__((swift_name("shared"))); +@property (readonly) float MAX_VALUE __attribute__((swift_name("MAX_VALUE"))); +@property (readonly) float MIN_VALUE __attribute__((swift_name("MIN_VALUE"))); +@property (readonly) float NEGATIVE_INFINITY __attribute__((swift_name("NEGATIVE_INFINITY"))); +@property (readonly) float NaN __attribute__((swift_name("NaN"))); +@property (readonly) float POSITIVE_INFINITY __attribute__((swift_name("POSITIVE_INFINITY"))); +@property (readonly) int32_t SIZE_BITS __attribute__((swift_name("SIZE_BITS"))); +@property (readonly) int32_t SIZE_BYTES __attribute__((swift_name("SIZE_BYTES"))); +@end; + +@interface PAPIKotlinFloatCompanion (Extensions) +- (id)serializer __attribute__((swift_name("serializer()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinInt.Companion"))) +@interface PAPIKotlinIntCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKotlinIntCompanion *shared __attribute__((swift_name("shared"))); +@property (readonly) int32_t MAX_VALUE __attribute__((swift_name("MAX_VALUE"))); +@property (readonly) int32_t MIN_VALUE __attribute__((swift_name("MIN_VALUE"))); +@property (readonly) int32_t SIZE_BITS __attribute__((swift_name("SIZE_BITS"))); +@property (readonly) int32_t SIZE_BYTES __attribute__((swift_name("SIZE_BYTES"))); +@end; + +@interface PAPIKotlinIntCompanion (Extensions) +- (id)serializer __attribute__((swift_name("serializer()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinLong.Companion"))) +@interface PAPIKotlinLongCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKotlinLongCompanion *shared __attribute__((swift_name("shared"))); +@property (readonly) int64_t MAX_VALUE __attribute__((swift_name("MAX_VALUE"))); +@property (readonly) int64_t MIN_VALUE __attribute__((swift_name("MIN_VALUE"))); +@property (readonly) int32_t SIZE_BITS __attribute__((swift_name("SIZE_BITS"))); +@property (readonly) int32_t SIZE_BYTES __attribute__((swift_name("SIZE_BYTES"))); +@end; + +@interface PAPIKotlinLongCompanion (Extensions) +- (id)serializer __attribute__((swift_name("serializer()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinShort.Companion"))) +@interface PAPIKotlinShortCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKotlinShortCompanion *shared __attribute__((swift_name("shared"))); +@property (readonly) int16_t MAX_VALUE __attribute__((swift_name("MAX_VALUE"))); +@property (readonly) int16_t MIN_VALUE __attribute__((swift_name("MIN_VALUE"))); +@property (readonly) int32_t SIZE_BITS __attribute__((swift_name("SIZE_BITS"))); +@property (readonly) int32_t SIZE_BYTES __attribute__((swift_name("SIZE_BYTES"))); +@end; + +@interface PAPIKotlinShortCompanion (Extensions) +- (id)serializer __attribute__((swift_name("serializer()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinString.Companion"))) +@interface PAPIKotlinStringCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKotlinStringCompanion *shared __attribute__((swift_name("shared"))); +@end; + +@interface PAPIKotlinStringCompanion (Extensions) +- (id)serializer __attribute__((swift_name("serializer()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinUByte.Companion"))) +@interface PAPIKotlinUByteCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKotlinUByteCompanion *shared __attribute__((swift_name("shared"))); +@property (readonly) uint8_t MAX_VALUE __attribute__((swift_name("MAX_VALUE"))); +@property (readonly) uint8_t MIN_VALUE __attribute__((swift_name("MIN_VALUE"))); +@property (readonly) int32_t SIZE_BITS __attribute__((swift_name("SIZE_BITS"))); +@property (readonly) int32_t SIZE_BYTES __attribute__((swift_name("SIZE_BYTES"))); +@end; + +@interface PAPIKotlinUByteCompanion (Extensions) +- (id)serializer __attribute__((swift_name("serializer()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinUInt.Companion"))) +@interface PAPIKotlinUIntCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKotlinUIntCompanion *shared __attribute__((swift_name("shared"))); +@property (readonly) uint32_t MAX_VALUE __attribute__((swift_name("MAX_VALUE"))); +@property (readonly) uint32_t MIN_VALUE __attribute__((swift_name("MIN_VALUE"))); +@property (readonly) int32_t SIZE_BITS __attribute__((swift_name("SIZE_BITS"))); +@property (readonly) int32_t SIZE_BYTES __attribute__((swift_name("SIZE_BYTES"))); +@end; + +@interface PAPIKotlinUIntCompanion (Extensions) +- (id)serializer __attribute__((swift_name("serializer()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinULong.Companion"))) +@interface PAPIKotlinULongCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKotlinULongCompanion *shared __attribute__((swift_name("shared"))); +@property (readonly) uint64_t MAX_VALUE __attribute__((swift_name("MAX_VALUE"))); +@property (readonly) uint64_t MIN_VALUE __attribute__((swift_name("MIN_VALUE"))); +@property (readonly) int32_t SIZE_BITS __attribute__((swift_name("SIZE_BITS"))); +@property (readonly) int32_t SIZE_BYTES __attribute__((swift_name("SIZE_BYTES"))); +@end; + +@interface PAPIKotlinULongCompanion (Extensions) +- (id)serializer __attribute__((swift_name("serializer()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinUShort.Companion"))) +@interface PAPIKotlinUShortCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKotlinUShortCompanion *shared __attribute__((swift_name("shared"))); +@property (readonly) uint16_t MAX_VALUE __attribute__((swift_name("MAX_VALUE"))); +@property (readonly) uint16_t MIN_VALUE __attribute__((swift_name("MIN_VALUE"))); +@property (readonly) int32_t SIZE_BITS __attribute__((swift_name("SIZE_BITS"))); +@property (readonly) int32_t SIZE_BYTES __attribute__((swift_name("SIZE_BYTES"))); +@end; + +@interface PAPIKotlinUShortCompanion (Extensions) +- (id)serializer __attribute__((swift_name("serializer()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinUnit"))) +@interface PAPIKotlinUnit : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)unit __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKotlinUnit *shared __attribute__((swift_name("shared"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@end; + +@interface PAPIKotlinUnit (Extensions) +- (id)serializer __attribute__((swift_name("serializer()"))); +@end; + +@interface PAPITraceBase (Extensions) +- (PAPITraceBase *)namedName:(NSString *)name __attribute__((swift_name("named(name:)"))); +@end; + +@interface PAPISynchronizedObject (Extensions) +- (id _Nullable)withLockBlock:(id _Nullable (^)(void))block __attribute__((swift_name("withLock(block:)"))); +@end; + +@interface PAPIOperationStatus (Extensions) +- (int32_t)toModel __attribute__((swift_name("toModel()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MerkleTreeKt"))) +@interface PAPIMerkleTreeKt : PAPIBase ++ (PAPIMerkleProofs *)generateProofsHashes:(NSArray *)hashes __attribute__((swift_name("generateProofs(hashes:)"))); ++ (BOOL)verifyProofRoot:(PAPIMerkleRoot *)root proof:(PAPIMerkleInclusionProof *)proof __attribute__((swift_name("verifyProof(root:proof:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GrpcClientKt"))) +@interface PAPIGrpcClientKt : PAPIBase +@property (class, readonly) NSString *DID __attribute__((swift_name("DID"))); +@property (class, readonly) NSString *DID_KEY_ID __attribute__((swift_name("DID_KEY_ID"))); +@property (class, readonly) NSString *DID_SIGNATURE __attribute__((swift_name("DID_SIGNATURE"))); +@property (class, readonly) NSString *REQUEST_NONCE __attribute__((swift_name("REQUEST_NONCE"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("LedgerKt"))) +@interface PAPILedgerKt : PAPIBase ++ (PAPILedger *)toProto:(int32_t)receiver __attribute__((swift_name("toProto(_:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MessageKt"))) +@interface PAPIMessageKt : PAPIBase ++ (id)decodeFromByteArray:(id)receiver arr:(PAPIKotlinByteArray *)arr __attribute__((swift_name("decodeFromByteArray(_:arr:)"))); ++ (PAPIKotlinByteArray *)encodeToByteArray:(id)receiver __attribute__((swift_name("encodeToByteArray(_:)"))); ++ (void)encodeWith:(id)receiver m:(id)m __attribute__((swift_name("encodeWith(_:m:)"))); ++ (id _Nullable)getFieldValue:(id)receiver fieldDescriptor:(PAPIFieldDescriptor, id> *)fieldDescriptor __attribute__((swift_name("getFieldValue(_:fieldDescriptor:)"))); ++ (id _Nullable)plus:(id _Nullable)receiver other:(id _Nullable)other __attribute__((swift_name("plus(_:other:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MessageExtensionsKt"))) +@interface PAPIMessageExtensionsKt : PAPIBase ++ (id)decodeFromJsonString:(id)receiver data:(NSString *)data jsonConfig:(PAPIJsonConfig *)jsonConfig __attribute__((swift_name("decodeFromJsonString(_:data:jsonConfig:)"))); ++ (NSString *)encodeToJsonString:(id)receiver jsonConfig:(PAPIJsonConfig *)jsonConfig __attribute__((swift_name("encodeToJsonString(_:jsonConfig:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DateTimePeriodKt"))) +@interface PAPIDateTimePeriodKt : PAPIBase ++ (PAPIDateTimePeriod *)DateTimePeriodYears:(int32_t)years months:(int32_t)months days:(int32_t)days hours:(int32_t)hours minutes:(int32_t)minutes seconds:(int32_t)seconds nanoseconds:(int64_t)nanoseconds __attribute__((swift_name("DateTimePeriod(years:months:days:hours:minutes:seconds:nanoseconds:)"))); ++ (PAPIDatePeriod *)toDatePeriod:(NSString *)receiver __attribute__((swift_name("toDatePeriod(_:)"))); ++ (PAPIDateTimePeriod *)toDateTimePeriod:(NSString *)receiver __attribute__((swift_name("toDateTimePeriod(_:)"))); ++ (PAPIDateTimePeriod *)toDateTimePeriod_:(int64_t)receiver __attribute__((swift_name("toDateTimePeriod(__:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DayOfWeekKt"))) +@interface PAPIDayOfWeekKt : PAPIBase ++ (PAPIDayOfWeek *)DayOfWeekIsoDayNumber:(int32_t)isoDayNumber __attribute__((swift_name("DayOfWeek(isoDayNumber:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MonthKt"))) +@interface PAPIMonthKt : PAPIBase ++ (PAPIMonth *)MonthNumber:(int32_t)number __attribute__((swift_name("Month(number:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ClockKt"))) +@interface PAPIClockKt : PAPIBase ++ (id)asTimeSource:(id)receiver __attribute__((swift_name("asTimeSource(_:)"))); ++ (PAPILocalDate *)todayAt:(id)receiver timeZone:(PAPITimeZone *)timeZone __attribute__((swift_name("todayAt(_:timeZone:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("InstantKt"))) +@interface PAPIInstantKt : PAPIBase ++ (PAPIInstant *)toInstant:(NSString *)receiver __attribute__((swift_name("toInstant(_:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ConvertersKt"))) +@interface PAPIConvertersKt : PAPIBase ++ (PAPIInstant *)toKotlinInstant:(NSDate *)receiver __attribute__((swift_name("toKotlinInstant(_:)"))); ++ (PAPITimeZone *)toKotlinTimeZone:(NSTimeZone *)receiver __attribute__((swift_name("toKotlinTimeZone(_:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("LocalDateKt"))) +@interface PAPILocalDateKt : PAPIBase ++ (PAPILocalDate *)toLocalDate:(NSString *)receiver __attribute__((swift_name("toLocalDate(_:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("LocalDateTimeKt"))) +@interface PAPILocalDateTimeKt : PAPIBase ++ (PAPILocalDateTime *)toLocalDateTime:(NSString *)receiver __attribute__((swift_name("toLocalDateTime(_:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UuidKt"))) +@interface PAPIUuidKt : PAPIBase ++ (PAPIUuid *)nameBasedUuidOfNamespace:(PAPIUuid *)namespace_ name:(NSString *)name hasher:(id)hasher __attribute__((swift_name("nameBasedUuidOf(namespace:name:hasher:)"))); ++ (PAPIUuid *)uuid4 __attribute__((swift_name("uuid4()"))); ++ (PAPIUuid *)uuidFromString:(NSString *)string __attribute__((swift_name("uuidFrom(string:)"))); ++ (PAPIUuid *)uuidOfBytes:(PAPIKotlinByteArray *)bytes __attribute__((swift_name("uuidOf(bytes:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("NamebasedKt"))) +@interface PAPINamebasedKt : PAPIBase ++ (PAPIUuid *)uuid3OfNamespace:(PAPIUuid *)namespace_ name:(NSString *)name __attribute__((swift_name("uuid3Of(namespace:name:)"))); ++ (PAPIUuid *)uuid5OfNamespace:(PAPIUuid *)namespace_ name:(NSString *)name __attribute__((swift_name("uuid5Of(namespace:name:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("JsonKt"))) +@interface PAPIJsonKt : PAPIBase ++ (PAPIJson *)JsonFrom:(PAPIJson *)from builderAction:(void (^)(PAPIJsonBuilder *))builderAction __attribute__((swift_name("Json(from:builderAction:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("JsonElementKt"))) +@interface PAPIJsonElementKt : PAPIBase ++ (PAPIJsonPrimitive *)JsonPrimitiveValue:(PAPIBoolean * _Nullable)value __attribute__((swift_name("JsonPrimitive(value:)"))); ++ (PAPIJsonPrimitive *)JsonPrimitiveValue_:(id _Nullable)value __attribute__((swift_name("JsonPrimitive(value_:)"))); ++ (PAPIJsonPrimitive *)JsonPrimitiveValue__:(NSString * _Nullable)value __attribute__((swift_name("JsonPrimitive(value__:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("JsonElementBuildersKt"))) +@interface PAPIJsonElementBuildersKt : PAPIBase ++ (NSArray *)buildJsonArrayBuilderAction:(void (^)(PAPIJsonArrayBuilder *))builderAction __attribute__((swift_name("buildJsonArray(builderAction:)"))); ++ (NSDictionary *)buildJsonObjectBuilderAction:(void (^)(PAPIJsonObjectBuilder *))builderAction __attribute__((swift_name("buildJsonObject(builderAction:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ByteChannelCtorKt"))) +@interface PAPIByteChannelCtorKt : PAPIBase ++ (id)ByteReadChannelContent:(PAPIKotlinByteArray *)content __attribute__((swift_name("ByteReadChannel(content:)"))); ++ (id)ByteReadChannelContent:(PAPIKotlinByteArray *)content offset:(int32_t)offset __attribute__((swift_name("ByteReadChannel(content:offset:)"))); ++ (id)ByteReadChannelText:(NSString *)text charset:(PAPICharset *)charset __attribute__((swift_name("ByteReadChannel(text:charset:)"))); +@property (class, readonly) id EmptyByteReadChannel __attribute__((swift_name("EmptyByteReadChannel"))) __attribute__((unavailable("Use ByteReadChannel.Empty instead"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ByteChannelNativeKt"))) +@interface PAPIByteChannelNativeKt : PAPIBase ++ (id)ByteChannelAutoFlush:(BOOL)autoFlush __attribute__((swift_name("ByteChannel(autoFlush:)"))); ++ (id)ByteReadChannelContent:(PAPIKotlinByteArray *)content offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("ByteReadChannel(content:offset:length:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)doCopyTo:(id)receiver dst:(id)dst limit:(int64_t)limit completionHandler:(void (^)(PAPILong * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("doCopyTo(_:dst:limit:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)joinTo:(id)receiver dst:(id)dst closeOnEnd:(BOOL)closeOnEnd completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("joinTo(_:dst:closeOnEnd:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CoroutinesKt"))) +@interface PAPICoroutinesKt : PAPIBase ++ (id)readerCoroutineContext:(id)coroutineContext channel:(id)channel parent:(id _Nullable)parent block:(id)block __attribute__((swift_name("reader(coroutineContext:channel:parent:block:)"))) __attribute__((deprecated("Use scope.reader instead"))); ++ (id)readerCoroutineContext:(id)coroutineContext autoFlush:(BOOL)autoFlush parent:(id _Nullable)parent block:(id)block __attribute__((swift_name("reader(coroutineContext:autoFlush:parent:block:)"))) __attribute__((deprecated("Use scope.reader instead"))); ++ (id)writerCoroutineContext:(id)coroutineContext channel:(id)channel parent:(id _Nullable)parent block:(id)block __attribute__((swift_name("writer(coroutineContext:channel:parent:block:)"))) __attribute__((deprecated("Use scope.writer instead"))); ++ (id)writerCoroutineContext:(id)coroutineContext autoFlush:(BOOL)autoFlush parent:(id _Nullable)parent block:(id)block __attribute__((swift_name("writer(coroutineContext:autoFlush:parent:block:)"))) __attribute__((deprecated("Use scope.writer instead"))); ++ (id)reader:(id)receiver coroutineContext:(id)coroutineContext channel:(id)channel block:(id)block __attribute__((swift_name("reader(_:coroutineContext:channel:block:)"))); ++ (id)reader:(id)receiver coroutineContext:(id)coroutineContext autoFlush:(BOOL)autoFlush block:(id)block __attribute__((swift_name("reader(_:coroutineContext:autoFlush:block:)"))); ++ (id)writer:(id)receiver coroutineContext:(id)coroutineContext channel:(id)channel block:(id)block __attribute__((swift_name("writer(_:coroutineContext:channel:block:)"))); ++ (id)writer:(id)receiver coroutineContext:(id)coroutineContext autoFlush:(BOOL)autoFlush block:(id)block __attribute__((swift_name("writer(_:coroutineContext:autoFlush:block:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ByteReadChannelKt"))) +@interface PAPIByteReadChannelKt : PAPIBase ++ (BOOL)cancel:(id)receiver __attribute__((swift_name("cancel(_:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)doCopyAndClose:(id)receiver dst:(id)dst limit:(int64_t)limit completionHandler:(void (^)(PAPILong * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("doCopyAndClose(_:dst:limit:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)doCopyTo:(id)receiver dst:(id)dst completionHandler:(void (^)(PAPILong * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("doCopyTo(_:dst:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)discard:(id)receiver completionHandler:(void (^)(PAPILong * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("discard(_:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)discardExact:(id)receiver n:(int64_t)n completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("discardExact(_:n:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)readAvailable:(id)receiver dst:(PAPIKotlinByteArray *)dst completionHandler:(void (^)(PAPIInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readAvailable(_:dst:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)readFully:(id)receiver dst:(PAPIIoBuffer *)dst completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readFully(_:dst:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)readFully:(id)receiver dst:(PAPIKotlinByteArray *)dst completionHandler_:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readFully(_:dst:completionHandler_:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)readPacket:(id)receiver size:(int32_t)size completionHandler:(void (^)(PAPIByteReadPacket * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readPacket(_:size:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)readRemaining:(id)receiver completionHandler:(void (^)(PAPIByteReadPacket * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readRemaining(_:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)readRemaining:(id)receiver limit:(int64_t)limit completionHandler:(void (^)(PAPIByteReadPacket * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readRemaining(_:limit:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)readUTF8Line:(id)receiver completionHandler:(void (^)(NSString * _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("readUTF8Line(_:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)readUTF8LineTo:(id)receiver out:(id)out completionHandler:(void (^)(PAPIBoolean * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readUTF8LineTo(_:out:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ByteWriteChannelKt"))) +@interface PAPIByteWriteChannelKt : PAPIBase ++ (BOOL)close:(id)receiver __attribute__((swift_name("close(_:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)writeAvailable:(id)receiver src:(PAPIKotlinByteArray *)src completionHandler:(void (^)(PAPIInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeAvailable(_:src:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)writeBoolean:(id)receiver b:(BOOL)b completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeBoolean(_:b:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)writeByte:(id)receiver b:(int32_t)b completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeByte(_:b:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)writeChar:(id)receiver ch:(unichar)ch completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeChar(_:ch:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)writeFully:(id)receiver src:(PAPIKotlinByteArray *)src completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeFully(_:src:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)writeInt:(id)receiver i:(int64_t)i completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeInt(_:i:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)writeInt:(id)receiver i:(int64_t)i byteOrder:(PAPIByteOrder *)byteOrder completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeInt(_:i:byteOrder:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)writePacket:(id)receiver headerSizeHint:(int32_t)headerSizeHint builder:(void (^)(PAPIBytePacketBuilder *))builder completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writePacket(_:headerSizeHint:builder:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)writePacketSuspend:(id)receiver builder:(id)builder completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writePacketSuspend(_:builder:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)writeShort:(id)receiver s:(int32_t)s completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeShort(_:s:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)writeShort:(id)receiver s:(int32_t)s byteOrder:(PAPIByteOrder *)byteOrder completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeShort(_:s:byteOrder:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)writeStringUtf8:(id)receiver s:(id)s completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeStringUtf8(_:s:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)writeStringUtf8:(id)receiver s:(NSString *)s completionHandler_:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeStringUtf8(_:s:completionHandler_:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("NativeUtilsNativeKt"))) +@interface PAPINativeUtilsNativeKt : PAPIBase ++ (void)makeShared:(id)receiver __attribute__((swift_name("makeShared(_:)"))); ++ (void)preventFreeze:(id)receiver __attribute__((swift_name("preventFreeze(_:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ReadSessionKt"))) +@interface PAPIReadSessionKt : PAPIBase + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)read:(id)receiver desiredSize:(int32_t)desiredSize block:(PAPIInt *(^)(PAPIMemory *, PAPILong *, PAPILong *))block completionHandler:(void (^)(PAPIInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("read(_:desiredSize:block:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ChannelLittleEndianKt"))) +@interface PAPIChannelLittleEndianKt : PAPIBase + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)readDouble:(id)receiver byteOrder:(PAPIByteOrder *)byteOrder completionHandler:(void (^)(PAPIDouble * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readDouble(_:byteOrder:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)readDoubleLittleEndian:(id)receiver completionHandler:(void (^)(PAPIDouble * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readDoubleLittleEndian(_:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)readFloat:(id)receiver byteOrder:(PAPIByteOrder *)byteOrder completionHandler:(void (^)(PAPIFloat * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readFloat(_:byteOrder:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)readFloatLittleEndian:(id)receiver completionHandler:(void (^)(PAPIFloat * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readFloatLittleEndian(_:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)readInt:(id)receiver byteOrder:(PAPIByteOrder *)byteOrder completionHandler:(void (^)(PAPIInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readInt(_:byteOrder:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)readIntLittleEndian:(id)receiver completionHandler:(void (^)(PAPIInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readIntLittleEndian(_:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)readLong:(id)receiver byteOrder:(PAPIByteOrder *)byteOrder completionHandler:(void (^)(PAPILong * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readLong(_:byteOrder:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)readLongLittleEndian:(id)receiver completionHandler:(void (^)(PAPILong * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readLongLittleEndian(_:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)readShort:(id)receiver byteOrder:(PAPIByteOrder *)byteOrder completionHandler:(void (^)(PAPIShort * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readShort(_:byteOrder:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)readShortLittleEndian:(id)receiver completionHandler:(void (^)(PAPIShort * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readShortLittleEndian(_:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)writeDouble:(id)receiver value:(double)value byteOrder:(PAPIByteOrder *)byteOrder completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeDouble(_:value:byteOrder:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)writeDoubleLittleEndian:(id)receiver value:(double)value completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeDoubleLittleEndian(_:value:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)writeFloat:(id)receiver value:(float)value byteOrder:(PAPIByteOrder *)byteOrder completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeFloat(_:value:byteOrder:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)writeFloatLittleEndian:(id)receiver value:(float)value completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeFloatLittleEndian(_:value:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)writeInt:(id)receiver value:(int32_t)value byteOrder:(PAPIByteOrder *)byteOrder completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeInt(_:value:byteOrder:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)writeIntLittleEndian:(id)receiver value:(int32_t)value completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeIntLittleEndian(_:value:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)writeLong:(id)receiver value:(int64_t)value byteOrder:(PAPIByteOrder *)byteOrder completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeLong(_:value:byteOrder:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)writeLongLittleEndian:(id)receiver value:(int64_t)value completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeLongLittleEndian(_:value:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)writeShort:(id)receiver value:(int16_t)value byteOrder:(PAPIByteOrder *)byteOrder completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeShort(_:value:byteOrder:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)writeShortLittleEndian:(id)receiver value:(int16_t)value completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeShortLittleEndian(_:value:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("WriterSessionKt"))) +@interface PAPIWriterSessionKt : PAPIBase + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)write:(id)receiver desiredSpace:(int32_t)desiredSpace block:(PAPIInt *(^)(PAPIMemory *, PAPILong *, PAPILong *))block completionHandler:(void (^)(PAPIInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("write(_:desiredSpace:block:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ByteOrderKt"))) +@interface PAPIByteOrderKt : PAPIBase ++ (int8_t)highByte:(int16_t)receiver __attribute__((swift_name("highByte(_:)"))); ++ (int32_t)highInt:(int64_t)receiver __attribute__((swift_name("highInt(_:)"))); ++ (int16_t)highShort:(int32_t)receiver __attribute__((swift_name("highShort(_:)"))); ++ (int8_t)lowByte:(int16_t)receiver __attribute__((swift_name("lowByte(_:)"))); ++ (int32_t)lowInt:(int64_t)receiver __attribute__((swift_name("lowInt(_:)"))); ++ (int16_t)lowShort:(int32_t)receiver __attribute__((swift_name("lowShort(_:)"))); ++ (uint32_t)reverseByteOrder:(uint32_t)receiver __attribute__((swift_name("reverseByteOrder(_:)"))); ++ (uint64_t)reverseByteOrder_:(uint64_t)receiver __attribute__((swift_name("reverseByteOrder(__:)"))); ++ (uint16_t)reverseByteOrder__:(uint16_t)receiver __attribute__((swift_name("reverseByteOrder(___:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MemoryFactoryKt"))) +@interface PAPIMemoryFactoryKt : PAPIBase ++ (id _Nullable)withMemorySize:(int32_t)size block:(id _Nullable (^)(PAPIMemory *))block __attribute__((swift_name("withMemory(size:block:)"))); ++ (id _Nullable)withMemorySize:(int64_t)size block_:(id _Nullable (^)(PAPIMemory *))block __attribute__((swift_name("withMemory(size:block_:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MemoryFactoryNativeKt"))) +@interface PAPIMemoryFactoryNativeKt : PAPIBase ++ (PAPIMemory *)doAllocMemory:(id)receiver size:(int32_t)size __attribute__((swift_name("doAllocMemory(_:size:)"))); ++ (PAPIMemory *)doAllocMemory:(id)receiver size_:(int64_t)size __attribute__((swift_name("doAllocMemory(_:size_:)"))); ++ (void)free:(id)receiver memory:(PAPIMemory *)memory __attribute__((swift_name("free(_:memory:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MemoryNativeKt"))) +@interface PAPIMemoryNativeKt : PAPIBase ++ (void)doCopyTo:(void *)receiver destination:(PAPIMemory *)destination offset:(int32_t)offset length:(int32_t)length destinationOffset:(int32_t)destinationOffset __attribute__((swift_name("doCopyTo(_:destination:offset:length:destinationOffset:)"))); ++ (void)doCopyTo:(void *)receiver destination:(PAPIMemory *)destination offset:(int64_t)offset length:(int64_t)length destinationOffset_:(int64_t)destinationOffset __attribute__((swift_name("doCopyTo(_:destination:offset:length:destinationOffset_:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ByteOrderNativeKt"))) +@interface PAPIByteOrderNativeKt : PAPIBase ++ (double)reverseByteOrder:(double)receiver __attribute__((swift_name("reverseByteOrder(_:)"))); ++ (float)reverseByteOrder_:(float)receiver __attribute__((swift_name("reverseByteOrder(__:)"))); ++ (int32_t)reverseByteOrder__:(int32_t)receiver __attribute__((swift_name("reverseByteOrder(___:)"))); ++ (int64_t)reverseByteOrder___:(int64_t)receiver __attribute__((swift_name("reverseByteOrder(____:)"))); ++ (int16_t)reverseByteOrder____:(int16_t)receiver __attribute__((swift_name("reverseByteOrder(_____:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SharedNativeKt"))) +@interface PAPISharedNativeKt : PAPIBase ++ (id)sharedValue:(id _Nullable)value __attribute__((swift_name("shared(value:)"))); ++ (id)threadLocalValue:(id)value __attribute__((swift_name("threadLocal(value:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PlatformKt"))) +@interface PAPIPlatformKt : PAPIBase ++ (PAPIBytePacketBuilder *)BytePacketBuilderHeaderSizeHint:(int32_t)headerSizeHint __attribute__((swift_name("BytePacketBuilder(headerSizeHint:)"))); +@property (class, readonly) int32_t PACKET_MAX_COPY_SIZE __attribute__((swift_name("PACKET_MAX_COPY_SIZE"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PacketKt"))) +@interface PAPIPacketKt : PAPIBase ++ (BOOL)isEmpty:(id)receiver __attribute__((swift_name("isEmpty(_:)"))) __attribute__((deprecated("Use endOfInput property instead"))); ++ (BOOL)isNotEmpty:(id)receiver __attribute__((swift_name("isNotEmpty(_:)"))) __attribute__((deprecated("This makes no sense for streaming inputs. Some use-cases are covered by endOfInput property"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ByteReadPacketKt"))) +@interface PAPIByteReadPacketKt : PAPIBase ++ (PAPIByteReadPacket *)ByteReadPacketArray:(PAPIKotlinByteArray *)array offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("ByteReadPacket(array:offset:length:)"))); ++ (PAPIByteReadPacket *)ByteReadPacketArray:(PAPIKotlinByteArray *)array offset:(int32_t)offset length:(int32_t)length block:(void (^)(PAPIKotlinByteArray *))block __attribute__((swift_name("ByteReadPacket(array:offset:length:block:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("IoBufferNativeKt"))) +@interface PAPIIoBufferNativeKt : PAPIBase ++ (PAPIChunkBuffer *)ChunkBufferPtr:(void *)ptr lengthInBytes:(int32_t)lengthInBytes origin:(PAPIChunkBuffer * _Nullable)origin __attribute__((swift_name("ChunkBuffer(ptr:lengthInBytes:origin:)"))); ++ (PAPIChunkBuffer *)ChunkBufferPtr:(void *)ptr lengthInBytes:(int64_t)lengthInBytes origin_:(PAPIChunkBuffer * _Nullable)origin __attribute__((swift_name("ChunkBuffer(ptr:lengthInBytes:origin_:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("StringsNativeKt"))) +@interface PAPIStringsNativeKt : PAPIBase ++ (NSString *)StringBytes:(PAPIKotlinByteArray *)bytes offset:(int32_t)offset length:(int32_t)length charset:(PAPICharset *)charset __attribute__((swift_name("String(bytes:offset:length:charset:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BuilderKt"))) +@interface PAPIBuilderKt : PAPIBase ++ (PAPIByteReadPacket *)buildPacketHeaderSizeHint:(int32_t)headerSizeHint block:(void (^)(PAPIBytePacketBuilder *))block __attribute__((swift_name("buildPacket(headerSizeHint:block:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BufferFactoryKt"))) +@interface PAPIBufferFactoryKt : PAPIBase ++ (id _Nullable)withBufferPool:(id)pool block:(id _Nullable (^)(PAPIBuffer *))block __attribute__((swift_name("withBuffer(pool:block:)"))); ++ (id _Nullable)withBufferSize:(int32_t)size block:(id _Nullable (^)(PAPIBuffer *))block __attribute__((swift_name("withBuffer(size:block:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OutputKt"))) +@interface PAPIOutputKt : PAPIBase ++ (id)append:(id)receiver csq:(PAPIKotlinCharArray *)csq start:(int32_t)start end:(int32_t)end __attribute__((swift_name("append(_:csq:start:end:)"))); ++ (id)append:(id)receiver csq:(id)csq start:(int32_t)start end_:(int32_t)end __attribute__((swift_name("append(_:csq:start:end_:)"))); ++ (void)fill:(id)receiver times:(int64_t)times value:(int8_t)value __attribute__((swift_name("fill(_:times:value:)"))); ++ (void)writeFully:(id)receiver src:(PAPIMemory *)src offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("writeFully(_:src:offset:length:)"))); ++ (void)writeFully:(id)receiver src:(PAPIMemory *)src offset:(int64_t)offset length_:(int64_t)length __attribute__((swift_name("writeFully(_:src:offset:length_:)"))); ++ (void)writeFully:(id)receiver src:(PAPIBuffer *)src length:(int32_t)length __attribute__((swift_name("writeFully(_:src:length:)"))); ++ (void)writeFully:(id)receiver src:(PAPIKotlinByteArray *)src offset:(int32_t)offset length__:(int32_t)length __attribute__((swift_name("writeFully(_:src:offset:length__:)"))); ++ (void)writeFully:(id)receiver src:(PAPIKotlinDoubleArray *)src offset:(int32_t)offset length___:(int32_t)length __attribute__((swift_name("writeFully(_:src:offset:length___:)"))); ++ (void)writeFully:(id)receiver src:(PAPIKotlinFloatArray *)src offset:(int32_t)offset length____:(int32_t)length __attribute__((swift_name("writeFully(_:src:offset:length____:)"))); ++ (void)writeFully:(id)receiver src:(PAPIKotlinIntArray *)src offset:(int32_t)offset length_____:(int32_t)length __attribute__((swift_name("writeFully(_:src:offset:length_____:)"))); ++ (void)writeFully:(id)receiver src:(PAPIKotlinLongArray *)src offset:(int32_t)offset length______:(int32_t)length __attribute__((swift_name("writeFully(_:src:offset:length______:)"))); ++ (void)writeFully:(id)receiver src:(PAPIKotlinShortArray *)src offset:(int32_t)offset length_______:(int32_t)length __attribute__((swift_name("writeFully(_:src:offset:length_______:)"))); ++ (void)writePacket:(id)receiver packet:(PAPIByteReadPacket *)packet __attribute__((swift_name("writePacket(_:packet:)"))); ++ (void)writeWhile:(id)receiver block:(PAPIBoolean *(^)(PAPIBuffer *))block __attribute__((swift_name("writeWhile(_:block:)"))); ++ (void)writeWhileSize:(id)receiver initialSize:(int32_t)initialSize block:(PAPIInt *(^)(PAPIBuffer *))block __attribute__((swift_name("writeWhileSize(_:initialSize:block:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CopyKt"))) +@interface PAPICopyKt : PAPIBase ++ (int64_t)doCopyTo:(id)receiver output:(id)output __attribute__((swift_name("doCopyTo(_:output:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("InputKt"))) +@interface PAPIInputKt : PAPIBase ++ (int64_t)discard:(id)receiver __attribute__((swift_name("discard(_:)"))); ++ (void)discardExact:(id)receiver n:(int32_t)n __attribute__((swift_name("discardExact(_:n:)"))); ++ (void)discardExact:(id)receiver n_:(int64_t)n __attribute__((swift_name("discardExact(_:n_:)"))); ++ (void)forEach:(id)receiver block:(void (^)(PAPIByte *))block __attribute__((swift_name("forEach(_:block:)"))); ++ (unichar)peekCharUtf8:(id)receiver __attribute__((swift_name("peekCharUtf8(_:)"))); ++ (void)takeWhile:(id)receiver block:(PAPIBoolean *(^)(PAPIBuffer *))block __attribute__((swift_name("takeWhile(_:block:)"))); ++ (void)takeWhileSize:(id)receiver initialSize:(int32_t)initialSize block:(PAPIInt *(^)(PAPIBuffer *))block __attribute__((swift_name("takeWhileSize(_:initialSize:block:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ScannerKt"))) +@interface PAPIScannerKt : PAPIBase ++ (int64_t)discardUntilDelimiter:(id)receiver delimiter:(int8_t)delimiter __attribute__((swift_name("discardUntilDelimiter(_:delimiter:)"))); ++ (int64_t)discardUntilDelimiters:(id)receiver delimiter1:(int8_t)delimiter1 delimiter2:(int8_t)delimiter2 __attribute__((swift_name("discardUntilDelimiters(_:delimiter1:delimiter2:)"))); ++ (int64_t)readUntilDelimiter:(id)receiver delimiter:(int8_t)delimiter dst:(id)dst __attribute__((swift_name("readUntilDelimiter(_:delimiter:dst:)"))); ++ (int32_t)readUntilDelimiter:(id)receiver delimiter:(int8_t)delimiter dst:(PAPIKotlinByteArray *)dst offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("readUntilDelimiter(_:delimiter:dst:offset:length:)"))); ++ (int64_t)readUntilDelimiters:(id)receiver delimiter1:(int8_t)delimiter1 delimiter2:(int8_t)delimiter2 dst:(id)dst __attribute__((swift_name("readUntilDelimiters(_:delimiter1:delimiter2:dst:)"))); ++ (int32_t)readUntilDelimiters:(id)receiver delimiter1:(int8_t)delimiter1 delimiter2:(int8_t)delimiter2 dst:(PAPIKotlinByteArray *)dst offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("readUntilDelimiters(_:delimiter1:delimiter2:dst:offset:length:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("InputPeekKt"))) +@interface PAPIInputPeekKt : PAPIBase ++ (int32_t)peekTo:(id)receiver destination:(PAPIBuffer *)destination offset:(int32_t)offset min:(int32_t)min max:(int32_t)max __attribute__((swift_name("peekTo(_:destination:offset:min:max:)"))) __attribute__((deprecated("Use peekTo(Memory) instead."))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("InputArraysKt"))) +@interface PAPIInputArraysKt : PAPIBase ++ (int32_t)readAvailable:(id)receiver destination:(PAPIMemory *)destination destinationOffset:(int32_t)destinationOffset length:(int32_t)length __attribute__((swift_name("readAvailable(_:destination:destinationOffset:length:)"))); ++ (int64_t)readAvailable:(id)receiver destination:(PAPIMemory *)destination destinationOffset:(int64_t)destinationOffset length_:(int64_t)length __attribute__((swift_name("readAvailable(_:destination:destinationOffset:length_:)"))); ++ (int32_t)readAvailable:(id)receiver dst:(PAPIBuffer *)dst length:(int32_t)length __attribute__((swift_name("readAvailable(_:dst:length:)"))); ++ (int32_t)readAvailable:(id)receiver dst:(PAPIKotlinByteArray *)dst offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("readAvailable(_:dst:offset:length:)"))); ++ (int32_t)readAvailable:(id)receiver dst:(PAPIKotlinDoubleArray *)dst offset:(int32_t)offset length_:(int32_t)length __attribute__((swift_name("readAvailable(_:dst:offset:length_:)"))); ++ (int32_t)readAvailable:(id)receiver dst:(PAPIKotlinFloatArray *)dst offset:(int32_t)offset length__:(int32_t)length __attribute__((swift_name("readAvailable(_:dst:offset:length__:)"))); ++ (int32_t)readAvailable:(id)receiver dst:(PAPIKotlinIntArray *)dst offset:(int32_t)offset length___:(int32_t)length __attribute__((swift_name("readAvailable(_:dst:offset:length___:)"))); ++ (int32_t)readAvailable:(id)receiver dst:(PAPIKotlinLongArray *)dst offset:(int32_t)offset length____:(int32_t)length __attribute__((swift_name("readAvailable(_:dst:offset:length____:)"))); ++ (int32_t)readAvailable:(id)receiver dst:(PAPIKotlinShortArray *)dst offset:(int32_t)offset length_____:(int32_t)length __attribute__((swift_name("readAvailable(_:dst:offset:length_____:)"))); ++ (void)readFully:(id)receiver destination:(PAPIMemory *)destination destinationOffset:(int32_t)destinationOffset length:(int32_t)length __attribute__((swift_name("readFully(_:destination:destinationOffset:length:)"))); ++ (void)readFully:(id)receiver destination:(PAPIMemory *)destination destinationOffset:(int64_t)destinationOffset length_:(int64_t)length __attribute__((swift_name("readFully(_:destination:destinationOffset:length_:)"))); ++ (void)readFully:(id)receiver dst:(PAPIBuffer *)dst length:(int32_t)length __attribute__((swift_name("readFully(_:dst:length:)"))); ++ (void)readFully:(id)receiver dst:(PAPIKotlinByteArray *)dst offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("readFully(_:dst:offset:length:)"))); ++ (void)readFully:(id)receiver dst:(PAPIKotlinDoubleArray *)dst offset:(int32_t)offset length_:(int32_t)length __attribute__((swift_name("readFully(_:dst:offset:length_:)"))); ++ (void)readFully:(id)receiver dst:(PAPIKotlinFloatArray *)dst offset:(int32_t)offset length__:(int32_t)length __attribute__((swift_name("readFully(_:dst:offset:length__:)"))); ++ (void)readFully:(id)receiver dst:(PAPIKotlinIntArray *)dst offset:(int32_t)offset length___:(int32_t)length __attribute__((swift_name("readFully(_:dst:offset:length___:)"))); ++ (void)readFully:(id)receiver dst:(PAPIKotlinLongArray *)dst offset:(int32_t)offset length____:(int32_t)length __attribute__((swift_name("readFully(_:dst:offset:length____:)"))); ++ (void)readFully:(id)receiver dst:(PAPIKotlinShortArray *)dst offset:(int32_t)offset length_____:(int32_t)length __attribute__((swift_name("readFully(_:dst:offset:length_____:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("InputArraysNativeKt"))) +@interface PAPIInputArraysNativeKt : PAPIBase ++ (int32_t)readAvailable:(id)receiver dst:(void *)dst offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("readAvailable(_:dst:offset:length:)"))); ++ (int64_t)readAvailable:(id)receiver dst:(void *)dst offset:(int64_t)offset length_:(int64_t)length __attribute__((swift_name("readAvailable(_:dst:offset:length_:)"))); ++ (void)readFully:(id)receiver dst:(void *)dst offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("readFully(_:dst:offset:length:)"))); ++ (void)readFully:(id)receiver dst:(void *)dst offset:(int64_t)offset length_:(int64_t)length __attribute__((swift_name("readFully(_:dst:offset:length_:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("InputLittleEndianKt"))) +@interface PAPIInputLittleEndianKt : PAPIBase ++ (int32_t)readAvailableLittleEndian:(id)receiver dst:(PAPIKotlinDoubleArray *)dst offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("readAvailableLittleEndian(_:dst:offset:length:)"))); ++ (int32_t)readAvailableLittleEndian:(id)receiver dst:(PAPIKotlinFloatArray *)dst offset:(int32_t)offset length_:(int32_t)length __attribute__((swift_name("readAvailableLittleEndian(_:dst:offset:length_:)"))); ++ (int32_t)readAvailableLittleEndian:(id)receiver dst:(PAPIKotlinIntArray *)dst offset:(int32_t)offset length__:(int32_t)length __attribute__((swift_name("readAvailableLittleEndian(_:dst:offset:length__:)"))); ++ (int32_t)readAvailableLittleEndian:(id)receiver dst:(PAPIKotlinLongArray *)dst offset:(int32_t)offset length___:(int32_t)length __attribute__((swift_name("readAvailableLittleEndian(_:dst:offset:length___:)"))); ++ (int32_t)readAvailableLittleEndian:(id)receiver dst:(PAPIKotlinShortArray *)dst offset:(int32_t)offset length____:(int32_t)length __attribute__((swift_name("readAvailableLittleEndian(_:dst:offset:length____:)"))); ++ (int32_t)readAvailableLittleEndian:(id)receiver dst:(id)dst offset:(int32_t)offset length_____:(int32_t)length __attribute__((swift_name("readAvailableLittleEndian(_:dst:offset:length_____:)"))); ++ (int32_t)readAvailableLittleEndian:(id)receiver dst:(id)dst offset:(int32_t)offset length______:(int32_t)length __attribute__((swift_name("readAvailableLittleEndian(_:dst:offset:length______:)"))); ++ (int32_t)readAvailableLittleEndian:(id)receiver dst:(id)dst offset:(int32_t)offset length_______:(int32_t)length __attribute__((swift_name("readAvailableLittleEndian(_:dst:offset:length_______:)"))); ++ (double)readDouble:(id)receiver byteOrder:(PAPIByteOrder *)byteOrder __attribute__((swift_name("readDouble(_:byteOrder:)"))); ++ (double)readDoubleLittleEndian:(id)receiver __attribute__((swift_name("readDoubleLittleEndian(_:)"))); ++ (float)readFloat:(id)receiver byteOrder:(PAPIByteOrder *)byteOrder __attribute__((swift_name("readFloat(_:byteOrder:)"))); ++ (float)readFloatLittleEndian:(id)receiver __attribute__((swift_name("readFloatLittleEndian(_:)"))); ++ (void)readFullyLittleEndian:(id)receiver dst:(PAPIKotlinDoubleArray *)dst offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("readFullyLittleEndian(_:dst:offset:length:)"))); ++ (void)readFullyLittleEndian:(id)receiver dst:(PAPIKotlinFloatArray *)dst offset:(int32_t)offset length_:(int32_t)length __attribute__((swift_name("readFullyLittleEndian(_:dst:offset:length_:)"))); ++ (void)readFullyLittleEndian:(id)receiver dst:(PAPIKotlinIntArray *)dst offset:(int32_t)offset length__:(int32_t)length __attribute__((swift_name("readFullyLittleEndian(_:dst:offset:length__:)"))); ++ (void)readFullyLittleEndian:(id)receiver dst:(PAPIKotlinLongArray *)dst offset:(int32_t)offset length___:(int32_t)length __attribute__((swift_name("readFullyLittleEndian(_:dst:offset:length___:)"))); ++ (void)readFullyLittleEndian:(id)receiver dst:(PAPIKotlinShortArray *)dst offset:(int32_t)offset length____:(int32_t)length __attribute__((swift_name("readFullyLittleEndian(_:dst:offset:length____:)"))); ++ (void)readFullyLittleEndian:(id)receiver dst:(id)dst offset:(int32_t)offset length_____:(int32_t)length __attribute__((swift_name("readFullyLittleEndian(_:dst:offset:length_____:)"))); ++ (void)readFullyLittleEndian:(id)receiver dst:(id)dst offset:(int32_t)offset length______:(int32_t)length __attribute__((swift_name("readFullyLittleEndian(_:dst:offset:length______:)"))); ++ (void)readFullyLittleEndian:(id)receiver dst:(id)dst offset:(int32_t)offset length_______:(int32_t)length __attribute__((swift_name("readFullyLittleEndian(_:dst:offset:length_______:)"))); ++ (int32_t)readInt:(id)receiver byteOrder:(PAPIByteOrder *)byteOrder __attribute__((swift_name("readInt(_:byteOrder:)"))); ++ (int32_t)readIntLittleEndian:(id)receiver __attribute__((swift_name("readIntLittleEndian(_:)"))); ++ (int64_t)readLong:(id)receiver byteOrder:(PAPIByteOrder *)byteOrder __attribute__((swift_name("readLong(_:byteOrder:)"))); ++ (int64_t)readLongLittleEndian:(id)receiver __attribute__((swift_name("readLongLittleEndian(_:)"))); ++ (int16_t)readShort:(id)receiver byteOrder:(PAPIByteOrder *)byteOrder __attribute__((swift_name("readShort(_:byteOrder:)"))); ++ (int16_t)readShortLittleEndian:(id)receiver __attribute__((swift_name("readShortLittleEndian(_:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("StringsKt"))) +@interface PAPIStringsKt : PAPIBase ++ (PAPIKotlinByteArray *)readBytes:(id)receiver __attribute__((swift_name("readBytes(_:)"))); ++ (PAPIKotlinByteArray *)readBytes:(id)receiver n:(int32_t)n __attribute__((swift_name("readBytes(_:n:)"))); ++ (PAPIKotlinByteArray *)readBytesOf:(id)receiver min:(int32_t)min max:(int32_t)max __attribute__((swift_name("readBytesOf(_:min:max:)"))); ++ (NSString *)readText:(id)receiver charset:(PAPICharset *)charset max:(int32_t)max __attribute__((swift_name("readText(_:charset:max:)"))); ++ (NSString *)readText:(id)receiver decoder:(PAPICharsetDecoder *)decoder max:(int32_t)max __attribute__((swift_name("readText(_:decoder:max:)"))) __attribute__((deprecated("Use CharsetDecoder.decode instead"))); ++ (int32_t)readText:(id)receiver out:(id)out charset:(PAPICharset *)charset max:(int32_t)max __attribute__((swift_name("readText(_:out:charset:max:)"))); ++ (int32_t)readText:(id)receiver out:(id)out decoder:(PAPICharsetDecoder *)decoder max:(int32_t)max __attribute__((swift_name("readText(_:out:decoder:max:)"))) __attribute__((unavailable("Use CharsetDecoder.decode instead"))); ++ (NSString *)readTextExact:(id)receiver charset:(PAPICharset *)charset n:(int32_t)n __attribute__((swift_name("readTextExact(_:charset:n:)"))) __attribute__((deprecated("Use readTextExactCharacters instead."))); ++ (NSString *)readTextExactBytes:(id)receiver charset:(PAPICharset *)charset bytes:(int32_t)bytes __attribute__((swift_name("readTextExactBytes(_:charset:bytes:)"))) __attribute__((deprecated("Parameters order is changed."))); ++ (NSString *)readTextExactBytes:(id)receiver bytesCount:(int32_t)bytesCount charset:(PAPICharset *)charset __attribute__((swift_name("readTextExactBytes(_:bytesCount:charset:)"))); ++ (NSString *)readTextExactCharacters:(id)receiver charactersCount:(int32_t)charactersCount charset:(PAPICharset *)charset __attribute__((swift_name("readTextExactCharacters(_:charactersCount:charset:)"))); ++ (NSString * _Nullable)readUTF8Line:(id)receiver estimate:(int32_t)estimate limit:(int32_t)limit __attribute__((swift_name("readUTF8Line(_:estimate:limit:)"))); ++ (BOOL)readUTF8LineTo:(id)receiver out:(id)out limit:(int32_t)limit __attribute__((swift_name("readUTF8LineTo(_:out:limit:)"))); ++ (NSString *)readUTF8UntilDelimiter:(id)receiver delimiters:(NSString *)delimiters limit:(int32_t)limit __attribute__((swift_name("readUTF8UntilDelimiter(_:delimiters:limit:)"))); ++ (int32_t)readUTF8UntilDelimiterTo:(id)receiver out:(id)out delimiters:(NSString *)delimiters limit:(int32_t)limit __attribute__((swift_name("readUTF8UntilDelimiterTo(_:out:delimiters:limit:)"))); ++ (int32_t)readUTF8UntilDelimiterTo:(id)receiver out:(id)out delimiters:(NSString *)delimiters limit_:(int32_t)limit __attribute__((swift_name("readUTF8UntilDelimiterTo(_:out:delimiters:limit_:)"))); ++ (PAPIKotlinByteArray *)toByteArray:(NSString *)receiver charset:(PAPICharset *)charset __attribute__((swift_name("toByteArray(_:charset:)"))); ++ (void)writeText:(id)receiver text:(PAPIKotlinCharArray *)text fromIndex:(int32_t)fromIndex toIndex:(int32_t)toIndex charset:(PAPICharset *)charset __attribute__((swift_name("writeText(_:text:fromIndex:toIndex:charset:)"))); ++ (void)writeText:(id)receiver text:(id)text fromIndex:(int32_t)fromIndex toIndex:(int32_t)toIndex charset_:(PAPICharset *)charset __attribute__((swift_name("writeText(_:text:fromIndex:toIndex:charset_:)"))); ++ (void)writeText:(id)receiver text:(id)text fromIndex:(int32_t)fromIndex toIndex:(int32_t)toIndex encoder:(PAPICharsetEncoder *)encoder __attribute__((swift_name("writeText(_:text:fromIndex:toIndex:encoder:)"))) __attribute__((unavailable("Use the implementation with Charset instead"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("InputPrimitivesKt"))) +@interface PAPIInputPrimitivesKt : PAPIBase ++ (double)readDouble:(id)receiver __attribute__((swift_name("readDouble(_:)"))); ++ (double)readDoubleFallback:(id)receiver __attribute__((swift_name("readDoubleFallback(_:)"))); ++ (float)readFloat:(id)receiver __attribute__((swift_name("readFloat(_:)"))); ++ (float)readFloatFallback:(id)receiver __attribute__((swift_name("readFloatFallback(_:)"))); ++ (int32_t)readInt:(id)receiver __attribute__((swift_name("readInt(_:)"))); ++ (int64_t)readLong:(id)receiver __attribute__((swift_name("readLong(_:)"))); ++ (int16_t)readShort:(id)receiver __attribute__((swift_name("readShort(_:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UnsignedTypesKt"))) +@interface PAPIUnsignedTypesKt : PAPIBase ++ (void)readFully:(id)receiver dst:(id)dst offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("readFully(_:dst:offset:length:)"))); ++ (void)readFully:(id)receiver dst:(id)dst offset:(int32_t)offset length_:(int32_t)length __attribute__((swift_name("readFully(_:dst:offset:length_:)"))); ++ (void)readFully:(id)receiver dst:(id)dst offset:(int32_t)offset length__:(int32_t)length __attribute__((swift_name("readFully(_:dst:offset:length__:)"))); ++ (void)readFully:(id)receiver dst:(id)dst offset:(int32_t)offset length___:(int32_t)length __attribute__((swift_name("readFully(_:dst:offset:length___:)"))); ++ (uint8_t)readUByte:(id)receiver __attribute__((swift_name("readUByte(_:)"))); ++ (uint32_t)readUInt:(id)receiver __attribute__((swift_name("readUInt(_:)"))); ++ (uint64_t)readULong:(id)receiver __attribute__((swift_name("readULong(_:)"))); ++ (uint16_t)readUShort:(id)receiver __attribute__((swift_name("readUShort(_:)"))); ++ (void)writeFully:(id)receiver array:(id)array offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("writeFully(_:array:offset:length:)"))); ++ (void)writeFully:(id)receiver array:(id)array offset:(int32_t)offset length_:(int32_t)length __attribute__((swift_name("writeFully(_:array:offset:length_:)"))); ++ (void)writeFully:(id)receiver array:(id)array offset:(int32_t)offset length__:(int32_t)length __attribute__((swift_name("writeFully(_:array:offset:length__:)"))); ++ (void)writeFully:(id)receiver array:(id)array offset:(int32_t)offset length___:(int32_t)length __attribute__((swift_name("writeFully(_:array:offset:length___:)"))); ++ (void)writeUByte:(id)receiver v:(uint8_t)v __attribute__((swift_name("writeUByte(_:v:)"))); ++ (void)writeUInt:(id)receiver v:(uint32_t)v __attribute__((swift_name("writeUInt(_:v:)"))); ++ (void)writeULong:(id)receiver v:(uint64_t)v __attribute__((swift_name("writeULong(_:v:)"))); ++ (void)writeUShort:(id)receiver v:(uint16_t)v __attribute__((swift_name("writeUShort(_:v:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CloseableKt"))) +@interface PAPICloseableKt : PAPIBase ++ (id _Nullable)use:(id)receiver block:(id _Nullable (^)(id))block __attribute__((swift_name("use(_:block:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OutputPrimitivesKt"))) +@interface PAPIOutputPrimitivesKt : PAPIBase ++ (void)writeDouble:(id)receiver value:(double)value __attribute__((swift_name("writeDouble(_:value:)"))); ++ (void)writeFloat:(id)receiver value:(float)value __attribute__((swift_name("writeFloat(_:value:)"))); ++ (void)writeInt:(id)receiver value:(int32_t)value __attribute__((swift_name("writeInt(_:value:)"))); ++ (void)writeLong:(id)receiver value:(int64_t)value __attribute__((swift_name("writeLong(_:value:)"))); ++ (void)writeShort:(id)receiver value:(int16_t)value __attribute__((swift_name("writeShort(_:value:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OutputLittleEndianKt"))) +@interface PAPIOutputLittleEndianKt : PAPIBase ++ (void)writeDouble:(id)receiver value:(double)value byteOrder:(PAPIByteOrder *)byteOrder __attribute__((swift_name("writeDouble(_:value:byteOrder:)"))); ++ (void)writeDoubleLittleEndian:(id)receiver value:(double)value __attribute__((swift_name("writeDoubleLittleEndian(_:value:)"))); ++ (void)writeFloat:(id)receiver value:(float)value byteOrder:(PAPIByteOrder *)byteOrder __attribute__((swift_name("writeFloat(_:value:byteOrder:)"))); ++ (void)writeFloatLittleEndian:(id)receiver value:(float)value __attribute__((swift_name("writeFloatLittleEndian(_:value:)"))); ++ (void)writeFullyLittleEndian:(id)receiver source:(PAPIKotlinDoubleArray *)source offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("writeFullyLittleEndian(_:source:offset:length:)"))); ++ (void)writeFullyLittleEndian:(id)receiver source:(PAPIKotlinFloatArray *)source offset:(int32_t)offset length_:(int32_t)length __attribute__((swift_name("writeFullyLittleEndian(_:source:offset:length_:)"))); ++ (void)writeFullyLittleEndian:(id)receiver source:(PAPIKotlinIntArray *)source offset:(int32_t)offset length__:(int32_t)length __attribute__((swift_name("writeFullyLittleEndian(_:source:offset:length__:)"))); ++ (void)writeFullyLittleEndian:(id)receiver source:(PAPIKotlinLongArray *)source offset:(int32_t)offset length___:(int32_t)length __attribute__((swift_name("writeFullyLittleEndian(_:source:offset:length___:)"))); ++ (void)writeFullyLittleEndian:(id)receiver source:(PAPIKotlinShortArray *)source offset:(int32_t)offset length____:(int32_t)length __attribute__((swift_name("writeFullyLittleEndian(_:source:offset:length____:)"))); ++ (void)writeFullyLittleEndian:(id)receiver source:(id)source offset:(int32_t)offset length_____:(int32_t)length __attribute__((swift_name("writeFullyLittleEndian(_:source:offset:length_____:)"))); ++ (void)writeFullyLittleEndian:(id)receiver source:(id)source offset:(int32_t)offset length______:(int32_t)length __attribute__((swift_name("writeFullyLittleEndian(_:source:offset:length______:)"))); ++ (void)writeFullyLittleEndian:(id)receiver source:(id)source offset:(int32_t)offset length_______:(int32_t)length __attribute__((swift_name("writeFullyLittleEndian(_:source:offset:length_______:)"))); ++ (void)writeInt:(id)receiver value:(int32_t)value byteOrder:(PAPIByteOrder *)byteOrder __attribute__((swift_name("writeInt(_:value:byteOrder:)"))); ++ (void)writeIntLittleEndian:(id)receiver value:(int32_t)value __attribute__((swift_name("writeIntLittleEndian(_:value:)"))); ++ (void)writeLong:(id)receiver value:(int64_t)value byteOrder:(PAPIByteOrder *)byteOrder __attribute__((swift_name("writeLong(_:value:byteOrder:)"))); ++ (void)writeLongLittleEndian:(id)receiver value:(int64_t)value __attribute__((swift_name("writeLongLittleEndian(_:value:)"))); ++ (void)writeShort:(id)receiver value:(int16_t)value byteOrder:(PAPIByteOrder *)byteOrder __attribute__((swift_name("writeShort(_:value:byteOrder:)"))); ++ (void)writeShortLittleEndian:(id)receiver value:(int16_t)value __attribute__((swift_name("writeShortLittleEndian(_:value:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OutputArraysNativeKt"))) +@interface PAPIOutputArraysNativeKt : PAPIBase ++ (void)writeFully:(id)receiver src:(void *)src offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("writeFully(_:src:offset:length:)"))); ++ (void)writeFully:(id)receiver src:(void *)src offset:(int64_t)offset length_:(int64_t)length __attribute__((swift_name("writeFully(_:src:offset:length_:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UTF8Kt"))) +@interface PAPIUTF8Kt : PAPIBase + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)decodeUTF8LineLoopSuspendOut:(id)out limit:(int32_t)limit nextChunk:(id)nextChunk completionHandler:(void (^)(PAPIBoolean * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("decodeUTF8LineLoopSuspend(out:limit:nextChunk:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UnsafeKt"))) +@interface PAPIUnsafeKt : PAPIBase ++ (void)afterHeadWrite:(id)receiver current:(PAPIChunkBuffer *)current __attribute__((swift_name("afterHeadWrite(_:current:)"))); ++ (void)completeReadHead:(id)receiver current:(PAPIChunkBuffer *)current __attribute__((swift_name("completeReadHead(_:current:)"))); ++ (PAPIChunkBuffer * _Nullable)prepareReadFirstHead:(id)receiver minSize:(int32_t)minSize __attribute__((swift_name("prepareReadFirstHead(_:minSize:)"))); ++ (PAPIChunkBuffer * _Nullable)prepareReadNextHead:(id)receiver current:(PAPIChunkBuffer *)current __attribute__((swift_name("prepareReadNextHead(_:current:)"))); ++ (PAPIChunkBuffer *)prepareWriteHead:(id)receiver capacity:(int32_t)capacity current:(PAPIChunkBuffer * _Nullable)current __attribute__((swift_name("prepareWriteHead(_:capacity:current:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ByteArrayPoolKt"))) +@interface PAPIByteArrayPoolKt : PAPIBase +@property (class, readonly) id ByteArrayPool __attribute__((swift_name("ByteArrayPool"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PoolKt"))) +@interface PAPIPoolKt : PAPIBase ++ (id _Nullable)useBorrowed:(id)receiver block:(id _Nullable (^)(id))block __attribute__((swift_name("useBorrowed(_:block:)"))) __attribute__((deprecated("Use useInstance instead"))); ++ (id _Nullable)useInstance:(id)receiver block:(id _Nullable (^)(id))block __attribute__((swift_name("useInstance(_:block:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ErrorsKt"))) +@interface PAPIErrorsKt : PAPIBase ++ (void)TODO_ERROR __attribute__((swift_name("TODO_ERROR()"))) __attribute__((unavailable("Not implemented."))); ++ (void)TODO_ERRORValue:(id _Nullable)value __attribute__((swift_name("TODO_ERROR(value:)"))) __attribute__((unavailable("Not implemented."))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PosixInputKt"))) +@interface PAPIPosixInputKt : PAPIBase ++ (id)InputFileDescriptor:(int32_t)fileDescriptor __attribute__((swift_name("Input(fileDescriptor:)"))); ++ (id)InputFile:(void *)file __attribute__((swift_name("Input(file:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PosixOutputKt"))) +@interface PAPIPosixOutputKt : PAPIBase ++ (id)OutputFileDescriptor:(int32_t)fileDescriptor __attribute__((swift_name("Output(fileDescriptor:)"))); ++ (id)OutputFile:(void *)file __attribute__((swift_name("Output(file:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PosixIoKt"))) +@interface PAPIPosixIoKt : PAPIBase ++ (int32_t)freadDestination:(PAPIMemory *)destination offset:(int32_t)offset length:(int32_t)length stream:(void *)stream __attribute__((swift_name("fread(destination:offset:length:stream:)"))); ++ (int64_t)freadDestination:(PAPIMemory *)destination offset:(int64_t)offset length:(int64_t)length stream_:(void *)stream __attribute__((swift_name("fread(destination:offset:length:stream_:)"))); ++ (uint64_t)freadBuffer:(PAPIBuffer *)buffer stream:(void *)stream __attribute__((swift_name("fread(buffer:stream:)"))) __attribute__((deprecated("Use fread(Memory) instead."))); ++ (int32_t)fwriteSource:(PAPIMemory *)source offset:(int32_t)offset length:(int32_t)length stream:(void *)stream __attribute__((swift_name("fwrite(source:offset:length:stream:)"))); ++ (int64_t)fwriteSource:(PAPIMemory *)source offset:(int64_t)offset length:(int64_t)length stream_:(void *)stream __attribute__((swift_name("fwrite(source:offset:length:stream_:)"))); ++ (uint64_t)fwriteBuffer:(PAPIBuffer *)buffer stream:(void *)stream __attribute__((swift_name("fwrite(buffer:stream:)"))) __attribute__((deprecated("Use fwrite(Memory) instead."))); ++ (int32_t)readFildes:(int32_t)fildes destination:(PAPIMemory *)destination offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("read(fildes:destination:offset:length:)"))); ++ (int64_t)readFildes:(int32_t)fildes destination:(PAPIMemory *)destination offset:(int64_t)offset length_:(int64_t)length __attribute__((swift_name("read(fildes:destination:offset:length_:)"))); ++ (int64_t)readFildes:(int32_t)fildes buffer:(PAPIBuffer *)buffer __attribute__((swift_name("read(fildes:buffer:)"))) __attribute__((deprecated("Use read(Memory) instead."))); ++ (int64_t)recvSocket:(int32_t)socket buffer:(PAPIBuffer *)buffer flags:(int32_t)flags __attribute__((swift_name("recv(socket:buffer:flags:)"))) __attribute__((deprecated("Use fread(Memory) instead."))); ++ (int64_t)recvfromSocket:(int32_t)socket buffer:(PAPIBuffer *)buffer flags:(int32_t)flags addr:(PAPIKotlinCValuesRef *)addr addr_len:(PAPIKotlinCValuesRef *)addr_len __attribute__((swift_name("recvfrom(socket:buffer:flags:addr:addr_len:)"))); ++ (int32_t)sendSocket:(int32_t)socket source:(PAPIMemory *)source sourceOffset:(int32_t)sourceOffset maxLength:(int32_t)maxLength flags:(int32_t)flags __attribute__((swift_name("send(socket:source:sourceOffset:maxLength:flags:)"))); ++ (int64_t)sendSocket:(int32_t)socket source:(PAPIMemory *)source sourceOffset:(int64_t)sourceOffset maxLength:(int64_t)maxLength flags_:(int32_t)flags __attribute__((swift_name("send(socket:source:sourceOffset:maxLength:flags_:)"))); ++ (int64_t)sendSocket:(int32_t)socket buffer:(PAPIBuffer *)buffer flags:(int32_t)flags __attribute__((swift_name("send(socket:buffer:flags:)"))) __attribute__((deprecated("Use send(Memory) instead."))); ++ (int64_t)sendtoSocket:(int32_t)socket buffer:(PAPIBuffer *)buffer flags:(int32_t)flags addr:(PAPIKotlinCValuesRef *)addr addr_len:(uint32_t)addr_len __attribute__((swift_name("sendto(socket:buffer:flags:addr:addr_len:)"))); ++ (int32_t)writeFildes:(int32_t)fildes source:(PAPIMemory *)source offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("write(fildes:source:offset:length:)"))); ++ (int64_t)writeFildes:(int32_t)fildes source:(PAPIMemory *)source offset:(int64_t)offset length_:(int64_t)length __attribute__((swift_name("write(fildes:source:offset:length_:)"))); ++ (int64_t)writeFildes:(int32_t)fildes buffer:(PAPIBuffer *)buffer __attribute__((swift_name("write(fildes:buffer:)"))) __attribute__((deprecated("Use write(Memory) instead."))); ++ (id _Nullable)use:(void *)receiver block:(id _Nullable (^)(id))block __attribute__((swift_name("use(_:block:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SyntaxTreeKt"))) +@interface PAPISyntaxTreeKt : PAPIBase ++ (id)flattened:(id)receiver structureParsers:(NSSet> *)structureParsers __attribute__((swift_name("flattened(_:structureParsers:)"))); ++ (id)flattenedForGrammar:(id)receiver grammar:(PAPIGrammar *)grammar __attribute__((swift_name("flattenedForGrammar(_:grammar:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("LiftToSyntaxTreeKt"))) +@interface PAPILiftToSyntaxTreeKt : PAPIBase ++ (id)liftToSyntaxTreeParser:(id)receiver liftOptions:(PAPILiftToSyntaxTreeOptions *)liftOptions structureParsers:(NSSet> * _Nullable)structureParsers transformer:(id _Nullable)transformer __attribute__((swift_name("liftToSyntaxTreeParser(_:liftOptions:structureParsers:transformer:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("TokenKt"))) +@interface PAPITokenKt : PAPIBase +@property (class, readonly) PAPIToken *noneMatched __attribute__((swift_name("noneMatched"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("LiteralTokenKt"))) +@interface PAPILiteralTokenKt : PAPIBase ++ (PAPIToken *)literalTokenText:(NSString *)text ignore:(BOOL)ignore __attribute__((swift_name("literalToken(text:ignore:)"))); ++ (PAPIToken *)literalTokenName:(NSString *)name text:(NSString *)text ignore:(BOOL)ignore __attribute__((swift_name("literalToken(name:text:ignore:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RegexTokenKt"))) +@interface PAPIRegexTokenKt : PAPIBase ++ (PAPIRegexToken *)regexTokenPattern:(NSString *)pattern ignore:(BOOL)ignore __attribute__((swift_name("regexToken(pattern:ignore:)"))); ++ (PAPIRegexToken *)regexTokenName:(NSString *)name pattern:(NSString *)pattern ignore:(BOOL)ignore __attribute__((swift_name("regexToken(name:pattern:ignore:)"))); ++ (PAPIRegexToken *)regexTokenName:(NSString *)name pattern:(PAPIKotlinRegex *)pattern ignore_:(BOOL)ignore __attribute__((swift_name("regexToken(name:pattern:ignore_:)"))); ++ (PAPIRegexToken *)regexTokenPattern:(PAPIKotlinRegex *)pattern ignore_:(BOOL)ignore __attribute__((swift_name("regexToken(pattern:ignore_:)"))); ++ (PAPIRegexToken *)tokenPattern:(NSString *)pattern ignore:(BOOL)ignore __attribute__((swift_name("token(pattern:ignore:)"))) __attribute__((deprecated("Use either regexToken or literalToken. This function will be removed soon"))); ++ (PAPIRegexToken *)tokenName:(NSString *)name pattern:(NSString *)pattern ignore:(BOOL)ignore __attribute__((swift_name("token(name:pattern:ignore:)"))) __attribute__((deprecated("Use either regexToken or literalToken. This function will be removed soon"))); ++ (PAPIRegexToken *)tokenName:(NSString *)name pattern:(PAPIKotlinRegex *)pattern ignore_:(BOOL)ignore __attribute__((swift_name("token(name:pattern:ignore_:)"))) __attribute__((deprecated("Use either regexToken or literalToken. This function will be removed soon"))); ++ (PAPIRegexToken *)tokenPattern:(PAPIKotlinRegex *)pattern ignore_:(BOOL)ignore __attribute__((swift_name("token(pattern:ignore_:)"))) __attribute__((deprecated("Use either regexToken or literalToken. This function will be removed soon"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("LambdaTokenKt"))) +@interface PAPILambdaTokenKt : PAPIBase ++ (PAPIToken *)tokenIgnored:(BOOL)ignored matcher:(PAPIInt *(^)(id, PAPIInt *))matcher __attribute__((swift_name("token(ignored:matcher:)"))); ++ (PAPIToken *)tokenName:(NSString *)name ignored:(BOOL)ignored matcher:(PAPIInt *(^)(id, PAPIInt *))matcher __attribute__((swift_name("token(name:ignored:matcher:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ParserKt"))) +@interface PAPIParserKt : PAPIBase ++ (id _Nullable)parse:(id)receiver tokens:(PAPITokenMatchesSequence *)tokens __attribute__((swift_name("parse(_:tokens:)"))); ++ (id _Nullable)parseToEnd:(id)receiver tokens:(PAPITokenMatchesSequence *)tokens __attribute__((swift_name("parseToEnd(_:tokens:)"))); ++ (PAPIParseResult *)tryParseToEnd:(id)receiver tokens:(PAPITokenMatchesSequence *)tokens position:(int32_t)position __attribute__((swift_name("tryParseToEnd(_:tokens:position:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SeparatedKt"))) +@interface PAPISeparatedKt : PAPIBase ++ (id)leftAssociativeTerm:(id)term operator:(id)operator_ transform:(id _Nullable (^)(id _Nullable, id _Nullable, id _Nullable))transform __attribute__((swift_name("leftAssociative(term:operator:transform:)"))); ++ (id)rightAssociativeTerm:(id)term operator:(id)operator_ transform:(id _Nullable (^)(id _Nullable, id _Nullable, id _Nullable))transform __attribute__((swift_name("rightAssociative(term:operator:transform:)"))); ++ (id)separatedTerm:(id)term separator:(id)separator acceptZero:(BOOL)acceptZero __attribute__((swift_name("separated(term:separator:acceptZero:)"))); ++ (id)separatedTermsTerm:(id)term separator:(id)separator acceptZero:(BOOL)acceptZero __attribute__((swift_name("separatedTerms(term:separator:acceptZero:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RepeatCombinatorKt"))) +@interface PAPIRepeatCombinatorKt : PAPIBase ++ (id)oneOrMoreParser:(id)parser __attribute__((swift_name("oneOrMore(parser:)"))); ++ (id)zeroOrMoreParser:(id)parser __attribute__((swift_name("zeroOrMore(parser:)"))); ++ (id)times:(int32_t)receiver parser:(id)parser __attribute__((swift_name("times(_:parser:)"))); ++ (id)timesOrMore:(int32_t)receiver parser:(id)parser __attribute__((swift_name("timesOrMore(_:parser:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OptionalCombinatorKt"))) +@interface PAPIOptionalCombinatorKt : PAPIBase ++ (id)optionalParser:(id)parser __attribute__((swift_name("optional(parser:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SkipParserKt"))) +@interface PAPISkipParserKt : PAPIBase ++ (PAPISkipParser *)skipParser:(id)parser __attribute__((swift_name("skip(parser:)"))); ++ (PAPIAndCombinator *)and:(id)receiver other:(PAPISkipParser *)other __attribute__((swift_name("and(_:other:)"))); ++ (PAPIAndCombinator *)times:(id)receiver other:(PAPISkipParser *)other __attribute__((swift_name("times(_:other:)"))); ++ (PAPISkipParser *)unaryMinus:(id)receiver __attribute__((swift_name("unaryMinus(_:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AndCombinatorKt"))) +@interface PAPIAndCombinatorKt : PAPIBase ++ (PAPIAndCombinator *> *)and:(id)receiver other:(id)other __attribute__((swift_name("and(_:other:)"))); ++ (PAPIAndCombinator *> *)times:(id)receiver other:(id)other __attribute__((swift_name("times(_:other:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MapCombinatorKt"))) +@interface PAPIMapCombinatorKt : PAPIBase ++ (PAPIMapCombinator *)asJust:(id)receiver value:(id _Nullable)value __attribute__((swift_name("asJust(_:value:)"))); ++ (id)map:(id)receiver transform:(id _Nullable (^)(id _Nullable))transform __attribute__((swift_name("map(_:transform:)"))); ++ (id)use:(id)receiver transform:(id _Nullable (^)(id _Nullable))transform __attribute__((swift_name("use(_:transform:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OrCombinatorKt"))) +@interface PAPIOrCombinatorKt : PAPIBase ++ (id)or:(id)receiver other:(id)other __attribute__((swift_name("or(_:other:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GrammarKt"))) +@interface PAPIGrammarKt : PAPIBase ++ (id)parserBlock:(id (^)(void))block __attribute__((swift_name("parser(block:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("JobKt"))) +@interface PAPIJobKt : PAPIBase ++ (BOOL)isActive:(id)receiver __attribute__((swift_name("isActive(_:)"))); ++ (id)job:(id)receiver __attribute__((swift_name("job(_:)"))); ++ (id)DisposableHandleBlock:(void (^)(void))block __attribute__((swift_name("DisposableHandle(block:)"))); ++ (id)JobParent:(id _Nullable)parent __attribute__((swift_name("Job(parent:)"))); ++ (void)cancel:(id)receiver cause:(PAPIKotlinCancellationException * _Nullable)cause __attribute__((swift_name("cancel(_:cause:)"))); ++ (void)cancel:(id)receiver message:(NSString *)message cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("cancel(_:message:cause:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)cancelAndJoin:(id)receiver completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("cancelAndJoin(_:completionHandler:)"))); ++ (void)cancelChildren:(id)receiver cause:(PAPIKotlinCancellationException * _Nullable)cause __attribute__((swift_name("cancelChildren(_:cause:)"))); ++ (void)cancelChildren:(id)receiver cause_:(PAPIKotlinCancellationException * _Nullable)cause __attribute__((swift_name("cancelChildren(_:cause_:)"))); ++ (void)ensureActive:(id)receiver __attribute__((swift_name("ensureActive(_:)"))); ++ (void)ensureActive_:(id)receiver __attribute__((swift_name("ensureActive(__:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CoroutineScopeKt"))) +@interface PAPICoroutineScopeKt : PAPIBase ++ (BOOL)isActive:(id)receiver __attribute__((swift_name("isActive(_:)"))); ++ (id)CoroutineScopeContext:(id)context __attribute__((swift_name("CoroutineScope(context:)"))); ++ (id)MainScope __attribute__((swift_name("MainScope()"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)coroutineScopeBlock:(id)block completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("coroutineScope(block:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)currentCoroutineContextWithCompletionHandler:(void (^)(id _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("currentCoroutineContext(completionHandler:)"))); ++ (void)cancel:(id)receiver message:(NSString *)message cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("cancel(_:message:cause:)"))); ++ (void)cancel:(id)receiver cause:(PAPIKotlinCancellationException * _Nullable)cause __attribute__((swift_name("cancel(_:cause:)"))); ++ (void)ensureActive:(id)receiver __attribute__((swift_name("ensureActive(_:)"))); ++ (id)plus:(id)receiver context:(id)context __attribute__((swift_name("plus(_:context:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CompletableDeferredKt"))) +@interface PAPICompletableDeferredKt : PAPIBase ++ (id)CompletableDeferredValue:(id _Nullable)value __attribute__((swift_name("CompletableDeferred(value:)"))); ++ (id)CompletableDeferredParent:(id _Nullable)parent __attribute__((swift_name("CompletableDeferred(parent:)"))); ++ (BOOL)completeWith:(id)receiver result:(id _Nullable)result __attribute__((swift_name("completeWith(_:result:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CoroutineExceptionHandlerKt"))) +@interface PAPICoroutineExceptionHandlerKt : PAPIBase ++ (id)CoroutineExceptionHandlerHandler:(void (^)(id, PAPIKotlinThrowable *))handler __attribute__((swift_name("CoroutineExceptionHandler(handler:)"))); ++ (void)handleCoroutineExceptionContext:(id)context exception:(PAPIKotlinThrowable *)exception __attribute__((swift_name("handleCoroutineException(context:exception:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RunnableKt"))) +@interface PAPIRunnableKt : PAPIBase ++ (id)RunnableBlock:(void (^)(void))block __attribute__((swift_name("Runnable(block:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SupervisorKt"))) +@interface PAPISupervisorKt : PAPIBase ++ (id)SupervisorJobParent:(id _Nullable)parent __attribute__((swift_name("SupervisorJob(parent:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)supervisorScopeBlock:(id)block completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("supervisorScope(block:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AwaitKt"))) +@interface PAPIAwaitKt : PAPIBase + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)awaitAllDeferreds:(PAPIKotlinArray> *)deferreds completionHandler:(void (^)(NSArray * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("awaitAll(deferreds:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)joinAllJobs:(PAPIKotlinArray> *)jobs completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("joinAll(jobs:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)awaitAll:(id)receiver completionHandler:(void (^)(NSArray * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("awaitAll(_:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)joinAll:(id)receiver completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("joinAll(_:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DelayKt"))) +@interface PAPIDelayKt : PAPIBase + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)awaitCancellationWithCompletionHandler:(void (^)(PAPIKotlinNothing * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("awaitCancellation(completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)delayTimeMillis:(int64_t)timeMillis completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("delay(timeMillis:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)delayDuration:(int64_t)duration completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("delay(duration:completionHandler:)"))); ++ (id)debounce:(id)receiver timeoutMillis:(PAPILong *(^)(id _Nullable))timeoutMillis __attribute__((swift_name("debounce(_:timeoutMillis:)"))); ++ (id)debounce:(id)receiver timeout:(id (^)(id _Nullable))timeout __attribute__((swift_name("debounce(_:timeout:)"))); ++ (id)debounce:(id)receiver timeoutMillis_:(int64_t)timeoutMillis __attribute__((swift_name("debounce(_:timeoutMillis_:)"))); ++ (id)debounce:(id)receiver timeout_:(int64_t)timeout __attribute__((swift_name("debounce(_:timeout_:)"))); ++ (id)sample:(id)receiver periodMillis:(int64_t)periodMillis __attribute__((swift_name("sample(_:periodMillis:)"))); ++ (id)sample:(id)receiver period:(int64_t)period __attribute__((swift_name("sample(_:period:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ThreadKt"))) +@interface PAPIThreadKt : PAPIBase ++ (void)doInitMainThread __attribute__((swift_name("doInitMainThread()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("WorkersKt"))) +@interface PAPIWorkersKt : PAPIBase ++ (PAPISingleThreadDispatcher *)doNewSingleThreadContextName:(NSString *)name __attribute__((swift_name("doNewSingleThreadContext(name:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BuildersKt"))) +@interface PAPIBuildersKt : PAPIBase ++ (id _Nullable)runBlockingContext:(id)context block:(id)block __attribute__((swift_name("runBlocking(context:block:)"))); ++ (id)callbackFlowBlock:(id)block __attribute__((swift_name("callbackFlow(block:)"))); ++ (id)channelFlowBlock:(id)block __attribute__((swift_name("channelFlow(block:)"))); ++ (id)emptyFlow __attribute__((swift_name("emptyFlow()"))); ++ (id)flowBlock:(id)block __attribute__((swift_name("flow(block:)"))); ++ (id)flowOfValue:(id _Nullable)value __attribute__((swift_name("flowOf(value:)"))); ++ (id)flowOfElements:(PAPIKotlinArray *)elements __attribute__((swift_name("flowOf(elements:)"))); ++ (id)flowViaChannelBufferSize:(int32_t)bufferSize block:(void (^)(id, id))block __attribute__((swift_name("flowViaChannel(bufferSize:block:)"))) __attribute__((unavailable("Use channelFlow with awaitClose { } instead of flowViaChannel and invokeOnClose { }."))); ++ (id)asFlow:(id _Nullable (^)(void))receiver __attribute__((swift_name("asFlow(_:)"))); ++ (id)asFlow_:(id)receiver __attribute__((swift_name("asFlow(__:)"))); ++ (id)asFlow__:(id)receiver __attribute__((swift_name("asFlow(___:)"))); ++ (id)asFlow___:(id)receiver __attribute__((swift_name("asFlow(____:)"))); ++ (id)asFlow____:(id)receiver __attribute__((swift_name("asFlow(_____:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CancellableContinuationKt"))) +@interface PAPICancellableContinuationKt : PAPIBase + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)suspendCancellableCoroutineBlock:(void (^)(id))block completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("suspendCancellableCoroutine(block:completionHandler:)"))); ++ (void)disposeOnCancellation:(id)receiver handle:(id)handle __attribute__((swift_name("disposeOnCancellation(_:handle:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Builders_commonKt"))) +@interface PAPIBuilders_commonKt : PAPIBase + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)withContextContext:(id)context block:(id)block completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("withContext(context:block:completionHandler:)"))); ++ (id)async:(id)receiver context:(id)context start:(PAPICoroutineStart *)start block:(id)block __attribute__((swift_name("async(_:context:start:block:)"))); ++ (id)launch:(id)receiver context:(id)context start:(PAPICoroutineStart *)start block:(id)block __attribute__((swift_name("launch(_:context:start:block:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("TimeoutKt"))) +@interface PAPITimeoutKt : PAPIBase + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)withTimeoutTimeMillis:(int64_t)timeMillis block:(id)block completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("withTimeout(timeMillis:block:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)withTimeoutTimeout:(int64_t)timeout block:(id)block completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("withTimeout(timeout:block:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)withTimeoutOrNullTimeMillis:(int64_t)timeMillis block:(id)block completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("withTimeoutOrNull(timeMillis:block:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)withTimeoutOrNullTimeout:(int64_t)timeout block:(id)block completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("withTimeoutOrNull(timeout:block:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("YieldKt"))) +@interface PAPIYieldKt : PAPIBase + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)yieldWithCompletionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("yield(completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CoroutineContextKt"))) +@interface PAPICoroutineContextKt : PAPIBase ++ (id)doNewCoroutineContext:(id)receiver context:(id)context __attribute__((swift_name("doNewCoroutineContext(_:context:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CancellableKt"))) +@interface PAPICancellableKt : PAPIBase ++ (void)startCoroutineCancellable:(id)receiver completion:(id)completion __attribute__((swift_name("startCoroutineCancellable(_:completion:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BroadcastChannelKt"))) +@interface PAPIBroadcastChannelKt : PAPIBase ++ (id)BroadcastChannelCapacity:(int32_t)capacity __attribute__((swift_name("BroadcastChannel(capacity:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ChannelKt"))) +@interface PAPIChannelKt : PAPIBase ++ (id)ChannelCapacity:(int32_t)capacity onBufferOverflow:(PAPIBufferOverflow *)onBufferOverflow onUndeliveredElement:(void (^ _Nullable)(id _Nullable))onUndeliveredElement __attribute__((swift_name("Channel(capacity:onBufferOverflow:onUndeliveredElement:)"))); ++ (id _Nullable)getOrElse:(id _Nullable)receiver onFailure:(id _Nullable (^)(PAPIKotlinThrowable * _Nullable))onFailure __attribute__((swift_name("getOrElse(_:onFailure:)"))); ++ (id _Nullable)onClosed:(id _Nullable)receiver action:(void (^)(PAPIKotlinThrowable * _Nullable))action __attribute__((swift_name("onClosed(_:action:)"))); ++ (id _Nullable)onFailure:(id _Nullable)receiver action:(void (^)(PAPIKotlinThrowable * _Nullable))action __attribute__((swift_name("onFailure(_:action:)"))); ++ (id _Nullable)onSuccess:(id _Nullable)receiver action:(void (^)(id _Nullable))action __attribute__((swift_name("onSuccess(_:action:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ProduceKt"))) +@interface PAPIProduceKt : PAPIBase + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)awaitClose:(id)receiver block:(void (^)(void))block completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("awaitClose(_:block:completionHandler:)"))); ++ (id)produce:(id)receiver context:(id)context capacity:(int32_t)capacity start:(PAPICoroutineStart *)start onCompletion:(void (^ _Nullable)(PAPIKotlinThrowable * _Nullable))onCompletion block:(id)block __attribute__((swift_name("produce(_:context:capacity:start:onCompletion:block:)"))); ++ (id)produce:(id)receiver context:(id)context capacity:(int32_t)capacity block:(id)block __attribute__((swift_name("produce(_:context:capacity:block:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BroadcastKt"))) +@interface PAPIBroadcastKt : PAPIBase ++ (id)broadcast:(id)receiver context:(id)context capacity:(int32_t)capacity start:(PAPICoroutineStart *)start onCompletion:(void (^ _Nullable)(PAPIKotlinThrowable * _Nullable))onCompletion block:(id)block __attribute__((swift_name("broadcast(_:context:capacity:start:onCompletion:block:)"))); ++ (id)broadcast:(id)receiver capacity:(int32_t)capacity start:(PAPICoroutineStart *)start __attribute__((swift_name("broadcast(_:capacity:start:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Channels_commonKt"))) +@interface PAPIChannels_commonKt : PAPIBase ++ (id _Nullable)consume:(id)receiver block:(id _Nullable (^)(id))block __attribute__((swift_name("consume(_:block:)"))); ++ (id _Nullable)consume:(id)receiver block_:(id _Nullable (^)(id))block __attribute__((swift_name("consume(_:block_:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)consumeEach:(id)receiver action:(void (^)(id _Nullable))action completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("consumeEach(_:action:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)consumeEach:(id)receiver action:(void (^)(id _Nullable))action completionHandler_:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("consumeEach(_:action:completionHandler_:)"))); ++ (id)onReceiveOrNull:(id)receiver __attribute__((swift_name("onReceiveOrNull(_:)"))) __attribute__((deprecated("Deprecated in the favour of 'onReceiveCatching'"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)receiveOrNull:(id)receiver completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("receiveOrNull(_:completionHandler:)"))) __attribute__((deprecated("Deprecated in the favour of 'receiveCatching'"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)toList:(id)receiver completionHandler:(void (^)(NSArray * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("toList(_:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MergeKt"))) +@interface PAPIMergeKt : PAPIBase ++ (id)mergeFlows:(PAPIKotlinArray> *)flows __attribute__((swift_name("merge(flows:)"))); ++ (id)flatMapConcat:(id)receiver transform:(id)transform __attribute__((swift_name("flatMapConcat(_:transform:)"))); ++ (id)flatMapLatest:(id)receiver transform:(id)transform __attribute__((swift_name("flatMapLatest(_:transform:)"))); ++ (id)flatMapMerge:(id)receiver concurrency:(int32_t)concurrency transform:(id)transform __attribute__((swift_name("flatMapMerge(_:concurrency:transform:)"))); ++ (id)flattenConcat:(id)receiver __attribute__((swift_name("flattenConcat(_:)"))); ++ (id)flattenMerge:(id)receiver concurrency:(int32_t)concurrency __attribute__((swift_name("flattenMerge(_:concurrency:)"))); ++ (id)mapLatest:(id)receiver transform:(id)transform __attribute__((swift_name("mapLatest(_:transform:)"))); ++ (id)merge:(id)receiver __attribute__((swift_name("merge(_:)"))); ++ (id)transformLatest:(id)receiver transform:(id)transform __attribute__((swift_name("transformLatest(_:transform:)"))); +@property (class, readonly) int32_t DEFAULT_CONCURRENCY __attribute__((swift_name("DEFAULT_CONCURRENCY"))); +@property (class, readonly) NSString *DEFAULT_CONCURRENCY_PROPERTY_NAME __attribute__((swift_name("DEFAULT_CONCURRENCY_PROPERTY_NAME"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("LintKt"))) +@interface PAPILintKt : PAPIBase ++ (id)coroutineContext:(id)receiver __attribute__((swift_name("coroutineContext(_:)"))) __attribute__((unavailable("coroutineContext is resolved into the property of outer CoroutineScope which is likely to be an error.Use currentCoroutineContext() instead or specify the receiver of coroutineContext explicitly"))); ++ (BOOL)isActive:(id)receiver __attribute__((swift_name("isActive(_:)"))) __attribute__((unavailable("isActive is resolved into the extension of outer CoroutineScope which is likely to be an error.Use currentCoroutineContext().isActive or cancellable() operator instead or specify the receiver of isActive explicitly. Additionally, flow {} builder emissions are cancellable by default."))); ++ (void)cancel:(id)receiver cause:(PAPIKotlinCancellationException * _Nullable)cause __attribute__((swift_name("cancel(_:cause:)"))) __attribute__((unavailable("cancel() is resolved into the extension of outer CoroutineScope which is likely to be an error.Use currentCoroutineContext().cancel() instead or specify the receiver of cancel() explicitly"))); ++ (id)cancellable:(id)receiver __attribute__((swift_name("cancellable(_:)"))) __attribute__((unavailable("Applying 'cancellable' to a SharedFlow has no effect. See the SharedFlow documentation on Operator Fusion."))); ++ (id)catch:(id)receiver action:(id)action __attribute__((swift_name("catch(_:action:)"))) __attribute__((deprecated("SharedFlow never completes, so this operator typically has not effect, it can only catch exceptions from 'onSubscribe' operator"))); ++ (id)conflate:(id)receiver __attribute__((swift_name("conflate(_:)"))) __attribute__((unavailable("Applying 'conflate' to StateFlow has no effect. See the StateFlow documentation on Operator Fusion."))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)count:(id)receiver completionHandler:(void (^)(PAPIInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("count(_:completionHandler:)"))) __attribute__((deprecated("SharedFlow never completes, so this terminal operation never completes."))); ++ (id)distinctUntilChanged:(id)receiver __attribute__((swift_name("distinctUntilChanged(_:)"))) __attribute__((unavailable("Applying 'distinctUntilChanged' to StateFlow has no effect. See the StateFlow documentation on Operator Fusion."))); ++ (id)flowOn:(id)receiver context:(id)context __attribute__((swift_name("flowOn(_:context:)"))) __attribute__((unavailable("Applying 'flowOn' to SharedFlow has no effect. See the SharedFlow documentation on Operator Fusion."))); ++ (id)retry:(id)receiver retries:(int64_t)retries predicate:(id)predicate __attribute__((swift_name("retry(_:retries:predicate:)"))) __attribute__((deprecated("SharedFlow never completes, so this operator has no effect."))); ++ (id)retryWhen:(id)receiver predicate:(id)predicate __attribute__((swift_name("retryWhen(_:predicate:)"))) __attribute__((deprecated("SharedFlow never completes, so this operator has no effect."))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)toList:(id)receiver completionHandler:(void (^)(NSArray * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("toList(_:completionHandler:)"))) __attribute__((deprecated("SharedFlow never completes, so this terminal operation never completes."))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)toSet:(id)receiver completionHandler:(void (^)(NSSet * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("toSet(_:completionHandler:)"))) __attribute__((deprecated("SharedFlow never completes, so this terminal operation never completes."))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SharedFlowKt"))) +@interface PAPISharedFlowKt : PAPIBase ++ (id)MutableSharedFlowReplay:(int32_t)replay extraBufferCapacity:(int32_t)extraBufferCapacity onBufferOverflow:(PAPIBufferOverflow *)onBufferOverflow __attribute__((swift_name("MutableSharedFlow(replay:extraBufferCapacity:onBufferOverflow:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("StateFlowKt"))) +@interface PAPIStateFlowKt : PAPIBase ++ (id)MutableStateFlowValue:(id _Nullable)value __attribute__((swift_name("MutableStateFlow(value:)"))); ++ (id _Nullable)getAndUpdate:(id)receiver function:(id _Nullable (^)(id _Nullable))function __attribute__((swift_name("getAndUpdate(_:function:)"))); ++ (void)update:(id)receiver function:(id _Nullable (^)(id _Nullable))function __attribute__((swift_name("update(_:function:)"))); ++ (id _Nullable)updateAndGet:(id)receiver function:(id _Nullable (^)(id _Nullable))function __attribute__((swift_name("updateAndGet(_:function:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ZipKt"))) +@interface PAPIZipKt : PAPIBase ++ (id)combineFlows:(PAPIKotlinArray> *)flows transform:(id)transform __attribute__((swift_name("combine(flows:transform:)"))); ++ (id)combineFlows:(id)flows transform_:(id)transform __attribute__((swift_name("combine(flows:transform_:)"))); ++ (id)combineFlow:(id)flow flow2:(id)flow2 flow3:(id)flow3 flow4:(id)flow4 flow5:(id)flow5 transform:(id)transform __attribute__((swift_name("combine(flow:flow2:flow3:flow4:flow5:transform:)"))); ++ (id)combineFlow:(id)flow flow2:(id)flow2 flow3:(id)flow3 flow4:(id)flow4 transform:(id)transform __attribute__((swift_name("combine(flow:flow2:flow3:flow4:transform:)"))); ++ (id)combineFlow:(id)flow flow2:(id)flow2 flow3:(id)flow3 transform:(id)transform __attribute__((swift_name("combine(flow:flow2:flow3:transform:)"))); ++ (id)combineFlow:(id)flow flow2:(id)flow2 transform:(id)transform __attribute__((swift_name("combine(flow:flow2:transform:)"))); ++ (id)combineTransformFlows:(PAPIKotlinArray> *)flows transform:(id)transform __attribute__((swift_name("combineTransform(flows:transform:)"))); ++ (id)combineTransformFlows:(id)flows transform_:(id)transform __attribute__((swift_name("combineTransform(flows:transform_:)"))); ++ (id)combineTransformFlow:(id)flow flow2:(id)flow2 flow3:(id)flow3 flow4:(id)flow4 flow5:(id)flow5 transform:(id)transform __attribute__((swift_name("combineTransform(flow:flow2:flow3:flow4:flow5:transform:)"))); ++ (id)combineTransformFlow:(id)flow flow2:(id)flow2 flow3:(id)flow3 flow4:(id)flow4 transform:(id)transform __attribute__((swift_name("combineTransform(flow:flow2:flow3:flow4:transform:)"))); ++ (id)combineTransformFlow:(id)flow flow2:(id)flow2 flow3:(id)flow3 transform:(id)transform __attribute__((swift_name("combineTransform(flow:flow2:flow3:transform:)"))); ++ (id)combineTransformFlow:(id)flow flow2:(id)flow2 transform:(id)transform __attribute__((swift_name("combineTransform(flow:flow2:transform:)"))); ++ (id)combine:(id)receiver flow:(id)flow transform:(id)transform __attribute__((swift_name("combine(_:flow:transform:)"))); ++ (id)combineTransform:(id)receiver flow:(id)flow transform:(id)transform __attribute__((swift_name("combineTransform(_:flow:transform:)"))); ++ (id)zip:(id)receiver other:(id)other transform:(id)transform __attribute__((swift_name("zip(_:other:transform:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ChannelsKt"))) +@interface PAPIChannelsKt : PAPIBase ++ (id)asFlow:(id)receiver __attribute__((swift_name("asFlow(_:)"))) __attribute__((deprecated("'BroadcastChannel' is obsolete and all corresponding operators are deprecated in the favour of StateFlow and SharedFlow"))); ++ (id)broadcastIn:(id)receiver scope:(id)scope start:(PAPICoroutineStart *)start __attribute__((swift_name("broadcastIn(_:scope:start:)"))) __attribute__((unavailable("Use shareIn operator and the resulting SharedFlow as a replacement for BroadcastChannel"))); ++ (id)consumeAsFlow:(id)receiver __attribute__((swift_name("consumeAsFlow(_:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)emitAll:(id)receiver channel:(id)channel completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("emitAll(_:channel:completionHandler:)"))); ++ (id)produceIn:(id)receiver scope:(id)scope __attribute__((swift_name("produceIn(_:scope:)"))); ++ (id)receiveAsFlow:(id)receiver __attribute__((swift_name("receiveAsFlow(_:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ShareKt"))) +@interface PAPIShareKt : PAPIBase ++ (id)asSharedFlow:(id)receiver __attribute__((swift_name("asSharedFlow(_:)"))); ++ (id)asStateFlow:(id)receiver __attribute__((swift_name("asStateFlow(_:)"))); ++ (id)onSubscription:(id)receiver action:(id)action __attribute__((swift_name("onSubscription(_:action:)"))); ++ (id)shareIn:(id)receiver scope:(id)scope started:(id)started replay:(int32_t)replay __attribute__((swift_name("shareIn(_:scope:started:replay:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)stateIn:(id)receiver scope:(id)scope completionHandler:(void (^)(id _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("stateIn(_:scope:completionHandler:)"))); ++ (id)stateIn:(id)receiver scope:(id)scope started:(id)started initialValue:(id _Nullable)initialValue __attribute__((swift_name("stateIn(_:scope:started:initialValue:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ContextKt"))) +@interface PAPIContextKt : PAPIBase ++ (id)buffer:(id)receiver capacity:(int32_t)capacity onBufferOverflow:(PAPIBufferOverflow *)onBufferOverflow __attribute__((swift_name("buffer(_:capacity:onBufferOverflow:)"))); ++ (id)cancellable:(id)receiver __attribute__((swift_name("cancellable(_:)"))); ++ (id)conflate:(id)receiver __attribute__((swift_name("conflate(_:)"))); ++ (id)flowOn:(id)receiver context:(id)context __attribute__((swift_name("flowOn(_:context:)"))); ++ (id)flowWith:(id)receiver flowContext:(id)flowContext bufferSize:(int32_t)bufferSize builder:(id (^)(id))builder __attribute__((swift_name("flowWith(_:flowContext:bufferSize:builder:)"))) __attribute__((unavailable("flowWith is deprecated without replacement, please refer to its KDoc for an explanation"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MigrationKt"))) +@interface PAPIMigrationKt : PAPIBase ++ (id)cache:(id)receiver __attribute__((swift_name("cache(_:)"))) __attribute__((unavailable("Flow analogue of 'cache()' is 'shareIn' with unlimited replay and 'started = SharingStared.Lazily' argument'"))); ++ (id)combineLatest:(id)receiver other:(id)other other2:(id)other2 other3:(id)other3 other4:(id)other4 transform:(id)transform __attribute__((swift_name("combineLatest(_:other:other2:other3:other4:transform:)"))) __attribute__((unavailable("Flow analogue of 'combineLatest' is 'combine'"))); ++ (id)combineLatest:(id)receiver other:(id)other other2:(id)other2 other3:(id)other3 transform:(id)transform __attribute__((swift_name("combineLatest(_:other:other2:other3:transform:)"))) __attribute__((unavailable("Flow analogue of 'combineLatest' is 'combine'"))); ++ (id)combineLatest:(id)receiver other:(id)other other2:(id)other2 transform:(id)transform __attribute__((swift_name("combineLatest(_:other:other2:transform:)"))) __attribute__((unavailable("Flow analogue of 'combineLatest' is 'combine'"))); ++ (id)combineLatest:(id)receiver other:(id)other transform:(id)transform __attribute__((swift_name("combineLatest(_:other:transform:)"))) __attribute__((unavailable("Flow analogue of 'combineLatest' is 'combine'"))); ++ (id)compose:(id)receiver transformer:(id (^)(id))transformer __attribute__((swift_name("compose(_:transformer:)"))) __attribute__((unavailable("Flow analogue of 'compose' is 'let'"))); ++ (id)concatMap:(id)receiver mapper:(id (^)(id _Nullable))mapper __attribute__((swift_name("concatMap(_:mapper:)"))) __attribute__((unavailable("Flow analogue of 'concatMap' is 'flatMapConcat'"))); ++ (id)concatWith:(id)receiver value:(id _Nullable)value __attribute__((swift_name("concatWith(_:value:)"))) __attribute__((unavailable("Flow analogue of 'concatWith' is 'onCompletion'. Use 'onCompletion { emit(value) }'"))); ++ (id)concatWith:(id)receiver other:(id)other __attribute__((swift_name("concatWith(_:other:)"))) __attribute__((unavailable("Flow analogue of 'concatWith' is 'onCompletion'. Use 'onCompletion { if (it == null) emitAll(other) }'"))); ++ (id)delayEach:(id)receiver timeMillis:(int64_t)timeMillis __attribute__((swift_name("delayEach(_:timeMillis:)"))) __attribute__((unavailable("Use 'onEach { delay(timeMillis) }'"))); ++ (id)delayFlow:(id)receiver timeMillis:(int64_t)timeMillis __attribute__((swift_name("delayFlow(_:timeMillis:)"))) __attribute__((unavailable("Use 'onStart { delay(timeMillis) }'"))); ++ (id)flatMap:(id)receiver mapper:(id)mapper __attribute__((swift_name("flatMap(_:mapper:)"))) __attribute__((unavailable("Flow analogue is 'flatMapConcat'"))); ++ (id)flatten:(id)receiver __attribute__((swift_name("flatten(_:)"))) __attribute__((unavailable("Flow analogue of 'flatten' is 'flattenConcat'"))); ++ (void)forEach:(id)receiver action:(id)action __attribute__((swift_name("forEach(_:action:)"))) __attribute__((unavailable("Flow analogue of 'forEach' is 'collect'"))); ++ (id)merge:(id)receiver __attribute__((swift_name("merge(_:)"))) __attribute__((unavailable("Flow analogue of 'merge' is 'flattenConcat'"))); ++ (id)observeOn:(id)receiver context:(id)context __attribute__((swift_name("observeOn(_:context:)"))) __attribute__((unavailable("Collect flow in the desired context instead"))); ++ (id)onErrorResume:(id)receiver fallback:(id)fallback __attribute__((swift_name("onErrorResume(_:fallback:)"))) __attribute__((unavailable("Flow analogue of 'onErrorXxx' is 'catch'. Use 'catch { emitAll(fallback) }'"))); ++ (id)onErrorResumeNext:(id)receiver fallback:(id)fallback __attribute__((swift_name("onErrorResumeNext(_:fallback:)"))) __attribute__((unavailable("Flow analogue of 'onErrorXxx' is 'catch'. Use 'catch { emitAll(fallback) }'"))); ++ (id)onErrorReturn:(id)receiver fallback:(id _Nullable)fallback __attribute__((swift_name("onErrorReturn(_:fallback:)"))) __attribute__((unavailable("Flow analogue of 'onErrorXxx' is 'catch'. Use 'catch { emit(fallback) }'"))); ++ (id)onErrorReturn:(id)receiver fallback:(id _Nullable)fallback predicate:(PAPIBoolean *(^)(PAPIKotlinThrowable *))predicate __attribute__((swift_name("onErrorReturn(_:fallback:predicate:)"))) __attribute__((unavailable("Flow analogue of 'onErrorXxx' is 'catch'. Use 'catch { e -> if (predicate(e)) emit(fallback) else throw e }'"))); ++ (id)publish:(id)receiver __attribute__((swift_name("publish(_:)"))) __attribute__((unavailable("Flow analogue of 'publish()' is 'shareIn'. \npublish().connect() is the default strategy (no extra call is needed), \npublish().autoConnect() translates to 'started = SharingStared.Lazily' argument, \npublish().refCount() translates to 'started = SharingStared.WhileSubscribed()' argument."))); ++ (id)publish:(id)receiver bufferSize:(int32_t)bufferSize __attribute__((swift_name("publish(_:bufferSize:)"))) __attribute__((unavailable("Flow analogue of 'publish(bufferSize)' is 'buffer' followed by 'shareIn'. \npublish().connect() is the default strategy (no extra call is needed), \npublish().autoConnect() translates to 'started = SharingStared.Lazily' argument, \npublish().refCount() translates to 'started = SharingStared.WhileSubscribed()' argument."))); ++ (id)publishOn:(id)receiver context:(id)context __attribute__((swift_name("publishOn(_:context:)"))) __attribute__((unavailable("Collect flow in the desired context instead"))); ++ (id)replay:(id)receiver __attribute__((swift_name("replay(_:)"))) __attribute__((unavailable("Flow analogue of 'replay()' is 'shareIn' with unlimited replay. \nreplay().connect() is the default strategy (no extra call is needed), \nreplay().autoConnect() translates to 'started = SharingStared.Lazily' argument, \nreplay().refCount() translates to 'started = SharingStared.WhileSubscribed()' argument."))); ++ (id)replay:(id)receiver bufferSize:(int32_t)bufferSize __attribute__((swift_name("replay(_:bufferSize:)"))) __attribute__((unavailable("Flow analogue of 'replay(bufferSize)' is 'shareIn' with the specified replay parameter. \nreplay().connect() is the default strategy (no extra call is needed), \nreplay().autoConnect() translates to 'started = SharingStared.Lazily' argument, \nreplay().refCount() translates to 'started = SharingStared.WhileSubscribed()' argument."))); ++ (id)scanFold:(id)receiver initial:(id _Nullable)initial operation:(id)operation __attribute__((swift_name("scanFold(_:initial:operation:)"))) __attribute__((unavailable("Flow has less verbose 'scan' shortcut"))); ++ (id)scanReduce:(id)receiver operation:(id)operation __attribute__((swift_name("scanReduce(_:operation:)"))) __attribute__((unavailable("'scanReduce' was renamed to 'runningReduce' to be consistent with Kotlin standard library"))); ++ (id)skip:(id)receiver count:(int32_t)count __attribute__((swift_name("skip(_:count:)"))) __attribute__((unavailable("Flow analogue of 'skip' is 'drop'"))); ++ (id)startWith:(id)receiver value:(id _Nullable)value __attribute__((swift_name("startWith(_:value:)"))) __attribute__((unavailable("Flow analogue of 'startWith' is 'onStart'. Use 'onStart { emit(value) }'"))); ++ (id)startWith:(id)receiver other:(id)other __attribute__((swift_name("startWith(_:other:)"))) __attribute__((unavailable("Flow analogue of 'startWith' is 'onStart'. Use 'onStart { emitAll(other) }'"))); ++ (void)subscribe:(id)receiver __attribute__((swift_name("subscribe(_:)"))) __attribute__((unavailable("Use 'launchIn' with 'onEach', 'onCompletion' and 'catch' instead"))); ++ (void)subscribe:(id)receiver onEach:(id)onEach __attribute__((swift_name("subscribe(_:onEach:)"))) __attribute__((unavailable("Use 'launchIn' with 'onEach', 'onCompletion' and 'catch' instead"))); ++ (void)subscribe:(id)receiver onEach:(id)onEach onError:(id)onError __attribute__((swift_name("subscribe(_:onEach:onError:)"))) __attribute__((unavailable("Use 'launchIn' with 'onEach', 'onCompletion' and 'catch' instead"))); ++ (id)subscribeOn:(id)receiver context:(id)context __attribute__((swift_name("subscribeOn(_:context:)"))) __attribute__((unavailable("Use 'flowOn' instead"))); ++ (id)switchMap:(id)receiver transform:(id)transform __attribute__((swift_name("switchMap(_:transform:)"))) __attribute__((unavailable("Flow analogues of 'switchMap' are 'transformLatest', 'flatMapLatest' and 'mapLatest'"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ErrorsKt_"))) +@interface PAPIErrorsKt_ : PAPIBase ++ (id)catch:(id)receiver action:(id)action __attribute__((swift_name("catch(_:action:)"))); ++ (id)onErrorCollect:(id)receiver fallback:(id)fallback predicate:(PAPIBoolean *(^)(PAPIKotlinThrowable *))predicate __attribute__((swift_name("onErrorCollect(_:fallback:predicate:)"))) __attribute__((unavailable("Use catch { e -> if (predicate(e)) emitAll(fallback) else throw e }"))); ++ (id)retry:(id)receiver retries:(int64_t)retries predicate:(id)predicate __attribute__((swift_name("retry(_:retries:predicate:)"))); ++ (id)retryWhen:(id)receiver predicate:(id)predicate __attribute__((swift_name("retryWhen(_:predicate:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CollectKt"))) +@interface PAPICollectKt : PAPIBase + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)collect:(id)receiver completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("collect(_:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)collect:(id)receiver action:(id)action completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("collect(_:action:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)collectIndexed:(id)receiver action:(id)action completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("collectIndexed(_:action:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)collectLatest:(id)receiver action:(id)action completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("collectLatest(_:action:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)emitAll:(id)receiver flow:(id)flow completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("emitAll(_:flow:completionHandler:)"))); ++ (id)launchIn:(id)receiver scope:(id)scope __attribute__((swift_name("launchIn(_:scope:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CountKt"))) +@interface PAPICountKt : PAPIBase + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)count:(id)receiver completionHandler:(void (^)(PAPIInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("count(_:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)count:(id)receiver predicate:(id)predicate completionHandler:(void (^)(PAPIInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("count(_:predicate:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DistinctKt"))) +@interface PAPIDistinctKt : PAPIBase ++ (id)distinctUntilChanged:(id)receiver __attribute__((swift_name("distinctUntilChanged(_:)"))); ++ (id)distinctUntilChanged:(id)receiver areEquivalent:(PAPIBoolean *(^)(id _Nullable, id _Nullable))areEquivalent __attribute__((swift_name("distinctUntilChanged(_:areEquivalent:)"))); ++ (id)distinctUntilChangedBy:(id)receiver keySelector:(id _Nullable (^)(id _Nullable))keySelector __attribute__((swift_name("distinctUntilChangedBy(_:keySelector:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("LimitKt"))) +@interface PAPILimitKt : PAPIBase ++ (id)drop:(id)receiver count:(int32_t)count __attribute__((swift_name("drop(_:count:)"))); ++ (id)dropWhile:(id)receiver predicate:(id)predicate __attribute__((swift_name("dropWhile(_:predicate:)"))); ++ (id)take:(id)receiver count:(int32_t)count __attribute__((swift_name("take(_:count:)"))); ++ (id)takeWhile:(id)receiver predicate:(id)predicate __attribute__((swift_name("takeWhile(_:predicate:)"))); ++ (id)transformWhile:(id)receiver transform:(id)transform __attribute__((swift_name("transformWhile(_:transform:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("TransformKt"))) +@interface PAPITransformKt : PAPIBase ++ (id)filter:(id)receiver predicate:(id)predicate __attribute__((swift_name("filter(_:predicate:)"))); ++ (id)filterIsInstance:(id)receiver __attribute__((swift_name("filterIsInstance(_:)"))); ++ (id)filterNot:(id)receiver predicate:(id)predicate __attribute__((swift_name("filterNot(_:predicate:)"))); ++ (id)filterNotNull:(id)receiver __attribute__((swift_name("filterNotNull(_:)"))); ++ (id)map:(id)receiver transform:(id)transform __attribute__((swift_name("map(_:transform:)"))); ++ (id)mapNotNull:(id)receiver transform:(id)transform __attribute__((swift_name("mapNotNull(_:transform:)"))); ++ (id)onEach:(id)receiver action:(id)action __attribute__((swift_name("onEach(_:action:)"))); ++ (id)runningFold:(id)receiver initial:(id _Nullable)initial operation:(id)operation __attribute__((swift_name("runningFold(_:initial:operation:)"))); ++ (id)runningReduce:(id)receiver operation:(id)operation __attribute__((swift_name("runningReduce(_:operation:)"))); ++ (id)scan:(id)receiver initial:(id _Nullable)initial operation:(id)operation __attribute__((swift_name("scan(_:initial:operation:)"))); ++ (id)withIndex:(id)receiver __attribute__((swift_name("withIndex(_:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ReduceKt"))) +@interface PAPIReduceKt : PAPIBase + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)first:(id)receiver completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("first(_:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)first:(id)receiver predicate:(id)predicate completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("first(_:predicate:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)firstOrNull:(id)receiver completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("firstOrNull(_:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)firstOrNull:(id)receiver predicate:(id)predicate completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("firstOrNull(_:predicate:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)fold:(id)receiver initial:(id _Nullable)initial operation:(id)operation completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("fold(_:initial:operation:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)last:(id)receiver completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("last(_:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)lastOrNull:(id)receiver completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("lastOrNull(_:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)reduce:(id)receiver operation:(id)operation completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("reduce(_:operation:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)single:(id)receiver completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("single(_:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)singleOrNull:(id)receiver completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("singleOrNull(_:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("EmittersKt"))) +@interface PAPIEmittersKt : PAPIBase ++ (id)onCompletion:(id)receiver action:(id)action __attribute__((swift_name("onCompletion(_:action:)"))); ++ (id)onEmpty:(id)receiver action:(id)action __attribute__((swift_name("onEmpty(_:action:)"))); ++ (id)onStart:(id)receiver action:(id)action __attribute__((swift_name("onStart(_:action:)"))); ++ (id)transform:(id)receiver transform:(id)transform __attribute__((swift_name("transform(_:transform:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CollectionKt"))) +@interface PAPICollectionKt : PAPIBase + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)toCollection:(id)receiver destination:(id)destination completionHandler:(void (^)(id _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("toCollection(_:destination:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)toList:(id)receiver destination:(NSMutableArray *)destination completionHandler:(void (^)(NSArray * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("toList(_:destination:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)toSet:(id)receiver destination:(PAPIMutableSet *)destination completionHandler:(void (^)(NSSet * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("toSet(_:destination:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SelectKt"))) +@interface PAPISelectKt : PAPIBase + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)selectBuilder:(void (^)(id))builder completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("select(builder:completionHandler:)"))); ++ (void)onTimeout:(id)receiver timeout:(int64_t)timeout block:(id)block __attribute__((swift_name("onTimeout(_:timeout:block:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SelectUnbiasedKt"))) +@interface PAPISelectUnbiasedKt : PAPIBase + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)selectUnbiasedBuilder:(void (^)(id))builder completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("selectUnbiased(builder:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("WhileSelectKt"))) +@interface PAPIWhileSelectKt : PAPIBase + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)whileSelectBuilder:(void (^)(id))builder completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("whileSelect(builder:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DispatchedContinuationKt"))) +@interface PAPIDispatchedContinuationKt : PAPIBase ++ (void)resumeCancellableWith:(id)receiver result:(id _Nullable)result onCancellation:(void (^ _Nullable)(PAPIKotlinThrowable *))onCancellation __attribute__((swift_name("resumeCancellableWith(_:result:onCancellation:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MutexKt"))) +@interface PAPIMutexKt : PAPIBase ++ (id)MutexLocked:(BOOL)locked __attribute__((swift_name("Mutex(locked:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)withLock:(id)receiver owner:(id _Nullable)owner action:(id _Nullable (^)(void))action completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("withLock(_:owner:action:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SemaphoreKt"))) +@interface PAPISemaphoreKt : PAPIBase ++ (id)SemaphorePermits:(int32_t)permits acquiredPermits:(int32_t)acquiredPermits __attribute__((swift_name("Semaphore(permits:acquiredPermits:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)withPermit:(id)receiver action:(id _Nullable (^)(void))action completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("withPermit(_:action:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ModularBigIntegerExtensionsKt"))) +@interface PAPIModularBigIntegerExtensionsKt : PAPIBase ++ (PAPIModularBigInteger *)div:(int8_t)receiver other:(PAPIModularBigInteger *)other __attribute__((swift_name("div(_:other:)"))); ++ (PAPIModularBigInteger *)div:(int32_t)receiver other_:(PAPIModularBigInteger *)other __attribute__((swift_name("div(_:other_:)"))); ++ (PAPIModularBigInteger *)div:(int64_t)receiver other__:(PAPIModularBigInteger *)other __attribute__((swift_name("div(_:other__:)"))); ++ (PAPIModularBigInteger *)div:(int16_t)receiver other___:(PAPIModularBigInteger *)other __attribute__((swift_name("div(_:other___:)"))); ++ (PAPIModularBigInteger *)minus:(int8_t)receiver other:(PAPIModularBigInteger *)other __attribute__((swift_name("minus(_:other:)"))); ++ (PAPIModularBigInteger *)minus:(int32_t)receiver other_:(PAPIModularBigInteger *)other __attribute__((swift_name("minus(_:other_:)"))); ++ (PAPIModularBigInteger *)minus:(int64_t)receiver other__:(PAPIModularBigInteger *)other __attribute__((swift_name("minus(_:other__:)"))); ++ (PAPIModularBigInteger *)minus:(int16_t)receiver other___:(PAPIModularBigInteger *)other __attribute__((swift_name("minus(_:other___:)"))); ++ (PAPIModularBigInteger *)plus:(int8_t)receiver other:(PAPIModularBigInteger *)other __attribute__((swift_name("plus(_:other:)"))); ++ (PAPIModularBigInteger *)plus:(int32_t)receiver other_:(PAPIModularBigInteger *)other __attribute__((swift_name("plus(_:other_:)"))); ++ (PAPIModularBigInteger *)plus:(int64_t)receiver other__:(PAPIModularBigInteger *)other __attribute__((swift_name("plus(_:other__:)"))); ++ (PAPIModularBigInteger *)plus:(int16_t)receiver other___:(PAPIModularBigInteger *)other __attribute__((swift_name("plus(_:other___:)"))); ++ (PAPIModularBigInteger *)rem:(int8_t)receiver other:(PAPIModularBigInteger *)other __attribute__((swift_name("rem(_:other:)"))); ++ (PAPIModularBigInteger *)rem:(int32_t)receiver other_:(PAPIModularBigInteger *)other __attribute__((swift_name("rem(_:other_:)"))); ++ (PAPIModularBigInteger *)rem:(int64_t)receiver other__:(PAPIModularBigInteger *)other __attribute__((swift_name("rem(_:other__:)"))); ++ (PAPIModularBigInteger *)rem:(int16_t)receiver other___:(PAPIModularBigInteger *)other __attribute__((swift_name("rem(_:other___:)"))); ++ (PAPIModularBigInteger *)times:(int8_t)receiver other:(PAPIModularBigInteger *)other __attribute__((swift_name("times(_:other:)"))); ++ (PAPIModularBigInteger *)times:(int32_t)receiver other_:(PAPIModularBigInteger *)other __attribute__((swift_name("times(_:other_:)"))); ++ (PAPIModularBigInteger *)times:(int64_t)receiver other__:(PAPIModularBigInteger *)other __attribute__((swift_name("times(_:other__:)"))); ++ (PAPIModularBigInteger *)times:(int16_t)receiver other___:(PAPIModularBigInteger *)other __attribute__((swift_name("times(_:other___:)"))); ++ (PAPIModularBigInteger *)toModularBigInteger:(int8_t)receiver creator:(id)creator __attribute__((swift_name("toModularBigInteger(_:creator:)"))); ++ (PAPIModularBigInteger *)toModularBigInteger:(int32_t)receiver creator_:(id)creator __attribute__((swift_name("toModularBigInteger(_:creator_:)"))); ++ (PAPIModularBigInteger *)toModularBigInteger:(int64_t)receiver creator__:(id)creator __attribute__((swift_name("toModularBigInteger(_:creator__:)"))); ++ (PAPIModularBigInteger *)toModularBigInteger:(int16_t)receiver creator___:(id)creator __attribute__((swift_name("toModularBigInteger(_:creator___:)"))); ++ (PAPIModularBigInteger *)toModularBigInteger:(NSString *)receiver creator:(id)creator base:(int32_t)base __attribute__((swift_name("toModularBigInteger(_:creator:base:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BigDecimalExtensionsKt"))) +@interface PAPIBigDecimalExtensionsKt : PAPIBase ++ (PAPIBigDecimal *)div:(int8_t)receiver other:(PAPIBigDecimal *)other __attribute__((swift_name("div(_:other:)"))); ++ (PAPIBigDecimal *)div:(double)receiver other_:(PAPIBigDecimal *)other __attribute__((swift_name("div(_:other_:)"))); ++ (PAPIBigDecimal *)div:(float)receiver other__:(PAPIBigDecimal *)other __attribute__((swift_name("div(_:other__:)"))); ++ (PAPIBigDecimal *)div:(int32_t)receiver other___:(PAPIBigDecimal *)other __attribute__((swift_name("div(_:other___:)"))); ++ (PAPIBigDecimal *)div:(int64_t)receiver other____:(PAPIBigDecimal *)other __attribute__((swift_name("div(_:other____:)"))); ++ (PAPIBigDecimal *)div:(int16_t)receiver other_____:(PAPIBigDecimal *)other __attribute__((swift_name("div(_:other_____:)"))); ++ (PAPIBigDecimal *)minus:(int8_t)receiver other:(PAPIBigDecimal *)other __attribute__((swift_name("minus(_:other:)"))); ++ (PAPIBigDecimal *)minus:(double)receiver other_:(PAPIBigDecimal *)other __attribute__((swift_name("minus(_:other_:)"))); ++ (PAPIBigDecimal *)minus:(float)receiver other__:(PAPIBigDecimal *)other __attribute__((swift_name("minus(_:other__:)"))); ++ (PAPIBigDecimal *)minus:(int32_t)receiver other___:(PAPIBigDecimal *)other __attribute__((swift_name("minus(_:other___:)"))); ++ (PAPIBigDecimal *)minus:(int64_t)receiver other____:(PAPIBigDecimal *)other __attribute__((swift_name("minus(_:other____:)"))); ++ (PAPIBigDecimal *)minus:(int16_t)receiver other_____:(PAPIBigDecimal *)other __attribute__((swift_name("minus(_:other_____:)"))); ++ (PAPIBigDecimal *)plus:(int8_t)receiver other:(PAPIBigDecimal *)other __attribute__((swift_name("plus(_:other:)"))); ++ (PAPIBigDecimal *)plus:(double)receiver other_:(PAPIBigDecimal *)other __attribute__((swift_name("plus(_:other_:)"))); ++ (PAPIBigDecimal *)plus:(float)receiver other__:(PAPIBigDecimal *)other __attribute__((swift_name("plus(_:other__:)"))); ++ (PAPIBigDecimal *)plus:(int32_t)receiver other___:(PAPIBigDecimal *)other __attribute__((swift_name("plus(_:other___:)"))); ++ (PAPIBigDecimal *)plus:(int64_t)receiver other____:(PAPIBigDecimal *)other __attribute__((swift_name("plus(_:other____:)"))); ++ (PAPIBigDecimal *)plus:(int16_t)receiver other_____:(PAPIBigDecimal *)other __attribute__((swift_name("plus(_:other_____:)"))); ++ (PAPIBigDecimal *)rem:(int8_t)receiver other:(PAPIBigDecimal *)other __attribute__((swift_name("rem(_:other:)"))); ++ (PAPIBigDecimal *)rem:(double)receiver other_:(PAPIBigDecimal *)other __attribute__((swift_name("rem(_:other_:)"))); ++ (PAPIBigDecimal *)rem:(float)receiver other__:(PAPIBigDecimal *)other __attribute__((swift_name("rem(_:other__:)"))); ++ (PAPIBigDecimal *)rem:(int32_t)receiver other___:(PAPIBigDecimal *)other __attribute__((swift_name("rem(_:other___:)"))); ++ (PAPIBigDecimal *)rem:(int64_t)receiver other____:(PAPIBigDecimal *)other __attribute__((swift_name("rem(_:other____:)"))); ++ (PAPIBigDecimal *)rem:(int16_t)receiver other_____:(PAPIBigDecimal *)other __attribute__((swift_name("rem(_:other_____:)"))); ++ (PAPIBigDecimal *)times:(int8_t)receiver other:(PAPIBigDecimal *)other __attribute__((swift_name("times(_:other:)"))); ++ (PAPIBigDecimal *)times:(double)receiver other_:(PAPIBigDecimal *)other __attribute__((swift_name("times(_:other_:)"))); ++ (PAPIBigDecimal *)times:(float)receiver other__:(PAPIBigDecimal *)other __attribute__((swift_name("times(_:other__:)"))); ++ (PAPIBigDecimal *)times:(int32_t)receiver other___:(PAPIBigDecimal *)other __attribute__((swift_name("times(_:other___:)"))); ++ (PAPIBigDecimal *)times:(int64_t)receiver other____:(PAPIBigDecimal *)other __attribute__((swift_name("times(_:other____:)"))); ++ (PAPIBigDecimal *)times:(int16_t)receiver other_____:(PAPIBigDecimal *)other __attribute__((swift_name("times(_:other_____:)"))); ++ (PAPIBigDecimal *)toBigDecimal:(int8_t)receiver exponentModifier:(PAPILong * _Nullable)exponentModifier decimalMode:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("toBigDecimal(_:exponentModifier:decimalMode:)"))); ++ (PAPIBigDecimal *)toBigDecimal:(double)receiver exponentModifier:(PAPILong * _Nullable)exponentModifier decimalMode_:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("toBigDecimal(_:exponentModifier:decimalMode_:)"))); ++ (PAPIBigDecimal *)toBigDecimal:(float)receiver exponentModifier:(PAPILong * _Nullable)exponentModifier decimalMode__:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("toBigDecimal(_:exponentModifier:decimalMode__:)"))); ++ (PAPIBigDecimal *)toBigDecimal:(int32_t)receiver exponentModifier:(PAPILong * _Nullable)exponentModifier decimalMode___:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("toBigDecimal(_:exponentModifier:decimalMode___:)"))); ++ (PAPIBigDecimal *)toBigDecimal:(int64_t)receiver exponentModifier:(PAPILong * _Nullable)exponentModifier decimalMode____:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("toBigDecimal(_:exponentModifier:decimalMode____:)"))); ++ (PAPIBigDecimal *)toBigDecimal:(int16_t)receiver exponentModifier:(PAPILong * _Nullable)exponentModifier decimalMode_____:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("toBigDecimal(_:exponentModifier:decimalMode_____:)"))); ++ (PAPIBigDecimal *)toBigDecimal:(NSString *)receiver exponentModifier:(PAPILong * _Nullable)exponentModifier decimalMode______:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("toBigDecimal(_:exponentModifier:decimalMode______:)"))); ++ (PAPIBigDecimal *)toBigDecimalUsingSignificandAndExponent:(int8_t)receiver exponent:(int64_t)exponent decimalMode:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("toBigDecimalUsingSignificandAndExponent(_:exponent:decimalMode:)"))); ++ (PAPIBigDecimal *)toBigDecimalUsingSignificandAndExponent:(int32_t)receiver exponent:(int64_t)exponent decimalMode_:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("toBigDecimalUsingSignificandAndExponent(_:exponent:decimalMode_:)"))); ++ (PAPIBigDecimal *)toBigDecimalUsingSignificandAndExponent:(int64_t)receiver exponent:(int64_t)exponent decimalMode__:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("toBigDecimalUsingSignificandAndExponent(_:exponent:decimalMode__:)"))); ++ (PAPIBigDecimal *)toBigDecimalUsingSignificandAndExponent:(int16_t)receiver exponent:(int64_t)exponent decimalMode___:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("toBigDecimalUsingSignificandAndExponent(_:exponent:decimalMode___:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BigIntegerExtensionsKt"))) +@interface PAPIBigIntegerExtensionsKt : PAPIBase ++ (PAPIBigInteger *)div:(int8_t)receiver other:(PAPIBigInteger *)other __attribute__((swift_name("div(_:other:)"))); ++ (PAPIBigInteger *)div:(int32_t)receiver other_:(PAPIBigInteger *)other __attribute__((swift_name("div(_:other_:)"))); ++ (PAPIBigInteger *)div:(int64_t)receiver other__:(PAPIBigInteger *)other __attribute__((swift_name("div(_:other__:)"))); ++ (PAPIBigInteger *)div:(int16_t)receiver other___:(PAPIBigInteger *)other __attribute__((swift_name("div(_:other___:)"))); ++ (PAPIBigInteger *)div:(uint8_t)receiver other____:(PAPIBigInteger *)other __attribute__((swift_name("div(_:other____:)"))); ++ (PAPIBigInteger *)div:(uint32_t)receiver other_____:(PAPIBigInteger *)other __attribute__((swift_name("div(_:other_____:)"))); ++ (PAPIBigInteger *)div:(uint64_t)receiver other______:(PAPIBigInteger *)other __attribute__((swift_name("div(_:other______:)"))); ++ (PAPIBigInteger *)div:(uint16_t)receiver other_______:(PAPIBigInteger *)other __attribute__((swift_name("div(_:other_______:)"))); ++ (PAPIBigInteger *)minus:(int8_t)receiver other:(PAPIBigInteger *)other __attribute__((swift_name("minus(_:other:)"))); ++ (PAPIBigInteger *)minus:(int32_t)receiver other_:(PAPIBigInteger *)other __attribute__((swift_name("minus(_:other_:)"))); ++ (PAPIBigInteger *)minus:(int64_t)receiver other__:(PAPIBigInteger *)other __attribute__((swift_name("minus(_:other__:)"))); ++ (PAPIBigInteger *)minus:(int16_t)receiver other___:(PAPIBigInteger *)other __attribute__((swift_name("minus(_:other___:)"))); ++ (PAPIBigInteger *)minus:(uint8_t)receiver other____:(PAPIBigInteger *)other __attribute__((swift_name("minus(_:other____:)"))); ++ (PAPIBigInteger *)minus:(uint32_t)receiver other_____:(PAPIBigInteger *)other __attribute__((swift_name("minus(_:other_____:)"))); ++ (PAPIBigInteger *)minus:(uint64_t)receiver other______:(PAPIBigInteger *)other __attribute__((swift_name("minus(_:other______:)"))); ++ (PAPIBigInteger *)minus:(uint16_t)receiver other_______:(PAPIBigInteger *)other __attribute__((swift_name("minus(_:other_______:)"))); ++ (PAPIBigInteger *)plus:(int8_t)receiver other:(PAPIBigInteger *)other __attribute__((swift_name("plus(_:other:)"))); ++ (PAPIBigInteger *)plus:(int32_t)receiver other_:(PAPIBigInteger *)other __attribute__((swift_name("plus(_:other_:)"))); ++ (PAPIBigInteger *)plus:(int64_t)receiver other__:(PAPIBigInteger *)other __attribute__((swift_name("plus(_:other__:)"))); ++ (PAPIBigInteger *)plus:(int16_t)receiver other___:(PAPIBigInteger *)other __attribute__((swift_name("plus(_:other___:)"))); ++ (PAPIBigInteger *)plus:(uint8_t)receiver other____:(PAPIBigInteger *)other __attribute__((swift_name("plus(_:other____:)"))); ++ (PAPIBigInteger *)plus:(uint32_t)receiver other_____:(PAPIBigInteger *)other __attribute__((swift_name("plus(_:other_____:)"))); ++ (PAPIBigInteger *)plus:(uint64_t)receiver other______:(PAPIBigInteger *)other __attribute__((swift_name("plus(_:other______:)"))); ++ (PAPIBigInteger *)plus:(uint16_t)receiver other_______:(PAPIBigInteger *)other __attribute__((swift_name("plus(_:other_______:)"))); ++ (PAPIBigInteger *)rem:(int8_t)receiver other:(PAPIBigInteger *)other __attribute__((swift_name("rem(_:other:)"))); ++ (PAPIBigInteger *)rem:(int32_t)receiver other_:(PAPIBigInteger *)other __attribute__((swift_name("rem(_:other_:)"))); ++ (PAPIBigInteger *)rem:(int64_t)receiver other__:(PAPIBigInteger *)other __attribute__((swift_name("rem(_:other__:)"))); ++ (PAPIBigInteger *)rem:(int16_t)receiver other___:(PAPIBigInteger *)other __attribute__((swift_name("rem(_:other___:)"))); ++ (PAPIBigInteger *)rem:(uint8_t)receiver other____:(PAPIBigInteger *)other __attribute__((swift_name("rem(_:other____:)"))); ++ (PAPIBigInteger *)rem:(uint32_t)receiver other_____:(PAPIBigInteger *)other __attribute__((swift_name("rem(_:other_____:)"))); ++ (PAPIBigInteger *)rem:(uint64_t)receiver other______:(PAPIBigInteger *)other __attribute__((swift_name("rem(_:other______:)"))); ++ (PAPIBigInteger *)rem:(uint16_t)receiver other_______:(PAPIBigInteger *)other __attribute__((swift_name("rem(_:other_______:)"))); ++ (PAPIBigInteger *)times:(int8_t)receiver other:(PAPIBigInteger *)other __attribute__((swift_name("times(_:other:)"))); ++ (PAPIBigInteger *)times:(int32_t)receiver other_:(PAPIBigInteger *)other __attribute__((swift_name("times(_:other_:)"))); ++ (PAPIBigInteger *)times:(int64_t)receiver other__:(PAPIBigInteger *)other __attribute__((swift_name("times(_:other__:)"))); ++ (PAPIBigInteger *)times:(int16_t)receiver other___:(PAPIBigInteger *)other __attribute__((swift_name("times(_:other___:)"))); ++ (PAPIBigInteger *)times:(uint8_t)receiver other____:(PAPIBigInteger *)other __attribute__((swift_name("times(_:other____:)"))); ++ (PAPIBigInteger *)times:(uint32_t)receiver other_____:(PAPIBigInteger *)other __attribute__((swift_name("times(_:other_____:)"))); ++ (PAPIBigInteger *)times:(uint64_t)receiver other______:(PAPIBigInteger *)other __attribute__((swift_name("times(_:other______:)"))); ++ (PAPIBigInteger *)times:(uint16_t)receiver other_______:(PAPIBigInteger *)other __attribute__((swift_name("times(_:other_______:)"))); ++ (PAPIBigInteger *)toBigInteger:(int8_t)receiver __attribute__((swift_name("toBigInteger(_:)"))); ++ (PAPIBigInteger *)toBigInteger_:(int32_t)receiver __attribute__((swift_name("toBigInteger(__:)"))); ++ (PAPIBigInteger *)toBigInteger__:(int64_t)receiver __attribute__((swift_name("toBigInteger(___:)"))); ++ (PAPIBigInteger *)toBigInteger___:(int16_t)receiver __attribute__((swift_name("toBigInteger(____:)"))); ++ (PAPIBigInteger *)toBigInteger:(NSString *)receiver base:(int32_t)base __attribute__((swift_name("toBigInteger(_:base:)"))); ++ (PAPIBigInteger *)toBigInteger____:(uint8_t)receiver __attribute__((swift_name("toBigInteger(_____:)"))); ++ (PAPIBigInteger *)toBigInteger_____:(uint32_t)receiver __attribute__((swift_name("toBigInteger(______:)"))); ++ (PAPIBigInteger *)toBigInteger______:(uint64_t)receiver __attribute__((swift_name("toBigInteger(_______:)"))); ++ (PAPIBigInteger *)toBigInteger_______:(uint16_t)receiver __attribute__((swift_name("toBigInteger(________:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ConversionUtilsKt"))) +@interface PAPIConversionUtilsKt : PAPIBase ++ (id)incrementByteString:(id)byteString __attribute__((swift_name("increment(byteString:)"))); ++ (id)incrementArray:(id)array __attribute__((swift_name("increment(array:)"))); ++ (id)incrementArray_:(id)array __attribute__((swift_name("increment(array_:)"))); ++ (id)invertArray:(id)array __attribute__((swift_name("invert(array:)"))); ++ (id)invertArray_:(id)array __attribute__((swift_name("invert(array_:)"))); ++ (id)invertArray__:(id)array __attribute__((swift_name("invert(array__:)"))); ++ (void)mirrorBytesSource:(id)source start:(int32_t)start end:(int32_t)end target:(id)target targetStart:(int32_t)targetStart __attribute__((swift_name("mirrorBytes(source:start:end:target:targetStart:)"))); ++ (uint64_t)fromBigEndianArrayToULong:(id)receiver __attribute__((swift_name("fromBigEndianArrayToULong(_:)"))); ++ (uint64_t)fromLittleEndianArrayToULong:(id)receiver __attribute__((swift_name("fromLittleEndianArrayToULong(_:)"))); ++ (id)toBigEndianUByteArray:(uint32_t)receiver __attribute__((swift_name("toBigEndianUByteArray(_:)"))); ++ (id)toBigEndianUByteArray_:(uint64_t)receiver __attribute__((swift_name("toBigEndianUByteArray(__:)"))); ++ (id)toLittleEndianUByteArray:(uint32_t)receiver __attribute__((swift_name("toLittleEndianUByteArray(_:)"))); ++ (id)toLittleEndianUByteArray_:(uint64_t)receiver __attribute__((swift_name("toLittleEndianUByteArray(__:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("VariousUtilKt"))) +@interface PAPIVariousUtilKt : PAPIBase ++ (void)hexColumsPrint:(id)receiver chunk:(int32_t)chunk __attribute__((swift_name("hexColumsPrint(_:chunk:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DigitUtilKt"))) +@interface PAPIDigitUtilKt : PAPIBase ++ (int32_t)toDigit:(unichar)receiver base:(int32_t)base __attribute__((swift_name("toDigit(_:base:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PlaceholderKt"))) +@interface PAPIPlaceholderKt : PAPIBase + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)concurrentMultiplyWithCompletionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("concurrentMultiply(completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SecureRandomKt"))) +@interface PAPISecureRandomKt : PAPIBase +@property (class) BOOL randomUnittesting __attribute__((swift_name("randomUnittesting"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SecureRandomNativePosixKt"))) +@interface PAPISecureRandomNativePosixKt : PAPIBase ++ (void)fillRandomBytesArray:(PAPIKotlinByteArray *)array __attribute__((swift_name("fillRandomBytes(array:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("HexKt"))) +@interface PAPIHexKt : PAPIBase ++ (NSString *)hex:(int8_t)receiver __attribute__((swift_name("hex(_:)"))); ++ (NSString *)hex_:(int32_t)receiver __attribute__((swift_name("hex(__:)"))); ++ (NSString *)shex:(int8_t)receiver __attribute__((swift_name("shex(_:)"))); ++ (NSString *)shex_:(int32_t)receiver __attribute__((swift_name("shex(__:)"))); ++ (PAPIKotlinByteArray *)unhex:(NSString *)receiver __attribute__((swift_name("unhex(_:)"))); ++ (PAPIKotlinByteArray *)unhexIgnoreSpaces:(NSString *)receiver __attribute__((swift_name("unhexIgnoreSpaces(_:)"))); ++ (PAPIKotlinByteArray *)unhexIgnoreSpaces_:(NSArray *)receiver __attribute__((swift_name("unhexIgnoreSpaces(__:)"))); ++ (void)appendHexByte:(id)receiver value:(int32_t)value __attribute__((swift_name("appendHexByte(_:value:)"))); ++ (PAPIKotlinByteArray *)fromHex:(NSString *)receiver __attribute__((swift_name("fromHex(_:)"))); ++ (BOOL)isHexDigit:(unichar)receiver __attribute__((swift_name("isHexDigit(_:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ASCIIKt"))) +@interface PAPIASCIIKt : PAPIBase ++ (PAPIKotlinByteArray *)fromAscii:(NSString *)receiver __attribute__((swift_name("fromAscii(_:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Base64Kt"))) +@interface PAPIBase64Kt : PAPIBase ++ (PAPIKotlinByteArray *)fromBase64:(NSString *)receiver ignoreSpaces:(BOOL)ignoreSpaces url:(BOOL)url __attribute__((swift_name("fromBase64(_:ignoreSpaces:url:)"))); ++ (PAPIKotlinByteArray *)fromBase64IgnoreSpaces:(NSString *)receiver url:(BOOL)url __attribute__((swift_name("fromBase64IgnoreSpaces(_:url:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BitcoinKt"))) +@interface PAPIBitcoinKt : PAPIBase ++ (PAPIKotlinByteArray *)fixSizeData:(PAPIKotlinByteArray *)data size:(int32_t)size __attribute__((swift_name("fixSize(data:size:)"))); ++ (NSArray *)updated:(NSArray *)receiver i:(int32_t)i t:(id _Nullable)t __attribute__((swift_name("updated(_:i:t:)"))); +@property (class, readonly) int32_t MaxBlockSize __attribute__((swift_name("MaxBlockSize"))); +@property (class, readonly) int32_t MaxScriptElementSize __attribute__((swift_name("MaxScriptElementSize"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SatoshiKt"))) +@interface PAPISatoshiKt : PAPIBase ++ (PAPISatoshi *)toSatoshi:(int64_t)receiver __attribute__((swift_name("toSatoshi(_:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("HMacKt"))) +@interface PAPIHMacKt : PAPIBase ++ (PAPIKotlinByteArray *)hmac:(id)receiver key:(PAPIKotlinByteArray *)key data:(PAPIKotlinByteArray *)data blockSize:(int32_t)blockSize __attribute__((swift_name("hmac(_:key:data:blockSize:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("InputKt_"))) +@interface PAPIInputKt_ : PAPIBase ++ (PAPIKotlinByteArray *)readNBytes:(id)receiver n:(int32_t)n __attribute__((swift_name("readNBytes(_:n:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SerializersKt"))) +@interface PAPISerializersKt : PAPIBase ++ (id)serializer __attribute__((swift_name("serializer()"))); ++ (id)serializerType:(id)type __attribute__((swift_name("serializer(type:)"))); ++ (id _Nullable)serializerOrNullType:(id)type __attribute__((swift_name("serializerOrNull(type:)"))); ++ (id)serializer:(id)receiver __attribute__((swift_name("serializer(_:)"))); ++ (id _Nullable)serializerOrNull:(id)receiver __attribute__((swift_name("serializerOrNull(_:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SerialFormatKt"))) +@interface PAPISerialFormatKt : PAPIBase ++ (id _Nullable)decodeFromByteArray:(id)receiver bytes:(PAPIKotlinByteArray *)bytes __attribute__((swift_name("decodeFromByteArray(_:bytes:)"))); ++ (id _Nullable)decodeFromHexString:(id)receiver hex:(NSString *)hex __attribute__((swift_name("decodeFromHexString(_:hex:)"))); ++ (id _Nullable)decodeFromHexString:(id)receiver deserializer:(id)deserializer hex:(NSString *)hex __attribute__((swift_name("decodeFromHexString(_:deserializer:hex:)"))); ++ (id _Nullable)decodeFromString:(id)receiver string:(NSString *)string __attribute__((swift_name("decodeFromString(_:string:)"))); ++ (PAPIKotlinByteArray *)encodeToByteArray:(id)receiver value:(id _Nullable)value __attribute__((swift_name("encodeToByteArray(_:value:)"))); ++ (NSString *)encodeToHexString:(id)receiver value:(id _Nullable)value __attribute__((swift_name("encodeToHexString(_:value:)"))); ++ (NSString *)encodeToHexString:(id)receiver serializer:(id)serializer value:(id _Nullable)value __attribute__((swift_name("encodeToHexString(_:serializer:value:)"))); ++ (NSString *)encodeToString:(id)receiver value:(id _Nullable)value __attribute__((swift_name("encodeToString(_:value:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PluginExceptionsKt"))) +@interface PAPIPluginExceptionsKt : PAPIBase ++ (void)throwArrayMissingFieldExceptionSeenArray:(PAPIKotlinIntArray *)seenArray goldenMaskArray:(PAPIKotlinIntArray *)goldenMaskArray descriptor:(id)descriptor __attribute__((swift_name("throwArrayMissingFieldException(seenArray:goldenMaskArray:descriptor:)"))); ++ (void)throwMissingFieldExceptionSeen:(int32_t)seen goldenMask:(int32_t)goldenMask descriptor:(id)descriptor __attribute__((swift_name("throwMissingFieldException(seen:goldenMask:descriptor:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("JsonInternalDependenciesKt"))) +@interface PAPIJsonInternalDependenciesKt : PAPIBase ++ (NSSet *)jsonCachedSerialNames:(id)receiver __attribute__((swift_name("jsonCachedSerialNames(_:)"))) __attribute__((unavailable("Should not be used"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SerializersModuleKt"))) +@interface PAPISerializersModuleKt : PAPIBase +@property (class, readonly) PAPISerializersModule *EmptySerializersModule __attribute__((swift_name("EmptySerializersModule"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SerializersModuleBuildersKt"))) +@interface PAPISerializersModuleBuildersKt : PAPIBase ++ (PAPISerializersModule *)SerializersModuleBuilderAction:(void (^)(PAPISerializersModuleBuilder *))builderAction __attribute__((swift_name("SerializersModule(builderAction:)"))); ++ (PAPISerializersModule *)serializersModuleOfKClass:(id)kClass serializer:(id)serializer __attribute__((swift_name("serializersModuleOf(kClass:serializer:)"))); ++ (PAPISerializersModule *)serializersModuleOfSerializer:(id)serializer __attribute__((swift_name("serializersModuleOf(serializer:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ContextAwareKt"))) +@interface PAPIContextAwareKt : PAPIBase ++ (id _Nullable)capturedKClass:(id)receiver __attribute__((swift_name("capturedKClass(_:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SerialDescriptorKt"))) +@interface PAPISerialDescriptorKt : PAPIBase ++ (id)elementDescriptors:(id)receiver __attribute__((swift_name("elementDescriptors(_:)"))); ++ (id)elementNames:(id)receiver __attribute__((swift_name("elementNames(_:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SerialDescriptorsKt"))) +@interface PAPISerialDescriptorsKt : PAPIBase ++ (id)nullable:(id)receiver __attribute__((swift_name("nullable(_:)"))); ++ (id)PrimitiveSerialDescriptorSerialName:(NSString *)serialName kind:(PAPIPrimitiveKind *)kind __attribute__((swift_name("PrimitiveSerialDescriptor(serialName:kind:)"))); ++ (id)SerialDescriptorSerialName:(NSString *)serialName original:(id)original __attribute__((swift_name("SerialDescriptor(serialName:original:)"))); ++ (id)buildClassSerialDescriptorSerialName:(NSString *)serialName typeParameters:(PAPIKotlinArray> *)typeParameters builderAction:(void (^)(PAPIClassSerialDescriptorBuilder *))builderAction __attribute__((swift_name("buildClassSerialDescriptor(serialName:typeParameters:builderAction:)"))); ++ (id)buildSerialDescriptorSerialName:(NSString *)serialName kind:(PAPISerialKind *)kind typeParameters:(PAPIKotlinArray> *)typeParameters builder:(void (^)(PAPIClassSerialDescriptorBuilder *))builder __attribute__((swift_name("buildSerialDescriptor(serialName:kind:typeParameters:builder:)"))); ++ (id)listSerialDescriptor __attribute__((swift_name("listSerialDescriptor()"))); ++ (id)listSerialDescriptorElementDescriptor:(id)elementDescriptor __attribute__((swift_name("listSerialDescriptor(elementDescriptor:)"))); ++ (id)mapSerialDescriptor __attribute__((swift_name("mapSerialDescriptor()"))); ++ (id)mapSerialDescriptorKeyDescriptor:(id)keyDescriptor valueDescriptor:(id)valueDescriptor __attribute__((swift_name("mapSerialDescriptor(keyDescriptor:valueDescriptor:)"))); ++ (id)serialDescriptor __attribute__((swift_name("serialDescriptor()"))); ++ (id)serialDescriptorType:(id)type __attribute__((swift_name("serialDescriptor(type:)"))); ++ (id)setSerialDescriptor __attribute__((swift_name("setSerialDescriptor()"))); ++ (id)setSerialDescriptorElementDescriptor:(id)elementDescriptor __attribute__((swift_name("setSerialDescriptor(elementDescriptor:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BuiltinSerializersKt"))) +@interface PAPIBuiltinSerializersKt : PAPIBase ++ (id)nullable:(id)receiver __attribute__((swift_name("nullable(_:)"))); ++ (id)ArraySerializerKClass:(id)kClass elementSerializer:(id)elementSerializer __attribute__((swift_name("ArraySerializer(kClass:elementSerializer:)"))); ++ (id)ArraySerializerElementSerializer:(id)elementSerializer __attribute__((swift_name("ArraySerializer(elementSerializer:)"))); ++ (id)BooleanArraySerializer __attribute__((swift_name("BooleanArraySerializer()"))); ++ (id)ByteArraySerializer __attribute__((swift_name("ByteArraySerializer()"))); ++ (id)CharArraySerializer __attribute__((swift_name("CharArraySerializer()"))); ++ (id)DoubleArraySerializer __attribute__((swift_name("DoubleArraySerializer()"))); ++ (id)FloatArraySerializer __attribute__((swift_name("FloatArraySerializer()"))); ++ (id)IntArraySerializer __attribute__((swift_name("IntArraySerializer()"))); ++ (id)ListSerializerElementSerializer:(id)elementSerializer __attribute__((swift_name("ListSerializer(elementSerializer:)"))); ++ (id)LongArraySerializer __attribute__((swift_name("LongArraySerializer()"))); ++ (id)MapEntrySerializerKeySerializer:(id)keySerializer valueSerializer:(id)valueSerializer __attribute__((swift_name("MapEntrySerializer(keySerializer:valueSerializer:)"))); ++ (id)MapSerializerKeySerializer:(id)keySerializer valueSerializer:(id)valueSerializer __attribute__((swift_name("MapSerializer(keySerializer:valueSerializer:)"))); ++ (id)PairSerializerKeySerializer:(id)keySerializer valueSerializer:(id)valueSerializer __attribute__((swift_name("PairSerializer(keySerializer:valueSerializer:)"))); ++ (id)SetSerializerElementSerializer:(id)elementSerializer __attribute__((swift_name("SetSerializer(elementSerializer:)"))); ++ (id)ShortArraySerializer __attribute__((swift_name("ShortArraySerializer()"))); ++ (id)TripleSerializerASerializer:(id)aSerializer bSerializer:(id)bSerializer cSerializer:(id)cSerializer __attribute__((swift_name("TripleSerializer(aSerializer:bSerializer:cSerializer:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DecodingKt"))) +@interface PAPIDecodingKt : PAPIBase ++ (id _Nullable)decodeStructure:(id)receiver descriptor:(id)descriptor block:(id _Nullable (^)(id))block __attribute__((swift_name("decodeStructure(_:descriptor:block:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("EncodingKt"))) +@interface PAPIEncodingKt : PAPIBase ++ (void)encodeStructure:(id)receiver descriptor:(id)descriptor block:(void (^)(id))block __attribute__((swift_name("encodeStructure(_:descriptor:block:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("TraceKt"))) +@interface PAPITraceKt : PAPIBase ++ (PAPITraceBase *)TraceSize:(int32_t)size format:(PAPITraceFormat *)format __attribute__((swift_name("Trace(size:format:)"))); +@property (class, readonly) PAPITraceFormat *traceFormatDefault __attribute__((swift_name("traceFormatDefault"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("TraceFormatKt"))) +@interface PAPITraceFormatKt : PAPIBase ++ (PAPITraceFormat *)TraceFormatFormat:(NSString *(^)(PAPIInt *, id))format __attribute__((swift_name("TraceFormat(format:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtomicFUKt"))) +@interface PAPIAtomicFUKt : PAPIBase ++ (id)atomicInitial:(id _Nullable)initial __attribute__((swift_name("atomic(initial:)"))); ++ (id)atomicInitial:(id _Nullable)initial trace:(PAPITraceBase *)trace __attribute__((swift_name("atomic(initial:trace:)"))); ++ (id)atomicInitial_:(BOOL)initial __attribute__((swift_name("atomic(initial_:)"))); ++ (id)atomicInitial:(BOOL)initial trace_:(PAPITraceBase *)trace __attribute__((swift_name("atomic(initial:trace_:)"))); ++ (id)atomicInitial__:(int32_t)initial __attribute__((swift_name("atomic(initial__:)"))); ++ (id)atomicInitial:(int32_t)initial trace__:(PAPITraceBase *)trace __attribute__((swift_name("atomic(initial:trace__:)"))); ++ (id)atomicInitial___:(int64_t)initial __attribute__((swift_name("atomic(initial___:)"))); ++ (id)atomicInitial:(int64_t)initial trace___:(PAPITraceBase *)trace __attribute__((swift_name("atomic(initial:trace___:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtomicFU_commonKt"))) +@interface PAPIAtomicFU_commonKt : PAPIBase ++ (PAPIAtomicArray *)atomicArrayOfNullsSize:(int32_t)size __attribute__((swift_name("atomicArrayOfNulls(size:)"))); ++ (BOOL)getAndUpdate:(id)receiver function:(PAPIBoolean *(^)(PAPIBoolean *))function __attribute__((swift_name("getAndUpdate(_:function:)"))); ++ (int32_t)getAndUpdate:(id)receiver function_:(PAPIInt *(^)(PAPIInt *))function __attribute__((swift_name("getAndUpdate(_:function_:)"))); ++ (int64_t)getAndUpdate:(id)receiver function__:(PAPILong *(^)(PAPILong *))function __attribute__((swift_name("getAndUpdate(_:function__:)"))); ++ (id _Nullable)getAndUpdate:(id)receiver function___:(id _Nullable (^)(id _Nullable))function __attribute__((swift_name("getAndUpdate(_:function___:)"))); ++ (void)loop:(id)receiver action:(void (^)(PAPIBoolean *))action __attribute__((swift_name("loop(_:action:)"))); ++ (void)loop:(id)receiver action_:(void (^)(PAPIInt *))action __attribute__((swift_name("loop(_:action_:)"))); ++ (void)loop:(id)receiver action__:(void (^)(PAPILong *))action __attribute__((swift_name("loop(_:action__:)"))); ++ (void)loop:(id)receiver action___:(void (^)(id _Nullable))action __attribute__((swift_name("loop(_:action___:)"))); ++ (void)update:(id)receiver function:(PAPIBoolean *(^)(PAPIBoolean *))function __attribute__((swift_name("update(_:function:)"))); ++ (void)update:(id)receiver function_:(PAPIInt *(^)(PAPIInt *))function __attribute__((swift_name("update(_:function_:)"))); ++ (void)update:(id)receiver function__:(PAPILong *(^)(PAPILong *))function __attribute__((swift_name("update(_:function__:)"))); ++ (void)update:(id)receiver function___:(id _Nullable (^)(id _Nullable))function __attribute__((swift_name("update(_:function___:)"))); ++ (BOOL)updateAndGet:(id)receiver function:(PAPIBoolean *(^)(PAPIBoolean *))function __attribute__((swift_name("updateAndGet(_:function:)"))); ++ (int32_t)updateAndGet:(id)receiver function_:(PAPIInt *(^)(PAPIInt *))function __attribute__((swift_name("updateAndGet(_:function_:)"))); ++ (int64_t)updateAndGet:(id)receiver function__:(PAPILong *(^)(PAPILong *))function __attribute__((swift_name("updateAndGet(_:function__:)"))); ++ (id _Nullable)updateAndGet:(id)receiver function___:(id _Nullable (^)(id _Nullable))function __attribute__((swift_name("updateAndGet(_:function___:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SynchronizedKt"))) +@interface PAPISynchronizedKt : PAPIBase ++ (PAPISynchronizedObject *)reentrantLock __attribute__((swift_name("reentrantLock()"))); ++ (id _Nullable)synchronizedLock:(PAPISynchronizedObject *)lock block:(id _Nullable (^)(void))block __attribute__((swift_name("synchronized(lock:block:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtalaOperationStatusKt"))) +@interface PAPIAtalaOperationStatusKt : PAPIBase ++ (PAPIOperationStatus *)toProto:(int32_t)receiver __attribute__((swift_name("toProto(_:)"))); +@end; + +__attribute__((swift_name("KotlinKDeclarationContainer"))) +@protocol PAPIKotlinKDeclarationContainer +@required +@end; + +__attribute__((swift_name("KotlinKAnnotatedElement"))) +@protocol PAPIKotlinKAnnotatedElement +@required +@end; + +__attribute__((swift_name("KotlinKClassifier"))) +@protocol PAPIKotlinKClassifier +@required +@end; + +__attribute__((swift_name("KotlinKClass"))) +@protocol PAPIKotlinKClass +@required +- (BOOL)isInstanceValue:(id _Nullable)value __attribute__((swift_name("isInstance(value:)"))); +@property (readonly) NSString * _Nullable qualifiedName __attribute__((swift_name("qualifiedName"))); +@property (readonly) NSString * _Nullable simpleName __attribute__((swift_name("simpleName"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinEnumCompanion"))) +@interface PAPIKotlinEnumCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKotlinEnumCompanion *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinNothing"))) +@interface PAPIKotlinNothing : PAPIBase +@end; + +__attribute__((swift_name("KotlinFunction"))) +@protocol PAPIKotlinFunction +@required +@end; + +__attribute__((swift_name("KotlinSuspendFunction1"))) +@protocol PAPIKotlinSuspendFunction1 +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)invokeP1:(id _Nullable)p1 completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("invoke(p1:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinCharArray"))) +@interface PAPIKotlinCharArray : PAPIBase ++ (instancetype)arrayWithSize:(int32_t)size __attribute__((swift_name("init(size:)"))); ++ (instancetype)arrayWithSize:(int32_t)size init:(id (^)(PAPIInt *))init __attribute__((swift_name("init(size:init:)"))); ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (unichar)getIndex:(int32_t)index __attribute__((swift_name("get(index:)"))); +- (PAPIKotlinCharIterator *)iterator __attribute__((swift_name("iterator()"))); +- (void)setIndex:(int32_t)index value:(unichar)value __attribute__((swift_name("set(index:value:)"))); +@property (readonly) int32_t size __attribute__((swift_name("size"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinRegex"))) +@interface PAPIKotlinRegex : PAPIBase +- (instancetype)initWithPattern:(NSString *)pattern __attribute__((swift_name("init(pattern:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithPattern:(NSString *)pattern option:(PAPIKotlinRegexOption *)option __attribute__((swift_name("init(pattern:option:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithPattern:(NSString *)pattern options:(NSSet *)options __attribute__((swift_name("init(pattern:options:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIKotlinRegexCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)containsMatchInInput:(id)input __attribute__((swift_name("containsMatchIn(input:)"))); +- (id _Nullable)findInput:(id)input startIndex:(int32_t)startIndex __attribute__((swift_name("find(input:startIndex:)"))); +- (id)findAllInput:(id)input startIndex:(int32_t)startIndex __attribute__((swift_name("findAll(input:startIndex:)"))); +- (id _Nullable)matchAtInput:(id)input index:(int32_t)index __attribute__((swift_name("matchAt(input:index:)"))); +- (id _Nullable)matchEntireInput:(id)input __attribute__((swift_name("matchEntire(input:)"))); +- (BOOL)matchesInput:(id)input __attribute__((swift_name("matches(input:)"))); +- (BOOL)matchesAtInput:(id)input index:(int32_t)index __attribute__((swift_name("matchesAt(input:index:)"))); +- (NSString *)replaceInput:(id)input transform:(id (^)(id))transform __attribute__((swift_name("replace(input:transform:)"))); +- (NSString *)replaceInput:(id)input replacement:(NSString *)replacement __attribute__((swift_name("replace(input:replacement:)"))); +- (NSString *)replaceFirstInput:(id)input replacement:(NSString *)replacement __attribute__((swift_name("replaceFirst(input:replacement:)"))); +- (NSArray *)splitInput:(id)input limit:(int32_t)limit __attribute__((swift_name("split(input:limit:)"))); +- (id)splitToSequenceInput:(id)input limit:(int32_t)limit __attribute__((swift_name("splitToSequence(input:limit:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSSet *options __attribute__((swift_name("options"))); +@property (readonly) NSString *pattern __attribute__((swift_name("pattern"))); +@end; + +__attribute__((swift_name("KotlinKCallable"))) +@protocol PAPIKotlinKCallable +@required +@property (readonly, getter=name_) NSString *name __attribute__((swift_name("name"))); +@property (readonly) id returnType __attribute__((swift_name("returnType"))); +@end; + +__attribute__((swift_name("KotlinKProperty"))) +@protocol PAPIKotlinKProperty +@required +@end; + +__attribute__((swift_name("KotlinSuspendFunction0"))) +@protocol PAPIKotlinSuspendFunction0 +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)invokeWithCompletionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("invoke(completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinAtomicReference"))) +@interface PAPIKotlinAtomicReference : PAPIBase +- (instancetype)initWithValue:(T _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +- (BOOL)compareAndSetExpected:(T _Nullable)expected new:(T _Nullable)new_ __attribute__((swift_name("compareAndSet(expected:new:)"))); +- (T _Nullable)compareAndSwapExpected:(T _Nullable)expected new:(T _Nullable)new_ __attribute__((swift_name("compareAndSwap(expected:new:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property T _Nullable value __attribute__((swift_name("value"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinPair"))) +@interface PAPIKotlinPair<__covariant A, __covariant B> : PAPIBase +- (instancetype)initWithFirst:(A _Nullable)first second:(B _Nullable)second __attribute__((swift_name("init(first:second:)"))) __attribute__((objc_designated_initializer)); +- (A _Nullable)component1 __attribute__((swift_name("component1()"))); +- (B _Nullable)component2 __attribute__((swift_name("component2()"))); +- (PAPIKotlinPair *)doCopyFirst:(A _Nullable)first second:(B _Nullable)second __attribute__((swift_name("doCopy(first:second:)"))); +- (BOOL)equalsOther:(id _Nullable)other __attribute__((swift_name("equals(other:)"))); +- (int32_t)hashCode __attribute__((swift_name("hashCode()"))); +- (NSString *)toString __attribute__((swift_name("toString()"))); +@property (readonly) A _Nullable first __attribute__((swift_name("first"))); +@property (readonly) B _Nullable second __attribute__((swift_name("second"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinRandom.Default"))) +@interface PAPIKotlinRandomDefault : PAPIKotlinRandom ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)default_ __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKotlinRandomDefault *shared __attribute__((swift_name("shared"))); +- (int32_t)nextBitsBitCount:(int32_t)bitCount __attribute__((swift_name("nextBits(bitCount:)"))); +- (BOOL)nextBoolean __attribute__((swift_name("nextBoolean()"))); +- (PAPIKotlinByteArray *)nextBytesArray:(PAPIKotlinByteArray *)array __attribute__((swift_name("nextBytes(array:)"))); +- (PAPIKotlinByteArray *)nextBytesArray:(PAPIKotlinByteArray *)array fromIndex:(int32_t)fromIndex toIndex:(int32_t)toIndex __attribute__((swift_name("nextBytes(array:fromIndex:toIndex:)"))); +- (PAPIKotlinByteArray *)nextBytesSize:(int32_t)size __attribute__((swift_name("nextBytes(size:)"))); +- (double)nextDouble __attribute__((swift_name("nextDouble()"))); +- (double)nextDoubleUntil:(double)until __attribute__((swift_name("nextDouble(until:)"))); +- (double)nextDoubleFrom:(double)from until:(double)until __attribute__((swift_name("nextDouble(from:until:)"))); +- (float)nextFloat __attribute__((swift_name("nextFloat()"))); +- (int32_t)nextInt __attribute__((swift_name("nextInt()"))); +- (int32_t)nextIntUntil:(int32_t)until __attribute__((swift_name("nextInt(until:)"))); +- (int32_t)nextIntFrom:(int32_t)from until:(int32_t)until __attribute__((swift_name("nextInt(from:until:)"))); +- (int64_t)nextLong __attribute__((swift_name("nextLong()"))); +- (int64_t)nextLongUntil:(int64_t)until __attribute__((swift_name("nextLong(until:)"))); +- (int64_t)nextLongFrom:(int64_t)from until:(int64_t)until __attribute__((swift_name("nextLong(from:until:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinTriple"))) +@interface PAPIKotlinTriple<__covariant A, __covariant B, __covariant C> : PAPIBase +- (instancetype)initWithFirst:(A _Nullable)first second:(B _Nullable)second third:(C _Nullable)third __attribute__((swift_name("init(first:second:third:)"))) __attribute__((objc_designated_initializer)); +- (A _Nullable)component1 __attribute__((swift_name("component1()"))); +- (B _Nullable)component2 __attribute__((swift_name("component2()"))); +- (C _Nullable)component3 __attribute__((swift_name("component3()"))); +- (PAPIKotlinTriple *)doCopyFirst:(A _Nullable)first second:(B _Nullable)second third:(C _Nullable)third __attribute__((swift_name("doCopy(first:second:third:)"))); +- (BOOL)equalsOther:(id _Nullable)other __attribute__((swift_name("equals(other:)"))); +- (int32_t)hashCode __attribute__((swift_name("hashCode()"))); +- (NSString *)toString __attribute__((swift_name("toString()"))); +@property (readonly) A _Nullable first __attribute__((swift_name("first"))); +@property (readonly) B _Nullable second __attribute__((swift_name("second"))); +@property (readonly) C _Nullable third __attribute__((swift_name("third"))); +@end; + +__attribute__((swift_name("KotlinAnnotation"))) +@protocol PAPIKotlinAnnotation +@required +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinDoubleArray"))) +@interface PAPIKotlinDoubleArray : PAPIBase ++ (instancetype)arrayWithSize:(int32_t)size __attribute__((swift_name("init(size:)"))); ++ (instancetype)arrayWithSize:(int32_t)size init:(PAPIDouble *(^)(PAPIInt *))init __attribute__((swift_name("init(size:init:)"))); ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (double)getIndex:(int32_t)index __attribute__((swift_name("get(index:)"))); +- (PAPIKotlinDoubleIterator *)iterator __attribute__((swift_name("iterator()"))); +- (void)setIndex:(int32_t)index value:(double)value __attribute__((swift_name("set(index:value:)"))); +@property (readonly) int32_t size __attribute__((swift_name("size"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinFloatArray"))) +@interface PAPIKotlinFloatArray : PAPIBase ++ (instancetype)arrayWithSize:(int32_t)size __attribute__((swift_name("init(size:)"))); ++ (instancetype)arrayWithSize:(int32_t)size init:(PAPIFloat *(^)(PAPIInt *))init __attribute__((swift_name("init(size:init:)"))); ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (float)getIndex:(int32_t)index __attribute__((swift_name("get(index:)"))); +- (PAPIKotlinFloatIterator *)iterator __attribute__((swift_name("iterator()"))); +- (void)setIndex:(int32_t)index value:(float)value __attribute__((swift_name("set(index:value:)"))); +@property (readonly) int32_t size __attribute__((swift_name("size"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinShortArray"))) +@interface PAPIKotlinShortArray : PAPIBase ++ (instancetype)arrayWithSize:(int32_t)size __attribute__((swift_name("init(size:)"))); ++ (instancetype)arrayWithSize:(int32_t)size init:(PAPIShort *(^)(PAPIInt *))init __attribute__((swift_name("init(size:init:)"))); ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (int16_t)getIndex:(int32_t)index __attribute__((swift_name("get(index:)"))); +- (PAPIKotlinShortIterator *)iterator __attribute__((swift_name("iterator()"))); +- (void)setIndex:(int32_t)index value:(int16_t)value __attribute__((swift_name("set(index:value:)"))); +@property (readonly) int32_t size __attribute__((swift_name("size"))); +@end; + +__attribute__((swift_name("KotlinByteIterator"))) +@interface PAPIKotlinByteIterator : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (PAPIByte *)next_ __attribute__((swift_name("next()"))); +- (int8_t)nextByte __attribute__((swift_name("nextByte()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinIntProgression.Companion"))) +@interface PAPIKotlinIntProgressionCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKotlinIntProgressionCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIKotlinIntProgression *)fromClosedRangeRangeStart:(int32_t)rangeStart rangeEnd:(int32_t)rangeEnd step:(int32_t)step __attribute__((swift_name("fromClosedRange(rangeStart:rangeEnd:step:)"))); +@end; + +__attribute__((swift_name("KotlinIntIterator"))) +@interface PAPIKotlinIntIterator : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (PAPIInt *)next_ __attribute__((swift_name("next()"))); +- (int32_t)nextInt __attribute__((swift_name("nextInt()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinIntRange.Companion"))) +@interface PAPIKotlinIntRangeCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKotlinIntRangeCompanion *shared __attribute__((swift_name("shared"))); +@property (readonly) PAPIKotlinIntRange *EMPTY __attribute__((swift_name("EMPTY"))); +@end; + +__attribute__((swift_name("KotlinLongIterator"))) +@interface PAPIKotlinLongIterator : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (PAPILong *)next_ __attribute__((swift_name("next()"))); +- (int64_t)nextLong __attribute__((swift_name("nextLong()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinLongProgression.Companion"))) +@interface PAPIKotlinLongProgressionCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKotlinLongProgressionCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIKotlinLongProgression *)fromClosedRangeRangeStart:(int64_t)rangeStart rangeEnd:(int64_t)rangeEnd step:(int64_t)step __attribute__((swift_name("fromClosedRange(rangeStart:rangeEnd:step:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinLongRange.Companion"))) +@interface PAPIKotlinLongRangeCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKotlinLongRangeCompanion *shared __attribute__((swift_name("shared"))); +@property (readonly) PAPIKotlinLongRange *EMPTY __attribute__((swift_name("EMPTY"))); +@end; + +__attribute__((swift_name("KotlinKType"))) +@protocol PAPIKotlinKType +@required +@property (readonly) NSArray *arguments __attribute__((swift_name("arguments"))); +@property (readonly) id _Nullable classifier __attribute__((swift_name("classifier"))); +@property (readonly) BOOL isMarkedNullable __attribute__((swift_name("isMarkedNullable"))); +@end; + +__attribute__((swift_name("KotlinTimeSource"))) +@protocol PAPIKotlinTimeSource +@required +- (PAPIKotlinTimeMark *)markNow __attribute__((swift_name("markNow()"))); +@end; + +__attribute__((swift_name("KotlinNativePlacement"))) +@protocol PAPIKotlinNativePlacement +@required +- (void *)doAllocSize:(int32_t)size align:(int32_t)align __attribute__((swift_name("doAlloc(size:align:)"))); +- (void *)doAllocSize:(int64_t)size align_:(int32_t)align __attribute__((swift_name("doAlloc(size:align_:)"))); +@end; + +__attribute__((swift_name("KotlinNativeFreeablePlacement"))) +@protocol PAPIKotlinNativeFreeablePlacement +@required +- (void)freeMem:(void * _Nullable)mem __attribute__((swift_name("free(mem:)"))); +@end; + +__attribute__((swift_name("KotlinReadOnlyProperty"))) +@protocol PAPIKotlinReadOnlyProperty +@required +- (id _Nullable)getValueThisRef:(id _Nullable)thisRef property:(id)property __attribute__((swift_name("getValue(thisRef:property:)"))); +@end; + +__attribute__((swift_name("KotlinReadWriteProperty"))) +@protocol PAPIKotlinReadWriteProperty +@required +- (void)setValueThisRef:(id _Nullable)thisRef property:(id)property value:(id _Nullable)value __attribute__((swift_name("setValue(thisRef:property:value:)"))); +@end; + +__attribute__((swift_name("KotlinCValuesRef"))) +@interface PAPIKotlinCValuesRef : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (void *)getPointerScope:(PAPIKotlinAutofreeScope *)scope __attribute__((swift_name("getPointer(scope:)"))); +@end; + +__attribute__((swift_name("KotlinSuspendFunction2"))) +@protocol PAPIKotlinSuspendFunction2 +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)invokeP1:(id _Nullable)p1 p2:(id _Nullable)p2 completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("invoke(p1:p2:completionHandler:)"))); +@end; + +__attribute__((swift_name("KotlinSuspendFunction3"))) +@protocol PAPIKotlinSuspendFunction3 +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)invokeP1:(id _Nullable)p1 p2:(id _Nullable)p2 p3:(id _Nullable)p3 completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("invoke(p1:p2:p3:completionHandler:)"))); +@end; + +__attribute__((swift_name("KotlinSuspendFunction5"))) +@protocol PAPIKotlinSuspendFunction5 +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)invokeP1:(id _Nullable)p1 p2:(id _Nullable)p2 p3:(id _Nullable)p3 p4:(id _Nullable)p4 p5:(id _Nullable)p5 completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("invoke(p1:p2:p3:p4:p5:completionHandler:)"))); +@end; + +__attribute__((swift_name("KotlinSuspendFunction4"))) +@protocol PAPIKotlinSuspendFunction4 +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)invokeP1:(id _Nullable)p1 p2:(id _Nullable)p2 p3:(id _Nullable)p3 p4:(id _Nullable)p4 completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("invoke(p1:p2:p3:p4:completionHandler:)"))); +@end; + +__attribute__((swift_name("KotlinSuspendFunction6"))) +@protocol PAPIKotlinSuspendFunction6 +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)invokeP1:(id _Nullable)p1 p2:(id _Nullable)p2 p3:(id _Nullable)p3 p4:(id _Nullable)p4 p5:(id _Nullable)p5 p6:(id _Nullable)p6 completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("invoke(p1:p2:p3:p4:p5:p6:completionHandler:)"))); +@end; + +__attribute__((swift_name("KotlinCharIterator"))) +@interface PAPIKotlinCharIterator : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (id)next_ __attribute__((swift_name("next()"))); +- (unichar)nextChar __attribute__((swift_name("nextChar()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinRegexOption"))) +@interface PAPIKotlinRegexOption : PAPIKotlinEnum ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@property (class, readonly) PAPIKotlinRegexOption *ignoreCase __attribute__((swift_name("ignoreCase"))); +@property (class, readonly) PAPIKotlinRegexOption *multiline __attribute__((swift_name("multiline"))); +@property (class, readonly) PAPIKotlinRegexOption *literal __attribute__((swift_name("literal"))); +@property (class, readonly) PAPIKotlinRegexOption *unixLines __attribute__((swift_name("unixLines"))); +@property (class, readonly) PAPIKotlinRegexOption *comments __attribute__((swift_name("comments"))); +@property (class, readonly) PAPIKotlinRegexOption *dotMatchesAll __attribute__((swift_name("dotMatchesAll"))); +@property (class, readonly) PAPIKotlinRegexOption *canonEq __attribute__((swift_name("canonEq"))); ++ (PAPIKotlinArray *)values __attribute__((swift_name("values()"))); +@property (readonly) int32_t mask __attribute__((swift_name("mask"))); +@property (readonly) int32_t value_ __attribute__((swift_name("value_"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinRegex.Companion"))) +@interface PAPIKotlinRegexCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKotlinRegexCompanion *shared __attribute__((swift_name("shared"))); +- (NSString *)escapeLiteral:(NSString *)literal __attribute__((swift_name("escape(literal:)"))); +- (NSString *)escapeReplacementLiteral:(NSString *)literal __attribute__((swift_name("escapeReplacement(literal:)"))); +- (PAPIKotlinRegex *)fromLiteralLiteral:(NSString *)literal __attribute__((swift_name("fromLiteral(literal:)"))); +@end; + +__attribute__((swift_name("KotlinMatchResult"))) +@protocol PAPIKotlinMatchResult +@required +- (id _Nullable)next_ __attribute__((swift_name("next()"))); +@property (readonly) PAPIKotlinMatchResultDestructured *destructured __attribute__((swift_name("destructured"))); +@property (readonly) NSArray *groupValues __attribute__((swift_name("groupValues"))); +@property (readonly) id groups __attribute__((swift_name("groups"))); +@property (readonly) PAPIKotlinIntRange *range __attribute__((swift_name("range"))); +@property (readonly) NSString *value __attribute__((swift_name("value"))); +@end; + +__attribute__((swift_name("KotlinDoubleIterator"))) +@interface PAPIKotlinDoubleIterator : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (PAPIDouble *)next_ __attribute__((swift_name("next()"))); +- (double)nextDouble __attribute__((swift_name("nextDouble()"))); +@end; + +__attribute__((swift_name("KotlinFloatIterator"))) +@interface PAPIKotlinFloatIterator : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (PAPIFloat *)next_ __attribute__((swift_name("next()"))); +- (float)nextFloat __attribute__((swift_name("nextFloat()"))); +@end; + +__attribute__((swift_name("KotlinShortIterator"))) +@interface PAPIKotlinShortIterator : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (PAPIShort *)next_ __attribute__((swift_name("next()"))); +- (int16_t)nextShort __attribute__((swift_name("nextShort()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinKTypeProjection"))) +@interface PAPIKotlinKTypeProjection : PAPIBase +- (instancetype)initWithVariance:(PAPIKotlinKVariance * _Nullable)variance type:(id _Nullable)type __attribute__((swift_name("init(variance:type:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIKotlinKTypeProjectionCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIKotlinKVariance * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (id _Nullable)component2 __attribute__((swift_name("component2()"))); +- (PAPIKotlinKTypeProjection *)doCopyVariance:(PAPIKotlinKVariance * _Nullable)variance type:(id _Nullable)type __attribute__((swift_name("doCopy(variance:type:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) id _Nullable type __attribute__((swift_name("type"))); +@property (readonly) PAPIKotlinKVariance * _Nullable variance __attribute__((swift_name("variance"))); +@end; + +__attribute__((swift_name("KotlinTimeMark"))) +@interface PAPIKotlinTimeMark : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (int64_t)elapsedNow __attribute__((swift_name("elapsedNow()"))); +- (BOOL)hasNotPassedNow __attribute__((swift_name("hasNotPassedNow()"))); +- (BOOL)hasPassedNow __attribute__((swift_name("hasPassedNow()"))); +- (PAPIKotlinTimeMark *)minusDuration:(int64_t)duration __attribute__((swift_name("minus(duration:)"))); +- (PAPIKotlinTimeMark *)plusDuration:(int64_t)duration __attribute__((swift_name("plus(duration:)"))); +@end; + +__attribute__((swift_name("KotlinDeferScope"))) +@interface PAPIKotlinDeferScope : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (void)deferBlock:(void (^)(void))block __attribute__((swift_name("defer(block:)"))); +@end; + +__attribute__((swift_name("KotlinAutofreeScope"))) +@interface PAPIKotlinAutofreeScope : PAPIKotlinDeferScope +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (void *)doAllocSize:(int64_t)size align_:(int32_t)align __attribute__((swift_name("doAlloc(size:align_:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinMatchResultDestructured"))) +@interface PAPIKotlinMatchResultDestructured : PAPIBase +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component10 __attribute__((swift_name("component10()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (NSString *)component3 __attribute__((swift_name("component3()"))); +- (NSString *)component4 __attribute__((swift_name("component4()"))); +- (NSString *)component5 __attribute__((swift_name("component5()"))); +- (NSString *)component6 __attribute__((swift_name("component6()"))); +- (NSString *)component7 __attribute__((swift_name("component7()"))); +- (NSString *)component8 __attribute__((swift_name("component8()"))); +- (NSString *)component9 __attribute__((swift_name("component9()"))); +- (NSArray *)toList __attribute__((swift_name("toList()"))); +@property (readonly) id match __attribute__((swift_name("match"))); +@end; + +__attribute__((swift_name("KotlinCollection"))) +@protocol PAPIKotlinCollection +@required +- (BOOL)containsElement:(id _Nullable)element __attribute__((swift_name("contains(element:)"))); +- (BOOL)containsAllElements:(id)elements __attribute__((swift_name("containsAll(elements:)"))); +- (BOOL)isEmpty_ __attribute__((swift_name("isEmpty()"))); +@property (readonly, getter=size_) int32_t size __attribute__((swift_name("size"))); +@end; + +__attribute__((swift_name("KotlinMatchGroupCollection"))) +@protocol PAPIKotlinMatchGroupCollection +@required +- (PAPIKotlinMatchGroup * _Nullable)getIndex:(int32_t)index __attribute__((swift_name("get(index:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinKVariance"))) +@interface PAPIKotlinKVariance : PAPIKotlinEnum ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@property (class, readonly) PAPIKotlinKVariance *invariant __attribute__((swift_name("invariant"))); +@property (class, readonly) PAPIKotlinKVariance *in __attribute__((swift_name("in"))); +@property (class, readonly) PAPIKotlinKVariance *out __attribute__((swift_name("out"))); ++ (PAPIKotlinArray *)values __attribute__((swift_name("values()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinKTypeProjection.Companion"))) +@interface PAPIKotlinKTypeProjectionCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKotlinKTypeProjectionCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIKotlinKTypeProjection *)contravariantType:(id)type __attribute__((swift_name("contravariant(type:)"))); +- (PAPIKotlinKTypeProjection *)covariantType:(id)type __attribute__((swift_name("covariant(type:)"))); +- (PAPIKotlinKTypeProjection *)invariantType:(id)type __attribute__((swift_name("invariant(type:)"))); +@property (readonly) PAPIKotlinKTypeProjection *STAR __attribute__((swift_name("STAR"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinMatchGroup"))) +@interface PAPIKotlinMatchGroup : PAPIBase +- (instancetype)initWithValue:(NSString *)value range:(PAPIKotlinIntRange *)range __attribute__((swift_name("init(value:range:)"))) __attribute__((objc_designated_initializer)); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIKotlinIntRange *)component2 __attribute__((swift_name("component2()"))); +- (PAPIKotlinMatchGroup *)doCopyValue:(NSString *)value range:(PAPIKotlinIntRange *)range __attribute__((swift_name("doCopy(value:range:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIKotlinIntRange *range __attribute__((swift_name("range"))); +@property (readonly) NSString *value __attribute__((swift_name("value"))); +@end; + +#pragma pop_macro("_Nullable_result") +#pragma clang diagnostic pop +NS_ASSUME_NONNULL_END diff --git a/PrismAPISDK/PrismAPI.xcframework/ios-arm64/PrismAPI.framework/Info.plist b/PrismAPISDK/PrismAPI.xcframework/ios-arm64/PrismAPI.framework/Info.plist new file mode 100644 index 00000000..de5e650b --- /dev/null +++ b/PrismAPISDK/PrismAPI.xcframework/ios-arm64/PrismAPI.framework/Info.plist @@ -0,0 +1,35 @@ + + + + + CFBundleExecutable + PrismAPI + CFBundleIdentifier + io.iohk.atala.prism.api.PrismAPI + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + PrismAPI + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0 + CFBundleSupportedPlatforms + + iPhoneOS + + CFBundleVersion + 1 + MinimumOSVersion + 9.0 + UIDeviceFamily + + 1 + 2 + + UIRequiredDeviceCapabilities + + arm64 + + + \ No newline at end of file diff --git a/PrismAPISDK/PrismAPI.xcframework/ios-arm64/PrismAPI.framework/Modules/module.modulemap b/PrismAPISDK/PrismAPI.xcframework/ios-arm64/PrismAPI.framework/Modules/module.modulemap new file mode 100644 index 00000000..76fd2451 --- /dev/null +++ b/PrismAPISDK/PrismAPI.xcframework/ios-arm64/PrismAPI.framework/Modules/module.modulemap @@ -0,0 +1,6 @@ +framework module PrismAPI { + umbrella header "PrismAPI.h" + + export * + module * { export * } +} \ No newline at end of file diff --git a/PrismAPISDK/PrismAPI.xcframework/ios-arm64/PrismAPI.framework/PrismAPI b/PrismAPISDK/PrismAPI.xcframework/ios-arm64/PrismAPI.framework/PrismAPI new file mode 100755 index 00000000..93ba5410 Binary files /dev/null and b/PrismAPISDK/PrismAPI.xcframework/ios-arm64/PrismAPI.framework/PrismAPI differ diff --git a/PrismAPISDK/PrismAPI.xcframework/ios-x86_64-simulator/PrismAPI.framework/Headers/PrismAPI.h b/PrismAPISDK/PrismAPI.xcframework/ios-x86_64-simulator/PrismAPI.framework/Headers/PrismAPI.h new file mode 100644 index 00000000..57d6088a --- /dev/null +++ b/PrismAPISDK/PrismAPI.xcframework/ios-x86_64-simulator/PrismAPI.framework/Headers/PrismAPI.h @@ -0,0 +1,27929 @@ +#import +#import +#import +#import +#import +#import +#import + +@class PAPICredentialBatchIdCompanion, PAPICredentialBatchId, PAPIMerkleRoot, PAPISha256Digest, PAPIKotlinThrowable, PAPIKotlinArray, PAPIKotlinException, PAPIECPublicKey, PAPIPrismCredential, PAPIECPrivateKey, PAPICredentialContent, PAPIKotlinByteArray, PAPIECSignature, PAPIJsonBasedCredentialCompanion, PAPIJsonBasedCredential, PAPIJsonElement, PAPICredentialContentCompanion, PAPIPrismDid, PAPIPublicKeyUsageCompanion, PAPIKeyUsage, PAPIPublicKeyUsage, PAPIAuthenticationKeyUsage, PAPIPrismDidCompanion, PAPICanonicalPrismDid, PAPIDid, PAPICommunicationKeyUsage, PAPIDidMethod, PAPIDidMethodSpecificId, PAPIDidCompanion, PAPIDidEntryValue, PAPIDidDataModelCompanion, PAPIDidDataModel, PAPIPrismKeyInformation, PAPIDidEntryPair, PAPIDidEntryValueDidEntryBoolean, PAPIInstant, PAPIDidEntryValueDidEntryDatetime, PAPIDidEntryValueDidEntryDouble, PAPIDidEntryValueDidEntryInteger, PAPIDidEntryValueDidEntryList, PAPIDidEntryValueDidEntryMap, PAPIDidEntryValueDidEntryNull, PAPIDidEntryValueDidEntrySet, PAPIDidEntryValueDidEntryString, PAPIDidMethodCompanion, PAPIDidMethodSpecificIdCompanion, PAPIDidPublicKey, PAPIPublicKey, PAPIDidUrlCompanion, PAPIDidUrl, PAPIIssuingKeyUsage, PAPIAtalaOperation, PAPILongFormPrismDid, PAPIMasterKeyUsage, PAPIPrismDidFormatException, PAPIPrismDidFormatExceptionCanonicalSuffixMatchStateException, PAPIAtalaOperationOperation, PAPIPrismDidFormatExceptionUnrecognizedPrismDidException, PAPILedgerData, PAPIRevocationKeyUsage, PAPIAes, PAPIAesEncryptedData, PAPISymmetricKey, PAPIAesEncryptedDataCompanion, PAPIECKeyPair, PAPIECPoint, PAPIBigInteger, PAPIECAbstract, PAPIEC, PAPIECConfig, PAPIHmacSha256, PAPIMerkleInclusionProofCompanion, PAPIMerkleInclusionProof, PAPIMerkleProofs, PAPISha256, PAPISha256DigestCompanion, PAPIECSignatureCommon, PAPIDerivationAxisCompanion, PAPIDerivationAxis, PAPIDerivationPathCompanion, PAPIDerivationPath, PAPIDeterministicWalletExtendedPrivateKey, PAPIExtendedKey, PAPIKeyDerivation, PAPIMnemonicCode, PAPIMnemonicException, PAPIECCoordinate, PAPIECKey, PAPIECPublicKeyCommon, PAPIBytesOps, PAPIMessageDescriptor, PAPIUnknownField, PAPIEncodedPublicKey, PAPIAddConnectionFromTokenRequestCompanion, PAPIAddConnectionFromTokenRequest, PAPIConnectionInfo, PAPIAddConnectionFromTokenResponseCompanion, PAPIAddConnectionFromTokenResponse, PAPIAddKeyActionCompanion, PAPIAddKeyAction, PAPIArchiveCredentialTypeCategoryRequestCompanion, PAPIArchiveCredentialTypeCategoryRequest, PAPICredentialTypeCategory, PAPIArchiveCredentialTypeCategoryResponseCompanion, PAPIArchiveCredentialTypeCategoryResponse, PAPISignedAtalaOperation, PAPIAtalaBlockCompanion, PAPIAtalaBlock, PAPIStatus, PAPIAtalaErrorMessageCompanion, PAPIAtalaErrorMessage, PAPIAtalaMessageMessage, PAPIAtalaMessageCompanion, PAPIAtalaMessage, PAPICredentialRevoked, PAPIAny, PAPIEncryptedMessage, PAPIPlainTextCredential, PAPIProofRequest, PAPIMessageOneOf, PAPIAtalaObjectCompanion, PAPIAtalaObject, PAPIAtalaOperationCompanion, PAPICreateDIDOperation, PAPIIssueCredentialBatchOperation, PAPIProtocolVersionUpdateOperation, PAPIRevokeCredentialsOperation, PAPIUpdateDIDOperation, PAPITimestamp, PAPIBlockInfoCompanion, PAPIBlockInfo, PAPIByteArr, PAPIContactConnectionStatus, PAPICManagerGenericCredentialCompanion, PAPICManagerGenericCredential, PAPICompressedECKeyDataCompanion, PAPICompressedECKeyData, PAPIConnectionCompanion, PAPIConnection, PAPIConnectionInfoCompanion, PAPIConnectionKeyCompanion, PAPIConnectionKey, PAPIConnectionsStatusRequestCompanion, PAPIConnectionsStatusRequest, PAPIContactConnection, PAPIConnectionsStatusResponseCompanion, PAPIConnectionsStatusResponse, PAPIConnectorPublicKeyCompanion, PAPIConnectorPublicKey, PAPIConnectorRequestMetadataCompanion, PAPIConnectorRequestMetadata, PAPIPrismMetadata, PAPIGenerateConnectionTokenRequest, PAPIGenerateConnectionTokenResponse, PAPIGetBuildInfoRequest, PAPIGetBuildInfoResponse, PAPIGetConnectionByIdRequest, PAPIGetConnectionByIdResponse, PAPIGetConnectionByTokenRequest, PAPIGetConnectionByTokenResponse, PAPIGetConnectionCommunicationKeysRequest, PAPIGetConnectionCommunicationKeysResponse, PAPIGetConnectionTokenInfoRequest, PAPIGetConnectionTokenInfoResponse, PAPIGetConnectionsPaginatedRequest, PAPIGetConnectionsPaginatedResponse, PAPIGetCurrentUserRequest, PAPIGetCurrentUserResponse, PAPIGetMessageStreamRequest, PAPIGetMessagesForConnectionRequest, PAPIGetMessagesForConnectionResponse, PAPIGetMessagesPaginatedRequest, PAPIGetMessagesPaginatedResponse, PAPIHealthCheckRequest, PAPIHealthCheckResponse, PAPIRegisterDIDRequest, PAPIRegisterDIDResponse, PAPIRevokeConnectionRequest, PAPIRevokeConnectionResponse, PAPISendMessageRequest, PAPISendMessageResponse, PAPISendMessagesRequest, PAPISendMessagesResponse, PAPIUpdateProfileRequest, PAPIUpdateProfileResponse, PAPIGrpcClient, PAPIGetConsoleCurrentUserRequest, PAPIGetConsoleCurrentUserResponse, PAPIGetStatisticsRequest, PAPIGetStatisticsResponse, PAPIRegisterConsoleDIDRequest, PAPIRegisterConsoleDIDResponse, PAPIConsoleUpdateProfileRequest, PAPIConsoleUpdateProfileResponse, PAPIConsoleUpdateProfileRequestCompanion, PAPIConsoleUpdateProfileResponseCompanion, PAPIContactCompanion, PAPIContact, PAPIContactConnectionCompanion, PAPIContactConnectionStatusCompanion, PAPIContactConnectionStatusSTATUS_CONNECTION_ACCEPTED, PAPIContactConnectionStatusSTATUS_CONNECTION_MISSING, PAPIContactConnectionStatusSTATUS_CONNECTION_REVOKED, PAPIContactConnectionStatusSTATUS_INVITATION_MISSING, PAPIContactConnectionStatusSTATUS_MISSING, PAPICreateContactRequest, PAPICreateContactResponse, PAPICreateContactsRequest, PAPICreateContactsResponse, PAPIDeleteContactRequest, PAPIDeleteContactResponse, PAPIGenerateConnectionTokenForContactRequest, PAPIGenerateConnectionTokenForContactResponse, PAPIGetContactRequest, PAPIGetContactResponse, PAPIGetContactsRequest, PAPIGetContactsResponse, PAPIUpdateContactRequest, PAPIUpdateContactResponse, PAPICopyGroupRequestCompanion, PAPICopyGroupRequest, PAPICopyGroupResponseCompanion, PAPICopyGroupResponse, PAPICreateContactRequestCompanion, PAPICreateContactResponseCompanion, PAPICreateContactsRequestContact, PAPICreateContactsRequestCompanion, PAPICreateContactsRequestContactCompanion, PAPICreateContactsResponseCompanion, PAPICredentialIssuanceContact, PAPICreateCredentialIssuanceRequestCompanion, PAPICreateCredentialIssuanceRequest, PAPICreateCredentialIssuanceResponseCompanion, PAPICreateCredentialIssuanceResponse, PAPICreateCredentialTypeField, PAPICreateCredentialTypeCompanion, PAPICreateCredentialType, PAPICredentialTypeCategoryState, PAPICreateCredentialTypeCategoryCompanion, PAPICreateCredentialTypeCategory, PAPICreateCredentialTypeCategoryRequestCompanion, PAPICreateCredentialTypeCategoryRequest, PAPICreateCredentialTypeCategoryResponseCompanion, PAPICreateCredentialTypeCategoryResponse, PAPICredentialTypeFieldType, PAPICreateCredentialTypeFieldCompanion, PAPICreateCredentialTypeRequestCompanion, PAPICreateCredentialTypeRequest, PAPICredentialTypeWithRequiredFields, PAPICreateCredentialTypeResponseCompanion, PAPICreateCredentialTypeResponse, PAPICreateDIDOperationDIDCreationData, PAPICreateDIDOperationCompanion, PAPICreateDIDOperationDIDCreationDataCompanion, PAPICreateDIDOutputCompanion, PAPICreateDIDOutput, PAPICreateGenericCredentialBulkRequestCompanion, PAPICreateGenericCredentialBulkRequest, PAPICreateGenericCredentialBulkResponseCompanion, PAPICreateGenericCredentialBulkResponse, PAPICreateGenericCredentialRequestCompanion, PAPICreateGenericCredentialRequest, PAPICreateGenericCredentialResponseCompanion, PAPICreateGenericCredentialResponse, PAPICreateGroupRequestCompanion, PAPICreateGroupRequest, PAPIGroup, PAPICreateGroupResponseCompanion, PAPICreateGroupResponse, PAPICredentialBatchDataCompanion, PAPICredentialBatchData, PAPICredentialIssuanceContactCompanion, PAPIGetCredentialIssuanceRequest, PAPIGetCredentialIssuanceResponse, PAPICredentialRevokedCompanion, PAPICredentialTypeState, PAPICredentialTypeCompanion, PAPICredentialType, PAPIGetCredentialTypeCategoriesRequest, PAPIGetCredentialTypeCategoriesResponse, PAPIUnArchiveCredentialTypeCategoryRequest, PAPIUnArchiveCredentialTypeCategoryResponse, PAPICredentialTypeCategoryCompanion, PAPICredentialTypeCategoryStateCompanion, PAPICredentialTypeCategoryStateCREDENTIAL_TYPE_CATEGORY_ARCHIVED, PAPICredentialTypeCategoryStateCREDENTIAL_TYPE_CATEGORY_DRAFT, PAPICredentialTypeCategoryStateCREDENTIAL_TYPE_CATEGORY_READY, PAPICredentialTypeFieldCompanion, PAPICredentialTypeField, PAPICredentialTypeFieldTypeCompanion, PAPICredentialTypeFieldTypeCREDENTIAL_TYPE_FIELD_BOOLEAN, PAPICredentialTypeFieldTypeCREDENTIAL_TYPE_FIELD_DATE, PAPICredentialTypeFieldTypeCREDENTIAL_TYPE_FIELD_INT, PAPICredentialTypeFieldTypeCREDENTIAL_TYPE_FIELD_STRING, PAPICredentialTypeFieldTypeCREDENTIAL_TYPE_FIELD_UNKNOWN, PAPICredentialTypeStateCompanion, PAPICredentialTypeStateCREDENTIAL_TYPE_ARCHIVED, PAPICredentialTypeStateCREDENTIAL_TYPE_DRAFT, PAPICredentialTypeStateCREDENTIAL_TYPE_READY, PAPICredentialTypeStateCREDENTIAL_TYPE_UNKNOWN, PAPICredentialTypeWithRequiredFieldsCompanion, PAPIGetCredentialTypeRequest, PAPIGetCredentialTypeResponse, PAPIGetCredentialTypesRequest, PAPIGetCredentialTypesResponse, PAPIMarkAsArchivedCredentialTypeRequest, PAPIMarkAsArchivedCredentialTypeResponse, PAPIMarkAsReadyCredentialTypeRequest, PAPIMarkAsReadyCredentialTypeResponse, PAPIUpdateCredentialTypeRequest, PAPIUpdateCredentialTypeResponse, PAPIDeleteCredentialsRequest, PAPIDeleteCredentialsResponse, PAPIGetBlockchainDataRequest, PAPIGetBlockchainDataResponse, PAPIGetContactCredentialsRequest, PAPIGetContactCredentialsResponse, PAPIGetGenericCredentialsRequest, PAPIGetGenericCredentialsResponse, PAPIGetLedgerDataRequest, PAPIGetLedgerDataResponse, PAPIPublishBatchRequest, PAPIPublishBatchResponse, PAPIRevokePublishedCredentialRequest, PAPIRevokePublishedCredentialResponse, PAPIShareCredentialRequest, PAPIShareCredentialResponse, PAPIShareCredentialsRequest, PAPIShareCredentialsResponse, PAPIStorePublishedCredentialRequest, PAPIStorePublishedCredentialResponse, PAPIGetLatestCredentialExternalIdRequest, PAPIGetLatestCredentialExternalIdResponse, PAPIGetStoredCredentialsForRequest, PAPIGetStoredCredentialsForResponse, PAPIStoreCredentialRequest, PAPIStoreCredentialResponse, PAPIDIDDataCompanion, PAPIDIDData, PAPIDateCompanion, PAPIDate, PAPIDeleteContactRequestCompanion, PAPIDeleteContactResponseCompanion, PAPIDeleteCredentialsRequestCompanion, PAPIDeleteCredentialsResponseCompanion, PAPIDeleteGroupRequestCompanion, PAPIDeleteGroupRequest, PAPIDeleteGroupResponseCompanion, PAPIDeleteGroupResponse, PAPIECKeyDataCompanion, PAPIECKeyData, PAPIEncodedPublicKeyCompanion, PAPIEncryptedMessageCompanion, PAPIGenerateConnectionTokenForContactRequestCompanion, PAPIGenerateConnectionTokenForContactResponseCompanion, PAPIGenerateConnectionTokenRequestCompanion, PAPIGenerateConnectionTokenResponseCompanion, PAPIGetBatchStateRequestCompanion, PAPIGetBatchStateRequest, PAPILedgerData_, PAPIGetBatchStateResponseCompanion, PAPIGetBatchStateResponse, PAPIGetBlockchainDataRequestCompanion, PAPITransactionInfo, PAPIGetBlockchainDataResponseCompanion, PAPIGetBuildInfoRequestCompanion, PAPIGetBuildInfoResponseCompanion, PAPIGetConnectionByIdRequestCompanion, PAPIGetConnectionByIdResponseCompanion, PAPIGetConnectionByTokenRequestCompanion, PAPIGetConnectionByTokenResponseCompanion, PAPIGetConnectionCommunicationKeysRequestCompanion, PAPIGetConnectionCommunicationKeysResponseCompanion, PAPIGetConnectionTokenInfoRequestCompanion, PAPIGetConnectionTokenInfoResponseCompanion, PAPIGetConnectionsPaginatedRequestCompanion, PAPIGetConnectionsPaginatedResponseCompanion, PAPIGetConsoleCurrentUserRequestCompanion, PAPIGetConsoleCurrentUserResponseCompanion, PAPIGetContactCredentialsRequestCompanion, PAPIGetContactCredentialsResponseCompanion, PAPIGetContactRequestCompanion, PAPIStoredSignedCredential, PAPIGetContactResponseCompanion, PAPIGetContactsRequestFilterBy, PAPIGetContactsRequestSortBy, PAPIGetContactsRequestCompanion, PAPIGetContactsRequestFilterByCompanion, PAPIGetContactsRequestSortByField, PAPISortByDirection, PAPIGetContactsRequestSortByCompanion, PAPIGetContactsRequestSortByFieldCompanion, PAPIGetContactsRequestSortByFieldCREATED_AT, PAPIGetContactsRequestSortByFieldEXTERNAL_ID, PAPIGetContactsRequestSortByFieldNAME, PAPIGetContactsRequestSortByFieldUNKNOWN, PAPIGetContactsResponseContactDetails, PAPIGetContactsResponseCompanion, PAPIGetContactsResponseContactDetailsCompanion, PAPIGetCredentialIssuanceRequestCompanion, PAPIGetCredentialIssuanceResponseCompanion, PAPIGetCredentialRevocationTimeRequestCompanion, PAPIGetCredentialRevocationTimeRequest, PAPIGetCredentialRevocationTimeResponseCompanion, PAPIGetCredentialRevocationTimeResponse, PAPIGetCredentialTypeCategoriesRequestCompanion, PAPIGetCredentialTypeCategoriesResponseCompanion, PAPIGetCredentialTypeRequestCompanion, PAPIGetCredentialTypeResponseCompanion, PAPIGetCredentialTypesRequestCompanion, PAPIGetCredentialTypesResponseCompanion, PAPIGetCurrentUserRequestCompanion, PAPIGetCurrentUserResponseRole, PAPIGetCurrentUserResponseCompanion, PAPIGetCurrentUserResponseRoleCompanion, PAPIGetCurrentUserResponseRoleISSUER, PAPIGetCurrentUserResponseRoleVERIFIER, PAPIGetDidDocumentRequestCompanion, PAPIGetDidDocumentRequest, PAPIGetDidDocumentResponseCompanion, PAPIGetDidDocumentResponse, PAPIGetGenericCredentialsRequestFilterBy, PAPIGetGenericCredentialsRequestSortBy, PAPIGetGenericCredentialsRequestCompanion, PAPIGetGenericCredentialsRequestFilterByCompanion, PAPIGetGenericCredentialsRequestSortByField, PAPIGetGenericCredentialsRequestSortByCompanion, PAPIGetGenericCredentialsRequestSortByFieldCompanion, PAPIGetGenericCredentialsRequestSortByFieldCREATED_ON, PAPIGetGenericCredentialsRequestSortByFieldCREDENTIAL_TYPE, PAPIGetGenericCredentialsRequestSortByFieldUNKNOWN, PAPIGetGenericCredentialsResponseCompanion, PAPIGetGroupsRequestFilterBy, PAPIGetGroupsRequestSortBy, PAPIGetGroupsRequestCompanion, PAPIGetGroupsRequest, PAPIGetGroupsRequestFilterByCompanion, PAPIGetGroupsRequestSortByField, PAPIGetGroupsRequestSortByCompanion, PAPIGetGroupsRequestSortByFieldCompanion, PAPIGetGroupsRequestSortByFieldCREATED_AT, PAPIGetGroupsRequestSortByFieldNAME, PAPIGetGroupsRequestSortByFieldNUMBER_OF_CONTACTS, PAPIGetGroupsRequestSortByFieldUNKNOWN, PAPIGetGroupsResponseCompanion, PAPIGetGroupsResponse, PAPIGetLastSyncedBlockTimestampRequestCompanion, PAPIGetLastSyncedBlockTimestampRequest, PAPIGetLastSyncedBlockTimestampResponseCompanion, PAPIGetLastSyncedBlockTimestampResponse, PAPIGetLatestCredentialExternalIdRequestCompanion, PAPIGetLatestCredentialExternalIdResponseCompanion, PAPIGetLedgerDataRequestCompanion, PAPIGetLedgerDataResponseCompanion, PAPIGetMessageStreamRequestCompanion, PAPIReceivedMessage, PAPIGetMessageStreamResponseCompanion, PAPIGetMessageStreamResponse, PAPIGetMessagesForConnectionRequestCompanion, PAPIGetMessagesForConnectionResponseCompanion, PAPIGetMessagesPaginatedRequestCompanion, PAPIGetMessagesPaginatedResponseCompanion, PAPIGetNodeBuildInfoRequestCompanion, PAPIGetNodeBuildInfoRequest, PAPIGetNodeBuildInfoResponseCompanion, PAPIGetNodeBuildInfoResponse, PAPIGetOperationInfoRequestCompanion, PAPIGetOperationInfoRequest, PAPIOperationStatus, PAPIGetOperationInfoResponseCompanion, PAPIGetOperationInfoResponse, PAPITimeInterval, PAPIGetStatisticsRequestCompanion, PAPIGetStatisticsResponseCompanion, PAPIGetStoredCredentialsForRequestCompanion, PAPIGetStoredCredentialsForResponseCompanion, PAPIGroupCompanion, PAPIUpdateGroupRequest, PAPIUpdateGroupResponse, PAPIGrpcOptions, PAPIHealthCheckRequestCompanion, PAPIHealthCheckResponseCompanion, PAPIIssueCredentialBatchOperationCompanion, PAPIIssueCredentialBatchOutputCompanion, PAPIIssueCredentialBatchOutput, PAPIKeyUsageCompanion, PAPIKeyUsageAUTHENTICATION_KEY, PAPIKeyUsageCOMMUNICATION_KEY, PAPIKeyUsageISSUING_KEY, PAPIKeyUsageMASTER_KEY, PAPIKeyUsageREVOCATION_KEY, PAPIKeyUsageUNKNOWN_KEY, PAPILedgerCompanion, PAPILedger, PAPILedgerCARDANO_MAINNET, PAPILedgerCARDANO_TESTNET, PAPILedgerIN_MEMORY, PAPILedgerUNKNOWN_LEDGER, PAPITimestampInfo, PAPILedgerData_Companion, PAPIMarkAsArchivedCredentialTypeRequestCompanion, PAPIMarkAsArchivedCredentialTypeResponseCompanion, PAPIMarkAsReadyCredentialTypeRequestCompanion, PAPIMarkAsReadyCredentialTypeResponseCompanion, PAPIMessageToSendByConnectionTokenCompanion, PAPIMessageToSendByConnectionToken, PAPIScheduleOperationsRequest, PAPIScheduleOperationsResponse, PAPIOperationOutputResult, PAPIOperationOutputOperationMaybe, PAPIOperationOutputCompanion, PAPIOperationOutput, PAPIProtocolVersionUpdateOutput, PAPIRevokeCredentialsOutput, PAPIUpdateDIDOutput, PAPIOperationStatusCompanion, PAPIOperationStatusAWAIT_CONFIRMATION, PAPIOperationStatusCONFIRMED_AND_APPLIED, PAPIOperationStatusCONFIRMED_AND_REJECTED, PAPIOperationStatusPENDING_SUBMISSION, PAPIOperationStatusUNKNOWN_OPERATION, PAPIPlainTextCredentialCompanion, PAPIProofRequestCompanion, PAPIProtocolVersionInfoCompanion, PAPIProtocolVersionInfo, PAPIProtocolVersionUpdateOperationCompanion, PAPIProtocolVersionUpdateOutputCompanion, PAPIPublicKeyKeyData, PAPIPublicKeyCompanion, PAPIPublishBatchRequestCompanion, PAPIPublishBatchResponseCompanion, PAPIReceivedMessageCompanion, PAPIRegisterConsoleDIDRequestCompanion, PAPIRegisterConsoleDIDResponseCompanion, PAPIRegisterDIDRequestRole, PAPIRegisterDIDRequestRegisterWith, PAPIRegisterDIDRequestCompanion, PAPIRegisterDIDRequestRoleCompanion, PAPIRegisterDIDRequestRoleISSUER, PAPIRegisterDIDRequestRoleVERIFIER, PAPIRegisterDIDResponseCompanion, PAPIRemoveKeyActionCompanion, PAPIRemoveKeyAction, PAPIRevokeConnectionRequestCompanion, PAPIRevokeConnectionResponseCompanion, PAPIRevokeCredentialsOperationCompanion, PAPIRevokeCredentialsOutputCompanion, PAPIRevokePublishedCredentialRequestCompanion, PAPIRevokePublishedCredentialResponseCompanion, PAPIScheduleOperationsRequestCompanion, PAPIScheduleOperationsResponseCompanion, PAPISendMessageRequestCompanion, PAPISendMessageResponseCompanion, PAPISendMessagesRequestCompanion, PAPISendMessagesResponseCompanion, PAPIShareCredentialRequestCompanion, PAPIShareCredentialResponseCompanion, PAPIShareCredentialsRequestCompanion, PAPIShareCredentialsResponseCompanion, PAPISignedAtalaOperationCompanion, PAPISortByDirectionCompanion, PAPISortByDirectionASCENDING, PAPISortByDirectionDESCENDING, PAPISortByDirectionUNKNOWN, PAPIStatusCompanion, PAPIStoreCredentialRequestCompanion, PAPIStoreCredentialResponseCompanion, PAPIStorePublishedCredentialRequestCompanion, PAPIStorePublishedCredentialResponseCompanion, PAPIStoredSignedCredentialCompanion, PAPITimeIntervalCompanion, PAPITimestampInfoCompanion, PAPITransactionInfoCompanion, PAPIUnArchiveCredentialTypeCategoryRequestCompanion, PAPIUnArchiveCredentialTypeCategoryResponseCompanion, PAPIUpdateContactRequestCompanion, PAPIUpdateContactResponseCompanion, PAPIUpdateCredentialTypeCompanion, PAPIUpdateCredentialType, PAPIUpdateCredentialTypeRequestCompanion, PAPIUpdateCredentialTypeResponseCompanion, PAPIUpdateDIDActionAction, PAPIUpdateDIDActionCompanion, PAPIUpdateDIDAction, PAPIUpdateDIDOperationCompanion, PAPIUpdateDIDOutputCompanion, PAPIUpdateGroupRequestCompanion, PAPIUpdateGroupResponseCompanion, PAPIUpdateProfileRequestCompanion, PAPIUpdateProfileResponseCompanion, PAPILedger_, PAPITimestampInfo_, PAPIBase64Utils, PAPIByteArrCompanion, PAPIFieldDescriptor, PAPIExtensionFieldSet, PAPIFieldDescriptorType, PAPIFieldOptions, PAPIFieldDescriptorTypePrimitive, PAPIKotlinRuntimeException, PAPIUnknownFieldValue, PAPIJsonConfigCompanion, PAPIJsonConfig, PAPIAnyCompanion, PAPIMethod, PAPIOption, PAPISourceContext, PAPIMixin, PAPISyntax, PAPIApiCompanion, PAPIApi, PAPIBoolValueCompanion, PAPIBoolValue, PAPIBytesValueCompanion, PAPIBytesValue, PAPIFieldDescriptorProto, PAPIDescriptorProto, PAPIEnumDescriptorProto, PAPIDescriptorProtoExtensionRange, PAPIOneofDescriptorProto, PAPIMessageOptions, PAPIDescriptorProtoReservedRange, PAPIDescriptorProtoCompanion, PAPIExtensionRangeOptions, PAPIDescriptorProtoExtensionRangeCompanion, PAPIDescriptorProtoReservedRangeCompanion, PAPIDoubleValueCompanion, PAPIDoubleValue, PAPIDurationCompanion, PAPIDuration, PAPIEmptyCompanion, PAPIEmpty, PAPIEnumValue, PAPIEnumCompanion, PAPIEnum, PAPIEnumValueDescriptorProto, PAPIEnumOptions, PAPIEnumDescriptorProtoEnumReservedRange, PAPIEnumDescriptorProtoCompanion, PAPIEnumDescriptorProtoEnumReservedRangeCompanion, PAPIUninterpretedOption, PAPIEnumOptionsCompanion, PAPIEnumValueCompanion, PAPIEnumValueOptions, PAPIEnumValueDescriptorProtoCompanion, PAPIEnumValueOptionsCompanion, PAPIExtensionRangeOptionsCompanion, PAPIFieldKind, PAPIFieldCardinality, PAPIFieldCompanion, PAPIField, PAPIFieldCardinalityCompanion, PAPIFieldCardinalityOPTIONAL, PAPIFieldCardinalityREPEATED, PAPIFieldCardinalityREQUIRED, PAPIFieldCardinalityUNKNOWN, PAPIFieldKindCompanion, PAPIFieldKindTYPE_BOOL, PAPIFieldKindTYPE_BYTES, PAPIFieldKindTYPE_DOUBLE, PAPIFieldKindTYPE_ENUM, PAPIFieldKindTYPE_FIXED32, PAPIFieldKindTYPE_FIXED64, PAPIFieldKindTYPE_FLOAT, PAPIFieldKindTYPE_GROUP, PAPIFieldKindTYPE_INT32, PAPIFieldKindTYPE_INT64, PAPIFieldKindTYPE_MESSAGE, PAPIFieldKindTYPE_SFIXED32, PAPIFieldKindTYPE_SFIXED64, PAPIFieldKindTYPE_SINT32, PAPIFieldKindTYPE_SINT64, PAPIFieldKindTYPE_STRING, PAPIFieldKindTYPE_UINT32, PAPIFieldKindTYPE_UINT64, PAPIFieldKindTYPE_UNKNOWN, PAPIFieldDescriptorProtoLabel, PAPIFieldDescriptorProtoType, PAPIFieldDescriptorProtoCompanion, PAPIFieldDescriptorProtoLabelCompanion, PAPIFieldDescriptorProtoLabelOPTIONAL, PAPIFieldDescriptorProtoLabelREPEATED, PAPIFieldDescriptorProtoLabelREQUIRED, PAPIFieldDescriptorProtoTypeCompanion, PAPIFieldDescriptorProtoTypeBOOL, PAPIFieldDescriptorProtoTypeBYTES, PAPIFieldDescriptorProtoTypeDOUBLE, PAPIFieldDescriptorProtoTypeENUM, PAPIFieldDescriptorProtoTypeFIXED32, PAPIFieldDescriptorProtoTypeFIXED64, PAPIFieldDescriptorProtoTypeFLOAT, PAPIFieldDescriptorProtoTypeGROUP, PAPIFieldDescriptorProtoTypeINT32, PAPIFieldDescriptorProtoTypeINT64, PAPIFieldDescriptorProtoTypeMESSAGE, PAPIFieldDescriptorProtoTypeSFIXED32, PAPIFieldDescriptorProtoTypeSFIXED64, PAPIFieldDescriptorProtoTypeSINT32, PAPIFieldDescriptorProtoTypeSINT64, PAPIFieldDescriptorProtoTypeSTRING, PAPIFieldDescriptorProtoTypeUINT32, PAPIFieldDescriptorProtoTypeUINT64, PAPIFieldMaskCompanion, PAPIFieldMask, PAPIFieldOptionsCType, PAPIFieldOptionsJSType, PAPIFieldOptionsCompanion, PAPIFieldOptionsCTypeCompanion, PAPIFieldOptionsCTypeCORD, PAPIFieldOptionsCTypeSTRING, PAPIFieldOptionsCTypeSTRING_PIECE, PAPIFieldOptionsJSTypeCompanion, PAPIFieldOptionsJSTypeJS_NORMAL, PAPIFieldOptionsJSTypeJS_NUMBER, PAPIFieldOptionsJSTypeJS_STRING, PAPIServiceDescriptorProto, PAPIFileOptions, PAPISourceCodeInfo, PAPIFileDescriptorProtoCompanion, PAPIFileDescriptorProto, PAPIFileDescriptorSetCompanion, PAPIFileDescriptorSet, PAPIFileOptionsOptimizeMode, PAPIFileOptionsCompanion, PAPIFileOptionsOptimizeModeCompanion, PAPIFileOptionsOptimizeModeCODE_SIZE, PAPIFileOptionsOptimizeModeLITE_RUNTIME, PAPIFileOptionsOptimizeModeSPEED, PAPIFloatValueCompanion, PAPIFloatValue, PAPIGeneratedCodeInfoAnnotation, PAPIGeneratedCodeInfoCompanion, PAPIGeneratedCodeInfo, PAPIGeneratedCodeInfoAnnotationCompanion, PAPIInt32ValueCompanion, PAPIInt32Value, PAPIInt64ValueCompanion, PAPIInt64Value, PAPIValue, PAPIListValueCompanion, PAPIListValue, PAPIMessageOptionsCompanion, PAPIMethodCompanion, PAPIMethodOptions, PAPIMethodDescriptorProtoCompanion, PAPIMethodDescriptorProto, PAPIMethodOptionsIdempotencyLevel, PAPIMethodOptionsCompanion, PAPIMethodOptionsIdempotencyLevelCompanion, PAPIMethodOptionsIdempotencyLevelIDEMPOTENCY_UNKNOWN, PAPIMethodOptionsIdempotencyLevelIDEMPOTENT, PAPIMethodOptionsIdempotencyLevelNO_SIDE_EFFECTS, PAPIMixinCompanion, PAPINullValueCompanion, PAPINullValue, PAPINullValueNULL_VALUE, PAPIOneofOptions, PAPIOneofDescriptorProtoCompanion, PAPIOneofOptionsCompanion, PAPIOptionCompanion, PAPIServiceOptions, PAPIServiceDescriptorProtoCompanion, PAPIServiceOptionsCompanion, PAPISourceCodeInfoLocation, PAPISourceCodeInfoCompanion, PAPISourceCodeInfoLocationCompanion, PAPISourceContextCompanion, PAPIStringValueCompanion, PAPIStringValue, PAPIStructCompanion, PAPIStruct, PAPIStructFieldsEntryCompanion, PAPIStructFieldsEntry, PAPISyntaxCompanion, PAPISyntaxPROTO2, PAPISyntaxPROTO3, PAPITimestampCompanion, PAPITypeCompanion, PAPIType, PAPIUInt32ValueCompanion, PAPIUInt32Value, PAPIUInt64ValueCompanion, PAPIUInt64Value, PAPIUninterpretedOptionNamePart, PAPIUninterpretedOptionCompanion, PAPIUninterpretedOptionNamePartCompanion, PAPIValueKind, PAPIValueCompanion, PAPIClockCompanion, PAPIClockSystem, PAPIDateTimePeriodCompanion, PAPIDateTimePeriod, PAPIDatePeriodCompanion, PAPIDatePeriod, PAPIDateTimeUnitCompanion, PAPIDateTimeUnit, PAPIDateTimeUnitDateBasedMonthBased, PAPIDateTimeUnitDateBasedDayBased, PAPIDateTimeUnitTimeBased, PAPIDateTimeUnitDateBasedCompanion, PAPIDateTimeUnitDateBased, PAPIDateTimeUnitDateBasedDayBasedCompanion, PAPIDateTimeUnitDateBasedMonthBasedCompanion, PAPIDateTimeUnitTimeBasedCompanion, PAPIKotlinEnumCompanion, PAPIKotlinEnum, PAPIDayOfWeek, PAPIKotlinIllegalArgumentException, PAPIInstantCompanion, PAPIMonth, PAPILocalDateCompanion, PAPILocalDate, PAPILocalDateTimeCompanion, PAPILocalDateTime, PAPITimeZoneCompanion, PAPITimeZone, PAPIZoneOffsetCompanion, PAPIAbstractPolymorphicSerializer, PAPIDateBasedDateTimeUnitSerializer, PAPIDatePeriodComponentSerializer, PAPIDatePeriodIso8601Serializer, PAPIDateTimePeriodComponentSerializer, PAPIDateTimePeriodIso8601Serializer, PAPIDateTimeUnitSerializer, PAPIDayBasedDateTimeUnitSerializer, PAPIDayOfWeekSerializer, PAPIInstantComponentSerializer, PAPIInstantIso8601Serializer, PAPILocalDateComponentSerializer, PAPILocalDateIso8601Serializer, PAPILocalDateTimeComponentSerializer, PAPILocalDateTimeIso8601Serializer, PAPIMonthBasedDateTimeUnitSerializer, PAPIMonthSerializer, PAPITimeBasedDateTimeUnitSerializer, PAPITimeZoneSerializer, PAPIZoneOffsetSerializer, PAPIZoneOffset, PAPIUuid, PAPISerializersModule, PAPIJsonConfiguration, PAPIJsonDefault, PAPIJson, PAPIKotlinNothing, PAPIJsonElementCompanion, PAPIJsonPrimitiveCompanion, PAPIJsonPrimitive, PAPIJsonNull, PAPIMemory, PAPIIoBuffer, PAPIKotlinUnit, PAPIByteReadPacket, PAPIByteOrder, PAPIBuffer, PAPIBytePacketBuilder, PAPIByteReadChannelCompanion, PAPIKotlinIllegalStateException, PAPIKotlinCancellationException, PAPIMemoryCompanion, PAPIChunkBuffer, PAPIAbstractInputCompanion, PAPIKotlinCharArray, PAPIAbstractOutput, PAPIBufferCompanion, PAPIByteOrderCompanion, PAPIBytePacketBuilderBase, PAPIBytePacketBuilderPlatformBase, PAPIAbstractInput, PAPIByteReadPacketBaseCompanion, PAPIByteReadPacketBase, PAPIByteReadPacketPlatformBase, PAPIByteReadPacketCompanion, PAPIChunkBufferCompanion, PAPIIoBufferCompanion, PAPISynchronizedObject, PAPICharsetCompanion, PAPICharsetDecoder, PAPICharsetEncoder, PAPICharset, PAPICharsets, PAPIMalformedInputException, PAPIIOException, PAPIPosixExceptionCompanion, PAPIPosixException, PAPILiftToSyntaxTreeOptions, PAPISyntaxTree<__covariant T>, PAPIKotlinIntRange, PAPITuple1, PAPITuple10, PAPITuple11, PAPITuple12, PAPITuple13, PAPITuple14, PAPITuple15, PAPITuple16, PAPITuple2, PAPITuple3, PAPITuple4, PAPITuple5, PAPITuple6, PAPITuple7, PAPITuple8, PAPITuple9, PAPIParseResult<__covariant T>, PAPITokenMatchesSequence, PAPITokenMatch, PAPIToken, PAPIKotlinRegex, PAPIParsed<__covariant T>, PAPIErrorResult, PAPIAlternativesFailure, PAPIEmptyParser, PAPIMismatchedToken, PAPINoMatchingToken, PAPIUnexpectedEof, PAPIUnparsedRemainder, PAPISeparated, PAPIGrammar<__covariant T>, PAPIJobSupport, PAPICoroutineStart, PAPICoroutineDispatcher, PAPIKotlinAbstractCoroutineContextElement, PAPICoroutineDispatcherKey, PAPIKotlinAbstractCoroutineContextKey, PAPICoroutineExceptionHandlerKey, PAPICoroutineNameKey, PAPICoroutineName, PAPIDispatchers, PAPIMainCoroutineDispatcher, PAPIGlobalScope, PAPIJobKey, PAPINonCancellable, PAPINonDisposableHandle, PAPITimeoutCancellationException, PAPIBufferOverflow, PAPIChannelFactory, PAPIKotlinNoSuchElementException, PAPISharingCommand, PAPISharingStartedCompanion, PAPIChannelFlow, PAPIAtomicDesc, PAPILockFreeLinkedListNodePrepareOp, PAPIAtomicOp<__contravariant T>, PAPIOpDescriptor, PAPILockFreeLinkedListNode, PAPILockFreeLinkedListNodeAddLastDesc, PAPILockFreeLinkedListNodeRemoveFirstDesc, PAPILockFreeLinkedListNodeAbstractAtomicDesc, PAPISynchronizedObjectLockState, PAPIKotlinAtomicReference, PAPIThreadSafeHeap, PAPIKotlinPair<__covariant A, __covariant B>, PAPISign, PAPIEndianness, PAPIModularBigInteger, PAPIModularQuotientAndRemainder, PAPIQuotientAndRemainder, PAPIModularBigIntegerCompanion, PAPIBigDecimalCompanion, PAPIBigDecimal, PAPIDecimalMode, PAPIRoundingMode, PAPIDecimalModeCompanion, PAPIBigIntegerCompanion, PAPIBigIntegerQuotientAndRemainder, PAPIBigIntegerBigIntegerRange, PAPIBigIntegerSqareRootAndRemainder, PAPIKotlinIntArray, PAPIKotlinLongArray, PAPIComparisonWorkaround, PAPIQuadruple, PAPIQuintuple, PAPISextuple, PAPIAESCompanion, PAPIPadding, PAPIHMACCompanion, PAPIHasher, PAPIMD4Companion, PAPIHasherFactory, PAPIMD5Companion, PAPIPBKDF2Companion, PAPIPaddingCompanion, PAPISHA, PAPISHA1Companion, PAPISHA256Companion, PAPIKotlinRandomDefault, PAPIKotlinRandom, PAPISecureRandom, PAPIASCII, PAPIBase64, PAPIHex, PAPIBase58, PAPIBase58Prefix, PAPIBase58Check, PAPIByteVector, PAPIBech32, PAPIKotlinTriple<__covariant A, __covariant B, __covariant C>, PAPIBitcoin, PAPIByteVector32, PAPIScriptElt, PAPIPublicKey_, PAPIBlockHeader, PAPITransaction, PAPIBlockCompanion, PAPIBlock, PAPIBtcSerializerCompanion, PAPIBtcSerializer, PAPIBlockHeaderCompanion, PAPIUInt256, PAPIByteVectorCompanion, PAPIByteVector32Companion, PAPIByteVector64Companion, PAPIByteVector64, PAPICrypto, PAPIByteArrayInput, PAPIPrivateKey, PAPIDeterministicWallet, PAPIKeyPath, PAPIDeterministicWalletExtendedPublicKey, PAPIDeterministicWalletExtendedPrivateKeyCompanion, PAPIDeterministicWalletExtendedPublicKeyCompanion, PAPIKeyPathCompanion, PAPILexicographicalOrdering, PAPIOutPoint, PAPITxIn, PAPITxOut, PAPIMerkleTree, PAPIMnemonicCode_, PAPIScriptEltCompanion, PAPIOP_0, PAPIOP_0NOTEQUAL, PAPIOP_1, PAPIOP_10, PAPIOP_11, PAPIOP_12, PAPIOP_13, PAPIOP_14, PAPIOP_15, PAPIOP_16, PAPIOP_1ADD, PAPIOP_1NEGATE, PAPIOP_1SUB, PAPIOP_2, PAPIOP_2DIV, PAPIOP_2DROP, PAPIOP_2DUP, PAPIOP_2MUL, PAPIOP_2OVER, PAPIOP_2ROT, PAPIOP_2SWAP, PAPIOP_3, PAPIOP_3DUP, PAPIOP_4, PAPIOP_5, PAPIOP_6, PAPIOP_7, PAPIOP_8, PAPIOP_9, PAPIOP_ABS, PAPIOP_ADD, PAPIOP_AND, PAPIOP_BOOLAND, PAPIOP_BOOLOR, PAPIOP_CAT, PAPIOP_CHECKLOCKTIMEVERIFY, PAPIOP_CHECKMULTISIG, PAPIOP_CHECKMULTISIGVERIFY, PAPIOP_CHECKSEQUENCEVERIFY, PAPIOP_CHECKSIG, PAPIOP_CHECKSIGVERIFY, PAPIOP_CODESEPARATOR, PAPIOP_DEPTH, PAPIOP_DIV, PAPIOP_DROP, PAPIOP_DUP, PAPIOP_ELSE, PAPIOP_ENDIF, PAPIOP_EQUAL, PAPIOP_EQUALVERIFY, PAPIOP_FROMALTSTACK, PAPIOP_GREATERTHAN, PAPIOP_GREATERTHANOREQUAL, PAPIOP_HASH160, PAPIOP_HASH256, PAPIOP_IF, PAPIOP_IFDUP, PAPIOP_INVALID, PAPIOP_INVALIDOPCODE, PAPIOP_INVERT, PAPIOP_LEFT, PAPIOP_LESSTHAN, PAPIOP_LESSTHANOREQUAL, PAPIOP_LSHIFT, PAPIOP_MAX, PAPIOP_MIN, PAPIOP_MOD, PAPIOP_MUL, PAPIOP_NEGATE, PAPIOP_NIP, PAPIOP_NOP, PAPIOP_NOP1, PAPIOP_NOP10, PAPIOP_NOP4, PAPIOP_NOP5, PAPIOP_NOP6, PAPIOP_NOP7, PAPIOP_NOP8, PAPIOP_NOP9, PAPIOP_NOT, PAPIOP_NOTIF, PAPIOP_NUMEQUAL, PAPIOP_NUMEQUALVERIFY, PAPIOP_NUMNOTEQUAL, PAPIOP_OR, PAPIOP_OVER, PAPIOP_PICK, PAPIOP_PUSHDATACompanion, PAPIOP_PUSHDATA, PAPIOP_PUSHDATA1, PAPIOP_PUSHDATA2, PAPIOP_PUSHDATA4, PAPIOP_RESERVED, PAPIOP_RESERVED1, PAPIOP_RESERVED2, PAPIOP_RETURN, PAPIOP_RIGHT, PAPIOP_RIPEMD160, PAPIOP_ROLL, PAPIOP_ROT, PAPIOP_RSHIFT, PAPIOP_SHA1, PAPIOP_SHA256, PAPIOP_SIZE, PAPIOP_SMALLINTEGER, PAPIOP_SUB, PAPIOP_SUBSTR, PAPIOP_SWAP, PAPIOP_TOALTSTACK, PAPIOP_TUCK, PAPIOP_VER, PAPIOP_VERIF, PAPIOP_VERIFY, PAPIOP_VERNOTIF, PAPIOP_WITHIN, PAPIOP_XOR, PAPIOutPointCompanion, PAPIPrivateKeyCompanion, PAPIProtocol, PAPIPublicKey_Companion, PAPISatoshi, PAPIScript, PAPIScriptContext, PAPIScriptRunnerCompanionState, PAPIScriptRunnerCompanion, PAPIScriptWitness, PAPIScriptEltMapping, PAPIScriptFlags, PAPIScriptWitnessCompanion, PAPISigHash, PAPISigVersion, PAPITransactionCompanion, PAPITxInCompanion, PAPITxOutCompanion, PAPIUInt256Companion, PAPIDigestCompanion, PAPIPack, PAPIPbkdf2, PAPIAbstractCollectionSerializer, PAPITaggedDecoder, PAPITaggedEncoder, PAPISerialKind, PAPIPolymorphicKind, PAPIPolymorphicKindOPEN, PAPIPolymorphicKindSEALED, PAPIPrimitiveKind, PAPIPrimitiveKindBOOLEAN, PAPIPrimitiveKindBYTE, PAPIPrimitiveKindCHAR, PAPIPrimitiveKindDOUBLE, PAPIPrimitiveKindFLOAT, PAPIPrimitiveKindINT, PAPIPrimitiveKindLONG, PAPIPrimitiveKindSHORT, PAPIPrimitiveKindSTRING, PAPISerialKindCONTEXTUAL, PAPISerialKindENUM, PAPIStructureKind, PAPIStructureKindCLASS, PAPIStructureKindLIST, PAPIStructureKindMAP, PAPIStructureKindOBJECT, PAPILongAsStringSerializer, PAPICompositeDecoderCompanion, PAPITraceBase, PAPITraceBaseNone, PAPISynchronizedObjectStatus, PAPIHex_, PAPISecp256k1Companion, PAPISecp256k1Native, PAPICredentialBatch, PAPICredentialBatches, PAPICredentialClaim, PAPICredentialInfo, PAPIVerificationResult, PAPIKeyGenerator, PAPIPrismDidDocument, PAPIProtoUtils, PAPIProtocolVersion, PAPIRequestUtils, PAPIVerifiableCredentialCompanion, PAPIVerifiableCredential, PAPIVerificationError, PAPIVerificationErrorBatchNotFoundOnChain, PAPIVerificationErrorBatchPublicationTimestampNotFoundOnChain, PAPIVerificationErrorBatchWasRevokedOn, PAPIVerificationErrorCredentialWasRevokedOn, PAPIVerificationErrorInvalidMerkleProof, PAPIVerificationErrorInvalidSignature, PAPIVerificationErrorIssuanceKeyPublicationTimestampNotFoundOnChain, PAPIVerificationErrorIssuerDidDocumentNotFoundOnChain, PAPIVerificationErrorIssuerDidNotFoundInCredential, PAPIVerificationErrorIssuerKeyNotFoundInCredential, PAPIVerificationErrorIssuingKeyIdNotFoundOnChain, PAPIVerificationErrorKeyAddedAfterIssuance, PAPIVerificationErrorKeyAddedTimestampEqualsIssuance, PAPIVerificationErrorKeyRevokedTimestampEqualsIssuance, PAPIVerificationErrorKeyWasRevoked, PAPIVerificationErrorOnChainIssuingKeyCannotBeParsed, PAPIBatchState, PAPIPrismPayload, PAPICreateDidInfo, PAPIGetCredentialRevocationTimeResult, PAPIIssueCredentialsInfo, PAPIAtalaOperationId, PAPIPrismDidState, PAPIAtalaOperationInfo, PAPIProtocolVersionUpdateInfo, PAPIRevokeCredentialsInfo, PAPIUpdateDidInfo, PAPIPrismDidDataModel, PAPIAtalaOperationIdCompanion, PAPIAtalaOperationStatus, PAPIDidValidation, PAPIValidated<__covariant R, E>, PAPIValidatedApplicative, PAPIValidatedInvalid<__covariant R, E>, PAPIValidatedValid<__covariant R, E>, PAPIAuthDetails, PAPIConnectorConnectionInfo, PAPIConnectorConnectionReference, PAPIConnectorTokenInfo, PAPIRole, PAPIConnectorParticipantInfo, PAPIRoleISSUER, PAPIRoleVERIFIER, NSDate, NSDateComponents, NSTimeZone, PAPIJsonArrayBuilder, PAPIJsonObjectBuilder, PAPIByteChannelSequentialBase, PAPIKotlinDoubleArray, PAPIKotlinFloatArray, PAPIKotlinShortArray, PAPIKotlinByteIterator, PAPIAndCombinator<__covariant R>, PAPISkipParser, PAPIKotlinIntProgressionCompanion, PAPIKotlinIntIterator, PAPIKotlinIntProgression, PAPIKotlinIntRangeCompanion, PAPIKotlinLongIterator, PAPIKotlinLongProgressionCompanion, PAPIKotlinLongProgression, PAPIKotlinLongRangeCompanion, PAPIKotlinLongRange, PAPISerializersModuleBuilder, PAPIPolymorphicModuleBuilder<__contravariant Base>, PAPIClassSerialDescriptorBuilder, PAPIKotlinBooleanCompanion, PAPIKotlinByteCompanion, PAPIKotlinCharCompanion, PAPIKotlinDoubleCompanion, PAPIKotlinFloatCompanion, PAPIKotlinIntCompanion, PAPIKotlinLongCompanion, PAPIKotlinShortCompanion, PAPIKotlinStringCompanion, PAPIKotlinUByteCompanion, PAPIKotlinUIntCompanion, PAPIKotlinULongCompanion, PAPIKotlinUShortCompanion, PAPIJsonBuilder, PAPIKotlinCValuesRef, PAPIRegexToken, PAPIMapCombinator, PAPISingleThreadDispatcher, PAPITraceFormat, PAPIAtomicArray, PAPIKotlinCharIterator, PAPIKotlinRegexOption, PAPIKotlinRegexCompanion, PAPIKotlinDoubleIterator, PAPIKotlinFloatIterator, PAPIKotlinShortIterator, PAPIKotlinKTypeProjection, PAPIKotlinTimeMark, PAPIKotlinAutofreeScope, PAPIKotlinMatchResultDestructured, PAPIKotlinKVariance, PAPIKotlinKTypeProjectionCompanion, PAPIKotlinDeferScope, PAPIKotlinMatchGroup; + +@protocol PAPIEncodable, PAPIMessage, PAPIMessageDecoder, PAPIMessageCompanion, PAPIFlow, PAPICloseable, PAPIConnectorServiceCoroutine, PAPIConsoleServiceCoroutine, PAPIContactConnectionServiceCoroutine, PAPIMessageEnum, PAPIMessageEnumCompanion, PAPIContactsServiceCoroutine, PAPICredentialIssuanceServiceCoroutine, PAPICredentialTypeCategoriesServiceCoroutine, PAPICredentialTypesServiceCoroutine, PAPICredentialsServiceCoroutine, PAPICredentialsStoreServiceCoroutine, PAPIGroupsServiceCoroutine, PAPINodeServiceCoroutine, PAPIKotlinKClass, PAPIExtendableMessage, PAPIKotlinMapEntry, PAPIClock, PAPIKSerializer, PAPIKotlinComparable, PAPIEncoder, PAPISerialDescriptor, PAPISerializationStrategy, PAPIDecoder, PAPIDeserializationStrategy, PAPICompositeDecoder, PAPISerialFormat, PAPIStringFormat, PAPICompositeEncoder, PAPIJob, PAPIReadSession, PAPIKotlinSuspendFunction1, PAPIKotlinAppendable, PAPIByteReadChannel, PAPIByteWriteChannel, PAPIByteChannel, PAPISuspendableReadSession, PAPIObjectPool, PAPIWriterSuspendSession, PAPIChildHandle, PAPIChildJob, PAPIDisposableHandle, PAPIKotlinSequence, PAPISelectClause0, PAPIKotlinCoroutineContextKey, PAPIKotlinCoroutineContextElement, PAPIKotlinCoroutineContext, PAPICoroutineScope, PAPIWriterSession, PAPIInput, PAPIOutput, PAPIParser, PAPILiftToSyntaxTreeTransformerDefaultTransformerReference, PAPITuple, PAPITokenizer, PAPIKotlinIterator, PAPITokenProducer, PAPIKotlinKProperty, PAPIParentJob, PAPISelectInstance, PAPIKotlinSuspendFunction0, PAPIKotlinContinuation, PAPISelectClause1, PAPIDeferred, PAPIKotlinContinuationInterceptor, PAPIRunnable, PAPICancellableContinuation, PAPICopyableThrowable, PAPIReceiveChannel, PAPISelectClause2, PAPISendChannel, PAPIChannelIterator, PAPIBroadcastChannel, PAPIFlowCollector, PAPIStateFlow, PAPISharedFlow, PAPIMutableSharedFlow, PAPISharingStarted, PAPIFusibleFlow, PAPIProducerScope, PAPIMainDispatcherFactory, PAPIBigNumber, PAPIBigNumberCreator, PAPIByteArraySerializable, PAPIBitwiseCapable, PAPIKotlinClosedRange, PAPIKotlinIterable, PAPIBigNumberUtil, PAPIByteArrayDeserializable, PAPIInput_, PAPIOutput_, PAPIBtcSerializable, PAPIDigest, PAPISerializersModuleCollector, PAPIKotlinAnnotation, PAPISecp256k1, PAPINodePublicApi, PAPINodeAuthApi, PAPIConnectorAuthApi, PAPIConnectorPublicApi, PAPILiftToSyntaxTreeTransformer, PAPIKotlinKType, PAPIMessageEncoder, PAPIKotlinTimeSource, PAPIUuidHasher, PAPIReaderJob, PAPIWriterJob, PAPIKotlinNativePlacement, PAPIKotlinNativeFreeablePlacement, PAPIKotlinReadWriteProperty, PAPIKotlinReadOnlyProperty, PAPICompletableJob, PAPICompletableDeferred, PAPICoroutineExceptionHandler, PAPIChannel, PAPIKotlinSuspendFunction2, PAPIKotlinSuspendFunction3, PAPIMutableStateFlow, PAPIKotlinSuspendFunction5, PAPIKotlinSuspendFunction4, PAPIKotlinSuspendFunction6, PAPISelectBuilder, PAPIMutex, PAPISemaphore, PAPIBinaryFormat, PAPIKotlinKDeclarationContainer, PAPIKotlinKAnnotatedElement, PAPIKotlinKClassifier, PAPIKotlinFunction, PAPIKotlinMatchResult, PAPIKotlinKCallable, PAPIKotlinMatchGroupCollection, PAPIKotlinCollection; + +NS_ASSUME_NONNULL_BEGIN +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wunknown-warning-option" +#pragma clang diagnostic ignored "-Wincompatible-property-type" +#pragma clang diagnostic ignored "-Wnullability" + +#pragma push_macro("_Nullable_result") +#if !__has_feature(nullability_nullable_result) +#undef _Nullable_result +#define _Nullable_result _Nullable +#endif + +__attribute__((swift_name("KotlinBase"))) +@interface PAPIBase : NSObject +- (instancetype)init __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (void)initialize __attribute__((objc_requires_super)); +@end; + +@interface PAPIBase (PAPIBaseCopying) +@end; + +__attribute__((swift_name("KotlinMutableSet"))) +@interface PAPIMutableSet : NSMutableSet +@end; + +__attribute__((swift_name("KotlinMutableDictionary"))) +@interface PAPIMutableDictionary : NSMutableDictionary +@end; + +@interface NSError (NSErrorPAPIKotlinException) +@property (readonly) id _Nullable kotlinException; +@end; + +__attribute__((swift_name("KotlinNumber"))) +@interface PAPINumber : NSNumber +- (instancetype)initWithChar:(char)value __attribute__((unavailable)); +- (instancetype)initWithUnsignedChar:(unsigned char)value __attribute__((unavailable)); +- (instancetype)initWithShort:(short)value __attribute__((unavailable)); +- (instancetype)initWithUnsignedShort:(unsigned short)value __attribute__((unavailable)); +- (instancetype)initWithInt:(int)value __attribute__((unavailable)); +- (instancetype)initWithUnsignedInt:(unsigned int)value __attribute__((unavailable)); +- (instancetype)initWithLong:(long)value __attribute__((unavailable)); +- (instancetype)initWithUnsignedLong:(unsigned long)value __attribute__((unavailable)); +- (instancetype)initWithLongLong:(long long)value __attribute__((unavailable)); +- (instancetype)initWithUnsignedLongLong:(unsigned long long)value __attribute__((unavailable)); +- (instancetype)initWithFloat:(float)value __attribute__((unavailable)); +- (instancetype)initWithDouble:(double)value __attribute__((unavailable)); +- (instancetype)initWithBool:(BOOL)value __attribute__((unavailable)); +- (instancetype)initWithInteger:(NSInteger)value __attribute__((unavailable)); +- (instancetype)initWithUnsignedInteger:(NSUInteger)value __attribute__((unavailable)); ++ (instancetype)numberWithChar:(char)value __attribute__((unavailable)); ++ (instancetype)numberWithUnsignedChar:(unsigned char)value __attribute__((unavailable)); ++ (instancetype)numberWithShort:(short)value __attribute__((unavailable)); ++ (instancetype)numberWithUnsignedShort:(unsigned short)value __attribute__((unavailable)); ++ (instancetype)numberWithInt:(int)value __attribute__((unavailable)); ++ (instancetype)numberWithUnsignedInt:(unsigned int)value __attribute__((unavailable)); ++ (instancetype)numberWithLong:(long)value __attribute__((unavailable)); ++ (instancetype)numberWithUnsignedLong:(unsigned long)value __attribute__((unavailable)); ++ (instancetype)numberWithLongLong:(long long)value __attribute__((unavailable)); ++ (instancetype)numberWithUnsignedLongLong:(unsigned long long)value __attribute__((unavailable)); ++ (instancetype)numberWithFloat:(float)value __attribute__((unavailable)); ++ (instancetype)numberWithDouble:(double)value __attribute__((unavailable)); ++ (instancetype)numberWithBool:(BOOL)value __attribute__((unavailable)); ++ (instancetype)numberWithInteger:(NSInteger)value __attribute__((unavailable)); ++ (instancetype)numberWithUnsignedInteger:(NSUInteger)value __attribute__((unavailable)); +@end; + +__attribute__((swift_name("KotlinByte"))) +@interface PAPIByte : PAPINumber +- (instancetype)initWithChar:(char)value; ++ (instancetype)numberWithChar:(char)value; +@end; + +__attribute__((swift_name("KotlinUByte"))) +@interface PAPIUByte : PAPINumber +- (instancetype)initWithUnsignedChar:(unsigned char)value; ++ (instancetype)numberWithUnsignedChar:(unsigned char)value; +@end; + +__attribute__((swift_name("KotlinShort"))) +@interface PAPIShort : PAPINumber +- (instancetype)initWithShort:(short)value; ++ (instancetype)numberWithShort:(short)value; +@end; + +__attribute__((swift_name("KotlinUShort"))) +@interface PAPIUShort : PAPINumber +- (instancetype)initWithUnsignedShort:(unsigned short)value; ++ (instancetype)numberWithUnsignedShort:(unsigned short)value; +@end; + +__attribute__((swift_name("KotlinInt"))) +@interface PAPIInt : PAPINumber +- (instancetype)initWithInt:(int)value; ++ (instancetype)numberWithInt:(int)value; +@end; + +__attribute__((swift_name("KotlinUInt"))) +@interface PAPIUInt : PAPINumber +- (instancetype)initWithUnsignedInt:(unsigned int)value; ++ (instancetype)numberWithUnsignedInt:(unsigned int)value; +@end; + +__attribute__((swift_name("KotlinLong"))) +@interface PAPILong : PAPINumber +- (instancetype)initWithLongLong:(long long)value; ++ (instancetype)numberWithLongLong:(long long)value; +@end; + +__attribute__((swift_name("KotlinULong"))) +@interface PAPIULong : PAPINumber +- (instancetype)initWithUnsignedLongLong:(unsigned long long)value; ++ (instancetype)numberWithUnsignedLongLong:(unsigned long long)value; +@end; + +__attribute__((swift_name("KotlinFloat"))) +@interface PAPIFloat : PAPINumber +- (instancetype)initWithFloat:(float)value; ++ (instancetype)numberWithFloat:(float)value; +@end; + +__attribute__((swift_name("KotlinDouble"))) +@interface PAPIDouble : PAPINumber +- (instancetype)initWithDouble:(double)value; ++ (instancetype)numberWithDouble:(double)value; +@end; + +__attribute__((swift_name("KotlinBoolean"))) +@interface PAPIBoolean : PAPINumber +- (instancetype)initWithBool:(BOOL)value; ++ (instancetype)numberWithBool:(BOOL)value; +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialBatchId"))) +@interface PAPICredentialBatchId : PAPIBase +@property (class, readonly, getter=companion) PAPICredentialBatchIdCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPICredentialBatchId *)doCopyId:(NSString *)id __attribute__((swift_name("doCopy(id:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *id __attribute__((swift_name("id"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialBatchId.Companion"))) +@interface PAPICredentialBatchIdCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICredentialBatchIdCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICredentialBatchId *)fromBatchDataIssuerDidSuffix:(NSString *)issuerDidSuffix merkleRoot:(PAPIMerkleRoot *)merkleRoot __attribute__((swift_name("fromBatchData(issuerDidSuffix:merkleRoot:)"))); +- (PAPICredentialBatchId *)fromDigestDigest:(PAPISha256Digest *)digest __attribute__((swift_name("fromDigest(digest:)"))); +- (PAPICredentialBatchId * _Nullable)fromStringId:(NSString *)id __attribute__((swift_name("fromString(id:)"))); +- (PAPICredentialBatchId *)random __attribute__((swift_name("random()"))); +@end; + +__attribute__((swift_name("KotlinThrowable"))) +@interface PAPIKotlinThrowable : PAPIBase +- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)); +- (PAPIKotlinArray *)getStackTrace __attribute__((swift_name("getStackTrace()"))); +- (void)printStackTrace __attribute__((swift_name("printStackTrace()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIKotlinThrowable * _Nullable cause __attribute__((swift_name("cause"))); +@property (readonly) NSString * _Nullable message __attribute__((swift_name("message"))); +- (NSError *)asError __attribute__((swift_name("asError()"))); +@end; + +__attribute__((swift_name("KotlinException"))) +@interface PAPIKotlinException : PAPIKotlinThrowable +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialParsingError"))) +@interface PAPICredentialParsingError : PAPIKotlinException +- (instancetype)initWithMessage:(NSString *)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (instancetype)initWithCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((swift_name("PrismCredential"))) +@interface PAPIPrismCredential : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (PAPISha256Digest *)hash_ __attribute__((swift_name("hash_()"))); +- (BOOL)isValidSignaturePublicKey:(PAPIECPublicKey *)publicKey __attribute__((swift_name("isValidSignature(publicKey:)"))); +- (BOOL)isVerifiable __attribute__((swift_name("isVerifiable()"))); +- (PAPIPrismCredential *)signPrivateKey:(PAPIECPrivateKey *)privateKey __attribute__((swift_name("sign(privateKey:)"))); +@property (readonly) NSString *canonicalForm __attribute__((swift_name("canonicalForm"))); +@property (readonly) PAPICredentialContent *content __attribute__((swift_name("content"))); +@property (readonly) PAPIKotlinByteArray *contentBytes __attribute__((swift_name("contentBytes"))); +@property (readonly) PAPIECSignature * _Nullable signature __attribute__((swift_name("signature"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("JsonBasedCredential"))) +@interface PAPIJsonBasedCredential : PAPIPrismCredential +- (instancetype)initWithContent:(PAPICredentialContent *)content signature:(PAPIECSignature * _Nullable)signature __attribute__((swift_name("init(content:signature:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +@property (class, readonly, getter=companion) PAPIJsonBasedCredentialCompanion *companion __attribute__((swift_name("companion"))); +- (PAPICredentialContent *)component1 __attribute__((swift_name("component1()"))); +- (PAPIECSignature * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (PAPIJsonBasedCredential *)doCopyContent:(PAPICredentialContent *)content signature:(PAPIECSignature * _Nullable)signature __attribute__((swift_name("doCopy(content:signature:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIPrismCredential *)signPrivateKey:(PAPIECPrivateKey *)privateKey __attribute__((swift_name("sign(privateKey:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *canonicalForm __attribute__((swift_name("canonicalForm"))); +@property (readonly) PAPICredentialContent *content __attribute__((swift_name("content"))); +@property (readonly) PAPIKotlinByteArray *contentBytes __attribute__((swift_name("contentBytes"))); +@property (readonly) PAPIECSignature * _Nullable signature __attribute__((swift_name("signature"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("JsonBasedCredential.Companion"))) +@interface PAPIJsonBasedCredentialCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIJsonBasedCredentialCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIJsonBasedCredential *)fromStringCredential:(NSString *)credential __attribute__((swift_name("fromString(credential:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialContent"))) +@interface PAPICredentialContent : PAPIBase +- (instancetype)initWithFields:(NSDictionary *)fields __attribute__((swift_name("init(fields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICredentialContentCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPICredentialContent *)doCopyFields:(NSDictionary *)fields __attribute__((swift_name("doCopy(fields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSArray * _Nullable)getArrayField:(NSString *)field __attribute__((swift_name("getArray(field:)"))); +- (PAPIBoolean * _Nullable)getBooleanField:(NSString *)field __attribute__((swift_name("getBoolean(field:)"))); +- (NSString * _Nullable)getCredentialSubject __attribute__((swift_name("getCredentialSubject()"))); +- (PAPIJsonElement * _Nullable)getFieldFieldName:(NSString *)fieldName __attribute__((swift_name("getField(fieldName:)"))); +- (PAPIInt * _Nullable)getIntField:(NSString *)field __attribute__((swift_name("getInt(field:)"))); +- (NSString * _Nullable)getIssuanceKeyId __attribute__((swift_name("getIssuanceKeyId()"))); +- (PAPIPrismDid * _Nullable)getIssuerDid __attribute__((swift_name("getIssuerDid()"))); +- (NSString * _Nullable)getStringField:(NSString *)field __attribute__((swift_name("getString(field:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSDictionary *fields __attribute__((swift_name("fields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialContent.Companion"))) +@interface PAPICredentialContentCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICredentialContentCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICredentialContent *)fromStringValue:(NSString *)value __attribute__((swift_name("fromString(value:)"))); +@end; + +__attribute__((swift_name("PublicKeyUsage"))) +@interface PAPIPublicKeyUsage : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +@property (class, readonly, getter=companion) PAPIPublicKeyUsageCompanion *companion __attribute__((swift_name("companion"))); +- (int32_t)derivationIndex __attribute__((swift_name("derivationIndex()"))); +- (NSString *)name __attribute__((swift_name("name()"))); +- (PAPIKeyUsage *)toProto __attribute__((swift_name("toProto()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AuthenticationKeyUsage"))) +@interface PAPIAuthenticationKeyUsage : PAPIPublicKeyUsage ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)authenticationKeyUsage __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIAuthenticationKeyUsage *shared __attribute__((swift_name("shared"))); +- (int32_t)derivationIndex __attribute__((swift_name("derivationIndex()"))); +- (PAPIKeyUsage *)toProto __attribute__((swift_name("toProto()"))); +@end; + +__attribute__((swift_name("PrismDid"))) +@interface PAPIPrismDid : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +@property (class, readonly, getter=companion) PAPIPrismDidCompanion *companion __attribute__((swift_name("companion"))); +- (PAPICanonicalPrismDid *)asCanonical __attribute__((swift_name("asCanonical()"))); +@property (readonly) PAPIDid *did __attribute__((swift_name("did"))); +@property (readonly) PAPISha256Digest *stateHash __attribute__((swift_name("stateHash"))); +@property (readonly) NSString *suffix __attribute__((swift_name("suffix"))); +@property (readonly) NSString *value __attribute__((swift_name("value"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CanonicalPrismDid"))) +@interface PAPICanonicalPrismDid : PAPIPrismDid +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (PAPICanonicalPrismDid *)asCanonical __attribute__((swift_name("asCanonical()"))); +- (PAPIDid *)component1 __attribute__((swift_name("component1()"))); +- (PAPISha256Digest *)component2 __attribute__((swift_name("component2()"))); +- (PAPICanonicalPrismDid *)doCopyDid:(PAPIDid *)did stateHash:(PAPISha256Digest *)stateHash __attribute__((swift_name("doCopy(did:stateHash:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIDid *did __attribute__((swift_name("did"))); +@property (readonly) PAPISha256Digest *stateHash __attribute__((swift_name("stateHash"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CommunicationKeyUsage"))) +@interface PAPICommunicationKeyUsage : PAPIPublicKeyUsage ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)communicationKeyUsage __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICommunicationKeyUsage *shared __attribute__((swift_name("shared"))); +- (int32_t)derivationIndex __attribute__((swift_name("derivationIndex()"))); +- (PAPIKeyUsage *)toProto __attribute__((swift_name("toProto()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Did"))) +@interface PAPIDid : PAPIBase +- (instancetype)initWithMethod:(PAPIDidMethod *)method methodSpecificId:(PAPIDidMethodSpecificId *)methodSpecificId __attribute__((swift_name("init(method:methodSpecificId:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIDidCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIDidMethod *)component1 __attribute__((swift_name("component1()"))); +- (PAPIDidMethodSpecificId *)component2 __attribute__((swift_name("component2()"))); +- (PAPIDid *)doCopyMethod:(PAPIDidMethod *)method methodSpecificId:(PAPIDidMethodSpecificId *)methodSpecificId __attribute__((swift_name("doCopy(method:methodSpecificId:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIDidMethod *method __attribute__((swift_name("method"))); +@property (readonly) PAPIDidMethodSpecificId *methodSpecificId __attribute__((swift_name("methodSpecificId"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Did.Companion"))) +@interface PAPIDidCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDidCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIDid *)fromStringString:(NSString *)string __attribute__((swift_name("fromString(string:)"))); +@property (readonly) NSString *DID_SCHEME __attribute__((swift_name("DID_SCHEME"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DidDataModel"))) +@interface PAPIDidDataModel : PAPIBase +- (instancetype)initWithCoreProperties:(NSDictionary *)coreProperties representationSpecificProperties:(NSDictionary *)representationSpecificProperties __attribute__((swift_name("init(coreProperties:representationSpecificProperties:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIDidDataModelCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIDidDataModel *)doCopyCoreProperties:(NSDictionary *)coreProperties representationSpecificProperties:(NSDictionary *)representationSpecificProperties __attribute__((swift_name("doCopy(coreProperties:representationSpecificProperties:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSSet * _Nullable alsoKnownAs __attribute__((swift_name("alsoKnownAs"))); +@property (readonly) NSDictionary *coreProperties __attribute__((swift_name("coreProperties"))); +@property (readonly) NSString *id __attribute__((swift_name("id"))); +@property (readonly) NSDictionary *representationSpecificProperties __attribute__((swift_name("representationSpecificProperties"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DidDataModel.Companion"))) +@interface PAPIDidDataModelCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDidDataModelCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIDidDataModel *)fromDid:(PAPIPrismDid *)did publicKeys:(PAPIKotlinArray *)publicKeys __attribute__((swift_name("from(did:publicKeys:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DidEntryPair"))) +@interface PAPIDidEntryPair : PAPIBase +- (instancetype)initWithKey:(NSString *)key entry:(PAPIDidEntryValue *)entry __attribute__((swift_name("init(key:entry:)"))) __attribute__((objc_designated_initializer)); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIDidEntryValue *)component2 __attribute__((swift_name("component2()"))); +- (PAPIDidEntryPair *)doCopyKey:(NSString *)key entry:(PAPIDidEntryValue *)entry __attribute__((swift_name("doCopy(key:entry:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIDidEntryValue *entry __attribute__((swift_name("entry"))); +@property (readonly) NSString *key __attribute__((swift_name("key"))); +@end; + +__attribute__((swift_name("DidEntryValue"))) +@interface PAPIDidEntryValue : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DidEntryValue.DidEntryBoolean"))) +@interface PAPIDidEntryValueDidEntryBoolean : PAPIDidEntryValue +- (instancetype)initWithValue:(BOOL)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (BOOL)component1 __attribute__((swift_name("component1()"))); +- (PAPIDidEntryValueDidEntryBoolean *)doCopyValue:(BOOL)value __attribute__((swift_name("doCopy(value:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) BOOL value __attribute__((swift_name("value"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DidEntryValue.DidEntryDatetime"))) +@interface PAPIDidEntryValueDidEntryDatetime : PAPIDidEntryValue +- (instancetype)initWithValue:(PAPIInstant *)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (PAPIInstant *)component1 __attribute__((swift_name("component1()"))); +- (PAPIDidEntryValueDidEntryDatetime *)doCopyValue:(PAPIInstant *)value __attribute__((swift_name("doCopy(value:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIInstant *value __attribute__((swift_name("value"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DidEntryValue.DidEntryDouble"))) +@interface PAPIDidEntryValueDidEntryDouble : PAPIDidEntryValue +- (instancetype)initWithValue:(double)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (double)component1 __attribute__((swift_name("component1()"))); +- (PAPIDidEntryValueDidEntryDouble *)doCopyValue:(double)value __attribute__((swift_name("doCopy(value:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) double value __attribute__((swift_name("value"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DidEntryValue.DidEntryInteger"))) +@interface PAPIDidEntryValueDidEntryInteger : PAPIDidEntryValue +- (instancetype)initWithValue:(int32_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (int32_t)component1 __attribute__((swift_name("component1()"))); +- (PAPIDidEntryValueDidEntryInteger *)doCopyValue:(int32_t)value __attribute__((swift_name("doCopy(value:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) int32_t value __attribute__((swift_name("value"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DidEntryValue.DidEntryList"))) +@interface PAPIDidEntryValueDidEntryList : PAPIDidEntryValue +- (instancetype)initWithEntries:(PAPIKotlinArray *)entries __attribute__((swift_name("init(entries:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(NSArray *)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (PAPIDidEntryValueDidEntryList *)doCopyValue:(NSArray *)value __attribute__((swift_name("doCopy(value:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSArray *value __attribute__((swift_name("value"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DidEntryValue.DidEntryMap"))) +@interface PAPIDidEntryValueDidEntryMap : PAPIDidEntryValue +- (instancetype)initWithEntries:(PAPIKotlinArray *)entries __attribute__((swift_name("init(entries:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (PAPIDidEntryValueDidEntryMap *)doCopyInternal:(PAPIMutableDictionary *)internal __attribute__((swift_name("doCopy(internal:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSDictionary *value __attribute__((swift_name("value"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DidEntryValue.DidEntryNull"))) +@interface PAPIDidEntryValueDidEntryNull : PAPIDidEntryValue ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)didEntryNull __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDidEntryValueDidEntryNull *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DidEntryValue.DidEntrySet"))) +@interface PAPIDidEntryValueDidEntrySet : PAPIDidEntryValue +- (instancetype)initWithEntries:(PAPIKotlinArray *)entries __attribute__((swift_name("init(entries:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (PAPIDidEntryValueDidEntrySet *)doCopyInternal:(PAPIMutableSet *)internal __attribute__((swift_name("doCopy(internal:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSSet *value __attribute__((swift_name("value"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DidEntryValue.DidEntryString"))) +@interface PAPIDidEntryValueDidEntryString : PAPIDidEntryValue +- (instancetype)initWithValue:(NSString *)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIDidEntryValueDidEntryString *)doCopyValue:(NSString *)value __attribute__((swift_name("doCopy(value:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *value __attribute__((swift_name("value"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DidMethod"))) +@interface PAPIDidMethod : PAPIBase +@property (class, readonly, getter=companion) PAPIDidMethodCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIDidMethod *)doCopyValue:(NSString *)value __attribute__((swift_name("doCopy(value:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DidMethod.Companion"))) +@interface PAPIDidMethodCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDidMethodCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIDidMethod *)fromStringString:(NSString *)string __attribute__((swift_name("fromString(string:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DidMethodSpecificId"))) +@interface PAPIDidMethodSpecificId : PAPIBase +@property (class, readonly, getter=companion) PAPIDidMethodSpecificIdCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIDidMethodSpecificId *)doCopyValue:(NSString *)value __attribute__((swift_name("doCopy(value:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIKotlinArray *sections __attribute__((swift_name("sections"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DidMethodSpecificId.Companion"))) +@interface PAPIDidMethodSpecificIdCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDidMethodSpecificIdCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIDidMethodSpecificId *)fromSectionsSections:(PAPIKotlinArray *)sections __attribute__((swift_name("fromSections(sections:)"))); +- (PAPIDidMethodSpecificId *)fromStringString:(NSString *)string __attribute__((swift_name("fromString(string:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DidPublicKey"))) +@interface PAPIDidPublicKey : PAPIBase +- (instancetype)initWithId:(NSString *)id usage:(PAPIPublicKeyUsage *)usage publicKey:(PAPIECPublicKey *)publicKey __attribute__((swift_name("init(id:usage:publicKey:)"))) __attribute__((objc_designated_initializer)); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIPublicKeyUsage *)component2 __attribute__((swift_name("component2()"))); +- (PAPIECPublicKey *)component3 __attribute__((swift_name("component3()"))); +- (PAPIDidPublicKey *)doCopyId:(NSString *)id usage:(PAPIPublicKeyUsage *)usage publicKey:(PAPIECPublicKey *)publicKey __attribute__((swift_name("doCopy(id:usage:publicKey:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIPublicKey *)toProto __attribute__((swift_name("toProto()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *id __attribute__((swift_name("id"))); +@property (readonly) PAPIECPublicKey *publicKey __attribute__((swift_name("publicKey"))); +@property (readonly) PAPIPublicKeyUsage *usage __attribute__((swift_name("usage"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DidUrl"))) +@interface PAPIDidUrl : PAPIBase +- (instancetype)initWithDid:(PAPIDid *)did path:(NSArray *)path parameters:(NSDictionary *> *)parameters fragment:(NSString * _Nullable)fragment __attribute__((swift_name("init(did:path:parameters:fragment:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIDidUrlCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIDid *)component1 __attribute__((swift_name("component1()"))); +- (NSArray *)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *> *)component3 __attribute__((swift_name("component3()"))); +- (NSString * _Nullable)component4 __attribute__((swift_name("component4()"))); +- (PAPIDidUrl *)doCopyDid:(PAPIDid *)did path:(NSArray *)path parameters:(NSDictionary *> *)parameters fragment:(NSString * _Nullable)fragment __attribute__((swift_name("doCopy(did:path:parameters:fragment:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIDid *did __attribute__((swift_name("did"))); +@property (readonly) NSString * _Nullable fragment __attribute__((swift_name("fragment"))); +@property (readonly) NSString * _Nullable keyId __attribute__((swift_name("keyId"))); +@property (readonly) NSDictionary *> *parameters __attribute__((swift_name("parameters"))); +@property (readonly) NSArray *path __attribute__((swift_name("path"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DidUrl.Companion"))) +@interface PAPIDidUrlCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDidUrlCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIDidUrl *)fromStringRawDidUrl:(NSString *)rawDidUrl __attribute__((swift_name("fromString(rawDidUrl:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("IssuingKeyUsage"))) +@interface PAPIIssuingKeyUsage : PAPIPublicKeyUsage ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)issuingKeyUsage __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIIssuingKeyUsage *shared __attribute__((swift_name("shared"))); +- (int32_t)derivationIndex __attribute__((swift_name("derivationIndex()"))); +- (PAPIKeyUsage *)toProto __attribute__((swift_name("toProto()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("LongFormPrismDid"))) +@interface PAPILongFormPrismDid : PAPIPrismDid +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (PAPICanonicalPrismDid *)asCanonical __attribute__((swift_name("asCanonical()"))); +- (PAPIDid *)component1 __attribute__((swift_name("component1()"))); +- (PAPISha256Digest *)component2 __attribute__((swift_name("component2()"))); +- (PAPIAtalaOperation *)component3 __attribute__((swift_name("component3()"))); +- (PAPILongFormPrismDid *)doCopyDid:(PAPIDid *)did stateHash:(PAPISha256Digest *)stateHash initialState:(PAPIAtalaOperation *)initialState __attribute__((swift_name("doCopy(did:stateHash:initialState:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIDid *did __attribute__((swift_name("did"))); +@property (readonly) PAPIAtalaOperation *initialState __attribute__((swift_name("initialState"))); +@property (readonly) PAPISha256Digest *stateHash __attribute__((swift_name("stateHash"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MasterKeyUsage"))) +@interface PAPIMasterKeyUsage : PAPIPublicKeyUsage ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)masterKeyUsage __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIMasterKeyUsage *shared __attribute__((swift_name("shared"))); +- (int32_t)derivationIndex __attribute__((swift_name("derivationIndex()"))); +- (PAPIKeyUsage *)toProto __attribute__((swift_name("toProto()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PrismDid.Companion"))) +@interface PAPIPrismDidCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIPrismDidCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICanonicalPrismDid *)buildCanonicalStateHash:(PAPISha256Digest *)stateHash __attribute__((swift_name("buildCanonical(stateHash:)"))); +- (PAPICanonicalPrismDid *)buildCanonicalFromKeysDidPublicKeys:(NSArray *)didPublicKeys __attribute__((swift_name("buildCanonicalFromKeys(didPublicKeys:)"))); +- (PAPICanonicalPrismDid *)buildCanonicalFromMasterPublicKeyMasterKey:(PAPIECPublicKey *)masterKey __attribute__((swift_name("buildCanonicalFromMasterPublicKey(masterKey:)"))); +- (PAPICanonicalPrismDid *)buildCanonicalFromOperationAtalaOperation:(PAPIAtalaOperation *)atalaOperation __attribute__((swift_name("buildCanonicalFromOperation(atalaOperation:)"))); +- (PAPICanonicalPrismDid *)buildExperimentalCanonicalFromKeysMasterKey:(PAPIECPublicKey *)masterKey issuingKey:(PAPIECPublicKey *)issuingKey revocationKey:(PAPIECPublicKey *)revocationKey __attribute__((swift_name("buildExperimentalCanonicalFromKeys(masterKey:issuingKey:revocationKey:)"))); +- (PAPILongFormPrismDid *)buildExperimentalLongFormFromKeysMasterKey:(PAPIECPublicKey *)masterKey issuingKey:(PAPIECPublicKey *)issuingKey revocationKey:(PAPIECPublicKey *)revocationKey __attribute__((swift_name("buildExperimentalLongFormFromKeys(masterKey:issuingKey:revocationKey:)"))); +- (PAPILongFormPrismDid *)buildLongFormStateHash:(PAPISha256Digest *)stateHash encodedState:(PAPIKotlinByteArray *)encodedState __attribute__((swift_name("buildLongForm(stateHash:encodedState:)"))); +- (PAPILongFormPrismDid *)buildLongFormFromMasterPublicKeyMasterKey:(PAPIECPublicKey *)masterKey __attribute__((swift_name("buildLongFormFromMasterPublicKey(masterKey:)"))); +- (PAPILongFormPrismDid *)buildLongFormFromOperationAtalaOperation:(PAPIAtalaOperation *)atalaOperation __attribute__((swift_name("buildLongFormFromOperation(atalaOperation:)"))); +- (PAPILongFormPrismDid *)buildLongFormFromPublicKeysDidPublicKeys:(NSArray *)didPublicKeys __attribute__((swift_name("buildLongFormFromPublicKeys(didPublicKeys:)"))); +- (PAPICanonicalPrismDid *)canonicalFromStringString:(NSString *)string __attribute__((swift_name("canonicalFromString(string:)"))); +- (PAPIPrismDid *)fromDidDid:(PAPIDid *)did __attribute__((swift_name("fromDid(did:)"))); +- (PAPIPrismDid *)fromStringString:(NSString *)string __attribute__((swift_name("fromString(string:)"))); +@property (readonly) NSString *DEFAULT_AUTHENTICATION_KEY_ID __attribute__((swift_name("DEFAULT_AUTHENTICATION_KEY_ID"))); +@property (readonly) NSString *DEFAULT_COMMUNICATION_KEY_ID __attribute__((swift_name("DEFAULT_COMMUNICATION_KEY_ID"))); +@property (readonly) NSString *DEFAULT_ISSUING_KEY_ID __attribute__((swift_name("DEFAULT_ISSUING_KEY_ID"))); +@property (readonly) NSString *DEFAULT_MASTER_KEY_ID __attribute__((swift_name("DEFAULT_MASTER_KEY_ID"))); +@property (readonly) NSString *DEFAULT_REVOCATION_KEY_ID __attribute__((swift_name("DEFAULT_REVOCATION_KEY_ID"))); +@property (readonly) PAPIDidMethod *PRISM_METHOD __attribute__((swift_name("PRISM_METHOD"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PrismDidDataModel"))) +@interface PAPIPrismDidDataModel : PAPIBase +- (instancetype)initWithDid:(PAPIPrismDid *)did publicKeys:(PAPIKotlinArray *)publicKeys __attribute__((swift_name("init(did:publicKeys:)"))) __attribute__((objc_designated_initializer)); +@property (readonly) PAPIPrismDid *did __attribute__((swift_name("did"))); +@property (readonly) PAPIDidDataModel *didDataModel __attribute__((swift_name("didDataModel"))); +@property (readonly) PAPIKotlinArray *publicKeys __attribute__((swift_name("publicKeys"))); +@end; + +__attribute__((swift_name("PrismDidFormatException"))) +@interface PAPIPrismDidFormatException : PAPIKotlinException +- (instancetype)initWithMsg:(NSString *)msg cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(msg:cause:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (instancetype)initWithCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PrismDidFormatException.CanonicalSuffixMatchStateException"))) +@interface PAPIPrismDidFormatExceptionCanonicalSuffixMatchStateException : PAPIPrismDidFormatException ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithMsg:(NSString *)msg cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(msg:cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)canonicalSuffixMatchStateException __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIPrismDidFormatExceptionCanonicalSuffixMatchStateException *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PrismDidFormatException.CreateDidExpectedAsInitialState"))) +@interface PAPIPrismDidFormatExceptionCreateDidExpectedAsInitialState : PAPIPrismDidFormatException +- (instancetype)initWithOperation:(PAPIAtalaOperationOperation *)operation __attribute__((swift_name("init(operation:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithMsg:(NSString *)msg cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(msg:cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PrismDidFormatException.InvalidAtalaOperationException"))) +@interface PAPIPrismDidFormatExceptionInvalidAtalaOperationException : PAPIPrismDidFormatException +- (instancetype)initWithE:(PAPIKotlinException *)e __attribute__((swift_name("init(e:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithMsg:(NSString *)msg cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(msg:cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PrismDidFormatException.UnrecognizedPrismDidException"))) +@interface PAPIPrismDidFormatExceptionUnrecognizedPrismDidException : PAPIPrismDidFormatException ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithMsg:(NSString *)msg cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(msg:cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)unrecognizedPrismDidException __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIPrismDidFormatExceptionUnrecognizedPrismDidException *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PrismKeyInformation"))) +@interface PAPIPrismKeyInformation : PAPIBase +- (instancetype)initWithDidPublicKey:(PAPIDidPublicKey *)didPublicKey addedOn:(PAPILedgerData * _Nullable)addedOn revokedOn:(PAPILedgerData * _Nullable)revokedOn __attribute__((swift_name("init(didPublicKey:addedOn:revokedOn:)"))) __attribute__((objc_designated_initializer)); +- (PAPIDidPublicKey *)component1 __attribute__((swift_name("component1()"))); +- (PAPILedgerData * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (PAPILedgerData * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (PAPIPrismKeyInformation *)doCopyDidPublicKey:(PAPIDidPublicKey *)didPublicKey addedOn:(PAPILedgerData * _Nullable)addedOn revokedOn:(PAPILedgerData * _Nullable)revokedOn __attribute__((swift_name("doCopy(didPublicKey:addedOn:revokedOn:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPILedgerData * _Nullable addedOn __attribute__((swift_name("addedOn"))); +@property (readonly) PAPIDidPublicKey *didPublicKey __attribute__((swift_name("didPublicKey"))); +@property (readonly) PAPILedgerData * _Nullable revokedOn __attribute__((swift_name("revokedOn"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PublicKeyUsage.Companion"))) +@interface PAPIPublicKeyUsageCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIPublicKeyUsageCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIPublicKeyUsage *)fromProtoKeyUsage:(PAPIKeyUsage *)keyUsage __attribute__((swift_name("fromProto(keyUsage:)"))); +@property (readonly) NSArray *values __attribute__((swift_name("values"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RevocationKeyUsage"))) +@interface PAPIRevocationKeyUsage : PAPIPublicKeyUsage ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)revocationKeyUsage __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIRevocationKeyUsage *shared __attribute__((swift_name("shared"))); +- (int32_t)derivationIndex __attribute__((swift_name("derivationIndex()"))); +- (PAPIKeyUsage *)toProto __attribute__((swift_name("toProto()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Aes"))) +@interface PAPIAes : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)aes __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIAes *shared __attribute__((swift_name("shared"))); +- (PAPIKotlinByteArray *)decryptEncryptedData:(PAPIAesEncryptedData *)encryptedData key:(PAPISymmetricKey *)key __attribute__((swift_name("decrypt(encryptedData:key:)"))); +- (PAPIAesEncryptedData *)encryptData:(PAPIKotlinByteArray *)data key:(PAPISymmetricKey *)key __attribute__((swift_name("encrypt(data:key:)"))); +- (PAPIAesEncryptedData *)encryptData:(PAPIKotlinByteArray *)data key:(PAPISymmetricKey *)key iv:(PAPIKotlinByteArray *)iv __attribute__((swift_name("encrypt(data:key:iv:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AesEncryptedData"))) +@interface PAPIAesEncryptedData : PAPIBase +- (instancetype)initWithData:(PAPIKotlinByteArray *)data iv:(PAPIKotlinByteArray *)iv salt:(PAPIKotlinByteArray * _Nullable)salt __attribute__((swift_name("init(data:iv:salt:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIAesEncryptedDataCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIKotlinByteArray *)combined __attribute__((swift_name("combined()"))); +- (PAPIKotlinByteArray *)component1 __attribute__((swift_name("component1()"))); +- (PAPIKotlinByteArray *)component2 __attribute__((swift_name("component2()"))); +- (PAPIKotlinByteArray * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (PAPIAesEncryptedData *)doCopyData:(PAPIKotlinByteArray *)data iv:(PAPIKotlinByteArray *)iv salt:(PAPIKotlinByteArray * _Nullable)salt __attribute__((swift_name("doCopy(data:iv:salt:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIKotlinByteArray *data __attribute__((swift_name("data"))); +@property (readonly) PAPIKotlinByteArray *iv __attribute__((swift_name("iv"))); +@property (readonly) PAPIKotlinByteArray * _Nullable salt __attribute__((swift_name("salt"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AesEncryptedData.Companion"))) +@interface PAPIAesEncryptedDataCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIAesEncryptedDataCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIAesEncryptedData *)fromCombinedBytes:(PAPIKotlinByteArray *)bytes __attribute__((swift_name("fromCombined(bytes:)"))); +@end; + +__attribute__((swift_name("ECAbstract"))) +@interface PAPIECAbstract : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (PAPIECKeyPair *)generateKeyPair __attribute__((swift_name("generateKeyPair()"))); +- (BOOL)isSecp256k1Point:(PAPIECPoint *)point __attribute__((swift_name("isSecp256k1(point:)"))); +- (PAPIECSignature *)signBytesData:(PAPIKotlinByteArray *)data privateKey:(PAPIECPrivateKey *)privateKey __attribute__((swift_name("signBytes(data:privateKey:)"))); +- (PAPIECSignature *)signTextText:(NSString *)text privateKey:(PAPIECPrivateKey *)privateKey __attribute__((swift_name("signText(text:privateKey:)"))); +- (PAPIECPrivateKey *)toPrivateKeyFromBigIntegerD:(PAPIBigInteger *)d __attribute__((swift_name("toPrivateKeyFromBigInteger(d:)"))); +- (PAPIECPrivateKey *)toPrivateKeyFromBytesEncoded:(PAPIKotlinByteArray *)encoded __attribute__((swift_name("toPrivateKeyFromBytes(encoded:)"))); +- (PAPIECPublicKey *)toPublicKeyFromBigIntegerCoordinatesX:(PAPIBigInteger *)x y:(PAPIBigInteger *)y __attribute__((swift_name("toPublicKeyFromBigIntegerCoordinates(x:y:)"))); +- (PAPIECPublicKey *)toPublicKeyFromByteCoordinatesX:(PAPIKotlinByteArray *)x y:(PAPIKotlinByteArray *)y __attribute__((swift_name("toPublicKeyFromByteCoordinates(x:y:)"))); +- (PAPIECPublicKey *)toPublicKeyFromBytesEncoded:(PAPIKotlinByteArray *)encoded __attribute__((swift_name("toPublicKeyFromBytes(encoded:)"))); +- (PAPIECPublicKey *)toPublicKeyFromCompressedCompressed:(PAPIKotlinByteArray *)compressed __attribute__((swift_name("toPublicKeyFromCompressed(compressed:)"))); +- (PAPIECPublicKey *)toPublicKeyFromPrivateKeyPrivateKey:(PAPIECPrivateKey *)privateKey __attribute__((swift_name("toPublicKeyFromPrivateKey(privateKey:)"))); +- (PAPIECSignature *)toSignatureFromBytesEncoded:(PAPIKotlinByteArray *)encoded __attribute__((swift_name("toSignatureFromBytes(encoded:)"))); +- (BOOL)verifyBytesData:(PAPIKotlinByteArray *)data publicKey:(PAPIECPublicKey *)publicKey signature:(PAPIECSignature *)signature __attribute__((swift_name("verifyBytes(data:publicKey:signature:)"))); +- (BOOL)verifyTextText:(NSString *)text publicKey:(PAPIECPublicKey *)publicKey signature:(PAPIECSignature *)signature __attribute__((swift_name("verifyText(text:publicKey:signature:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("EC"))) +@interface PAPIEC : PAPIECAbstract ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)eC __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIEC *shared __attribute__((swift_name("shared"))); +- (PAPIECKeyPair *)generateKeyPair __attribute__((swift_name("generateKeyPair()"))); +- (PAPIECSignature *)signBytesData:(PAPIKotlinByteArray *)data privateKey:(PAPIECPrivateKey *)privateKey __attribute__((swift_name("signBytes(data:privateKey:)"))); +- (PAPIECPrivateKey *)toPrivateKeyFromBigIntegerD:(PAPIBigInteger *)d __attribute__((swift_name("toPrivateKeyFromBigInteger(d:)"))); +- (PAPIECPublicKey *)toPublicKeyFromBigIntegerCoordinatesX:(PAPIBigInteger *)x y:(PAPIBigInteger *)y __attribute__((swift_name("toPublicKeyFromBigIntegerCoordinates(x:y:)"))); +- (PAPIECPublicKey *)toPublicKeyFromCompressedCompressed:(PAPIKotlinByteArray *)compressed __attribute__((swift_name("toPublicKeyFromCompressed(compressed:)"))); +- (PAPIECPublicKey *)toPublicKeyFromPrivateKeyPrivateKey:(PAPIECPrivateKey *)privateKey __attribute__((swift_name("toPublicKeyFromPrivateKey(privateKey:)"))); +- (BOOL)verifyBytesData:(PAPIKotlinByteArray *)data publicKey:(PAPIECPublicKey *)publicKey signature:(PAPIECSignature *)signature __attribute__((swift_name("verifyBytes(data:publicKey:signature:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ECConfig"))) +@interface PAPIECConfig : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)eCConfig __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIECConfig *shared __attribute__((swift_name("shared"))); +@property (readonly) NSString *CURVE_NAME __attribute__((swift_name("CURVE_NAME"))); +@property (readonly) int32_t PRIVATE_KEY_BYTE_SIZE __attribute__((swift_name("PRIVATE_KEY_BYTE_SIZE"))); +@property (readonly) int32_t PUBLIC_KEY_BYTE_SIZE __attribute__((swift_name("PUBLIC_KEY_BYTE_SIZE"))); +@property (readonly) int32_t PUBLIC_KEY_COMPRESSED_BYTE_SIZE __attribute__((swift_name("PUBLIC_KEY_COMPRESSED_BYTE_SIZE"))); +@property (readonly) int32_t PUBLIC_KEY_COORDINATE_BYTE_SIZE __attribute__((swift_name("PUBLIC_KEY_COORDINATE_BYTE_SIZE"))); +@property (readonly) int32_t SIGNATURE_MAX_BYTE_SIZE __attribute__((swift_name("SIGNATURE_MAX_BYTE_SIZE"))); +@end; + +__attribute__((swift_name("Encodable"))) +@protocol PAPIEncodable +@required +- (PAPIKotlinByteArray *)getEncoded __attribute__((swift_name("getEncoded()"))); +- (NSString *)getHexEncoded __attribute__((swift_name("getHexEncoded()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("HmacSha256"))) +@interface PAPIHmacSha256 : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)hmacSha256 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIHmacSha256 *shared __attribute__((swift_name("shared"))); +- (PAPIKotlinByteArray *)computeData:(PAPIKotlinByteArray *)data key:(PAPISymmetricKey *)key __attribute__((swift_name("compute(data:key:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MerkleInclusionProof"))) +@interface PAPIMerkleInclusionProof : PAPIBase +- (instancetype)initWithHash:(PAPISha256Digest *)hash index:(int32_t)index siblings:(NSArray *)siblings __attribute__((swift_name("init(hash:index:siblings:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIMerkleInclusionProofCompanion *companion __attribute__((swift_name("companion"))); +- (PAPISha256Digest *)component1 __attribute__((swift_name("component1()"))); +- (int32_t)component2 __attribute__((swift_name("component2()"))); +- (NSArray *)component3 __attribute__((swift_name("component3()"))); +- (PAPIMerkleInclusionProof *)doCopyHash:(PAPISha256Digest *)hash index:(int32_t)index siblings:(NSArray *)siblings __attribute__((swift_name("doCopy(hash:index:siblings:)"))); +- (PAPIMerkleRoot *)derivedRoot __attribute__((swift_name("derivedRoot()"))); +- (NSString *)encode __attribute__((swift_name("encode()"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSDictionary *)toJson __attribute__((swift_name("toJson()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly, getter=hash_) PAPISha256Digest *hash __attribute__((swift_name("hash"))); +@property (readonly) int32_t index __attribute__((swift_name("index"))); +@property (readonly) NSArray *siblings __attribute__((swift_name("siblings"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MerkleInclusionProof.Companion"))) +@interface PAPIMerkleInclusionProofCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIMerkleInclusionProofCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIMerkleInclusionProof *)decodeEncoded:(NSString *)encoded __attribute__((swift_name("decode(encoded:)"))); +- (PAPIMerkleInclusionProof *)decodeJsonJson:(NSDictionary *)json __attribute__((swift_name("decodeJson(json:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MerkleProofs"))) +@interface PAPIMerkleProofs : PAPIBase +- (instancetype)initWithRoot:(PAPIMerkleRoot *)root proofs:(NSArray *)proofs __attribute__((swift_name("init(root:proofs:)"))) __attribute__((objc_designated_initializer)); +- (PAPIMerkleRoot *)component1 __attribute__((swift_name("component1()"))); +- (NSArray *)component2 __attribute__((swift_name("component2()"))); +- (PAPIMerkleProofs *)doCopyRoot:(PAPIMerkleRoot *)root proofs:(NSArray *)proofs __attribute__((swift_name("doCopy(root:proofs:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSArray *proofs __attribute__((swift_name("proofs"))); +@property (readonly) PAPIMerkleRoot *root __attribute__((swift_name("root"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MerkleRoot"))) +@interface PAPIMerkleRoot : PAPIBase +- (instancetype)initWithHash:(PAPISha256Digest *)hash __attribute__((swift_name("init(hash:)"))) __attribute__((objc_designated_initializer)); +- (PAPISha256Digest *)component1 __attribute__((swift_name("component1()"))); +- (PAPIMerkleRoot *)doCopyHash:(PAPISha256Digest *)hash __attribute__((swift_name("doCopy(hash:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly, getter=hash_) PAPISha256Digest *hash __attribute__((swift_name("hash"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Sha256"))) +@interface PAPISha256 : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)sha256 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPISha256 *shared __attribute__((swift_name("shared"))); +- (PAPISha256Digest *)computeBytes:(PAPIKotlinByteArray *)bytes __attribute__((swift_name("compute(bytes:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Sha256Digest"))) +@interface PAPISha256Digest : PAPIBase +@property (class, readonly, getter=companion) PAPISha256DigestCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIKotlinByteArray *)component1 __attribute__((swift_name("component1()"))); +- (PAPISha256Digest *)doCopyValue:(PAPIKotlinByteArray *)value __attribute__((swift_name("doCopy(value:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *hexValue __attribute__((swift_name("hexValue"))); +@property (readonly) PAPIKotlinByteArray *value __attribute__((swift_name("value"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Sha256Digest.Companion"))) +@interface PAPISha256DigestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPISha256DigestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPISha256Digest *)fromBytesBytes:(PAPIKotlinByteArray *)bytes __attribute__((swift_name("fromBytes(bytes:)"))); +- (PAPISha256Digest *)fromHexString:(NSString *)string __attribute__((swift_name("fromHex(string:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SymmetricKey"))) +@interface PAPISymmetricKey : PAPIBase +- (instancetype)initWithRaw:(PAPIKotlinByteArray *)raw __attribute__((swift_name("init(raw:)"))) __attribute__((objc_designated_initializer)); +- (PAPISymmetricKey *)doCopyRaw:(PAPIKotlinByteArray *)raw __attribute__((swift_name("doCopy(raw:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@end; + +__attribute__((swift_name("ECSignatureCommon"))) +@interface PAPIECSignatureCommon : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ECSignature"))) +@interface PAPIECSignature : PAPIECSignatureCommon +- (instancetype)initWithData:(PAPIKotlinByteArray *)data __attribute__((swift_name("init(data:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (PAPIKotlinByteArray *)getEncoded __attribute__((swift_name("getEncoded()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DerivationAxis"))) +@interface PAPIDerivationAxis : PAPIBase +@property (class, readonly, getter=companion) PAPIDerivationAxisCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) BOOL hardened __attribute__((swift_name("hardened"))); +@property (readonly) int32_t i __attribute__((swift_name("i"))); +@property (readonly) int32_t number __attribute__((swift_name("number"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DerivationAxis.Companion"))) +@interface PAPIDerivationAxisCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDerivationAxisCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIDerivationAxis *)hardenedNum:(int32_t)num __attribute__((swift_name("hardened(num:)"))); +- (PAPIDerivationAxis *)normalNum:(int32_t)num __attribute__((swift_name("normal(num:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DerivationPath"))) +@interface PAPIDerivationPath : PAPIBase +- (instancetype)initWithAxes:(NSArray *)axes __attribute__((swift_name("init(axes:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIDerivationPathCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (PAPIDerivationPath *)doCopyAxes:(NSArray *)axes __attribute__((swift_name("doCopy(axes:)"))); +- (PAPIDerivationPath *)deriveAxis:(PAPIDerivationAxis *)axis __attribute__((swift_name("derive(axis:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSArray *axes __attribute__((swift_name("axes"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DerivationPath.Companion"))) +@interface PAPIDerivationPathCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDerivationPathCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIDerivationPath *)empty __attribute__((swift_name("empty()"))); +- (PAPIDerivationPath *)fromPathPath:(NSString *)path __attribute__((swift_name("fromPath(path:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ExtendedKey"))) +@interface PAPIExtendedKey : PAPIBase +- (instancetype)initWithKey:(PAPIDeterministicWalletExtendedPrivateKey *)key __attribute__((swift_name("init(key:)"))) __attribute__((objc_designated_initializer)); +- (PAPIExtendedKey *)deriveAxis:(PAPIDerivationAxis *)axis __attribute__((swift_name("derive(axis:)"))); +- (PAPIECKeyPair *)keyPair __attribute__((swift_name("keyPair()"))); +- (PAPIDerivationPath *)path __attribute__((swift_name("path()"))); +- (PAPIECPrivateKey *)privateKey __attribute__((swift_name("privateKey()"))); +- (PAPIECPublicKey *)publicKey __attribute__((swift_name("publicKey()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KeyDerivation"))) +@interface PAPIKeyDerivation : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)keyDerivation __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKeyDerivation *shared __attribute__((swift_name("shared"))); +- (PAPIKotlinByteArray *)binarySeedSeed:(PAPIMnemonicCode *)seed passphrase:(NSString *)passphrase __attribute__((swift_name("binarySeed(seed:passphrase:)"))); +- (PAPIExtendedKey *)derivationRootSeed:(PAPIKotlinByteArray *)seed __attribute__((swift_name("derivationRoot(seed:)"))); +- (PAPIExtendedKey *)deriveKeySeed:(PAPIKotlinByteArray *)seed path:(PAPIDerivationPath *)path __attribute__((swift_name("deriveKey(seed:path:)"))); +- (NSArray *)getValidMnemonicWords __attribute__((swift_name("getValidMnemonicWords()"))); +- (BOOL)isValidMnemonicWordWord:(NSString *)word __attribute__((swift_name("isValidMnemonicWord(word:)"))); +- (PAPIMnemonicCode *)randomMnemonicCode __attribute__((swift_name("randomMnemonicCode()"))); +@end; + +__attribute__((swift_name("MnemonicException"))) +@interface PAPIMnemonicException : PAPIKotlinException +- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (instancetype)initWithCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MnemonicChecksumException"))) +@interface PAPIMnemonicChecksumException : PAPIMnemonicException +- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MnemonicCode"))) +@interface PAPIMnemonicCode : PAPIBase +- (instancetype)initWithWords:(NSArray *)words __attribute__((swift_name("init(words:)"))) __attribute__((objc_designated_initializer)); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (PAPIMnemonicCode *)doCopyWords:(NSArray *)words __attribute__((swift_name("doCopy(words:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSArray *words __attribute__((swift_name("words"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MnemonicLengthException"))) +@interface PAPIMnemonicLengthException : PAPIMnemonicException +- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MnemonicWordException"))) +@interface PAPIMnemonicWordException : PAPIMnemonicException +- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ECCoordinate"))) +@interface PAPIECCoordinate : PAPIBase +- (instancetype)initWithCoordinate:(PAPIBigInteger *)coordinate __attribute__((swift_name("init(coordinate:)"))) __attribute__((objc_designated_initializer)); +- (PAPIKotlinByteArray *)bytes __attribute__((swift_name("bytes()"))); +- (PAPIBigInteger *)component1 __attribute__((swift_name("component1()"))); +- (PAPIECCoordinate *)doCopyCoordinate:(PAPIBigInteger *)coordinate __attribute__((swift_name("doCopy(coordinate:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIBigInteger *coordinate __attribute__((swift_name("coordinate"))); +@end; + +__attribute__((swift_name("ECKey"))) +@interface PAPIECKey : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ECKeyPair"))) +@interface PAPIECKeyPair : PAPIBase +- (instancetype)initWithPublicKey:(PAPIECPublicKey *)publicKey privateKey:(PAPIECPrivateKey *)privateKey __attribute__((swift_name("init(publicKey:privateKey:)"))) __attribute__((objc_designated_initializer)); +- (PAPIECPublicKey *)component1 __attribute__((swift_name("component1()"))); +- (PAPIECPrivateKey *)component2 __attribute__((swift_name("component2()"))); +- (PAPIECKeyPair *)doCopyPublicKey:(PAPIECPublicKey *)publicKey privateKey:(PAPIECPrivateKey *)privateKey __attribute__((swift_name("doCopy(publicKey:privateKey:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIECPrivateKey *privateKey __attribute__((swift_name("privateKey"))); +@property (readonly) PAPIECPublicKey *publicKey __attribute__((swift_name("publicKey"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ECPoint"))) +@interface PAPIECPoint : PAPIBase +- (instancetype)initWithX:(PAPIBigInteger *)x y:(PAPIBigInteger *)y __attribute__((swift_name("init(x:y:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithX:(PAPIECCoordinate *)x y_:(PAPIECCoordinate *)y __attribute__((swift_name("init(x:y_:)"))) __attribute__((objc_designated_initializer)); +- (PAPIECCoordinate *)component1 __attribute__((swift_name("component1()"))); +- (PAPIECCoordinate *)component2 __attribute__((swift_name("component2()"))); +- (PAPIECPoint *)doCopyX:(PAPIECCoordinate *)x y:(PAPIECCoordinate *)y __attribute__((swift_name("doCopy(x:y:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIECCoordinate *x __attribute__((swift_name("x"))); +@property (readonly) PAPIECCoordinate *y __attribute__((swift_name("y"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ECPrivateKey"))) +@interface PAPIECPrivateKey : PAPIECKey +- (instancetype)initWithKey:(id)key __attribute__((swift_name("init(key:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (PAPIBigInteger *)getD __attribute__((swift_name("getD()"))); +- (PAPIKotlinByteArray *)getEncoded __attribute__((swift_name("getEncoded()"))); +@end; + +__attribute__((swift_name("ECPublicKeyCommon"))) +@interface PAPIECPublicKeyCommon : PAPIECKey +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (PAPIECPoint *)getCurvePoint __attribute__((swift_name("getCurvePoint()"))); +- (PAPIKotlinByteArray *)getEncoded __attribute__((swift_name("getEncoded()"))); +- (PAPIKotlinByteArray *)getEncodedCompressed __attribute__((swift_name("getEncodedCompressed()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ECPublicKey"))) +@interface PAPIECPublicKey : PAPIECPublicKeyCommon +- (instancetype)initWithKey:(id)key __attribute__((swift_name("init(key:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (PAPIECPoint *)getCurvePoint __attribute__((swift_name("getCurvePoint()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BytesOps"))) +@interface PAPIBytesOps : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)bytesOps __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIBytesOps *shared __attribute__((swift_name("shared"))); +- (NSString *)bytesToHexBytes:(PAPIKotlinByteArray *)bytes __attribute__((swift_name("bytesToHex(bytes:)"))); +- (PAPIKotlinByteArray *)hexToBytesString:(NSString *)string __attribute__((swift_name("hexToBytes(string:)"))); +@end; + +__attribute__((swift_name("Message"))) +@protocol PAPIMessage +@required +- (id)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +@property (readonly) PAPIMessageDescriptor> *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AddConnectionFromTokenRequest"))) +@interface PAPIAddConnectionFromTokenRequest : PAPIBase +- (instancetype)initWithToken:(NSString *)token holderEncodedPublicKey:(PAPIEncodedPublicKey * _Nullable)holderEncodedPublicKey unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(token:holderEncodedPublicKey:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIAddConnectionFromTokenRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIEncodedPublicKey * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIAddConnectionFromTokenRequest *)doCopyToken:(NSString *)token holderEncodedPublicKey:(PAPIEncodedPublicKey * _Nullable)holderEncodedPublicKey unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(token:holderEncodedPublicKey:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIAddConnectionFromTokenRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIEncodedPublicKey * _Nullable holderEncodedPublicKey __attribute__((swift_name("holderEncodedPublicKey"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSString *token __attribute__((swift_name("token"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((swift_name("MessageCompanion"))) +@protocol PAPIMessageCompanion +@required +- (id)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIMessageDescriptor> *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AddConnectionFromTokenRequest.Companion"))) +@interface PAPIAddConnectionFromTokenRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIAddConnectionFromTokenRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIAddConnectionFromTokenRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIAddConnectionFromTokenRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AddConnectionFromTokenResponse"))) +@interface PAPIAddConnectionFromTokenResponse : PAPIBase +- (instancetype)initWithConnection:(PAPIConnectionInfo * _Nullable)connection unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(connection:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIAddConnectionFromTokenResponseCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIConnectionInfo * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIAddConnectionFromTokenResponse *)doCopyConnection:(PAPIConnectionInfo * _Nullable)connection unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(connection:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIAddConnectionFromTokenResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIConnectionInfo * _Nullable connection __attribute__((swift_name("connection"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AddConnectionFromTokenResponse.Companion"))) +@interface PAPIAddConnectionFromTokenResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIAddConnectionFromTokenResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIAddConnectionFromTokenResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIAddConnectionFromTokenResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AddKeyAction"))) +@interface PAPIAddKeyAction : PAPIBase +- (instancetype)initWithKey:(PAPIPublicKey * _Nullable)key unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(key:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIAddKeyActionCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIPublicKey * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIAddKeyAction *)doCopyKey:(PAPIPublicKey * _Nullable)key unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(key:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIAddKeyAction *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIPublicKey * _Nullable key __attribute__((swift_name("key"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AddKeyAction.Companion"))) +@interface PAPIAddKeyActionCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIAddKeyActionCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIAddKeyAction *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIAddKeyAction *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ArchiveCredentialTypeCategoryRequest"))) +@interface PAPIArchiveCredentialTypeCategoryRequest : PAPIBase +- (instancetype)initWithCredentialTypeCategoryId:(NSString *)credentialTypeCategoryId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(credentialTypeCategoryId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIArchiveCredentialTypeCategoryRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIArchiveCredentialTypeCategoryRequest *)doCopyCredentialTypeCategoryId:(NSString *)credentialTypeCategoryId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(credentialTypeCategoryId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIArchiveCredentialTypeCategoryRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *credentialTypeCategoryId __attribute__((swift_name("credentialTypeCategoryId"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ArchiveCredentialTypeCategoryRequest.Companion"))) +@interface PAPIArchiveCredentialTypeCategoryRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIArchiveCredentialTypeCategoryRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIArchiveCredentialTypeCategoryRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIArchiveCredentialTypeCategoryRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ArchiveCredentialTypeCategoryResponse"))) +@interface PAPIArchiveCredentialTypeCategoryResponse : PAPIBase +- (instancetype)initWithCredentialTypeCategory:(PAPICredentialTypeCategory * _Nullable)credentialTypeCategory unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(credentialTypeCategory:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIArchiveCredentialTypeCategoryResponseCompanion *companion __attribute__((swift_name("companion"))); +- (PAPICredentialTypeCategory * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIArchiveCredentialTypeCategoryResponse *)doCopyCredentialTypeCategory:(PAPICredentialTypeCategory * _Nullable)credentialTypeCategory unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(credentialTypeCategory:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIArchiveCredentialTypeCategoryResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPICredentialTypeCategory * _Nullable credentialTypeCategory __attribute__((swift_name("credentialTypeCategory"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ArchiveCredentialTypeCategoryResponse.Companion"))) +@interface PAPIArchiveCredentialTypeCategoryResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIArchiveCredentialTypeCategoryResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIArchiveCredentialTypeCategoryResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIArchiveCredentialTypeCategoryResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtalaBlock"))) +@interface PAPIAtalaBlock : PAPIBase +- (instancetype)initWithOperations:(NSArray *)operations unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(operations:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIAtalaBlockCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIAtalaBlock *)doCopyOperations:(NSArray *)operations unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(operations:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIAtalaBlock *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSArray *operations __attribute__((swift_name("operations"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtalaBlock.Companion"))) +@interface PAPIAtalaBlockCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIAtalaBlockCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIAtalaBlock *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIAtalaBlock *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtalaErrorMessage"))) +@interface PAPIAtalaErrorMessage : PAPIBase +- (instancetype)initWithStatus:(PAPIStatus * _Nullable)status unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(status:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIAtalaErrorMessageCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIStatus * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIAtalaErrorMessage *)doCopyStatus:(PAPIStatus * _Nullable)status unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(status:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIAtalaErrorMessage *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPIStatus * _Nullable status __attribute__((swift_name("status"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtalaErrorMessage.Companion"))) +@interface PAPIAtalaErrorMessageCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIAtalaErrorMessageCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIAtalaErrorMessage *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIAtalaErrorMessage *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtalaMessage"))) +@interface PAPIAtalaMessage : PAPIBase +- (instancetype)initWithReplyTo:(NSString *)replyTo message:(PAPIAtalaMessageMessage * _Nullable)message unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(replyTo:message:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIAtalaMessageCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIAtalaMessageMessage * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIAtalaMessage *)doCopyReplyTo:(NSString *)replyTo message:(PAPIAtalaMessageMessage * _Nullable)message unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(replyTo:message:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIAtalaMessage *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIAtalaErrorMessage * _Nullable atalaErrorMessage __attribute__((swift_name("atalaErrorMessage"))); +@property (readonly) PAPICredentialRevoked * _Nullable credentialRevoked __attribute__((swift_name("credentialRevoked"))); +@property (readonly) PAPIAny * _Nullable customMessage __attribute__((swift_name("customMessage"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIEncryptedMessage * _Nullable encryptedMessage __attribute__((swift_name("encryptedMessage"))); +@property (readonly) PAPIAtalaMessageMessage * _Nullable message __attribute__((swift_name("message"))); +@property (readonly) PAPIPlainTextCredential * _Nullable plainCredential __attribute__((swift_name("plainCredential"))); +@property (readonly) PAPIProofRequest * _Nullable proofRequest __attribute__((swift_name("proofRequest"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSString *replyTo __attribute__((swift_name("replyTo"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtalaMessage.Companion"))) +@interface PAPIAtalaMessageCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIAtalaMessageCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIAtalaMessage *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIAtalaMessage *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("MessageOneOf"))) +@interface PAPIMessageOneOf : PAPIBase +- (instancetype)initWithValue:(T _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) T _Nullable value __attribute__((swift_name("value"))); +@end; + +__attribute__((swift_name("AtalaMessageMessage"))) +@interface PAPIAtalaMessageMessage : PAPIMessageOneOf +- (instancetype)initWithValue:(V _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtalaMessageMessageAtalaErrorMessage"))) +@interface PAPIAtalaMessageMessageAtalaErrorMessage : PAPIAtalaMessageMessage +- (instancetype)initWithAtalaErrorMessage:(PAPIAtalaErrorMessage *)atalaErrorMessage __attribute__((swift_name("init(atalaErrorMessage:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(id _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtalaMessageMessageCredentialRevoked"))) +@interface PAPIAtalaMessageMessageCredentialRevoked : PAPIAtalaMessageMessage +- (instancetype)initWithCredentialRevoked:(PAPICredentialRevoked *)credentialRevoked __attribute__((swift_name("init(credentialRevoked:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(id _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtalaMessageMessageCustomMessage"))) +@interface PAPIAtalaMessageMessageCustomMessage : PAPIAtalaMessageMessage +- (instancetype)initWithCustomMessage:(PAPIAny *)customMessage __attribute__((swift_name("init(customMessage:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(id _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtalaMessageMessageEncryptedMessage"))) +@interface PAPIAtalaMessageMessageEncryptedMessage : PAPIAtalaMessageMessage +- (instancetype)initWithEncryptedMessage:(PAPIEncryptedMessage *)encryptedMessage __attribute__((swift_name("init(encryptedMessage:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(id _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtalaMessageMessagePlainCredential"))) +@interface PAPIAtalaMessageMessagePlainCredential : PAPIAtalaMessageMessage +- (instancetype)initWithPlainCredential:(PAPIPlainTextCredential *)plainCredential __attribute__((swift_name("init(plainCredential:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(id _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtalaMessageMessageProofRequest"))) +@interface PAPIAtalaMessageMessageProofRequest : PAPIAtalaMessageMessage +- (instancetype)initWithProofRequest:(PAPIProofRequest *)proofRequest __attribute__((swift_name("init(proofRequest:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(id _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtalaObject"))) +@interface PAPIAtalaObject : PAPIBase +- (instancetype)initWithBlockOperationCount:(int32_t)blockOperationCount blockByteLength:(int32_t)blockByteLength blockContent:(PAPIAtalaBlock * _Nullable)blockContent unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(blockOperationCount:blockByteLength:blockContent:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIAtalaObjectCompanion *companion __attribute__((swift_name("companion"))); +- (int32_t)component1 __attribute__((swift_name("component1()"))); +- (int32_t)component2 __attribute__((swift_name("component2()"))); +- (PAPIAtalaBlock * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPIAtalaObject *)doCopyBlockOperationCount:(int32_t)blockOperationCount blockByteLength:(int32_t)blockByteLength blockContent:(PAPIAtalaBlock * _Nullable)blockContent unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(blockOperationCount:blockByteLength:blockContent:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIAtalaObject *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) int32_t blockByteLength __attribute__((swift_name("blockByteLength"))); +@property (readonly) PAPIAtalaBlock * _Nullable blockContent __attribute__((swift_name("blockContent"))); +@property (readonly) int32_t blockOperationCount __attribute__((swift_name("blockOperationCount"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtalaObject.Companion"))) +@interface PAPIAtalaObjectCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIAtalaObjectCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIAtalaObject *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIAtalaObject *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtalaOperation"))) +@interface PAPIAtalaOperation : PAPIBase +- (instancetype)initWithOperation:(PAPIAtalaOperationOperation * _Nullable)operation unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(operation:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIAtalaOperationCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIAtalaOperationOperation * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIAtalaOperation *)doCopyOperation:(PAPIAtalaOperationOperation * _Nullable)operation unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(operation:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIAtalaOperation *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPICreateDIDOperation * _Nullable createDid __attribute__((swift_name("createDid"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIIssueCredentialBatchOperation * _Nullable issueCredentialBatch __attribute__((swift_name("issueCredentialBatch"))); +@property (readonly) PAPIAtalaOperationOperation * _Nullable operation __attribute__((swift_name("operation"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPIProtocolVersionUpdateOperation * _Nullable protocolVersionUpdate __attribute__((swift_name("protocolVersionUpdate"))); +@property (readonly) PAPIRevokeCredentialsOperation * _Nullable revokeCredentials __attribute__((swift_name("revokeCredentials"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@property (readonly) PAPIUpdateDIDOperation * _Nullable updateDid __attribute__((swift_name("updateDid"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtalaOperation.Companion"))) +@interface PAPIAtalaOperationCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIAtalaOperationCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIAtalaOperation *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIAtalaOperation *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("AtalaOperationOperation"))) +@interface PAPIAtalaOperationOperation : PAPIMessageOneOf +- (instancetype)initWithValue:(V _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtalaOperationOperationCreateDid"))) +@interface PAPIAtalaOperationOperationCreateDid : PAPIAtalaOperationOperation +- (instancetype)initWithCreateDid:(PAPICreateDIDOperation *)createDid __attribute__((swift_name("init(createDid:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(id _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtalaOperationOperationIssueCredentialBatch"))) +@interface PAPIAtalaOperationOperationIssueCredentialBatch : PAPIAtalaOperationOperation +- (instancetype)initWithIssueCredentialBatch:(PAPIIssueCredentialBatchOperation *)issueCredentialBatch __attribute__((swift_name("init(issueCredentialBatch:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(id _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtalaOperationOperationProtocolVersionUpdate"))) +@interface PAPIAtalaOperationOperationProtocolVersionUpdate : PAPIAtalaOperationOperation +- (instancetype)initWithProtocolVersionUpdate:(PAPIProtocolVersionUpdateOperation *)protocolVersionUpdate __attribute__((swift_name("init(protocolVersionUpdate:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(id _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtalaOperationOperationRevokeCredentials"))) +@interface PAPIAtalaOperationOperationRevokeCredentials : PAPIAtalaOperationOperation +- (instancetype)initWithRevokeCredentials:(PAPIRevokeCredentialsOperation *)revokeCredentials __attribute__((swift_name("init(revokeCredentials:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(id _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtalaOperationOperationUpdateDid"))) +@interface PAPIAtalaOperationOperationUpdateDid : PAPIAtalaOperationOperation +- (instancetype)initWithUpdateDid:(PAPIUpdateDIDOperation *)updateDid __attribute__((swift_name("init(updateDid:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(id _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BlockInfo"))) +@interface PAPIBlockInfo : PAPIBase +- (instancetype)initWithNumber:(int32_t)number index:(int32_t)index timestamp:(PAPITimestamp * _Nullable)timestamp unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(number:index:timestamp:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIBlockInfoCompanion *companion __attribute__((swift_name("companion"))); +- (int32_t)component1 __attribute__((swift_name("component1()"))); +- (int32_t)component2 __attribute__((swift_name("component2()"))); +- (PAPITimestamp * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPIBlockInfo *)doCopyNumber:(int32_t)number index:(int32_t)index timestamp:(PAPITimestamp * _Nullable)timestamp unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(number:index:timestamp:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIBlockInfo *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t index __attribute__((swift_name("index"))); +@property (readonly) int32_t number __attribute__((swift_name("number"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPITimestamp * _Nullable timestamp __attribute__((swift_name("timestamp"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BlockInfo.Companion"))) +@interface PAPIBlockInfoCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIBlockInfoCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIBlockInfo *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIBlockInfo *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CManagerGenericCredential"))) +@interface PAPICManagerGenericCredential : PAPIBase +- (instancetype)initWithCredentialId:(NSString *)credentialId issuerId:(NSString *)issuerId contactId:(NSString *)contactId credentialData:(NSString *)credentialData issuerName:(NSString *)issuerName contactData:(NSString *)contactData issuanceOperationHash:(PAPIByteArr *)issuanceOperationHash encodedSignedCredential:(NSString *)encodedSignedCredential externalId:(NSString *)externalId connectionStatus:(PAPIContactConnectionStatus *)connectionStatus batchInclusionProof:(NSString *)batchInclusionProof batchId:(NSString *)batchId publicationStoredAt:(PAPITimestamp * _Nullable)publicationStoredAt sharedAt:(PAPITimestamp * _Nullable)sharedAt revokedOnOperationId:(PAPIByteArr *)revokedOnOperationId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(credentialId:issuerId:contactId:credentialData:issuerName:contactData:issuanceOperationHash:encodedSignedCredential:externalId:connectionStatus:batchInclusionProof:batchId:publicationStoredAt:sharedAt:revokedOnOperationId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICManagerGenericCredentialCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIContactConnectionStatus *)component10 __attribute__((swift_name("component10()"))); +- (NSString *)component11 __attribute__((swift_name("component11()"))); +- (NSString *)component12 __attribute__((swift_name("component12()"))); +- (PAPITimestamp * _Nullable)component13 __attribute__((swift_name("component13()"))); +- (PAPITimestamp * _Nullable)component14 __attribute__((swift_name("component14()"))); +- (PAPIByteArr *)component15 __attribute__((swift_name("component15()"))); +- (NSDictionary *)component16 __attribute__((swift_name("component16()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (NSString *)component3 __attribute__((swift_name("component3()"))); +- (NSString *)component4 __attribute__((swift_name("component4()"))); +- (NSString *)component5 __attribute__((swift_name("component5()"))); +- (NSString *)component6 __attribute__((swift_name("component6()"))); +- (PAPIByteArr *)component7 __attribute__((swift_name("component7()"))); +- (NSString *)component8 __attribute__((swift_name("component8()"))); +- (NSString *)component9 __attribute__((swift_name("component9()"))); +- (PAPICManagerGenericCredential *)doCopyCredentialId:(NSString *)credentialId issuerId:(NSString *)issuerId contactId:(NSString *)contactId credentialData:(NSString *)credentialData issuerName:(NSString *)issuerName contactData:(NSString *)contactData issuanceOperationHash:(PAPIByteArr *)issuanceOperationHash encodedSignedCredential:(NSString *)encodedSignedCredential externalId:(NSString *)externalId connectionStatus:(PAPIContactConnectionStatus *)connectionStatus batchInclusionProof:(NSString *)batchInclusionProof batchId:(NSString *)batchId publicationStoredAt:(PAPITimestamp * _Nullable)publicationStoredAt sharedAt:(PAPITimestamp * _Nullable)sharedAt revokedOnOperationId:(PAPIByteArr *)revokedOnOperationId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(credentialId:issuerId:contactId:credentialData:issuerName:contactData:issuanceOperationHash:encodedSignedCredential:externalId:connectionStatus:batchInclusionProof:batchId:publicationStoredAt:sharedAt:revokedOnOperationId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICManagerGenericCredential *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *batchId __attribute__((swift_name("batchId"))); +@property (readonly) NSString *batchInclusionProof __attribute__((swift_name("batchInclusionProof"))); +@property (readonly) PAPIContactConnectionStatus *connectionStatus __attribute__((swift_name("connectionStatus"))); +@property (readonly) NSString *contactData __attribute__((swift_name("contactData"))); +@property (readonly) NSString *contactId __attribute__((swift_name("contactId"))); +@property (readonly) NSString *credentialData __attribute__((swift_name("credentialData"))); +@property (readonly) NSString *credentialId __attribute__((swift_name("credentialId"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *encodedSignedCredential __attribute__((swift_name("encodedSignedCredential"))); +@property (readonly) NSString *externalId __attribute__((swift_name("externalId"))); +@property (readonly) PAPIByteArr *issuanceOperationHash __attribute__((swift_name("issuanceOperationHash"))); +@property (readonly) NSString *issuerId __attribute__((swift_name("issuerId"))); +@property (readonly) NSString *issuerName __attribute__((swift_name("issuerName"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPITimestamp * _Nullable publicationStoredAt __attribute__((swift_name("publicationStoredAt"))); +@property (readonly) PAPIByteArr *revokedOnOperationId __attribute__((swift_name("revokedOnOperationId"))); +@property (readonly) PAPITimestamp * _Nullable sharedAt __attribute__((swift_name("sharedAt"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CManagerGenericCredential.Companion"))) +@interface PAPICManagerGenericCredentialCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICManagerGenericCredentialCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICManagerGenericCredential *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICManagerGenericCredential *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CompressedECKeyData"))) +@interface PAPICompressedECKeyData : PAPIBase +- (instancetype)initWithCurve:(NSString *)curve data:(PAPIByteArr *)data unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(curve:data:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICompressedECKeyDataCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIByteArr *)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPICompressedECKeyData *)doCopyCurve:(NSString *)curve data:(PAPIByteArr *)data unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(curve:data:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICompressedECKeyData *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *curve __attribute__((swift_name("curve"))); +@property (readonly) PAPIByteArr *data __attribute__((swift_name("data"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CompressedECKeyData.Companion"))) +@interface PAPICompressedECKeyDataCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICompressedECKeyDataCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICompressedECKeyData *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICompressedECKeyData *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Connection"))) +@interface PAPIConnection : PAPIBase +- (instancetype)initWithConnectionToken:(NSString *)connectionToken connectionId:(NSString *)connectionId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(connectionToken:connectionId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIConnectionCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIConnection *)doCopyConnectionToken:(NSString *)connectionToken connectionId:(NSString *)connectionId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(connectionToken:connectionId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIConnection *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *connectionId __attribute__((swift_name("connectionId"))); +@property (readonly) NSString *connectionToken __attribute__((swift_name("connectionToken"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Connection.Companion"))) +@interface PAPIConnectionCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIConnectionCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIConnection *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIConnection *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ConnectionInfo"))) +@interface PAPIConnectionInfo : PAPIBase +- (instancetype)initWithConnectionId:(NSString *)connectionId token:(NSString *)token participantName:(NSString *)participantName participantLogo:(PAPIByteArr *)participantLogo participantDid:(NSString *)participantDid created:(PAPITimestamp * _Nullable)created unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(connectionId:token:participantName:participantLogo:participantDid:created:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIConnectionInfoCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (NSString *)component3 __attribute__((swift_name("component3()"))); +- (PAPIByteArr *)component4 __attribute__((swift_name("component4()"))); +- (NSString *)component5 __attribute__((swift_name("component5()"))); +- (PAPITimestamp * _Nullable)component6 __attribute__((swift_name("component6()"))); +- (NSDictionary *)component7 __attribute__((swift_name("component7()"))); +- (PAPIConnectionInfo *)doCopyConnectionId:(NSString *)connectionId token:(NSString *)token participantName:(NSString *)participantName participantLogo:(PAPIByteArr *)participantLogo participantDid:(NSString *)participantDid created:(PAPITimestamp * _Nullable)created unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(connectionId:token:participantName:participantLogo:participantDid:created:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIConnectionInfo *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *connectionId __attribute__((swift_name("connectionId"))); +@property (readonly) PAPITimestamp * _Nullable created __attribute__((swift_name("created"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *participantDid __attribute__((swift_name("participantDid"))); +@property (readonly) PAPIByteArr *participantLogo __attribute__((swift_name("participantLogo"))); +@property (readonly) NSString *participantName __attribute__((swift_name("participantName"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSString *token __attribute__((swift_name("token"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ConnectionInfo.Companion"))) +@interface PAPIConnectionInfoCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIConnectionInfoCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIConnectionInfo *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIConnectionInfo *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ConnectionKey"))) +@interface PAPIConnectionKey : PAPIBase +- (instancetype)initWithKeyId:(NSString *)keyId key:(PAPIEncodedPublicKey * _Nullable)key unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(keyId:key:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIConnectionKeyCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIEncodedPublicKey * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIConnectionKey *)doCopyKeyId:(NSString *)keyId key:(PAPIEncodedPublicKey * _Nullable)key unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(keyId:key:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIConnectionKey *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIEncodedPublicKey * _Nullable key __attribute__((swift_name("key"))); +@property (readonly) NSString *keyId __attribute__((swift_name("keyId"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ConnectionKey.Companion"))) +@interface PAPIConnectionKeyCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIConnectionKeyCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIConnectionKey *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIConnectionKey *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ConnectionsStatusRequest"))) +@interface PAPIConnectionsStatusRequest : PAPIBase +- (instancetype)initWithConnectionTokens:(NSArray *)connectionTokens unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(connectionTokens:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIConnectionsStatusRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIConnectionsStatusRequest *)doCopyConnectionTokens:(NSArray *)connectionTokens unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(connectionTokens:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIConnectionsStatusRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSArray *connectionTokens __attribute__((swift_name("connectionTokens"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ConnectionsStatusRequest.Companion"))) +@interface PAPIConnectionsStatusRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIConnectionsStatusRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIConnectionsStatusRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIConnectionsStatusRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ConnectionsStatusResponse"))) +@interface PAPIConnectionsStatusResponse : PAPIBase +- (instancetype)initWithConnections:(NSArray *)connections unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(connections:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIConnectionsStatusResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIConnectionsStatusResponse *)doCopyConnections:(NSArray *)connections unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(connections:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIConnectionsStatusResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSArray *connections __attribute__((swift_name("connections"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ConnectionsStatusResponse.Companion"))) +@interface PAPIConnectionsStatusResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIConnectionsStatusResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIConnectionsStatusResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIConnectionsStatusResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ConnectorPublicKey"))) +@interface PAPIConnectorPublicKey : PAPIBase +- (instancetype)initWithX:(NSString *)x y:(NSString *)y unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(x:y:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIConnectorPublicKeyCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIConnectorPublicKey *)doCopyX:(NSString *)x y:(NSString *)y unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(x:y:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIConnectorPublicKey *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@property (readonly) NSString *x __attribute__((swift_name("x"))); +@property (readonly) NSString *y __attribute__((swift_name("y"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ConnectorPublicKey.Companion"))) +@interface PAPIConnectorPublicKeyCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIConnectorPublicKeyCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIConnectorPublicKey *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIConnectorPublicKey *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ConnectorRequestMetadata"))) +@interface PAPIConnectorRequestMetadata : PAPIBase +- (instancetype)initWithDid:(NSString *)did didKeyId:(NSString *)didKeyId didSignature:(NSString *)didSignature requestNonce:(NSString *)requestNonce unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(did:didKeyId:didSignature:requestNonce:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIConnectorRequestMetadataCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (NSString *)component3 __attribute__((swift_name("component3()"))); +- (NSString *)component4 __attribute__((swift_name("component4()"))); +- (NSDictionary *)component5 __attribute__((swift_name("component5()"))); +- (PAPIConnectorRequestMetadata *)doCopyDid:(NSString *)did didKeyId:(NSString *)didKeyId didSignature:(NSString *)didSignature requestNonce:(NSString *)requestNonce unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(did:didKeyId:didSignature:requestNonce:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIConnectorRequestMetadata *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *did __attribute__((swift_name("did"))); +@property (readonly) NSString *didKeyId __attribute__((swift_name("didKeyId"))); +@property (readonly) NSString *didSignature __attribute__((swift_name("didSignature"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSString *requestNonce __attribute__((swift_name("requestNonce"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ConnectorRequestMetadata.Companion"))) +@interface PAPIConnectorRequestMetadataCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIConnectorRequestMetadataCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIConnectorRequestMetadata *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIConnectorRequestMetadata *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("Closeable"))) +@protocol PAPICloseable +@required +- (void)close __attribute__((swift_name("close()"))); +@end; + +__attribute__((swift_name("ConnectorServiceCoroutine"))) +@protocol PAPIConnectorServiceCoroutine +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)AddConnectionFromTokenReq:(PAPIAddConnectionFromTokenRequest *)req completionHandler:(void (^)(PAPIAddConnectionFromTokenResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("AddConnectionFromToken(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)AddConnectionFromTokenAuthReq:(PAPIAddConnectionFromTokenRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIAddConnectionFromTokenResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("AddConnectionFromTokenAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GenerateConnectionTokenReq:(PAPIGenerateConnectionTokenRequest *)req completionHandler:(void (^)(PAPIGenerateConnectionTokenResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GenerateConnectionToken(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GenerateConnectionTokenAuthReq:(PAPIGenerateConnectionTokenRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGenerateConnectionTokenResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GenerateConnectionTokenAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetBuildInfoReq:(PAPIGetBuildInfoRequest *)req completionHandler:(void (^)(PAPIGetBuildInfoResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetBuildInfo(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetBuildInfoAuthReq:(PAPIGetBuildInfoRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetBuildInfoResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetBuildInfoAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetConnectionByIdReq:(PAPIGetConnectionByIdRequest *)req completionHandler:(void (^)(PAPIGetConnectionByIdResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetConnectionById(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetConnectionByIdAuthReq:(PAPIGetConnectionByIdRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetConnectionByIdResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetConnectionByIdAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetConnectionByTokenReq:(PAPIGetConnectionByTokenRequest *)req completionHandler:(void (^)(PAPIGetConnectionByTokenResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetConnectionByToken(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetConnectionByTokenAuthReq:(PAPIGetConnectionByTokenRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetConnectionByTokenResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetConnectionByTokenAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetConnectionCommunicationKeysReq:(PAPIGetConnectionCommunicationKeysRequest *)req completionHandler:(void (^)(PAPIGetConnectionCommunicationKeysResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetConnectionCommunicationKeys(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetConnectionCommunicationKeysAuthReq:(PAPIGetConnectionCommunicationKeysRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetConnectionCommunicationKeysResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetConnectionCommunicationKeysAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetConnectionTokenInfoReq:(PAPIGetConnectionTokenInfoRequest *)req completionHandler:(void (^)(PAPIGetConnectionTokenInfoResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetConnectionTokenInfo(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetConnectionTokenInfoAuthReq:(PAPIGetConnectionTokenInfoRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetConnectionTokenInfoResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetConnectionTokenInfoAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetConnectionsPaginatedReq:(PAPIGetConnectionsPaginatedRequest *)req completionHandler:(void (^)(PAPIGetConnectionsPaginatedResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetConnectionsPaginated(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetConnectionsPaginatedAuthReq:(PAPIGetConnectionsPaginatedRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetConnectionsPaginatedResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetConnectionsPaginatedAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetCurrentUserReq:(PAPIGetCurrentUserRequest *)req completionHandler:(void (^)(PAPIGetCurrentUserResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetCurrentUser(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetCurrentUserAuthReq:(PAPIGetCurrentUserRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetCurrentUserResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetCurrentUserAuth(req:metadata:completionHandler:)"))); +- (id)GetMessageStreamReq:(PAPIGetMessageStreamRequest *)req __attribute__((swift_name("GetMessageStream(req:)"))); +- (id)GetMessageStreamAuthReq:(PAPIGetMessageStreamRequest *)req metadata:(PAPIPrismMetadata *)metadata __attribute__((swift_name("GetMessageStreamAuth(req:metadata:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetMessagesForConnectionReq:(PAPIGetMessagesForConnectionRequest *)req completionHandler:(void (^)(PAPIGetMessagesForConnectionResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetMessagesForConnection(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetMessagesForConnectionAuthReq:(PAPIGetMessagesForConnectionRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetMessagesForConnectionResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetMessagesForConnectionAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetMessagesPaginatedReq:(PAPIGetMessagesPaginatedRequest *)req completionHandler:(void (^)(PAPIGetMessagesPaginatedResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetMessagesPaginated(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetMessagesPaginatedAuthReq:(PAPIGetMessagesPaginatedRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetMessagesPaginatedResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetMessagesPaginatedAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)HealthCheckReq:(PAPIHealthCheckRequest *)req completionHandler:(void (^)(PAPIHealthCheckResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("HealthCheck(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)HealthCheckAuthReq:(PAPIHealthCheckRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIHealthCheckResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("HealthCheckAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)RegisterDIDReq:(PAPIRegisterDIDRequest *)req completionHandler:(void (^)(PAPIRegisterDIDResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("RegisterDID(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)RegisterDIDAuthReq:(PAPIRegisterDIDRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIRegisterDIDResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("RegisterDIDAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)RevokeConnectionReq:(PAPIRevokeConnectionRequest *)req completionHandler:(void (^)(PAPIRevokeConnectionResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("RevokeConnection(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)RevokeConnectionAuthReq:(PAPIRevokeConnectionRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIRevokeConnectionResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("RevokeConnectionAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)SendMessageReq:(PAPISendMessageRequest *)req completionHandler:(void (^)(PAPISendMessageResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("SendMessage(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)SendMessageAuthReq:(PAPISendMessageRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPISendMessageResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("SendMessageAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)SendMessagesReq:(PAPISendMessagesRequest *)req completionHandler:(void (^)(PAPISendMessagesResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("SendMessages(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)SendMessagesAuthReq:(PAPISendMessagesRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPISendMessagesResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("SendMessagesAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)UpdateParticipantProfileReq:(PAPIUpdateProfileRequest *)req completionHandler:(void (^)(PAPIUpdateProfileResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("UpdateParticipantProfile(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)UpdateParticipantProfileAuthReq:(PAPIUpdateProfileRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIUpdateProfileResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("UpdateParticipantProfileAuth(req:metadata:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ConnectorServiceCoroutineClient"))) +@interface PAPIConnectorServiceCoroutineClient : PAPIBase +- (instancetype)initWithClient:(PAPIGrpcClient *)client __attribute__((swift_name("init(client:)"))) __attribute__((objc_designated_initializer)); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)AddConnectionFromTokenReq:(PAPIAddConnectionFromTokenRequest *)req completionHandler:(void (^)(PAPIAddConnectionFromTokenResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("AddConnectionFromToken(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)AddConnectionFromTokenAuthReq:(PAPIAddConnectionFromTokenRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIAddConnectionFromTokenResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("AddConnectionFromTokenAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GenerateConnectionTokenReq:(PAPIGenerateConnectionTokenRequest *)req completionHandler:(void (^)(PAPIGenerateConnectionTokenResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GenerateConnectionToken(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GenerateConnectionTokenAuthReq:(PAPIGenerateConnectionTokenRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGenerateConnectionTokenResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GenerateConnectionTokenAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetBuildInfoReq:(PAPIGetBuildInfoRequest *)req completionHandler:(void (^)(PAPIGetBuildInfoResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetBuildInfo(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetBuildInfoAuthReq:(PAPIGetBuildInfoRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetBuildInfoResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetBuildInfoAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetConnectionByIdReq:(PAPIGetConnectionByIdRequest *)req completionHandler:(void (^)(PAPIGetConnectionByIdResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetConnectionById(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetConnectionByIdAuthReq:(PAPIGetConnectionByIdRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetConnectionByIdResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetConnectionByIdAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetConnectionByTokenReq:(PAPIGetConnectionByTokenRequest *)req completionHandler:(void (^)(PAPIGetConnectionByTokenResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetConnectionByToken(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetConnectionByTokenAuthReq:(PAPIGetConnectionByTokenRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetConnectionByTokenResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetConnectionByTokenAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetConnectionCommunicationKeysReq:(PAPIGetConnectionCommunicationKeysRequest *)req completionHandler:(void (^)(PAPIGetConnectionCommunicationKeysResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetConnectionCommunicationKeys(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetConnectionCommunicationKeysAuthReq:(PAPIGetConnectionCommunicationKeysRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetConnectionCommunicationKeysResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetConnectionCommunicationKeysAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetConnectionTokenInfoReq:(PAPIGetConnectionTokenInfoRequest *)req completionHandler:(void (^)(PAPIGetConnectionTokenInfoResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetConnectionTokenInfo(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetConnectionTokenInfoAuthReq:(PAPIGetConnectionTokenInfoRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetConnectionTokenInfoResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetConnectionTokenInfoAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetConnectionsPaginatedReq:(PAPIGetConnectionsPaginatedRequest *)req completionHandler:(void (^)(PAPIGetConnectionsPaginatedResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetConnectionsPaginated(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetConnectionsPaginatedAuthReq:(PAPIGetConnectionsPaginatedRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetConnectionsPaginatedResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetConnectionsPaginatedAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetCurrentUserReq:(PAPIGetCurrentUserRequest *)req completionHandler:(void (^)(PAPIGetCurrentUserResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetCurrentUser(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetCurrentUserAuthReq:(PAPIGetCurrentUserRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetCurrentUserResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetCurrentUserAuth(req:metadata:completionHandler:)"))); +- (id)GetMessageStreamReq:(PAPIGetMessageStreamRequest *)req __attribute__((swift_name("GetMessageStream(req:)"))); +- (id)GetMessageStreamAuthReq:(PAPIGetMessageStreamRequest *)req metadata:(PAPIPrismMetadata *)metadata __attribute__((swift_name("GetMessageStreamAuth(req:metadata:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetMessagesForConnectionReq:(PAPIGetMessagesForConnectionRequest *)req completionHandler:(void (^)(PAPIGetMessagesForConnectionResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetMessagesForConnection(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetMessagesForConnectionAuthReq:(PAPIGetMessagesForConnectionRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetMessagesForConnectionResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetMessagesForConnectionAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetMessagesPaginatedReq:(PAPIGetMessagesPaginatedRequest *)req completionHandler:(void (^)(PAPIGetMessagesPaginatedResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetMessagesPaginated(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetMessagesPaginatedAuthReq:(PAPIGetMessagesPaginatedRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetMessagesPaginatedResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetMessagesPaginatedAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)HealthCheckReq:(PAPIHealthCheckRequest *)req completionHandler:(void (^)(PAPIHealthCheckResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("HealthCheck(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)HealthCheckAuthReq:(PAPIHealthCheckRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIHealthCheckResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("HealthCheckAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)RegisterDIDReq:(PAPIRegisterDIDRequest *)req completionHandler:(void (^)(PAPIRegisterDIDResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("RegisterDID(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)RegisterDIDAuthReq:(PAPIRegisterDIDRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIRegisterDIDResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("RegisterDIDAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)RevokeConnectionReq:(PAPIRevokeConnectionRequest *)req completionHandler:(void (^)(PAPIRevokeConnectionResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("RevokeConnection(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)RevokeConnectionAuthReq:(PAPIRevokeConnectionRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIRevokeConnectionResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("RevokeConnectionAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)SendMessageReq:(PAPISendMessageRequest *)req completionHandler:(void (^)(PAPISendMessageResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("SendMessage(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)SendMessageAuthReq:(PAPISendMessageRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPISendMessageResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("SendMessageAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)SendMessagesReq:(PAPISendMessagesRequest *)req completionHandler:(void (^)(PAPISendMessagesResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("SendMessages(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)SendMessagesAuthReq:(PAPISendMessagesRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPISendMessagesResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("SendMessagesAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)UpdateParticipantProfileReq:(PAPIUpdateProfileRequest *)req completionHandler:(void (^)(PAPIUpdateProfileResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("UpdateParticipantProfile(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)UpdateParticipantProfileAuthReq:(PAPIUpdateProfileRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIUpdateProfileResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("UpdateParticipantProfileAuth(req:metadata:completionHandler:)"))); +- (void)close __attribute__((swift_name("close()"))); +@property (readonly) PAPIGrpcClient *client __attribute__((swift_name("client"))); +@end; + +__attribute__((swift_name("ConsoleServiceCoroutine"))) +@protocol PAPIConsoleServiceCoroutine +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetCurrentUserReq:(PAPIGetConsoleCurrentUserRequest *)req completionHandler_:(void (^)(PAPIGetConsoleCurrentUserResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetCurrentUser(req:completionHandler_:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetCurrentUserAuthReq:(PAPIGetConsoleCurrentUserRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler_:(void (^)(PAPIGetConsoleCurrentUserResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetCurrentUserAuth(req:metadata:completionHandler_:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetStatisticsReq:(PAPIGetStatisticsRequest *)req completionHandler:(void (^)(PAPIGetStatisticsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetStatistics(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetStatisticsAuthReq:(PAPIGetStatisticsRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetStatisticsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetStatisticsAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)HealthCheckReq:(PAPIHealthCheckRequest *)req completionHandler:(void (^)(PAPIHealthCheckResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("HealthCheck(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)HealthCheckAuthReq:(PAPIHealthCheckRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIHealthCheckResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("HealthCheckAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)RegisterDIDReq:(PAPIRegisterConsoleDIDRequest *)req completionHandler_:(void (^)(PAPIRegisterConsoleDIDResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("RegisterDID(req:completionHandler_:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)RegisterDIDAuthReq:(PAPIRegisterConsoleDIDRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler_:(void (^)(PAPIRegisterConsoleDIDResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("RegisterDIDAuth(req:metadata:completionHandler_:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)UpdateParticipantProfileReq:(PAPIConsoleUpdateProfileRequest *)req completionHandler_:(void (^)(PAPIConsoleUpdateProfileResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("UpdateParticipantProfile(req:completionHandler_:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)UpdateParticipantProfileAuthReq:(PAPIConsoleUpdateProfileRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler_:(void (^)(PAPIConsoleUpdateProfileResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("UpdateParticipantProfileAuth(req:metadata:completionHandler_:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ConsoleServiceCoroutineClient"))) +@interface PAPIConsoleServiceCoroutineClient : PAPIBase +- (instancetype)initWithClient:(PAPIGrpcClient *)client __attribute__((swift_name("init(client:)"))) __attribute__((objc_designated_initializer)); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetCurrentUserReq:(PAPIGetConsoleCurrentUserRequest *)req completionHandler_:(void (^)(PAPIGetConsoleCurrentUserResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetCurrentUser(req:completionHandler_:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetCurrentUserAuthReq:(PAPIGetConsoleCurrentUserRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler_:(void (^)(PAPIGetConsoleCurrentUserResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetCurrentUserAuth(req:metadata:completionHandler_:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetStatisticsReq:(PAPIGetStatisticsRequest *)req completionHandler:(void (^)(PAPIGetStatisticsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetStatistics(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetStatisticsAuthReq:(PAPIGetStatisticsRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetStatisticsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetStatisticsAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)HealthCheckReq:(PAPIHealthCheckRequest *)req completionHandler:(void (^)(PAPIHealthCheckResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("HealthCheck(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)HealthCheckAuthReq:(PAPIHealthCheckRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIHealthCheckResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("HealthCheckAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)RegisterDIDReq:(PAPIRegisterConsoleDIDRequest *)req completionHandler_:(void (^)(PAPIRegisterConsoleDIDResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("RegisterDID(req:completionHandler_:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)RegisterDIDAuthReq:(PAPIRegisterConsoleDIDRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler_:(void (^)(PAPIRegisterConsoleDIDResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("RegisterDIDAuth(req:metadata:completionHandler_:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)UpdateParticipantProfileReq:(PAPIConsoleUpdateProfileRequest *)req completionHandler_:(void (^)(PAPIConsoleUpdateProfileResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("UpdateParticipantProfile(req:completionHandler_:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)UpdateParticipantProfileAuthReq:(PAPIConsoleUpdateProfileRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler_:(void (^)(PAPIConsoleUpdateProfileResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("UpdateParticipantProfileAuth(req:metadata:completionHandler_:)"))); +- (void)close __attribute__((swift_name("close()"))); +@property (readonly) PAPIGrpcClient *client __attribute__((swift_name("client"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ConsoleUpdateProfileRequest"))) +@interface PAPIConsoleUpdateProfileRequest : PAPIBase +- (instancetype)initWithName:(NSString *)name logo:(PAPIByteArr *)logo unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(name:logo:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIConsoleUpdateProfileRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIByteArr *)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIConsoleUpdateProfileRequest *)doCopyName:(NSString *)name logo:(PAPIByteArr *)logo unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(name:logo:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIConsoleUpdateProfileRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIByteArr *logo __attribute__((swift_name("logo"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ConsoleUpdateProfileRequest.Companion"))) +@interface PAPIConsoleUpdateProfileRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIConsoleUpdateProfileRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIConsoleUpdateProfileRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIConsoleUpdateProfileRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ConsoleUpdateProfileResponse"))) +@interface PAPIConsoleUpdateProfileResponse : PAPIBase +- (instancetype)initWithUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIConsoleUpdateProfileResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPIConsoleUpdateProfileResponse *)doCopyUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIConsoleUpdateProfileResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ConsoleUpdateProfileResponse.Companion"))) +@interface PAPIConsoleUpdateProfileResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIConsoleUpdateProfileResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIConsoleUpdateProfileResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIConsoleUpdateProfileResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Contact"))) +@interface PAPIContact : PAPIBase +- (instancetype)initWithContactId:(NSString *)contactId externalId:(NSString *)externalId jsonData:(NSString *)jsonData connectionStatus:(PAPIContactConnectionStatus *)connectionStatus connectionToken:(NSString *)connectionToken connectionId:(NSString *)connectionId name:(NSString *)name createdAt:(PAPITimestamp * _Nullable)createdAt unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(contactId:externalId:jsonData:connectionStatus:connectionToken:connectionId:name:createdAt:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIContactCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (NSString *)component3 __attribute__((swift_name("component3()"))); +- (PAPIContactConnectionStatus *)component4 __attribute__((swift_name("component4()"))); +- (NSString *)component5 __attribute__((swift_name("component5()"))); +- (NSString *)component6 __attribute__((swift_name("component6()"))); +- (NSString *)component7 __attribute__((swift_name("component7()"))); +- (PAPITimestamp * _Nullable)component8 __attribute__((swift_name("component8()"))); +- (NSDictionary *)component9 __attribute__((swift_name("component9()"))); +- (PAPIContact *)doCopyContactId:(NSString *)contactId externalId:(NSString *)externalId jsonData:(NSString *)jsonData connectionStatus:(PAPIContactConnectionStatus *)connectionStatus connectionToken:(NSString *)connectionToken connectionId:(NSString *)connectionId name:(NSString *)name createdAt:(PAPITimestamp * _Nullable)createdAt unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(contactId:externalId:jsonData:connectionStatus:connectionToken:connectionId:name:createdAt:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIContact *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *connectionId __attribute__((swift_name("connectionId"))); +@property (readonly) PAPIContactConnectionStatus *connectionStatus __attribute__((swift_name("connectionStatus"))); +@property (readonly) NSString *connectionToken __attribute__((swift_name("connectionToken"))); +@property (readonly) NSString *contactId __attribute__((swift_name("contactId"))); +@property (readonly) PAPITimestamp * _Nullable createdAt __attribute__((swift_name("createdAt"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *externalId __attribute__((swift_name("externalId"))); +@property (readonly) NSString *jsonData __attribute__((swift_name("jsonData"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Contact.Companion"))) +@interface PAPIContactCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIContactCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIContact *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIContact *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ContactConnection"))) +@interface PAPIContactConnection : PAPIBase +- (instancetype)initWithConnectionId:(NSString *)connectionId connectionToken:(NSString *)connectionToken connectionStatus:(PAPIContactConnectionStatus *)connectionStatus unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(connectionId:connectionToken:connectionStatus:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIContactConnectionCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (PAPIContactConnectionStatus *)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPIContactConnection *)doCopyConnectionId:(NSString *)connectionId connectionToken:(NSString *)connectionToken connectionStatus:(PAPIContactConnectionStatus *)connectionStatus unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(connectionId:connectionToken:connectionStatus:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIContactConnection *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *connectionId __attribute__((swift_name("connectionId"))); +@property (readonly) PAPIContactConnectionStatus *connectionStatus __attribute__((swift_name("connectionStatus"))); +@property (readonly) NSString *connectionToken __attribute__((swift_name("connectionToken"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ContactConnection.Companion"))) +@interface PAPIContactConnectionCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIContactConnectionCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIContactConnection *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIContactConnection *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("ContactConnectionServiceCoroutine"))) +@protocol PAPIContactConnectionServiceCoroutine +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetConnectionStatusReq:(PAPIConnectionsStatusRequest *)req completionHandler:(void (^)(PAPIConnectionsStatusResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetConnectionStatus(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetConnectionStatusAuthReq:(PAPIConnectionsStatusRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIConnectionsStatusResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetConnectionStatusAuth(req:metadata:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ContactConnectionServiceCoroutineClient"))) +@interface PAPIContactConnectionServiceCoroutineClient : PAPIBase +- (instancetype)initWithClient:(PAPIGrpcClient *)client __attribute__((swift_name("init(client:)"))) __attribute__((objc_designated_initializer)); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetConnectionStatusReq:(PAPIConnectionsStatusRequest *)req completionHandler:(void (^)(PAPIConnectionsStatusResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetConnectionStatus(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetConnectionStatusAuthReq:(PAPIConnectionsStatusRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIConnectionsStatusResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetConnectionStatusAuth(req:metadata:completionHandler:)"))); +- (void)close __attribute__((swift_name("close()"))); +@property (readonly) PAPIGrpcClient *client __attribute__((swift_name("client"))); +@end; + +__attribute__((swift_name("MessageEnum"))) +@protocol PAPIMessageEnum +@required +@property (readonly, getter=name_) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) int32_t value_ __attribute__((swift_name("value_"))); +@end; + +__attribute__((swift_name("ContactConnectionStatus"))) +@interface PAPIContactConnectionStatus : PAPIBase +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIContactConnectionStatusCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly, getter=name_) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) int32_t value_ __attribute__((swift_name("value_"))); +@end; + +__attribute__((swift_name("MessageEnumCompanion"))) +@protocol PAPIMessageEnumCompanion +@required +- (id)fromNameName:(NSString *)name __attribute__((swift_name("fromName(name:)"))); +- (id)fromValueValue:(int32_t)value __attribute__((swift_name("fromValue(value:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ContactConnectionStatus.Companion"))) +@interface PAPIContactConnectionStatusCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIContactConnectionStatusCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIContactConnectionStatus *)fromNameName:(NSString *)name __attribute__((swift_name("fromName(name:)"))); +- (PAPIContactConnectionStatus *)fromValueValue:(int32_t)value __attribute__((swift_name("fromValue(value:)"))); +@property (readonly) NSArray *values __attribute__((swift_name("values"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ContactConnectionStatus.STATUS_CONNECTION_ACCEPTED"))) +@interface PAPIContactConnectionStatusSTATUS_CONNECTION_ACCEPTED : PAPIContactConnectionStatus ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)sTATUS_CONNECTION_ACCEPTED __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIContactConnectionStatusSTATUS_CONNECTION_ACCEPTED *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ContactConnectionStatus.STATUS_CONNECTION_MISSING"))) +@interface PAPIContactConnectionStatusSTATUS_CONNECTION_MISSING : PAPIContactConnectionStatus ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)sTATUS_CONNECTION_MISSING __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIContactConnectionStatusSTATUS_CONNECTION_MISSING *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ContactConnectionStatus.STATUS_CONNECTION_REVOKED"))) +@interface PAPIContactConnectionStatusSTATUS_CONNECTION_REVOKED : PAPIContactConnectionStatus ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)sTATUS_CONNECTION_REVOKED __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIContactConnectionStatusSTATUS_CONNECTION_REVOKED *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ContactConnectionStatus.STATUS_INVITATION_MISSING"))) +@interface PAPIContactConnectionStatusSTATUS_INVITATION_MISSING : PAPIContactConnectionStatus ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)sTATUS_INVITATION_MISSING __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIContactConnectionStatusSTATUS_INVITATION_MISSING *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ContactConnectionStatus.STATUS_MISSING"))) +@interface PAPIContactConnectionStatusSTATUS_MISSING : PAPIContactConnectionStatus ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)sTATUS_MISSING __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIContactConnectionStatusSTATUS_MISSING *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ContactConnectionStatus.UNRECOGNIZED"))) +@interface PAPIContactConnectionStatusUNRECOGNIZED : PAPIContactConnectionStatus +- (instancetype)initWithValue:(int32_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((swift_name("ContactsServiceCoroutine"))) +@protocol PAPIContactsServiceCoroutine +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateContactReq:(PAPICreateContactRequest *)req completionHandler:(void (^)(PAPICreateContactResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateContact(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateContactAuthReq:(PAPICreateContactRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPICreateContactResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateContactAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateContactsReq:(PAPICreateContactsRequest *)req completionHandler:(void (^)(PAPICreateContactsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateContacts(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateContactsAuthReq:(PAPICreateContactsRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPICreateContactsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateContactsAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)DeleteContactReq:(PAPIDeleteContactRequest *)req completionHandler:(void (^)(PAPIDeleteContactResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("DeleteContact(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)DeleteContactAuthReq:(PAPIDeleteContactRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIDeleteContactResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("DeleteContactAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GenerateConnectionTokenForContactReq:(PAPIGenerateConnectionTokenForContactRequest *)req completionHandler:(void (^)(PAPIGenerateConnectionTokenForContactResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GenerateConnectionTokenForContact(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GenerateConnectionTokenForContactAuthReq:(PAPIGenerateConnectionTokenForContactRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGenerateConnectionTokenForContactResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GenerateConnectionTokenForContactAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetContactReq:(PAPIGetContactRequest *)req completionHandler:(void (^)(PAPIGetContactResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetContact(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetContactAuthReq:(PAPIGetContactRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetContactResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetContactAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetContactsReq:(PAPIGetContactsRequest *)req completionHandler:(void (^)(PAPIGetContactsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetContacts(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetContactsAuthReq:(PAPIGetContactsRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetContactsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetContactsAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)UpdateContactReq:(PAPIUpdateContactRequest *)req completionHandler:(void (^)(PAPIUpdateContactResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("UpdateContact(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)UpdateContactAuthReq:(PAPIUpdateContactRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIUpdateContactResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("UpdateContactAuth(req:metadata:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ContactsServiceCoroutineClient"))) +@interface PAPIContactsServiceCoroutineClient : PAPIBase +- (instancetype)initWithClient:(PAPIGrpcClient *)client __attribute__((swift_name("init(client:)"))) __attribute__((objc_designated_initializer)); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateContactReq:(PAPICreateContactRequest *)req completionHandler:(void (^)(PAPICreateContactResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateContact(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateContactAuthReq:(PAPICreateContactRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPICreateContactResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateContactAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateContactsReq:(PAPICreateContactsRequest *)req completionHandler:(void (^)(PAPICreateContactsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateContacts(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateContactsAuthReq:(PAPICreateContactsRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPICreateContactsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateContactsAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)DeleteContactReq:(PAPIDeleteContactRequest *)req completionHandler:(void (^)(PAPIDeleteContactResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("DeleteContact(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)DeleteContactAuthReq:(PAPIDeleteContactRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIDeleteContactResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("DeleteContactAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GenerateConnectionTokenForContactReq:(PAPIGenerateConnectionTokenForContactRequest *)req completionHandler:(void (^)(PAPIGenerateConnectionTokenForContactResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GenerateConnectionTokenForContact(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GenerateConnectionTokenForContactAuthReq:(PAPIGenerateConnectionTokenForContactRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGenerateConnectionTokenForContactResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GenerateConnectionTokenForContactAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetContactReq:(PAPIGetContactRequest *)req completionHandler:(void (^)(PAPIGetContactResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetContact(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetContactAuthReq:(PAPIGetContactRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetContactResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetContactAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetContactsReq:(PAPIGetContactsRequest *)req completionHandler:(void (^)(PAPIGetContactsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetContacts(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetContactsAuthReq:(PAPIGetContactsRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetContactsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetContactsAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)UpdateContactReq:(PAPIUpdateContactRequest *)req completionHandler:(void (^)(PAPIUpdateContactResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("UpdateContact(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)UpdateContactAuthReq:(PAPIUpdateContactRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIUpdateContactResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("UpdateContactAuth(req:metadata:completionHandler:)"))); +- (void)close __attribute__((swift_name("close()"))); +@property (readonly) PAPIGrpcClient *client __attribute__((swift_name("client"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CopyGroupRequest"))) +@interface PAPICopyGroupRequest : PAPIBase +- (instancetype)initWithGroupId:(NSString *)groupId name:(NSString *)name unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(groupId:name:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICopyGroupRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPICopyGroupRequest *)doCopyGroupId:(NSString *)groupId name:(NSString *)name unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(groupId:name:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICopyGroupRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *groupId __attribute__((swift_name("groupId"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CopyGroupRequest.Companion"))) +@interface PAPICopyGroupRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICopyGroupRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICopyGroupRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICopyGroupRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CopyGroupResponse"))) +@interface PAPICopyGroupResponse : PAPIBase +- (instancetype)initWithGroupId:(NSString *)groupId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(groupId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICopyGroupResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPICopyGroupResponse *)doCopyGroupId:(NSString *)groupId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(groupId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICopyGroupResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *groupId __attribute__((swift_name("groupId"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CopyGroupResponse.Companion"))) +@interface PAPICopyGroupResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICopyGroupResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICopyGroupResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICopyGroupResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateContactRequest"))) +@interface PAPICreateContactRequest : PAPIBase +- (instancetype)initWithGroupName:(NSString *)groupName jsonData:(NSString *)jsonData externalId:(NSString *)externalId name:(NSString *)name generateConnectionTokensRequestMetadata:(PAPIConnectorRequestMetadata * _Nullable)generateConnectionTokensRequestMetadata unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(groupName:jsonData:externalId:name:generateConnectionTokensRequestMetadata:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICreateContactRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (NSString *)component3 __attribute__((swift_name("component3()"))); +- (NSString *)component4 __attribute__((swift_name("component4()"))); +- (PAPIConnectorRequestMetadata * _Nullable)component5 __attribute__((swift_name("component5()"))); +- (NSDictionary *)component6 __attribute__((swift_name("component6()"))); +- (PAPICreateContactRequest *)doCopyGroupName:(NSString *)groupName jsonData:(NSString *)jsonData externalId:(NSString *)externalId name:(NSString *)name generateConnectionTokensRequestMetadata:(PAPIConnectorRequestMetadata * _Nullable)generateConnectionTokensRequestMetadata unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(groupName:jsonData:externalId:name:generateConnectionTokensRequestMetadata:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICreateContactRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *externalId __attribute__((swift_name("externalId"))); +@property (readonly) PAPIConnectorRequestMetadata * _Nullable generateConnectionTokensRequestMetadata __attribute__((swift_name("generateConnectionTokensRequestMetadata"))); +@property (readonly) NSString *groupName __attribute__((swift_name("groupName"))); +@property (readonly) NSString *jsonData __attribute__((swift_name("jsonData"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateContactRequest.Companion"))) +@interface PAPICreateContactRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICreateContactRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICreateContactRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICreateContactRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateContactResponse"))) +@interface PAPICreateContactResponse : PAPIBase +- (instancetype)initWithContact:(PAPIContact * _Nullable)contact unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(contact:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICreateContactResponseCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIContact * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPICreateContactResponse *)doCopyContact:(PAPIContact * _Nullable)contact unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(contact:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICreateContactResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIContact * _Nullable contact __attribute__((swift_name("contact"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateContactResponse.Companion"))) +@interface PAPICreateContactResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICreateContactResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICreateContactResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICreateContactResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateContactsRequest"))) +@interface PAPICreateContactsRequest : PAPIBase +- (instancetype)initWithGroups:(NSArray *)groups contacts:(NSArray *)contacts generateConnectionTokensRequestMetadata:(PAPIConnectorRequestMetadata * _Nullable)generateConnectionTokensRequestMetadata unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(groups:contacts:generateConnectionTokensRequestMetadata:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICreateContactsRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSArray *)component2 __attribute__((swift_name("component2()"))); +- (PAPIConnectorRequestMetadata * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPICreateContactsRequest *)doCopyGroups:(NSArray *)groups contacts:(NSArray *)contacts generateConnectionTokensRequestMetadata:(PAPIConnectorRequestMetadata * _Nullable)generateConnectionTokensRequestMetadata unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(groups:contacts:generateConnectionTokensRequestMetadata:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICreateContactsRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSArray *contacts __attribute__((swift_name("contacts"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIConnectorRequestMetadata * _Nullable generateConnectionTokensRequestMetadata __attribute__((swift_name("generateConnectionTokensRequestMetadata"))); +@property (readonly) NSArray *groups __attribute__((swift_name("groups"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateContactsRequest.Companion"))) +@interface PAPICreateContactsRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICreateContactsRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICreateContactsRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICreateContactsRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateContactsRequest.Contact"))) +@interface PAPICreateContactsRequestContact : PAPIBase +- (instancetype)initWithExternalId:(NSString *)externalId name:(NSString *)name jsonData:(NSString *)jsonData unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(externalId:name:jsonData:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICreateContactsRequestContactCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (NSString *)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPICreateContactsRequestContact *)doCopyExternalId:(NSString *)externalId name:(NSString *)name jsonData:(NSString *)jsonData unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(externalId:name:jsonData:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICreateContactsRequestContact *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *externalId __attribute__((swift_name("externalId"))); +@property (readonly) NSString *jsonData __attribute__((swift_name("jsonData"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateContactsRequest.ContactCompanion"))) +@interface PAPICreateContactsRequestContactCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICreateContactsRequestContactCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICreateContactsRequestContact *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICreateContactsRequestContact *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateContactsResponse"))) +@interface PAPICreateContactsResponse : PAPIBase +- (instancetype)initWithContactsCreated:(int32_t)contactsCreated unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(contactsCreated:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICreateContactsResponseCompanion *companion __attribute__((swift_name("companion"))); +- (int32_t)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPICreateContactsResponse *)doCopyContactsCreated:(int32_t)contactsCreated unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(contactsCreated:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICreateContactsResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) int32_t contactsCreated __attribute__((swift_name("contactsCreated"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateContactsResponse.Companion"))) +@interface PAPICreateContactsResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICreateContactsResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICreateContactsResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICreateContactsResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateCredentialIssuanceRequest"))) +@interface PAPICreateCredentialIssuanceRequest : PAPIBase +- (instancetype)initWithName:(NSString *)name credentialTypeId:(NSString *)credentialTypeId credentialIssuanceContacts:(NSArray *)credentialIssuanceContacts unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(name:credentialTypeId:credentialIssuanceContacts:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICreateCredentialIssuanceRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (NSArray *)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPICreateCredentialIssuanceRequest *)doCopyName:(NSString *)name credentialTypeId:(NSString *)credentialTypeId credentialIssuanceContacts:(NSArray *)credentialIssuanceContacts unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(name:credentialTypeId:credentialIssuanceContacts:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICreateCredentialIssuanceRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSArray *credentialIssuanceContacts __attribute__((swift_name("credentialIssuanceContacts"))); +@property (readonly) NSString *credentialTypeId __attribute__((swift_name("credentialTypeId"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateCredentialIssuanceRequest.Companion"))) +@interface PAPICreateCredentialIssuanceRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICreateCredentialIssuanceRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICreateCredentialIssuanceRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICreateCredentialIssuanceRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateCredentialIssuanceResponse"))) +@interface PAPICreateCredentialIssuanceResponse : PAPIBase +- (instancetype)initWithCredentialIssuanceId:(NSString *)credentialIssuanceId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(credentialIssuanceId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICreateCredentialIssuanceResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPICreateCredentialIssuanceResponse *)doCopyCredentialIssuanceId:(NSString *)credentialIssuanceId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(credentialIssuanceId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICreateCredentialIssuanceResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *credentialIssuanceId __attribute__((swift_name("credentialIssuanceId"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateCredentialIssuanceResponse.Companion"))) +@interface PAPICreateCredentialIssuanceResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICreateCredentialIssuanceResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICreateCredentialIssuanceResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICreateCredentialIssuanceResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateCredentialType"))) +@interface PAPICreateCredentialType : PAPIBase +- (instancetype)initWithName:(NSString *)name template:(NSString *)template_ icon:(PAPIByteArr *)icon fields:(NSArray *)fields unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(name:template:icon:fields:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICreateCredentialTypeCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (PAPIByteArr *)component3 __attribute__((swift_name("component3()"))); +- (NSArray *)component4 __attribute__((swift_name("component4()"))); +- (NSDictionary *)component5 __attribute__((swift_name("component5()"))); +- (PAPICreateCredentialType *)doCopyName:(NSString *)name template:(NSString *)template_ icon:(PAPIByteArr *)icon fields:(NSArray *)fields unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(name:template:icon:fields:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICreateCredentialType *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSArray *fields __attribute__((swift_name("fields"))); +@property (readonly) PAPIByteArr *icon __attribute__((swift_name("icon"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly, getter=template) NSString *template_ __attribute__((swift_name("template_"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateCredentialType.Companion"))) +@interface PAPICreateCredentialTypeCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICreateCredentialTypeCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICreateCredentialType *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICreateCredentialType *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateCredentialTypeCategory"))) +@interface PAPICreateCredentialTypeCategory : PAPIBase +- (instancetype)initWithName:(NSString *)name state:(PAPICredentialTypeCategoryState *)state unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(name:state:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICreateCredentialTypeCategoryCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPICredentialTypeCategoryState *)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPICreateCredentialTypeCategory *)doCopyName:(NSString *)name state:(PAPICredentialTypeCategoryState *)state unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(name:state:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICreateCredentialTypeCategory *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPICredentialTypeCategoryState *state __attribute__((swift_name("state"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateCredentialTypeCategory.Companion"))) +@interface PAPICreateCredentialTypeCategoryCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICreateCredentialTypeCategoryCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICreateCredentialTypeCategory *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICreateCredentialTypeCategory *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateCredentialTypeCategoryRequest"))) +@interface PAPICreateCredentialTypeCategoryRequest : PAPIBase +- (instancetype)initWithCredentialTypeCategory:(PAPICreateCredentialTypeCategory * _Nullable)credentialTypeCategory unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(credentialTypeCategory:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICreateCredentialTypeCategoryRequestCompanion *companion __attribute__((swift_name("companion"))); +- (PAPICreateCredentialTypeCategory * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPICreateCredentialTypeCategoryRequest *)doCopyCredentialTypeCategory:(PAPICreateCredentialTypeCategory * _Nullable)credentialTypeCategory unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(credentialTypeCategory:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICreateCredentialTypeCategoryRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPICreateCredentialTypeCategory * _Nullable credentialTypeCategory __attribute__((swift_name("credentialTypeCategory"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateCredentialTypeCategoryRequest.Companion"))) +@interface PAPICreateCredentialTypeCategoryRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICreateCredentialTypeCategoryRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICreateCredentialTypeCategoryRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICreateCredentialTypeCategoryRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateCredentialTypeCategoryResponse"))) +@interface PAPICreateCredentialTypeCategoryResponse : PAPIBase +- (instancetype)initWithCredentialTypeCategory:(PAPICredentialTypeCategory * _Nullable)credentialTypeCategory unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(credentialTypeCategory:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICreateCredentialTypeCategoryResponseCompanion *companion __attribute__((swift_name("companion"))); +- (PAPICredentialTypeCategory * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPICreateCredentialTypeCategoryResponse *)doCopyCredentialTypeCategory:(PAPICredentialTypeCategory * _Nullable)credentialTypeCategory unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(credentialTypeCategory:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICreateCredentialTypeCategoryResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPICredentialTypeCategory * _Nullable credentialTypeCategory __attribute__((swift_name("credentialTypeCategory"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateCredentialTypeCategoryResponse.Companion"))) +@interface PAPICreateCredentialTypeCategoryResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICreateCredentialTypeCategoryResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICreateCredentialTypeCategoryResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICreateCredentialTypeCategoryResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateCredentialTypeField"))) +@interface PAPICreateCredentialTypeField : PAPIBase +- (instancetype)initWithName:(NSString *)name description:(NSString *)description type:(PAPICredentialTypeFieldType *)type unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(name:description:type:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICreateCredentialTypeFieldCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (PAPICredentialTypeFieldType *)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPICreateCredentialTypeField *)doCopyName:(NSString *)name description:(NSString *)description type:(PAPICredentialTypeFieldType *)type unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(name:description:type:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICreateCredentialTypeField *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *description_ __attribute__((swift_name("description_"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPICredentialTypeFieldType *type __attribute__((swift_name("type"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateCredentialTypeField.Companion"))) +@interface PAPICreateCredentialTypeFieldCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICreateCredentialTypeFieldCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICreateCredentialTypeField *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICreateCredentialTypeField *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateCredentialTypeRequest"))) +@interface PAPICreateCredentialTypeRequest : PAPIBase +- (instancetype)initWithCredentialType:(PAPICreateCredentialType * _Nullable)credentialType unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(credentialType:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICreateCredentialTypeRequestCompanion *companion __attribute__((swift_name("companion"))); +- (PAPICreateCredentialType * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPICreateCredentialTypeRequest *)doCopyCredentialType:(PAPICreateCredentialType * _Nullable)credentialType unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(credentialType:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICreateCredentialTypeRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPICreateCredentialType * _Nullable credentialType __attribute__((swift_name("credentialType"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateCredentialTypeRequest.Companion"))) +@interface PAPICreateCredentialTypeRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICreateCredentialTypeRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICreateCredentialTypeRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICreateCredentialTypeRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateCredentialTypeResponse"))) +@interface PAPICreateCredentialTypeResponse : PAPIBase +- (instancetype)initWithCredentialType:(PAPICredentialTypeWithRequiredFields * _Nullable)credentialType unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(credentialType:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICreateCredentialTypeResponseCompanion *companion __attribute__((swift_name("companion"))); +- (PAPICredentialTypeWithRequiredFields * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPICreateCredentialTypeResponse *)doCopyCredentialType:(PAPICredentialTypeWithRequiredFields * _Nullable)credentialType unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(credentialType:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICreateCredentialTypeResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPICredentialTypeWithRequiredFields * _Nullable credentialType __attribute__((swift_name("credentialType"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateCredentialTypeResponse.Companion"))) +@interface PAPICreateCredentialTypeResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICreateCredentialTypeResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICreateCredentialTypeResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICreateCredentialTypeResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateDIDOperation"))) +@interface PAPICreateDIDOperation : PAPIBase +- (instancetype)initWithDidData:(PAPICreateDIDOperationDIDCreationData * _Nullable)didData unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(didData:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICreateDIDOperationCompanion *companion __attribute__((swift_name("companion"))); +- (PAPICreateDIDOperationDIDCreationData * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPICreateDIDOperation *)doCopyDidData:(PAPICreateDIDOperationDIDCreationData * _Nullable)didData unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(didData:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICreateDIDOperation *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPICreateDIDOperationDIDCreationData * _Nullable didData __attribute__((swift_name("didData"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateDIDOperation.Companion"))) +@interface PAPICreateDIDOperationCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICreateDIDOperationCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICreateDIDOperation *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICreateDIDOperation *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateDIDOperation.DIDCreationData"))) +@interface PAPICreateDIDOperationDIDCreationData : PAPIBase +- (instancetype)initWithPublicKeys:(NSArray *)publicKeys unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(publicKeys:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICreateDIDOperationDIDCreationDataCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPICreateDIDOperationDIDCreationData *)doCopyPublicKeys:(NSArray *)publicKeys unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(publicKeys:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICreateDIDOperationDIDCreationData *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSArray *publicKeys __attribute__((swift_name("publicKeys"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateDIDOperation.DIDCreationDataCompanion"))) +@interface PAPICreateDIDOperationDIDCreationDataCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICreateDIDOperationDIDCreationDataCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICreateDIDOperationDIDCreationData *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICreateDIDOperationDIDCreationData *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateDIDOutput"))) +@interface PAPICreateDIDOutput : PAPIBase +- (instancetype)initWithDidSuffix:(NSString *)didSuffix unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(didSuffix:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICreateDIDOutputCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPICreateDIDOutput *)doCopyDidSuffix:(NSString *)didSuffix unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(didSuffix:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICreateDIDOutput *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *didSuffix __attribute__((swift_name("didSuffix"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateDIDOutput.Companion"))) +@interface PAPICreateDIDOutputCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICreateDIDOutputCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICreateDIDOutput *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICreateDIDOutput *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateGenericCredentialBulkRequest"))) +@interface PAPICreateGenericCredentialBulkRequest : PAPIBase +- (instancetype)initWithCredentialsJson:(NSString *)credentialsJson unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(credentialsJson:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICreateGenericCredentialBulkRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPICreateGenericCredentialBulkRequest *)doCopyCredentialsJson:(NSString *)credentialsJson unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(credentialsJson:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICreateGenericCredentialBulkRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *credentialsJson __attribute__((swift_name("credentialsJson"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateGenericCredentialBulkRequest.Companion"))) +@interface PAPICreateGenericCredentialBulkRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICreateGenericCredentialBulkRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICreateGenericCredentialBulkRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICreateGenericCredentialBulkRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateGenericCredentialBulkResponse"))) +@interface PAPICreateGenericCredentialBulkResponse : PAPIBase +- (instancetype)initWithCredentialIssuanceId:(NSString *)credentialIssuanceId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(credentialIssuanceId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICreateGenericCredentialBulkResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPICreateGenericCredentialBulkResponse *)doCopyCredentialIssuanceId:(NSString *)credentialIssuanceId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(credentialIssuanceId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICreateGenericCredentialBulkResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *credentialIssuanceId __attribute__((swift_name("credentialIssuanceId"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateGenericCredentialBulkResponse.Companion"))) +@interface PAPICreateGenericCredentialBulkResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICreateGenericCredentialBulkResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICreateGenericCredentialBulkResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICreateGenericCredentialBulkResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateGenericCredentialRequest"))) +@interface PAPICreateGenericCredentialRequest : PAPIBase +- (instancetype)initWithContactId:(NSString *)contactId credentialData:(NSString *)credentialData externalId:(NSString *)externalId credentialTypeId:(NSString *)credentialTypeId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(contactId:credentialData:externalId:credentialTypeId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICreateGenericCredentialRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (NSString *)component3 __attribute__((swift_name("component3()"))); +- (NSString *)component4 __attribute__((swift_name("component4()"))); +- (NSDictionary *)component5 __attribute__((swift_name("component5()"))); +- (PAPICreateGenericCredentialRequest *)doCopyContactId:(NSString *)contactId credentialData:(NSString *)credentialData externalId:(NSString *)externalId credentialTypeId:(NSString *)credentialTypeId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(contactId:credentialData:externalId:credentialTypeId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICreateGenericCredentialRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *contactId __attribute__((swift_name("contactId"))); +@property (readonly) NSString *credentialData __attribute__((swift_name("credentialData"))); +@property (readonly) NSString *credentialTypeId __attribute__((swift_name("credentialTypeId"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *externalId __attribute__((swift_name("externalId"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateGenericCredentialRequest.Companion"))) +@interface PAPICreateGenericCredentialRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICreateGenericCredentialRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICreateGenericCredentialRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICreateGenericCredentialRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateGenericCredentialResponse"))) +@interface PAPICreateGenericCredentialResponse : PAPIBase +- (instancetype)initWithGenericCredential:(PAPICManagerGenericCredential * _Nullable)genericCredential unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(genericCredential:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICreateGenericCredentialResponseCompanion *companion __attribute__((swift_name("companion"))); +- (PAPICManagerGenericCredential * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPICreateGenericCredentialResponse *)doCopyGenericCredential:(PAPICManagerGenericCredential * _Nullable)genericCredential unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(genericCredential:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICreateGenericCredentialResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPICManagerGenericCredential * _Nullable genericCredential __attribute__((swift_name("genericCredential"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateGenericCredentialResponse.Companion"))) +@interface PAPICreateGenericCredentialResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICreateGenericCredentialResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICreateGenericCredentialResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICreateGenericCredentialResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateGroupRequest"))) +@interface PAPICreateGroupRequest : PAPIBase +- (instancetype)initWithName:(NSString *)name contactIds:(NSArray *)contactIds unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(name:contactIds:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICreateGroupRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSArray *)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPICreateGroupRequest *)doCopyName:(NSString *)name contactIds:(NSArray *)contactIds unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(name:contactIds:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICreateGroupRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSArray *contactIds __attribute__((swift_name("contactIds"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateGroupRequest.Companion"))) +@interface PAPICreateGroupRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICreateGroupRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICreateGroupRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICreateGroupRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateGroupResponse"))) +@interface PAPICreateGroupResponse : PAPIBase +- (instancetype)initWithGroup:(PAPIGroup * _Nullable)group unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(group:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICreateGroupResponseCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIGroup * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPICreateGroupResponse *)doCopyGroup:(PAPIGroup * _Nullable)group unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(group:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICreateGroupResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIGroup * _Nullable group __attribute__((swift_name("group"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateGroupResponse.Companion"))) +@interface PAPICreateGroupResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICreateGroupResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICreateGroupResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICreateGroupResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialBatchData"))) +@interface PAPICredentialBatchData : PAPIBase +- (instancetype)initWithIssuerDid:(NSString *)issuerDid merkleRoot:(PAPIByteArr *)merkleRoot unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(issuerDid:merkleRoot:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICredentialBatchDataCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIByteArr *)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPICredentialBatchData *)doCopyIssuerDid:(NSString *)issuerDid merkleRoot:(PAPIByteArr *)merkleRoot unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(issuerDid:merkleRoot:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICredentialBatchData *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *issuerDid __attribute__((swift_name("issuerDid"))); +@property (readonly) PAPIByteArr *merkleRoot __attribute__((swift_name("merkleRoot"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialBatchData.Companion"))) +@interface PAPICredentialBatchDataCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICredentialBatchDataCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICredentialBatchData *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICredentialBatchData *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialIssuanceContact"))) +@interface PAPICredentialIssuanceContact : PAPIBase +- (instancetype)initWithContactId:(NSString *)contactId credentialData:(NSString *)credentialData groupIds:(NSArray *)groupIds unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(contactId:credentialData:groupIds:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICredentialIssuanceContactCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (NSArray *)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPICredentialIssuanceContact *)doCopyContactId:(NSString *)contactId credentialData:(NSString *)credentialData groupIds:(NSArray *)groupIds unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(contactId:credentialData:groupIds:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICredentialIssuanceContact *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *contactId __attribute__((swift_name("contactId"))); +@property (readonly) NSString *credentialData __attribute__((swift_name("credentialData"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSArray *groupIds __attribute__((swift_name("groupIds"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialIssuanceContact.Companion"))) +@interface PAPICredentialIssuanceContactCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICredentialIssuanceContactCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICredentialIssuanceContact *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICredentialIssuanceContact *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("CredentialIssuanceServiceCoroutine"))) +@protocol PAPICredentialIssuanceServiceCoroutine +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateCredentialIssuanceReq:(PAPICreateCredentialIssuanceRequest *)req completionHandler:(void (^)(PAPICreateCredentialIssuanceResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateCredentialIssuance(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateCredentialIssuanceAuthReq:(PAPICreateCredentialIssuanceRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPICreateCredentialIssuanceResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateCredentialIssuanceAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateGenericCredentialBulkReq:(PAPICreateGenericCredentialBulkRequest *)req completionHandler:(void (^)(PAPICreateGenericCredentialBulkResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateGenericCredentialBulk(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateGenericCredentialBulkAuthReq:(PAPICreateGenericCredentialBulkRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPICreateGenericCredentialBulkResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateGenericCredentialBulkAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetCredentialIssuanceReq:(PAPIGetCredentialIssuanceRequest *)req completionHandler:(void (^)(PAPIGetCredentialIssuanceResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetCredentialIssuance(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetCredentialIssuanceAuthReq:(PAPIGetCredentialIssuanceRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetCredentialIssuanceResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetCredentialIssuanceAuth(req:metadata:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialIssuanceServiceCoroutineClient"))) +@interface PAPICredentialIssuanceServiceCoroutineClient : PAPIBase +- (instancetype)initWithClient:(PAPIGrpcClient *)client __attribute__((swift_name("init(client:)"))) __attribute__((objc_designated_initializer)); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateCredentialIssuanceReq:(PAPICreateCredentialIssuanceRequest *)req completionHandler:(void (^)(PAPICreateCredentialIssuanceResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateCredentialIssuance(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateCredentialIssuanceAuthReq:(PAPICreateCredentialIssuanceRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPICreateCredentialIssuanceResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateCredentialIssuanceAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateGenericCredentialBulkReq:(PAPICreateGenericCredentialBulkRequest *)req completionHandler:(void (^)(PAPICreateGenericCredentialBulkResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateGenericCredentialBulk(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateGenericCredentialBulkAuthReq:(PAPICreateGenericCredentialBulkRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPICreateGenericCredentialBulkResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateGenericCredentialBulkAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetCredentialIssuanceReq:(PAPIGetCredentialIssuanceRequest *)req completionHandler:(void (^)(PAPIGetCredentialIssuanceResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetCredentialIssuance(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetCredentialIssuanceAuthReq:(PAPIGetCredentialIssuanceRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetCredentialIssuanceResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetCredentialIssuanceAuth(req:metadata:completionHandler:)"))); +- (void)close __attribute__((swift_name("close()"))); +@property (readonly) PAPIGrpcClient *client __attribute__((swift_name("client"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialRevoked"))) +@interface PAPICredentialRevoked : PAPIBase +- (instancetype)initWithEncodedCredential:(NSString *)encodedCredential reason:(NSString *)reason unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(encodedCredential:reason:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICredentialRevokedCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPICredentialRevoked *)doCopyEncodedCredential:(NSString *)encodedCredential reason:(NSString *)reason unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(encodedCredential:reason:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICredentialRevoked *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *encodedCredential __attribute__((swift_name("encodedCredential"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSString *reason __attribute__((swift_name("reason"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialRevoked.Companion"))) +@interface PAPICredentialRevokedCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICredentialRevokedCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICredentialRevoked *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICredentialRevoked *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialType"))) +@interface PAPICredentialType : PAPIBase +- (instancetype)initWithId:(NSString *)id name:(NSString *)name state:(PAPICredentialTypeState *)state template:(NSString *)template_ createdAt:(PAPITimestamp * _Nullable)createdAt icon:(PAPIByteArr *)icon unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(id:name:state:template:createdAt:icon:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICredentialTypeCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (PAPICredentialTypeState *)component3 __attribute__((swift_name("component3()"))); +- (NSString *)component4 __attribute__((swift_name("component4()"))); +- (PAPITimestamp * _Nullable)component5 __attribute__((swift_name("component5()"))); +- (PAPIByteArr *)component6 __attribute__((swift_name("component6()"))); +- (NSDictionary *)component7 __attribute__((swift_name("component7()"))); +- (PAPICredentialType *)doCopyId:(NSString *)id name:(NSString *)name state:(PAPICredentialTypeState *)state template:(NSString *)template_ createdAt:(PAPITimestamp * _Nullable)createdAt icon:(PAPIByteArr *)icon unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(id:name:state:template:createdAt:icon:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICredentialType *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPITimestamp * _Nullable createdAt __attribute__((swift_name("createdAt"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIByteArr *icon __attribute__((swift_name("icon"))); +@property (readonly) NSString *id __attribute__((swift_name("id"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPICredentialTypeState *state __attribute__((swift_name("state"))); +@property (readonly, getter=template) NSString *template_ __attribute__((swift_name("template_"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialType.Companion"))) +@interface PAPICredentialTypeCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICredentialTypeCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICredentialType *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICredentialType *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("CredentialTypeCategoriesServiceCoroutine"))) +@protocol PAPICredentialTypeCategoriesServiceCoroutine +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)ArchiveCredentialTypeCategoryReq:(PAPIArchiveCredentialTypeCategoryRequest *)req completionHandler:(void (^)(PAPIArchiveCredentialTypeCategoryResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("ArchiveCredentialTypeCategory(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)ArchiveCredentialTypeCategoryAuthReq:(PAPIArchiveCredentialTypeCategoryRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIArchiveCredentialTypeCategoryResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("ArchiveCredentialTypeCategoryAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateCredentialTypeCategoryReq:(PAPICreateCredentialTypeCategoryRequest *)req completionHandler:(void (^)(PAPICreateCredentialTypeCategoryResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateCredentialTypeCategory(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateCredentialTypeCategoryAuthReq:(PAPICreateCredentialTypeCategoryRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPICreateCredentialTypeCategoryResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateCredentialTypeCategoryAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetCredentialTypeCategoriesReq:(PAPIGetCredentialTypeCategoriesRequest *)req completionHandler:(void (^)(PAPIGetCredentialTypeCategoriesResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetCredentialTypeCategories(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetCredentialTypeCategoriesAuthReq:(PAPIGetCredentialTypeCategoriesRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetCredentialTypeCategoriesResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetCredentialTypeCategoriesAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)UnArchiveCredentialTypeCategoryReq:(PAPIUnArchiveCredentialTypeCategoryRequest *)req completionHandler:(void (^)(PAPIUnArchiveCredentialTypeCategoryResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("UnArchiveCredentialTypeCategory(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)UnArchiveCredentialTypeCategoryAuthReq:(PAPIUnArchiveCredentialTypeCategoryRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIUnArchiveCredentialTypeCategoryResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("UnArchiveCredentialTypeCategoryAuth(req:metadata:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialTypeCategoriesServiceCoroutineClient"))) +@interface PAPICredentialTypeCategoriesServiceCoroutineClient : PAPIBase +- (instancetype)initWithClient:(PAPIGrpcClient *)client __attribute__((swift_name("init(client:)"))) __attribute__((objc_designated_initializer)); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)ArchiveCredentialTypeCategoryReq:(PAPIArchiveCredentialTypeCategoryRequest *)req completionHandler:(void (^)(PAPIArchiveCredentialTypeCategoryResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("ArchiveCredentialTypeCategory(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)ArchiveCredentialTypeCategoryAuthReq:(PAPIArchiveCredentialTypeCategoryRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIArchiveCredentialTypeCategoryResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("ArchiveCredentialTypeCategoryAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateCredentialTypeCategoryReq:(PAPICreateCredentialTypeCategoryRequest *)req completionHandler:(void (^)(PAPICreateCredentialTypeCategoryResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateCredentialTypeCategory(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateCredentialTypeCategoryAuthReq:(PAPICreateCredentialTypeCategoryRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPICreateCredentialTypeCategoryResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateCredentialTypeCategoryAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetCredentialTypeCategoriesReq:(PAPIGetCredentialTypeCategoriesRequest *)req completionHandler:(void (^)(PAPIGetCredentialTypeCategoriesResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetCredentialTypeCategories(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetCredentialTypeCategoriesAuthReq:(PAPIGetCredentialTypeCategoriesRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetCredentialTypeCategoriesResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetCredentialTypeCategoriesAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)UnArchiveCredentialTypeCategoryReq:(PAPIUnArchiveCredentialTypeCategoryRequest *)req completionHandler:(void (^)(PAPIUnArchiveCredentialTypeCategoryResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("UnArchiveCredentialTypeCategory(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)UnArchiveCredentialTypeCategoryAuthReq:(PAPIUnArchiveCredentialTypeCategoryRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIUnArchiveCredentialTypeCategoryResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("UnArchiveCredentialTypeCategoryAuth(req:metadata:completionHandler:)"))); +- (void)close __attribute__((swift_name("close()"))); +@property (readonly) PAPIGrpcClient *client __attribute__((swift_name("client"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialTypeCategory"))) +@interface PAPICredentialTypeCategory : PAPIBase +- (instancetype)initWithId:(NSString *)id name:(NSString *)name state:(PAPICredentialTypeCategoryState *)state institutionId:(NSString *)institutionId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(id:name:state:institutionId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICredentialTypeCategoryCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (PAPICredentialTypeCategoryState *)component3 __attribute__((swift_name("component3()"))); +- (NSString *)component4 __attribute__((swift_name("component4()"))); +- (NSDictionary *)component5 __attribute__((swift_name("component5()"))); +- (PAPICredentialTypeCategory *)doCopyId:(NSString *)id name:(NSString *)name state:(PAPICredentialTypeCategoryState *)state institutionId:(NSString *)institutionId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(id:name:state:institutionId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICredentialTypeCategory *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *id __attribute__((swift_name("id"))); +@property (readonly) NSString *institutionId __attribute__((swift_name("institutionId"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPICredentialTypeCategoryState *state __attribute__((swift_name("state"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialTypeCategory.Companion"))) +@interface PAPICredentialTypeCategoryCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICredentialTypeCategoryCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICredentialTypeCategory *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICredentialTypeCategory *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("CredentialTypeCategoryState"))) +@interface PAPICredentialTypeCategoryState : PAPIBase +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICredentialTypeCategoryStateCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly, getter=name_) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) int32_t value_ __attribute__((swift_name("value_"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialTypeCategoryState.CREDENTIAL_TYPE_CATEGORY_ARCHIVED"))) +@interface PAPICredentialTypeCategoryStateCREDENTIAL_TYPE_CATEGORY_ARCHIVED : PAPICredentialTypeCategoryState ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)cREDENTIAL_TYPE_CATEGORY_ARCHIVED __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICredentialTypeCategoryStateCREDENTIAL_TYPE_CATEGORY_ARCHIVED *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialTypeCategoryState.CREDENTIAL_TYPE_CATEGORY_DRAFT"))) +@interface PAPICredentialTypeCategoryStateCREDENTIAL_TYPE_CATEGORY_DRAFT : PAPICredentialTypeCategoryState ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)cREDENTIAL_TYPE_CATEGORY_DRAFT __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICredentialTypeCategoryStateCREDENTIAL_TYPE_CATEGORY_DRAFT *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialTypeCategoryState.CREDENTIAL_TYPE_CATEGORY_READY"))) +@interface PAPICredentialTypeCategoryStateCREDENTIAL_TYPE_CATEGORY_READY : PAPICredentialTypeCategoryState ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)cREDENTIAL_TYPE_CATEGORY_READY __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICredentialTypeCategoryStateCREDENTIAL_TYPE_CATEGORY_READY *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialTypeCategoryState.Companion"))) +@interface PAPICredentialTypeCategoryStateCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICredentialTypeCategoryStateCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICredentialTypeCategoryState *)fromNameName:(NSString *)name __attribute__((swift_name("fromName(name:)"))); +- (PAPICredentialTypeCategoryState *)fromValueValue:(int32_t)value __attribute__((swift_name("fromValue(value:)"))); +@property (readonly) NSArray *values __attribute__((swift_name("values"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialTypeCategoryState.UNRECOGNIZED"))) +@interface PAPICredentialTypeCategoryStateUNRECOGNIZED : PAPICredentialTypeCategoryState +- (instancetype)initWithValue:(int32_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialTypeField"))) +@interface PAPICredentialTypeField : PAPIBase +- (instancetype)initWithId:(NSString *)id credentialTypeId:(NSString *)credentialTypeId name:(NSString *)name description:(NSString *)description type:(PAPICredentialTypeFieldType *)type unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(id:credentialTypeId:name:description:type:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICredentialTypeFieldCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (NSString *)component3 __attribute__((swift_name("component3()"))); +- (NSString *)component4 __attribute__((swift_name("component4()"))); +- (PAPICredentialTypeFieldType *)component5 __attribute__((swift_name("component5()"))); +- (NSDictionary *)component6 __attribute__((swift_name("component6()"))); +- (PAPICredentialTypeField *)doCopyId:(NSString *)id credentialTypeId:(NSString *)credentialTypeId name:(NSString *)name description:(NSString *)description type:(PAPICredentialTypeFieldType *)type unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(id:credentialTypeId:name:description:type:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICredentialTypeField *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *credentialTypeId __attribute__((swift_name("credentialTypeId"))); +@property (readonly) NSString *description_ __attribute__((swift_name("description_"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *id __attribute__((swift_name("id"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPICredentialTypeFieldType *type __attribute__((swift_name("type"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialTypeField.Companion"))) +@interface PAPICredentialTypeFieldCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICredentialTypeFieldCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICredentialTypeField *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICredentialTypeField *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("CredentialTypeFieldType"))) +@interface PAPICredentialTypeFieldType : PAPIBase +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICredentialTypeFieldTypeCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly, getter=name_) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) int32_t value_ __attribute__((swift_name("value_"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialTypeFieldType.CREDENTIAL_TYPE_FIELD_BOOLEAN"))) +@interface PAPICredentialTypeFieldTypeCREDENTIAL_TYPE_FIELD_BOOLEAN : PAPICredentialTypeFieldType ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)cREDENTIAL_TYPE_FIELD_BOOLEAN __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICredentialTypeFieldTypeCREDENTIAL_TYPE_FIELD_BOOLEAN *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialTypeFieldType.CREDENTIAL_TYPE_FIELD_DATE"))) +@interface PAPICredentialTypeFieldTypeCREDENTIAL_TYPE_FIELD_DATE : PAPICredentialTypeFieldType ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)cREDENTIAL_TYPE_FIELD_DATE __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICredentialTypeFieldTypeCREDENTIAL_TYPE_FIELD_DATE *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialTypeFieldType.CREDENTIAL_TYPE_FIELD_INT"))) +@interface PAPICredentialTypeFieldTypeCREDENTIAL_TYPE_FIELD_INT : PAPICredentialTypeFieldType ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)cREDENTIAL_TYPE_FIELD_INT __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICredentialTypeFieldTypeCREDENTIAL_TYPE_FIELD_INT *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialTypeFieldType.CREDENTIAL_TYPE_FIELD_STRING"))) +@interface PAPICredentialTypeFieldTypeCREDENTIAL_TYPE_FIELD_STRING : PAPICredentialTypeFieldType ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)cREDENTIAL_TYPE_FIELD_STRING __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICredentialTypeFieldTypeCREDENTIAL_TYPE_FIELD_STRING *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialTypeFieldType.CREDENTIAL_TYPE_FIELD_UNKNOWN"))) +@interface PAPICredentialTypeFieldTypeCREDENTIAL_TYPE_FIELD_UNKNOWN : PAPICredentialTypeFieldType ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)cREDENTIAL_TYPE_FIELD_UNKNOWN __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICredentialTypeFieldTypeCREDENTIAL_TYPE_FIELD_UNKNOWN *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialTypeFieldType.Companion"))) +@interface PAPICredentialTypeFieldTypeCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICredentialTypeFieldTypeCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICredentialTypeFieldType *)fromNameName:(NSString *)name __attribute__((swift_name("fromName(name:)"))); +- (PAPICredentialTypeFieldType *)fromValueValue:(int32_t)value __attribute__((swift_name("fromValue(value:)"))); +@property (readonly) NSArray *values __attribute__((swift_name("values"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialTypeFieldType.UNRECOGNIZED"))) +@interface PAPICredentialTypeFieldTypeUNRECOGNIZED : PAPICredentialTypeFieldType +- (instancetype)initWithValue:(int32_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((swift_name("CredentialTypeState"))) +@interface PAPICredentialTypeState : PAPIBase +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICredentialTypeStateCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly, getter=name_) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) int32_t value_ __attribute__((swift_name("value_"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialTypeState.CREDENTIAL_TYPE_ARCHIVED"))) +@interface PAPICredentialTypeStateCREDENTIAL_TYPE_ARCHIVED : PAPICredentialTypeState ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)cREDENTIAL_TYPE_ARCHIVED __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICredentialTypeStateCREDENTIAL_TYPE_ARCHIVED *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialTypeState.CREDENTIAL_TYPE_DRAFT"))) +@interface PAPICredentialTypeStateCREDENTIAL_TYPE_DRAFT : PAPICredentialTypeState ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)cREDENTIAL_TYPE_DRAFT __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICredentialTypeStateCREDENTIAL_TYPE_DRAFT *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialTypeState.CREDENTIAL_TYPE_READY"))) +@interface PAPICredentialTypeStateCREDENTIAL_TYPE_READY : PAPICredentialTypeState ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)cREDENTIAL_TYPE_READY __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICredentialTypeStateCREDENTIAL_TYPE_READY *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialTypeState.CREDENTIAL_TYPE_UNKNOWN"))) +@interface PAPICredentialTypeStateCREDENTIAL_TYPE_UNKNOWN : PAPICredentialTypeState ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)cREDENTIAL_TYPE_UNKNOWN __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICredentialTypeStateCREDENTIAL_TYPE_UNKNOWN *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialTypeState.Companion"))) +@interface PAPICredentialTypeStateCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICredentialTypeStateCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICredentialTypeState *)fromNameName:(NSString *)name __attribute__((swift_name("fromName(name:)"))); +- (PAPICredentialTypeState *)fromValueValue:(int32_t)value __attribute__((swift_name("fromValue(value:)"))); +@property (readonly) NSArray *values __attribute__((swift_name("values"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialTypeState.UNRECOGNIZED"))) +@interface PAPICredentialTypeStateUNRECOGNIZED : PAPICredentialTypeState +- (instancetype)initWithValue:(int32_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialTypeWithRequiredFields"))) +@interface PAPICredentialTypeWithRequiredFields : PAPIBase +- (instancetype)initWithCredentialType:(PAPICredentialType * _Nullable)credentialType requiredFields:(NSArray *)requiredFields unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(credentialType:requiredFields:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICredentialTypeWithRequiredFieldsCompanion *companion __attribute__((swift_name("companion"))); +- (PAPICredentialType * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSArray *)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPICredentialTypeWithRequiredFields *)doCopyCredentialType:(PAPICredentialType * _Nullable)credentialType requiredFields:(NSArray *)requiredFields unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(credentialType:requiredFields:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPICredentialTypeWithRequiredFields *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPICredentialType * _Nullable credentialType __attribute__((swift_name("credentialType"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSArray *requiredFields __attribute__((swift_name("requiredFields"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialTypeWithRequiredFields.Companion"))) +@interface PAPICredentialTypeWithRequiredFieldsCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICredentialTypeWithRequiredFieldsCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICredentialTypeWithRequiredFields *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPICredentialTypeWithRequiredFields *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("CredentialTypesServiceCoroutine"))) +@protocol PAPICredentialTypesServiceCoroutine +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateCredentialTypeReq:(PAPICreateCredentialTypeRequest *)req completionHandler:(void (^)(PAPICreateCredentialTypeResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateCredentialType(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateCredentialTypeAuthReq:(PAPICreateCredentialTypeRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPICreateCredentialTypeResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateCredentialTypeAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetCredentialTypeReq:(PAPIGetCredentialTypeRequest *)req completionHandler:(void (^)(PAPIGetCredentialTypeResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetCredentialType(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetCredentialTypeAuthReq:(PAPIGetCredentialTypeRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetCredentialTypeResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetCredentialTypeAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetCredentialTypesReq:(PAPIGetCredentialTypesRequest *)req completionHandler:(void (^)(PAPIGetCredentialTypesResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetCredentialTypes(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetCredentialTypesAuthReq:(PAPIGetCredentialTypesRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetCredentialTypesResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetCredentialTypesAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)MarkAsArchivedCredentialTypeReq:(PAPIMarkAsArchivedCredentialTypeRequest *)req completionHandler:(void (^)(PAPIMarkAsArchivedCredentialTypeResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("MarkAsArchivedCredentialType(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)MarkAsArchivedCredentialTypeAuthReq:(PAPIMarkAsArchivedCredentialTypeRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIMarkAsArchivedCredentialTypeResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("MarkAsArchivedCredentialTypeAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)MarkAsReadyCredentialTypeReq:(PAPIMarkAsReadyCredentialTypeRequest *)req completionHandler:(void (^)(PAPIMarkAsReadyCredentialTypeResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("MarkAsReadyCredentialType(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)MarkAsReadyCredentialTypeAuthReq:(PAPIMarkAsReadyCredentialTypeRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIMarkAsReadyCredentialTypeResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("MarkAsReadyCredentialTypeAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)UpdateCredentialTypeReq:(PAPIUpdateCredentialTypeRequest *)req completionHandler:(void (^)(PAPIUpdateCredentialTypeResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("UpdateCredentialType(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)UpdateCredentialTypeAuthReq:(PAPIUpdateCredentialTypeRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIUpdateCredentialTypeResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("UpdateCredentialTypeAuth(req:metadata:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialTypesServiceCoroutineClient"))) +@interface PAPICredentialTypesServiceCoroutineClient : PAPIBase +- (instancetype)initWithClient:(PAPIGrpcClient *)client __attribute__((swift_name("init(client:)"))) __attribute__((objc_designated_initializer)); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateCredentialTypeReq:(PAPICreateCredentialTypeRequest *)req completionHandler:(void (^)(PAPICreateCredentialTypeResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateCredentialType(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateCredentialTypeAuthReq:(PAPICreateCredentialTypeRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPICreateCredentialTypeResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateCredentialTypeAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetCredentialTypeReq:(PAPIGetCredentialTypeRequest *)req completionHandler:(void (^)(PAPIGetCredentialTypeResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetCredentialType(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetCredentialTypeAuthReq:(PAPIGetCredentialTypeRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetCredentialTypeResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetCredentialTypeAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetCredentialTypesReq:(PAPIGetCredentialTypesRequest *)req completionHandler:(void (^)(PAPIGetCredentialTypesResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetCredentialTypes(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetCredentialTypesAuthReq:(PAPIGetCredentialTypesRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetCredentialTypesResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetCredentialTypesAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)MarkAsArchivedCredentialTypeReq:(PAPIMarkAsArchivedCredentialTypeRequest *)req completionHandler:(void (^)(PAPIMarkAsArchivedCredentialTypeResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("MarkAsArchivedCredentialType(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)MarkAsArchivedCredentialTypeAuthReq:(PAPIMarkAsArchivedCredentialTypeRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIMarkAsArchivedCredentialTypeResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("MarkAsArchivedCredentialTypeAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)MarkAsReadyCredentialTypeReq:(PAPIMarkAsReadyCredentialTypeRequest *)req completionHandler:(void (^)(PAPIMarkAsReadyCredentialTypeResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("MarkAsReadyCredentialType(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)MarkAsReadyCredentialTypeAuthReq:(PAPIMarkAsReadyCredentialTypeRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIMarkAsReadyCredentialTypeResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("MarkAsReadyCredentialTypeAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)UpdateCredentialTypeReq:(PAPIUpdateCredentialTypeRequest *)req completionHandler:(void (^)(PAPIUpdateCredentialTypeResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("UpdateCredentialType(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)UpdateCredentialTypeAuthReq:(PAPIUpdateCredentialTypeRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIUpdateCredentialTypeResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("UpdateCredentialTypeAuth(req:metadata:completionHandler:)"))); +- (void)close __attribute__((swift_name("close()"))); +@property (readonly) PAPIGrpcClient *client __attribute__((swift_name("client"))); +@end; + +__attribute__((swift_name("CredentialsServiceCoroutine"))) +@protocol PAPICredentialsServiceCoroutine +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateGenericCredentialReq:(PAPICreateGenericCredentialRequest *)req completionHandler:(void (^)(PAPICreateGenericCredentialResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateGenericCredential(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateGenericCredentialAuthReq:(PAPICreateGenericCredentialRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPICreateGenericCredentialResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateGenericCredentialAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)DeleteCredentialsReq:(PAPIDeleteCredentialsRequest *)req completionHandler:(void (^)(PAPIDeleteCredentialsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("DeleteCredentials(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)DeleteCredentialsAuthReq:(PAPIDeleteCredentialsRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIDeleteCredentialsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("DeleteCredentialsAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetBlockchainDataReq:(PAPIGetBlockchainDataRequest *)req completionHandler:(void (^)(PAPIGetBlockchainDataResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetBlockchainData(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetBlockchainDataAuthReq:(PAPIGetBlockchainDataRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetBlockchainDataResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetBlockchainDataAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetContactCredentialsReq:(PAPIGetContactCredentialsRequest *)req completionHandler:(void (^)(PAPIGetContactCredentialsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetContactCredentials(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetContactCredentialsAuthReq:(PAPIGetContactCredentialsRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetContactCredentialsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetContactCredentialsAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetGenericCredentialsReq:(PAPIGetGenericCredentialsRequest *)req completionHandler:(void (^)(PAPIGetGenericCredentialsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetGenericCredentials(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetGenericCredentialsAuthReq:(PAPIGetGenericCredentialsRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetGenericCredentialsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetGenericCredentialsAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetLedgerDataReq:(PAPIGetLedgerDataRequest *)req completionHandler:(void (^)(PAPIGetLedgerDataResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetLedgerData(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetLedgerDataAuthReq:(PAPIGetLedgerDataRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetLedgerDataResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetLedgerDataAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)PublishBatchReq:(PAPIPublishBatchRequest *)req completionHandler:(void (^)(PAPIPublishBatchResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("PublishBatch(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)PublishBatchAuthReq:(PAPIPublishBatchRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIPublishBatchResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("PublishBatchAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)RevokePublishedCredentialReq:(PAPIRevokePublishedCredentialRequest *)req completionHandler:(void (^)(PAPIRevokePublishedCredentialResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("RevokePublishedCredential(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)RevokePublishedCredentialAuthReq:(PAPIRevokePublishedCredentialRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIRevokePublishedCredentialResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("RevokePublishedCredentialAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)ShareCredentialReq:(PAPIShareCredentialRequest *)req completionHandler:(void (^)(PAPIShareCredentialResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("ShareCredential(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)ShareCredentialAuthReq:(PAPIShareCredentialRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIShareCredentialResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("ShareCredentialAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)ShareCredentialsReq:(PAPIShareCredentialsRequest *)req completionHandler:(void (^)(PAPIShareCredentialsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("ShareCredentials(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)ShareCredentialsAuthReq:(PAPIShareCredentialsRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIShareCredentialsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("ShareCredentialsAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)StorePublishedCredentialReq:(PAPIStorePublishedCredentialRequest *)req completionHandler:(void (^)(PAPIStorePublishedCredentialResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("StorePublishedCredential(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)StorePublishedCredentialAuthReq:(PAPIStorePublishedCredentialRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIStorePublishedCredentialResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("StorePublishedCredentialAuth(req:metadata:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialsServiceCoroutineClient"))) +@interface PAPICredentialsServiceCoroutineClient : PAPIBase +- (instancetype)initWithClient:(PAPIGrpcClient *)client __attribute__((swift_name("init(client:)"))) __attribute__((objc_designated_initializer)); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateGenericCredentialReq:(PAPICreateGenericCredentialRequest *)req completionHandler:(void (^)(PAPICreateGenericCredentialResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateGenericCredential(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateGenericCredentialAuthReq:(PAPICreateGenericCredentialRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPICreateGenericCredentialResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateGenericCredentialAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)DeleteCredentialsReq:(PAPIDeleteCredentialsRequest *)req completionHandler:(void (^)(PAPIDeleteCredentialsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("DeleteCredentials(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)DeleteCredentialsAuthReq:(PAPIDeleteCredentialsRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIDeleteCredentialsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("DeleteCredentialsAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetBlockchainDataReq:(PAPIGetBlockchainDataRequest *)req completionHandler:(void (^)(PAPIGetBlockchainDataResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetBlockchainData(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetBlockchainDataAuthReq:(PAPIGetBlockchainDataRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetBlockchainDataResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetBlockchainDataAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetContactCredentialsReq:(PAPIGetContactCredentialsRequest *)req completionHandler:(void (^)(PAPIGetContactCredentialsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetContactCredentials(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetContactCredentialsAuthReq:(PAPIGetContactCredentialsRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetContactCredentialsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetContactCredentialsAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetGenericCredentialsReq:(PAPIGetGenericCredentialsRequest *)req completionHandler:(void (^)(PAPIGetGenericCredentialsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetGenericCredentials(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetGenericCredentialsAuthReq:(PAPIGetGenericCredentialsRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetGenericCredentialsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetGenericCredentialsAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetLedgerDataReq:(PAPIGetLedgerDataRequest *)req completionHandler:(void (^)(PAPIGetLedgerDataResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetLedgerData(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetLedgerDataAuthReq:(PAPIGetLedgerDataRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetLedgerDataResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetLedgerDataAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)PublishBatchReq:(PAPIPublishBatchRequest *)req completionHandler:(void (^)(PAPIPublishBatchResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("PublishBatch(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)PublishBatchAuthReq:(PAPIPublishBatchRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIPublishBatchResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("PublishBatchAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)RevokePublishedCredentialReq:(PAPIRevokePublishedCredentialRequest *)req completionHandler:(void (^)(PAPIRevokePublishedCredentialResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("RevokePublishedCredential(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)RevokePublishedCredentialAuthReq:(PAPIRevokePublishedCredentialRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIRevokePublishedCredentialResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("RevokePublishedCredentialAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)ShareCredentialReq:(PAPIShareCredentialRequest *)req completionHandler:(void (^)(PAPIShareCredentialResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("ShareCredential(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)ShareCredentialAuthReq:(PAPIShareCredentialRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIShareCredentialResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("ShareCredentialAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)ShareCredentialsReq:(PAPIShareCredentialsRequest *)req completionHandler:(void (^)(PAPIShareCredentialsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("ShareCredentials(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)ShareCredentialsAuthReq:(PAPIShareCredentialsRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIShareCredentialsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("ShareCredentialsAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)StorePublishedCredentialReq:(PAPIStorePublishedCredentialRequest *)req completionHandler:(void (^)(PAPIStorePublishedCredentialResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("StorePublishedCredential(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)StorePublishedCredentialAuthReq:(PAPIStorePublishedCredentialRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIStorePublishedCredentialResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("StorePublishedCredentialAuth(req:metadata:completionHandler:)"))); +- (void)close __attribute__((swift_name("close()"))); +@property (readonly) PAPIGrpcClient *client __attribute__((swift_name("client"))); +@end; + +__attribute__((swift_name("CredentialsStoreServiceCoroutine"))) +@protocol PAPICredentialsStoreServiceCoroutine +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetLatestCredentialExternalIdReq:(PAPIGetLatestCredentialExternalIdRequest *)req completionHandler:(void (^)(PAPIGetLatestCredentialExternalIdResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetLatestCredentialExternalId(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetLatestCredentialExternalIdAuthReq:(PAPIGetLatestCredentialExternalIdRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetLatestCredentialExternalIdResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetLatestCredentialExternalIdAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetStoredCredentialsForReq:(PAPIGetStoredCredentialsForRequest *)req completionHandler:(void (^)(PAPIGetStoredCredentialsForResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetStoredCredentialsFor(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetStoredCredentialsForAuthReq:(PAPIGetStoredCredentialsForRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetStoredCredentialsForResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetStoredCredentialsForAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)StoreCredentialReq:(PAPIStoreCredentialRequest *)req completionHandler:(void (^)(PAPIStoreCredentialResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("StoreCredential(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)StoreCredentialAuthReq:(PAPIStoreCredentialRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIStoreCredentialResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("StoreCredentialAuth(req:metadata:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialsStoreServiceCoroutineClient"))) +@interface PAPICredentialsStoreServiceCoroutineClient : PAPIBase +- (instancetype)initWithClient:(PAPIGrpcClient *)client __attribute__((swift_name("init(client:)"))) __attribute__((objc_designated_initializer)); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetLatestCredentialExternalIdReq:(PAPIGetLatestCredentialExternalIdRequest *)req completionHandler:(void (^)(PAPIGetLatestCredentialExternalIdResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetLatestCredentialExternalId(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetLatestCredentialExternalIdAuthReq:(PAPIGetLatestCredentialExternalIdRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetLatestCredentialExternalIdResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetLatestCredentialExternalIdAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetStoredCredentialsForReq:(PAPIGetStoredCredentialsForRequest *)req completionHandler:(void (^)(PAPIGetStoredCredentialsForResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetStoredCredentialsFor(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetStoredCredentialsForAuthReq:(PAPIGetStoredCredentialsForRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetStoredCredentialsForResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetStoredCredentialsForAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)StoreCredentialReq:(PAPIStoreCredentialRequest *)req completionHandler:(void (^)(PAPIStoreCredentialResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("StoreCredential(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)StoreCredentialAuthReq:(PAPIStoreCredentialRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIStoreCredentialResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("StoreCredentialAuth(req:metadata:completionHandler:)"))); +- (void)close __attribute__((swift_name("close()"))); +@property (readonly) PAPIGrpcClient *client __attribute__((swift_name("client"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DIDData"))) +@interface PAPIDIDData : PAPIBase +- (instancetype)initWithId:(NSString *)id publicKeys:(NSArray *)publicKeys unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(id:publicKeys:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIDIDDataCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSArray *)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIDIDData *)doCopyId:(NSString *)id publicKeys:(NSArray *)publicKeys unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(id:publicKeys:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIDIDData *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *id __attribute__((swift_name("id"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSArray *publicKeys __attribute__((swift_name("publicKeys"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DIDData.Companion"))) +@interface PAPIDIDDataCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDIDDataCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIDIDData *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIDIDData *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Date"))) +@interface PAPIDate : PAPIBase +- (instancetype)initWithYear:(int32_t)year month:(int32_t)month day:(int32_t)day unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(year:month:day:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIDateCompanion *companion __attribute__((swift_name("companion"))); +- (int32_t)component1 __attribute__((swift_name("component1()"))); +- (int32_t)component2 __attribute__((swift_name("component2()"))); +- (int32_t)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPIDate *)doCopyYear:(int32_t)year month:(int32_t)month day:(int32_t)day unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(year:month:day:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIDate *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) int32_t day __attribute__((swift_name("day"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t month __attribute__((swift_name("month"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@property (readonly) int32_t year __attribute__((swift_name("year"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Date.Companion"))) +@interface PAPIDateCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDateCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIDate *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIDate *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DeleteContactRequest"))) +@interface PAPIDeleteContactRequest : PAPIBase +- (instancetype)initWithContactId:(NSString *)contactId deleteCredentials:(BOOL)deleteCredentials unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(contactId:deleteCredentials:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIDeleteContactRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (BOOL)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIDeleteContactRequest *)doCopyContactId:(NSString *)contactId deleteCredentials:(BOOL)deleteCredentials unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(contactId:deleteCredentials:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIDeleteContactRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *contactId __attribute__((swift_name("contactId"))); +@property (readonly) BOOL deleteCredentials __attribute__((swift_name("deleteCredentials"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DeleteContactRequest.Companion"))) +@interface PAPIDeleteContactRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDeleteContactRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIDeleteContactRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIDeleteContactRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DeleteContactResponse"))) +@interface PAPIDeleteContactResponse : PAPIBase +- (instancetype)initWithUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIDeleteContactResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPIDeleteContactResponse *)doCopyUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIDeleteContactResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DeleteContactResponse.Companion"))) +@interface PAPIDeleteContactResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDeleteContactResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIDeleteContactResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIDeleteContactResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DeleteCredentialsRequest"))) +@interface PAPIDeleteCredentialsRequest : PAPIBase +- (instancetype)initWithCredentialsIds:(NSArray *)credentialsIds unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(credentialsIds:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIDeleteCredentialsRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIDeleteCredentialsRequest *)doCopyCredentialsIds:(NSArray *)credentialsIds unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(credentialsIds:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIDeleteCredentialsRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSArray *credentialsIds __attribute__((swift_name("credentialsIds"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DeleteCredentialsRequest.Companion"))) +@interface PAPIDeleteCredentialsRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDeleteCredentialsRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIDeleteCredentialsRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIDeleteCredentialsRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DeleteCredentialsResponse"))) +@interface PAPIDeleteCredentialsResponse : PAPIBase +- (instancetype)initWithUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIDeleteCredentialsResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPIDeleteCredentialsResponse *)doCopyUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIDeleteCredentialsResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DeleteCredentialsResponse.Companion"))) +@interface PAPIDeleteCredentialsResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDeleteCredentialsResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIDeleteCredentialsResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIDeleteCredentialsResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DeleteGroupRequest"))) +@interface PAPIDeleteGroupRequest : PAPIBase +- (instancetype)initWithGroupId:(NSString *)groupId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(groupId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIDeleteGroupRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIDeleteGroupRequest *)doCopyGroupId:(NSString *)groupId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(groupId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIDeleteGroupRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *groupId __attribute__((swift_name("groupId"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DeleteGroupRequest.Companion"))) +@interface PAPIDeleteGroupRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDeleteGroupRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIDeleteGroupRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIDeleteGroupRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DeleteGroupResponse"))) +@interface PAPIDeleteGroupResponse : PAPIBase +- (instancetype)initWithUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIDeleteGroupResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPIDeleteGroupResponse *)doCopyUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIDeleteGroupResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DeleteGroupResponse.Companion"))) +@interface PAPIDeleteGroupResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDeleteGroupResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIDeleteGroupResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIDeleteGroupResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ECKeyData"))) +@interface PAPIECKeyData : PAPIBase +- (instancetype)initWithCurve:(NSString *)curve x:(PAPIByteArr *)x y:(PAPIByteArr *)y unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(curve:x:y:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIECKeyDataCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIByteArr *)component2 __attribute__((swift_name("component2()"))); +- (PAPIByteArr *)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPIECKeyData *)doCopyCurve:(NSString *)curve x:(PAPIByteArr *)x y:(PAPIByteArr *)y unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(curve:x:y:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIECKeyData *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *curve __attribute__((swift_name("curve"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@property (readonly) PAPIByteArr *x __attribute__((swift_name("x"))); +@property (readonly) PAPIByteArr *y __attribute__((swift_name("y"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ECKeyData.Companion"))) +@interface PAPIECKeyDataCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIECKeyDataCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIECKeyData *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIECKeyData *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("EncodedPublicKey"))) +@interface PAPIEncodedPublicKey : PAPIBase +- (instancetype)initWithPublicKey:(PAPIByteArr *)publicKey unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(publicKey:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIEncodedPublicKeyCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIByteArr *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIEncodedPublicKey *)doCopyPublicKey:(PAPIByteArr *)publicKey unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(publicKey:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIEncodedPublicKey *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPIByteArr *publicKey __attribute__((swift_name("publicKey"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("EncodedPublicKey.Companion"))) +@interface PAPIEncodedPublicKeyCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIEncodedPublicKeyCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIEncodedPublicKey *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIEncodedPublicKey *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("EncryptedMessage"))) +@interface PAPIEncryptedMessage : PAPIBase +- (instancetype)initWithKeyId:(NSString *)keyId encryptedContent:(PAPIByteArr *)encryptedContent unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(keyId:encryptedContent:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIEncryptedMessageCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIByteArr *)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIEncryptedMessage *)doCopyKeyId:(NSString *)keyId encryptedContent:(PAPIByteArr *)encryptedContent unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(keyId:encryptedContent:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIEncryptedMessage *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIByteArr *encryptedContent __attribute__((swift_name("encryptedContent"))); +@property (readonly) NSString *keyId __attribute__((swift_name("keyId"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("EncryptedMessage.Companion"))) +@interface PAPIEncryptedMessageCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIEncryptedMessageCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIEncryptedMessage *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIEncryptedMessage *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GenerateConnectionTokenForContactRequest"))) +@interface PAPIGenerateConnectionTokenForContactRequest : PAPIBase +- (instancetype)initWithContactId:(NSString *)contactId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(contactId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGenerateConnectionTokenForContactRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGenerateConnectionTokenForContactRequest *)doCopyContactId:(NSString *)contactId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(contactId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGenerateConnectionTokenForContactRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *contactId __attribute__((swift_name("contactId"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GenerateConnectionTokenForContactRequest.Companion"))) +@interface PAPIGenerateConnectionTokenForContactRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGenerateConnectionTokenForContactRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGenerateConnectionTokenForContactRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGenerateConnectionTokenForContactRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GenerateConnectionTokenForContactResponse"))) +@interface PAPIGenerateConnectionTokenForContactResponse : PAPIBase +- (instancetype)initWithToken:(NSString *)token unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(token:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGenerateConnectionTokenForContactResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGenerateConnectionTokenForContactResponse *)doCopyToken:(NSString *)token unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(token:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGenerateConnectionTokenForContactResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSString *token __attribute__((swift_name("token"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GenerateConnectionTokenForContactResponse.Companion"))) +@interface PAPIGenerateConnectionTokenForContactResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGenerateConnectionTokenForContactResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGenerateConnectionTokenForContactResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGenerateConnectionTokenForContactResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GenerateConnectionTokenRequest"))) +@interface PAPIGenerateConnectionTokenRequest : PAPIBase +- (instancetype)initWithCount:(int32_t)count unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(count:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGenerateConnectionTokenRequestCompanion *companion __attribute__((swift_name("companion"))); +- (int32_t)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGenerateConnectionTokenRequest *)doCopyCount:(int32_t)count unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(count:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGenerateConnectionTokenRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) int32_t count __attribute__((swift_name("count"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GenerateConnectionTokenRequest.Companion"))) +@interface PAPIGenerateConnectionTokenRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGenerateConnectionTokenRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGenerateConnectionTokenRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGenerateConnectionTokenRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GenerateConnectionTokenResponse"))) +@interface PAPIGenerateConnectionTokenResponse : PAPIBase +- (instancetype)initWithTokens:(NSArray *)tokens unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(tokens:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGenerateConnectionTokenResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGenerateConnectionTokenResponse *)doCopyTokens:(NSArray *)tokens unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(tokens:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGenerateConnectionTokenResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSArray *tokens __attribute__((swift_name("tokens"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GenerateConnectionTokenResponse.Companion"))) +@interface PAPIGenerateConnectionTokenResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGenerateConnectionTokenResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGenerateConnectionTokenResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGenerateConnectionTokenResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetBatchStateRequest"))) +@interface PAPIGetBatchStateRequest : PAPIBase +- (instancetype)initWithBatchId:(NSString *)batchId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(batchId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetBatchStateRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetBatchStateRequest *)doCopyBatchId:(NSString *)batchId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(batchId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetBatchStateRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *batchId __attribute__((swift_name("batchId"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetBatchStateRequest.Companion"))) +@interface PAPIGetBatchStateRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetBatchStateRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetBatchStateRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetBatchStateRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetBatchStateResponse"))) +@interface PAPIGetBatchStateResponse : PAPIBase +- (instancetype)initWithIssuerDid:(NSString *)issuerDid merkleRoot:(PAPIByteArr *)merkleRoot publicationLedgerData:(PAPILedgerData_ * _Nullable)publicationLedgerData revocationLedgerData:(PAPILedgerData_ * _Nullable)revocationLedgerData lastSyncedBlockTimestamp:(PAPITimestamp * _Nullable)lastSyncedBlockTimestamp issuanceHash:(PAPIByteArr *)issuanceHash unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(issuerDid:merkleRoot:publicationLedgerData:revocationLedgerData:lastSyncedBlockTimestamp:issuanceHash:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetBatchStateResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIByteArr *)component2 __attribute__((swift_name("component2()"))); +- (PAPILedgerData_ * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (PAPILedgerData_ * _Nullable)component4 __attribute__((swift_name("component4()"))); +- (PAPITimestamp * _Nullable)component5 __attribute__((swift_name("component5()"))); +- (PAPIByteArr *)component6 __attribute__((swift_name("component6()"))); +- (NSDictionary *)component7 __attribute__((swift_name("component7()"))); +- (PAPIGetBatchStateResponse *)doCopyIssuerDid:(NSString *)issuerDid merkleRoot:(PAPIByteArr *)merkleRoot publicationLedgerData:(PAPILedgerData_ * _Nullable)publicationLedgerData revocationLedgerData:(PAPILedgerData_ * _Nullable)revocationLedgerData lastSyncedBlockTimestamp:(PAPITimestamp * _Nullable)lastSyncedBlockTimestamp issuanceHash:(PAPIByteArr *)issuanceHash unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(issuerDid:merkleRoot:publicationLedgerData:revocationLedgerData:lastSyncedBlockTimestamp:issuanceHash:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetBatchStateResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIByteArr *issuanceHash __attribute__((swift_name("issuanceHash"))); +@property (readonly) NSString *issuerDid __attribute__((swift_name("issuerDid"))); +@property (readonly) PAPITimestamp * _Nullable lastSyncedBlockTimestamp __attribute__((swift_name("lastSyncedBlockTimestamp"))); +@property (readonly) PAPIByteArr *merkleRoot __attribute__((swift_name("merkleRoot"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPILedgerData_ * _Nullable publicationLedgerData __attribute__((swift_name("publicationLedgerData"))); +@property (readonly) PAPILedgerData_ * _Nullable revocationLedgerData __attribute__((swift_name("revocationLedgerData"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetBatchStateResponse.Companion"))) +@interface PAPIGetBatchStateResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetBatchStateResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetBatchStateResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetBatchStateResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetBlockchainDataRequest"))) +@interface PAPIGetBlockchainDataRequest : PAPIBase +- (instancetype)initWithEncodedSignedCredential:(NSString *)encodedSignedCredential unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(encodedSignedCredential:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetBlockchainDataRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetBlockchainDataRequest *)doCopyEncodedSignedCredential:(NSString *)encodedSignedCredential unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(encodedSignedCredential:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetBlockchainDataRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *encodedSignedCredential __attribute__((swift_name("encodedSignedCredential"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetBlockchainDataRequest.Companion"))) +@interface PAPIGetBlockchainDataRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetBlockchainDataRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetBlockchainDataRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetBlockchainDataRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetBlockchainDataResponse"))) +@interface PAPIGetBlockchainDataResponse : PAPIBase +- (instancetype)initWithIssuanceProof:(PAPITransactionInfo * _Nullable)issuanceProof unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(issuanceProof:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetBlockchainDataResponseCompanion *companion __attribute__((swift_name("companion"))); +- (PAPITransactionInfo * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetBlockchainDataResponse *)doCopyIssuanceProof:(PAPITransactionInfo * _Nullable)issuanceProof unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(issuanceProof:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetBlockchainDataResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPITransactionInfo * _Nullable issuanceProof __attribute__((swift_name("issuanceProof"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetBlockchainDataResponse.Companion"))) +@interface PAPIGetBlockchainDataResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetBlockchainDataResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetBlockchainDataResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetBlockchainDataResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetBuildInfoRequest"))) +@interface PAPIGetBuildInfoRequest : PAPIBase +- (instancetype)initWithUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetBuildInfoRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPIGetBuildInfoRequest *)doCopyUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetBuildInfoRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetBuildInfoRequest.Companion"))) +@interface PAPIGetBuildInfoRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetBuildInfoRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetBuildInfoRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetBuildInfoRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetBuildInfoResponse"))) +@interface PAPIGetBuildInfoResponse : PAPIBase +- (instancetype)initWithVersion:(NSString *)version scalaVersion:(NSString *)scalaVersion sbtVersion:(NSString *)sbtVersion nodeVersion:(NSString *)nodeVersion unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(version:scalaVersion:sbtVersion:nodeVersion:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetBuildInfoResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (NSString *)component3 __attribute__((swift_name("component3()"))); +- (NSString *)component4 __attribute__((swift_name("component4()"))); +- (NSDictionary *)component5 __attribute__((swift_name("component5()"))); +- (PAPIGetBuildInfoResponse *)doCopyVersion:(NSString *)version scalaVersion:(NSString *)scalaVersion sbtVersion:(NSString *)sbtVersion nodeVersion:(NSString *)nodeVersion unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(version:scalaVersion:sbtVersion:nodeVersion:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetBuildInfoResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *nodeVersion __attribute__((swift_name("nodeVersion"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSString *sbtVersion __attribute__((swift_name("sbtVersion"))); +@property (readonly) NSString *scalaVersion __attribute__((swift_name("scalaVersion"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@property (readonly) NSString *version __attribute__((swift_name("version"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetBuildInfoResponse.Companion"))) +@interface PAPIGetBuildInfoResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetBuildInfoResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetBuildInfoResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetBuildInfoResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetConnectionByIdRequest"))) +@interface PAPIGetConnectionByIdRequest : PAPIBase +- (instancetype)initWithId:(NSString *)id unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(id:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetConnectionByIdRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetConnectionByIdRequest *)doCopyId:(NSString *)id unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(id:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetConnectionByIdRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *id __attribute__((swift_name("id"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetConnectionByIdRequest.Companion"))) +@interface PAPIGetConnectionByIdRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetConnectionByIdRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetConnectionByIdRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetConnectionByIdRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetConnectionByIdResponse"))) +@interface PAPIGetConnectionByIdResponse : PAPIBase +- (instancetype)initWithConnection:(PAPIConnectionInfo * _Nullable)connection unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(connection:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetConnectionByIdResponseCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIConnectionInfo * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetConnectionByIdResponse *)doCopyConnection:(PAPIConnectionInfo * _Nullable)connection unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(connection:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetConnectionByIdResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIConnectionInfo * _Nullable connection __attribute__((swift_name("connection"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetConnectionByIdResponse.Companion"))) +@interface PAPIGetConnectionByIdResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetConnectionByIdResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetConnectionByIdResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetConnectionByIdResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetConnectionByTokenRequest"))) +@interface PAPIGetConnectionByTokenRequest : PAPIBase +- (instancetype)initWithToken:(NSString *)token unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(token:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetConnectionByTokenRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetConnectionByTokenRequest *)doCopyToken:(NSString *)token unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(token:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetConnectionByTokenRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSString *token __attribute__((swift_name("token"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetConnectionByTokenRequest.Companion"))) +@interface PAPIGetConnectionByTokenRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetConnectionByTokenRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetConnectionByTokenRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetConnectionByTokenRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetConnectionByTokenResponse"))) +@interface PAPIGetConnectionByTokenResponse : PAPIBase +- (instancetype)initWithConnection:(PAPIConnection * _Nullable)connection unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(connection:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetConnectionByTokenResponseCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIConnection * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetConnectionByTokenResponse *)doCopyConnection:(PAPIConnection * _Nullable)connection unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(connection:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetConnectionByTokenResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIConnection * _Nullable connection __attribute__((swift_name("connection"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetConnectionByTokenResponse.Companion"))) +@interface PAPIGetConnectionByTokenResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetConnectionByTokenResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetConnectionByTokenResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetConnectionByTokenResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetConnectionCommunicationKeysRequest"))) +@interface PAPIGetConnectionCommunicationKeysRequest : PAPIBase +- (instancetype)initWithConnectionId:(NSString *)connectionId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(connectionId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetConnectionCommunicationKeysRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetConnectionCommunicationKeysRequest *)doCopyConnectionId:(NSString *)connectionId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(connectionId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetConnectionCommunicationKeysRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *connectionId __attribute__((swift_name("connectionId"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetConnectionCommunicationKeysRequest.Companion"))) +@interface PAPIGetConnectionCommunicationKeysRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetConnectionCommunicationKeysRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetConnectionCommunicationKeysRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetConnectionCommunicationKeysRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetConnectionCommunicationKeysResponse"))) +@interface PAPIGetConnectionCommunicationKeysResponse : PAPIBase +- (instancetype)initWithKeys:(NSArray *)keys unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(keys:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetConnectionCommunicationKeysResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetConnectionCommunicationKeysResponse *)doCopyKeys:(NSArray *)keys unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(keys:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetConnectionCommunicationKeysResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSArray *keys __attribute__((swift_name("keys"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetConnectionCommunicationKeysResponse.Companion"))) +@interface PAPIGetConnectionCommunicationKeysResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetConnectionCommunicationKeysResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetConnectionCommunicationKeysResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetConnectionCommunicationKeysResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetConnectionTokenInfoRequest"))) +@interface PAPIGetConnectionTokenInfoRequest : PAPIBase +- (instancetype)initWithToken:(NSString *)token unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(token:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetConnectionTokenInfoRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetConnectionTokenInfoRequest *)doCopyToken:(NSString *)token unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(token:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetConnectionTokenInfoRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSString *token __attribute__((swift_name("token"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetConnectionTokenInfoRequest.Companion"))) +@interface PAPIGetConnectionTokenInfoRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetConnectionTokenInfoRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetConnectionTokenInfoRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetConnectionTokenInfoRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetConnectionTokenInfoResponse"))) +@interface PAPIGetConnectionTokenInfoResponse : PAPIBase +- (instancetype)initWithCreatorName:(NSString *)creatorName creatorLogo:(PAPIByteArr *)creatorLogo creatorDid:(NSString *)creatorDid unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(creatorName:creatorLogo:creatorDid:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetConnectionTokenInfoResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIByteArr *)component2 __attribute__((swift_name("component2()"))); +- (NSString *)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPIGetConnectionTokenInfoResponse *)doCopyCreatorName:(NSString *)creatorName creatorLogo:(PAPIByteArr *)creatorLogo creatorDid:(NSString *)creatorDid unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(creatorName:creatorLogo:creatorDid:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetConnectionTokenInfoResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *creatorDid __attribute__((swift_name("creatorDid"))); +@property (readonly) PAPIByteArr *creatorLogo __attribute__((swift_name("creatorLogo"))); +@property (readonly) NSString *creatorName __attribute__((swift_name("creatorName"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetConnectionTokenInfoResponse.Companion"))) +@interface PAPIGetConnectionTokenInfoResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetConnectionTokenInfoResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetConnectionTokenInfoResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetConnectionTokenInfoResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetConnectionsPaginatedRequest"))) +@interface PAPIGetConnectionsPaginatedRequest : PAPIBase +- (instancetype)initWithLastSeenConnectionId:(NSString *)lastSeenConnectionId limit:(int32_t)limit unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(lastSeenConnectionId:limit:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetConnectionsPaginatedRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (int32_t)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIGetConnectionsPaginatedRequest *)doCopyLastSeenConnectionId:(NSString *)lastSeenConnectionId limit:(int32_t)limit unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(lastSeenConnectionId:limit:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetConnectionsPaginatedRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *lastSeenConnectionId __attribute__((swift_name("lastSeenConnectionId"))); +@property (readonly) int32_t limit __attribute__((swift_name("limit"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetConnectionsPaginatedRequest.Companion"))) +@interface PAPIGetConnectionsPaginatedRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetConnectionsPaginatedRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetConnectionsPaginatedRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetConnectionsPaginatedRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetConnectionsPaginatedResponse"))) +@interface PAPIGetConnectionsPaginatedResponse : PAPIBase +- (instancetype)initWithConnections:(NSArray *)connections unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(connections:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetConnectionsPaginatedResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetConnectionsPaginatedResponse *)doCopyConnections:(NSArray *)connections unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(connections:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetConnectionsPaginatedResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSArray *connections __attribute__((swift_name("connections"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetConnectionsPaginatedResponse.Companion"))) +@interface PAPIGetConnectionsPaginatedResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetConnectionsPaginatedResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetConnectionsPaginatedResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetConnectionsPaginatedResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetConsoleCurrentUserRequest"))) +@interface PAPIGetConsoleCurrentUserRequest : PAPIBase +- (instancetype)initWithUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetConsoleCurrentUserRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPIGetConsoleCurrentUserRequest *)doCopyUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetConsoleCurrentUserRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetConsoleCurrentUserRequest.Companion"))) +@interface PAPIGetConsoleCurrentUserRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetConsoleCurrentUserRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetConsoleCurrentUserRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetConsoleCurrentUserRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetConsoleCurrentUserResponse"))) +@interface PAPIGetConsoleCurrentUserResponse : PAPIBase +- (instancetype)initWithName:(NSString *)name logo:(PAPIByteArr *)logo unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(name:logo:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetConsoleCurrentUserResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIByteArr *)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIGetConsoleCurrentUserResponse *)doCopyName:(NSString *)name logo:(PAPIByteArr *)logo unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(name:logo:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetConsoleCurrentUserResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIByteArr *logo __attribute__((swift_name("logo"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetConsoleCurrentUserResponse.Companion"))) +@interface PAPIGetConsoleCurrentUserResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetConsoleCurrentUserResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetConsoleCurrentUserResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetConsoleCurrentUserResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetContactCredentialsRequest"))) +@interface PAPIGetContactCredentialsRequest : PAPIBase +- (instancetype)initWithContactId:(NSString *)contactId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(contactId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetContactCredentialsRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetContactCredentialsRequest *)doCopyContactId:(NSString *)contactId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(contactId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetContactCredentialsRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *contactId __attribute__((swift_name("contactId"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetContactCredentialsRequest.Companion"))) +@interface PAPIGetContactCredentialsRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetContactCredentialsRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetContactCredentialsRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetContactCredentialsRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetContactCredentialsResponse"))) +@interface PAPIGetContactCredentialsResponse : PAPIBase +- (instancetype)initWithGenericCredentials:(NSArray *)genericCredentials unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(genericCredentials:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetContactCredentialsResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetContactCredentialsResponse *)doCopyGenericCredentials:(NSArray *)genericCredentials unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(genericCredentials:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetContactCredentialsResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSArray *genericCredentials __attribute__((swift_name("genericCredentials"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetContactCredentialsResponse.Companion"))) +@interface PAPIGetContactCredentialsResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetContactCredentialsResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetContactCredentialsResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetContactCredentialsResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetContactRequest"))) +@interface PAPIGetContactRequest : PAPIBase +- (instancetype)initWithContactId:(NSString *)contactId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(contactId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetContactRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetContactRequest *)doCopyContactId:(NSString *)contactId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(contactId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetContactRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *contactId __attribute__((swift_name("contactId"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetContactRequest.Companion"))) +@interface PAPIGetContactRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetContactRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetContactRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetContactRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetContactResponse"))) +@interface PAPIGetContactResponse : PAPIBase +- (instancetype)initWithContact:(PAPIContact * _Nullable)contact groups:(NSArray *)groups receivedCredentials:(NSArray *)receivedCredentials issuedCredentials:(NSArray *)issuedCredentials unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(contact:groups:receivedCredentials:issuedCredentials:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetContactResponseCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIContact * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSArray *)component2 __attribute__((swift_name("component2()"))); +- (NSArray *)component3 __attribute__((swift_name("component3()"))); +- (NSArray *)component4 __attribute__((swift_name("component4()"))); +- (NSDictionary *)component5 __attribute__((swift_name("component5()"))); +- (PAPIGetContactResponse *)doCopyContact:(PAPIContact * _Nullable)contact groups:(NSArray *)groups receivedCredentials:(NSArray *)receivedCredentials issuedCredentials:(NSArray *)issuedCredentials unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(contact:groups:receivedCredentials:issuedCredentials:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetContactResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIContact * _Nullable contact __attribute__((swift_name("contact"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSArray *groups __attribute__((swift_name("groups"))); +@property (readonly) NSArray *issuedCredentials __attribute__((swift_name("issuedCredentials"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSArray *receivedCredentials __attribute__((swift_name("receivedCredentials"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetContactResponse.Companion"))) +@interface PAPIGetContactResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetContactResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetContactResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetContactResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetContactsRequest"))) +@interface PAPIGetContactsRequest : PAPIBase +- (instancetype)initWithLimit:(int32_t)limit scrollId:(NSString *)scrollId filterBy:(PAPIGetContactsRequestFilterBy * _Nullable)filterBy sortBy:(PAPIGetContactsRequestSortBy * _Nullable)sortBy unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(limit:scrollId:filterBy:sortBy:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetContactsRequestCompanion *companion __attribute__((swift_name("companion"))); +- (int32_t)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetContactsRequestFilterBy * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (PAPIGetContactsRequestSortBy * _Nullable)component4 __attribute__((swift_name("component4()"))); +- (NSDictionary *)component5 __attribute__((swift_name("component5()"))); +- (PAPIGetContactsRequest *)doCopyLimit:(int32_t)limit scrollId:(NSString *)scrollId filterBy:(PAPIGetContactsRequestFilterBy * _Nullable)filterBy sortBy:(PAPIGetContactsRequestSortBy * _Nullable)sortBy unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(limit:scrollId:filterBy:sortBy:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetContactsRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIGetContactsRequestFilterBy * _Nullable filterBy __attribute__((swift_name("filterBy"))); +@property (readonly) int32_t limit __attribute__((swift_name("limit"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSString *scrollId __attribute__((swift_name("scrollId"))); +@property (readonly) PAPIGetContactsRequestSortBy * _Nullable sortBy __attribute__((swift_name("sortBy"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetContactsRequest.Companion"))) +@interface PAPIGetContactsRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetContactsRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetContactsRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetContactsRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetContactsRequest.FilterBy"))) +@interface PAPIGetContactsRequestFilterBy : PAPIBase +- (instancetype)initWithGroupName:(NSString *)groupName createdAt:(PAPIDate * _Nullable)createdAt nameOrExternalId:(NSString *)nameOrExternalId connectionStatus:(PAPIContactConnectionStatus *)connectionStatus unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(groupName:createdAt:nameOrExternalId:connectionStatus:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetContactsRequestFilterByCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIDate * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (NSString *)component3 __attribute__((swift_name("component3()"))); +- (PAPIContactConnectionStatus *)component4 __attribute__((swift_name("component4()"))); +- (NSDictionary *)component5 __attribute__((swift_name("component5()"))); +- (PAPIGetContactsRequestFilterBy *)doCopyGroupName:(NSString *)groupName createdAt:(PAPIDate * _Nullable)createdAt nameOrExternalId:(NSString *)nameOrExternalId connectionStatus:(PAPIContactConnectionStatus *)connectionStatus unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(groupName:createdAt:nameOrExternalId:connectionStatus:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetContactsRequestFilterBy *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIContactConnectionStatus *connectionStatus __attribute__((swift_name("connectionStatus"))); +@property (readonly) PAPIDate * _Nullable createdAt __attribute__((swift_name("createdAt"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *groupName __attribute__((swift_name("groupName"))); +@property (readonly) NSString *nameOrExternalId __attribute__((swift_name("nameOrExternalId"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetContactsRequest.FilterByCompanion"))) +@interface PAPIGetContactsRequestFilterByCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetContactsRequestFilterByCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetContactsRequestFilterBy *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetContactsRequestFilterBy *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetContactsRequest.SortBy"))) +@interface PAPIGetContactsRequestSortBy : PAPIBase +- (instancetype)initWithField:(PAPIGetContactsRequestSortByField *)field direction:(PAPISortByDirection *)direction unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(field:direction:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetContactsRequestSortByCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIGetContactsRequestSortByField *)component1 __attribute__((swift_name("component1()"))); +- (PAPISortByDirection *)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIGetContactsRequestSortBy *)doCopyField:(PAPIGetContactsRequestSortByField *)field direction:(PAPISortByDirection *)direction unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(field:direction:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetContactsRequestSortBy *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPISortByDirection *direction __attribute__((swift_name("direction"))); +@property (readonly) PAPIGetContactsRequestSortByField *field __attribute__((swift_name("field"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetContactsRequest.SortByCompanion"))) +@interface PAPIGetContactsRequestSortByCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetContactsRequestSortByCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetContactsRequestSortBy *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetContactsRequestSortBy *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("GetContactsRequest.SortByField"))) +@interface PAPIGetContactsRequestSortByField : PAPIBase +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetContactsRequestSortByFieldCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly, getter=name_) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) int32_t value_ __attribute__((swift_name("value_"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetContactsRequest.SortByFieldCREATED_AT"))) +@interface PAPIGetContactsRequestSortByFieldCREATED_AT : PAPIGetContactsRequestSortByField ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)cREATED_AT __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetContactsRequestSortByFieldCREATED_AT *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetContactsRequest.SortByFieldCompanion"))) +@interface PAPIGetContactsRequestSortByFieldCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetContactsRequestSortByFieldCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetContactsRequestSortByField *)fromNameName:(NSString *)name __attribute__((swift_name("fromName(name:)"))); +- (PAPIGetContactsRequestSortByField *)fromValueValue:(int32_t)value __attribute__((swift_name("fromValue(value:)"))); +@property (readonly) NSArray *values __attribute__((swift_name("values"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetContactsRequest.SortByFieldEXTERNAL_ID"))) +@interface PAPIGetContactsRequestSortByFieldEXTERNAL_ID : PAPIGetContactsRequestSortByField ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)eXTERNAL_ID __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetContactsRequestSortByFieldEXTERNAL_ID *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetContactsRequest.SortByFieldNAME"))) +@interface PAPIGetContactsRequestSortByFieldNAME : PAPIGetContactsRequestSortByField ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)nAME __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetContactsRequestSortByFieldNAME *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetContactsRequest.SortByFieldUNKNOWN"))) +@interface PAPIGetContactsRequestSortByFieldUNKNOWN : PAPIGetContactsRequestSortByField ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)uNKNOWN __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetContactsRequestSortByFieldUNKNOWN *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetContactsRequest.SortByFieldUNRECOGNIZED"))) +@interface PAPIGetContactsRequestSortByFieldUNRECOGNIZED : PAPIGetContactsRequestSortByField +- (instancetype)initWithValue:(int32_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetContactsResponse"))) +@interface PAPIGetContactsResponse : PAPIBase +- (instancetype)initWithScrollId:(NSString *)scrollId data:(NSArray *)data unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(scrollId:data:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetContactsResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSArray *)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIGetContactsResponse *)doCopyScrollId:(NSString *)scrollId data:(NSArray *)data unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(scrollId:data:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetContactsResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSArray *data __attribute__((swift_name("data"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSString *scrollId __attribute__((swift_name("scrollId"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetContactsResponse.Companion"))) +@interface PAPIGetContactsResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetContactsResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetContactsResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetContactsResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetContactsResponse.ContactDetails"))) +@interface PAPIGetContactsResponseContactDetails : PAPIBase +- (instancetype)initWithContact:(PAPIContact * _Nullable)contact numberOfCredentialsReceived:(int32_t)numberOfCredentialsReceived numberOfCredentialsCreated:(int32_t)numberOfCredentialsCreated unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(contact:numberOfCredentialsReceived:numberOfCredentialsCreated:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetContactsResponseContactDetailsCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIContact * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (int32_t)component2 __attribute__((swift_name("component2()"))); +- (int32_t)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPIGetContactsResponseContactDetails *)doCopyContact:(PAPIContact * _Nullable)contact numberOfCredentialsReceived:(int32_t)numberOfCredentialsReceived numberOfCredentialsCreated:(int32_t)numberOfCredentialsCreated unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(contact:numberOfCredentialsReceived:numberOfCredentialsCreated:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetContactsResponseContactDetails *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIContact * _Nullable contact __attribute__((swift_name("contact"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t numberOfCredentialsCreated __attribute__((swift_name("numberOfCredentialsCreated"))); +@property (readonly) int32_t numberOfCredentialsReceived __attribute__((swift_name("numberOfCredentialsReceived"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetContactsResponse.ContactDetailsCompanion"))) +@interface PAPIGetContactsResponseContactDetailsCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetContactsResponseContactDetailsCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetContactsResponseContactDetails *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetContactsResponseContactDetails *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetCredentialIssuanceRequest"))) +@interface PAPIGetCredentialIssuanceRequest : PAPIBase +- (instancetype)initWithCredentialIssuanceId:(NSString *)credentialIssuanceId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(credentialIssuanceId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetCredentialIssuanceRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetCredentialIssuanceRequest *)doCopyCredentialIssuanceId:(NSString *)credentialIssuanceId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(credentialIssuanceId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetCredentialIssuanceRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *credentialIssuanceId __attribute__((swift_name("credentialIssuanceId"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetCredentialIssuanceRequest.Companion"))) +@interface PAPIGetCredentialIssuanceRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetCredentialIssuanceRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetCredentialIssuanceRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetCredentialIssuanceRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetCredentialIssuanceResponse"))) +@interface PAPIGetCredentialIssuanceResponse : PAPIBase +- (instancetype)initWithName:(NSString *)name credentialTypeId:(NSString *)credentialTypeId createdAt:(PAPITimestamp * _Nullable)createdAt credentialIssuanceContacts:(NSArray *)credentialIssuanceContacts unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(name:credentialTypeId:createdAt:credentialIssuanceContacts:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetCredentialIssuanceResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (PAPITimestamp * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (NSArray *)component4 __attribute__((swift_name("component4()"))); +- (NSDictionary *)component5 __attribute__((swift_name("component5()"))); +- (PAPIGetCredentialIssuanceResponse *)doCopyName:(NSString *)name credentialTypeId:(NSString *)credentialTypeId createdAt:(PAPITimestamp * _Nullable)createdAt credentialIssuanceContacts:(NSArray *)credentialIssuanceContacts unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(name:credentialTypeId:createdAt:credentialIssuanceContacts:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetCredentialIssuanceResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPITimestamp * _Nullable createdAt __attribute__((swift_name("createdAt"))); +@property (readonly) NSArray *credentialIssuanceContacts __attribute__((swift_name("credentialIssuanceContacts"))); +@property (readonly) NSString *credentialTypeId __attribute__((swift_name("credentialTypeId"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetCredentialIssuanceResponse.Companion"))) +@interface PAPIGetCredentialIssuanceResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetCredentialIssuanceResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetCredentialIssuanceResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetCredentialIssuanceResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetCredentialRevocationTimeRequest"))) +@interface PAPIGetCredentialRevocationTimeRequest : PAPIBase +- (instancetype)initWithBatchId:(NSString *)batchId credentialHash:(PAPIByteArr *)credentialHash unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(batchId:credentialHash:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetCredentialRevocationTimeRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIByteArr *)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIGetCredentialRevocationTimeRequest *)doCopyBatchId:(NSString *)batchId credentialHash:(PAPIByteArr *)credentialHash unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(batchId:credentialHash:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetCredentialRevocationTimeRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *batchId __attribute__((swift_name("batchId"))); +@property (readonly) PAPIByteArr *credentialHash __attribute__((swift_name("credentialHash"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetCredentialRevocationTimeRequest.Companion"))) +@interface PAPIGetCredentialRevocationTimeRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetCredentialRevocationTimeRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetCredentialRevocationTimeRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetCredentialRevocationTimeRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetCredentialRevocationTimeResponse"))) +@interface PAPIGetCredentialRevocationTimeResponse : PAPIBase +- (instancetype)initWithRevocationLedgerData:(PAPILedgerData_ * _Nullable)revocationLedgerData lastSyncedBlockTimestamp:(PAPITimestamp * _Nullable)lastSyncedBlockTimestamp unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(revocationLedgerData:lastSyncedBlockTimestamp:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetCredentialRevocationTimeResponseCompanion *companion __attribute__((swift_name("companion"))); +- (PAPILedgerData_ * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (PAPITimestamp * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIGetCredentialRevocationTimeResponse *)doCopyRevocationLedgerData:(PAPILedgerData_ * _Nullable)revocationLedgerData lastSyncedBlockTimestamp:(PAPITimestamp * _Nullable)lastSyncedBlockTimestamp unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(revocationLedgerData:lastSyncedBlockTimestamp:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetCredentialRevocationTimeResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPITimestamp * _Nullable lastSyncedBlockTimestamp __attribute__((swift_name("lastSyncedBlockTimestamp"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPILedgerData_ * _Nullable revocationLedgerData __attribute__((swift_name("revocationLedgerData"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetCredentialRevocationTimeResponse.Companion"))) +@interface PAPIGetCredentialRevocationTimeResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetCredentialRevocationTimeResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetCredentialRevocationTimeResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetCredentialRevocationTimeResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetCredentialTypeCategoriesRequest"))) +@interface PAPIGetCredentialTypeCategoriesRequest : PAPIBase +- (instancetype)initWithUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetCredentialTypeCategoriesRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPIGetCredentialTypeCategoriesRequest *)doCopyUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetCredentialTypeCategoriesRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetCredentialTypeCategoriesRequest.Companion"))) +@interface PAPIGetCredentialTypeCategoriesRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetCredentialTypeCategoriesRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetCredentialTypeCategoriesRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetCredentialTypeCategoriesRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetCredentialTypeCategoriesResponse"))) +@interface PAPIGetCredentialTypeCategoriesResponse : PAPIBase +- (instancetype)initWithCredentialTypeCategories:(NSArray *)credentialTypeCategories unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(credentialTypeCategories:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetCredentialTypeCategoriesResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetCredentialTypeCategoriesResponse *)doCopyCredentialTypeCategories:(NSArray *)credentialTypeCategories unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(credentialTypeCategories:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetCredentialTypeCategoriesResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSArray *credentialTypeCategories __attribute__((swift_name("credentialTypeCategories"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetCredentialTypeCategoriesResponse.Companion"))) +@interface PAPIGetCredentialTypeCategoriesResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetCredentialTypeCategoriesResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetCredentialTypeCategoriesResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetCredentialTypeCategoriesResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetCredentialTypeRequest"))) +@interface PAPIGetCredentialTypeRequest : PAPIBase +- (instancetype)initWithCredentialTypeId:(NSString *)credentialTypeId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(credentialTypeId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetCredentialTypeRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetCredentialTypeRequest *)doCopyCredentialTypeId:(NSString *)credentialTypeId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(credentialTypeId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetCredentialTypeRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *credentialTypeId __attribute__((swift_name("credentialTypeId"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetCredentialTypeRequest.Companion"))) +@interface PAPIGetCredentialTypeRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetCredentialTypeRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetCredentialTypeRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetCredentialTypeRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetCredentialTypeResponse"))) +@interface PAPIGetCredentialTypeResponse : PAPIBase +- (instancetype)initWithCredentialType:(PAPICredentialTypeWithRequiredFields * _Nullable)credentialType unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(credentialType:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetCredentialTypeResponseCompanion *companion __attribute__((swift_name("companion"))); +- (PAPICredentialTypeWithRequiredFields * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetCredentialTypeResponse *)doCopyCredentialType:(PAPICredentialTypeWithRequiredFields * _Nullable)credentialType unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(credentialType:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetCredentialTypeResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPICredentialTypeWithRequiredFields * _Nullable credentialType __attribute__((swift_name("credentialType"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetCredentialTypeResponse.Companion"))) +@interface PAPIGetCredentialTypeResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetCredentialTypeResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetCredentialTypeResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetCredentialTypeResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetCredentialTypesRequest"))) +@interface PAPIGetCredentialTypesRequest : PAPIBase +- (instancetype)initWithUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetCredentialTypesRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPIGetCredentialTypesRequest *)doCopyUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetCredentialTypesRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetCredentialTypesRequest.Companion"))) +@interface PAPIGetCredentialTypesRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetCredentialTypesRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetCredentialTypesRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetCredentialTypesRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetCredentialTypesResponse"))) +@interface PAPIGetCredentialTypesResponse : PAPIBase +- (instancetype)initWithCredentialTypes:(NSArray *)credentialTypes unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(credentialTypes:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetCredentialTypesResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetCredentialTypesResponse *)doCopyCredentialTypes:(NSArray *)credentialTypes unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(credentialTypes:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetCredentialTypesResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSArray *credentialTypes __attribute__((swift_name("credentialTypes"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetCredentialTypesResponse.Companion"))) +@interface PAPIGetCredentialTypesResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetCredentialTypesResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetCredentialTypesResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetCredentialTypesResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetCurrentUserRequest"))) +@interface PAPIGetCurrentUserRequest : PAPIBase +- (instancetype)initWithUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetCurrentUserRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPIGetCurrentUserRequest *)doCopyUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetCurrentUserRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetCurrentUserRequest.Companion"))) +@interface PAPIGetCurrentUserRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetCurrentUserRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetCurrentUserRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetCurrentUserRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetCurrentUserResponse"))) +@interface PAPIGetCurrentUserResponse : PAPIBase +- (instancetype)initWithRole:(PAPIGetCurrentUserResponseRole *)role name:(NSString *)name logo:(PAPIByteArr *)logo unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(role:name:logo:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetCurrentUserResponseCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIGetCurrentUserResponseRole *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (PAPIByteArr *)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPIGetCurrentUserResponse *)doCopyRole:(PAPIGetCurrentUserResponseRole *)role name:(NSString *)name logo:(PAPIByteArr *)logo unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(role:name:logo:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetCurrentUserResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIByteArr *logo __attribute__((swift_name("logo"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPIGetCurrentUserResponseRole *role __attribute__((swift_name("role"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetCurrentUserResponse.Companion"))) +@interface PAPIGetCurrentUserResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetCurrentUserResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetCurrentUserResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetCurrentUserResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("GetCurrentUserResponse.Role"))) +@interface PAPIGetCurrentUserResponseRole : PAPIBase +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetCurrentUserResponseRoleCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly, getter=name_) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) int32_t value_ __attribute__((swift_name("value_"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetCurrentUserResponse.RoleCompanion"))) +@interface PAPIGetCurrentUserResponseRoleCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetCurrentUserResponseRoleCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetCurrentUserResponseRole *)fromNameName:(NSString *)name __attribute__((swift_name("fromName(name:)"))); +- (PAPIGetCurrentUserResponseRole *)fromValueValue:(int32_t)value __attribute__((swift_name("fromValue(value:)"))); +@property (readonly) NSArray *values __attribute__((swift_name("values"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetCurrentUserResponse.RoleISSUER"))) +@interface PAPIGetCurrentUserResponseRoleISSUER : PAPIGetCurrentUserResponseRole ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)iSSUER __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetCurrentUserResponseRoleISSUER *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetCurrentUserResponse.RoleUNRECOGNIZED"))) +@interface PAPIGetCurrentUserResponseRoleUNRECOGNIZED : PAPIGetCurrentUserResponseRole +- (instancetype)initWithValue:(int32_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetCurrentUserResponse.RoleVERIFIER"))) +@interface PAPIGetCurrentUserResponseRoleVERIFIER : PAPIGetCurrentUserResponseRole ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)vERIFIER __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetCurrentUserResponseRoleVERIFIER *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetDidDocumentRequest"))) +@interface PAPIGetDidDocumentRequest : PAPIBase +- (instancetype)initWithDid:(NSString *)did unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(did:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetDidDocumentRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetDidDocumentRequest *)doCopyDid:(NSString *)did unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(did:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetDidDocumentRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *did __attribute__((swift_name("did"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetDidDocumentRequest.Companion"))) +@interface PAPIGetDidDocumentRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetDidDocumentRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetDidDocumentRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetDidDocumentRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetDidDocumentResponse"))) +@interface PAPIGetDidDocumentResponse : PAPIBase +- (instancetype)initWithDocument:(PAPIDIDData * _Nullable)document lastSyncedBlockTimestamp:(PAPITimestamp * _Nullable)lastSyncedBlockTimestamp lastUpdateOperation:(PAPIByteArr *)lastUpdateOperation unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(document:lastSyncedBlockTimestamp:lastUpdateOperation:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetDidDocumentResponseCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIDIDData * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (PAPITimestamp * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (PAPIByteArr *)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPIGetDidDocumentResponse *)doCopyDocument:(PAPIDIDData * _Nullable)document lastSyncedBlockTimestamp:(PAPITimestamp * _Nullable)lastSyncedBlockTimestamp lastUpdateOperation:(PAPIByteArr *)lastUpdateOperation unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(document:lastSyncedBlockTimestamp:lastUpdateOperation:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetDidDocumentResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIDIDData * _Nullable document __attribute__((swift_name("document"))); +@property (readonly) PAPITimestamp * _Nullable lastSyncedBlockTimestamp __attribute__((swift_name("lastSyncedBlockTimestamp"))); +@property (readonly) PAPIByteArr *lastUpdateOperation __attribute__((swift_name("lastUpdateOperation"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetDidDocumentResponse.Companion"))) +@interface PAPIGetDidDocumentResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetDidDocumentResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetDidDocumentResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetDidDocumentResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetGenericCredentialsRequest"))) +@interface PAPIGetGenericCredentialsRequest : PAPIBase +- (instancetype)initWithLimit:(int32_t)limit offset:(int32_t)offset filterBy:(PAPIGetGenericCredentialsRequestFilterBy * _Nullable)filterBy sortBy:(PAPIGetGenericCredentialsRequestSortBy * _Nullable)sortBy unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(limit:offset:filterBy:sortBy:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetGenericCredentialsRequestCompanion *companion __attribute__((swift_name("companion"))); +- (int32_t)component1 __attribute__((swift_name("component1()"))); +- (int32_t)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetGenericCredentialsRequestFilterBy * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (PAPIGetGenericCredentialsRequestSortBy * _Nullable)component4 __attribute__((swift_name("component4()"))); +- (NSDictionary *)component5 __attribute__((swift_name("component5()"))); +- (PAPIGetGenericCredentialsRequest *)doCopyLimit:(int32_t)limit offset:(int32_t)offset filterBy:(PAPIGetGenericCredentialsRequestFilterBy * _Nullable)filterBy sortBy:(PAPIGetGenericCredentialsRequestSortBy * _Nullable)sortBy unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(limit:offset:filterBy:sortBy:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetGenericCredentialsRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIGetGenericCredentialsRequestFilterBy * _Nullable filterBy __attribute__((swift_name("filterBy"))); +@property (readonly) int32_t limit __attribute__((swift_name("limit"))); +@property (readonly) int32_t offset __attribute__((swift_name("offset"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPIGetGenericCredentialsRequestSortBy * _Nullable sortBy __attribute__((swift_name("sortBy"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetGenericCredentialsRequest.Companion"))) +@interface PAPIGetGenericCredentialsRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetGenericCredentialsRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetGenericCredentialsRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetGenericCredentialsRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetGenericCredentialsRequest.FilterBy"))) +@interface PAPIGetGenericCredentialsRequestFilterBy : PAPIBase +- (instancetype)initWithCredentialType:(NSString *)credentialType createdAfter:(PAPIDate * _Nullable)createdAfter createdBefore:(PAPIDate * _Nullable)createdBefore unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(credentialType:createdAfter:createdBefore:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetGenericCredentialsRequestFilterByCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIDate * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (PAPIDate * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPIGetGenericCredentialsRequestFilterBy *)doCopyCredentialType:(NSString *)credentialType createdAfter:(PAPIDate * _Nullable)createdAfter createdBefore:(PAPIDate * _Nullable)createdBefore unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(credentialType:createdAfter:createdBefore:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetGenericCredentialsRequestFilterBy *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIDate * _Nullable createdAfter __attribute__((swift_name("createdAfter"))); +@property (readonly) PAPIDate * _Nullable createdBefore __attribute__((swift_name("createdBefore"))); +@property (readonly) NSString *credentialType __attribute__((swift_name("credentialType"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetGenericCredentialsRequest.FilterByCompanion"))) +@interface PAPIGetGenericCredentialsRequestFilterByCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetGenericCredentialsRequestFilterByCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetGenericCredentialsRequestFilterBy *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetGenericCredentialsRequestFilterBy *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetGenericCredentialsRequest.SortBy"))) +@interface PAPIGetGenericCredentialsRequestSortBy : PAPIBase +- (instancetype)initWithField:(PAPIGetGenericCredentialsRequestSortByField *)field direction:(PAPISortByDirection *)direction unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(field:direction:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetGenericCredentialsRequestSortByCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIGetGenericCredentialsRequestSortByField *)component1 __attribute__((swift_name("component1()"))); +- (PAPISortByDirection *)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIGetGenericCredentialsRequestSortBy *)doCopyField:(PAPIGetGenericCredentialsRequestSortByField *)field direction:(PAPISortByDirection *)direction unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(field:direction:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetGenericCredentialsRequestSortBy *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPISortByDirection *direction __attribute__((swift_name("direction"))); +@property (readonly) PAPIGetGenericCredentialsRequestSortByField *field __attribute__((swift_name("field"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetGenericCredentialsRequest.SortByCompanion"))) +@interface PAPIGetGenericCredentialsRequestSortByCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetGenericCredentialsRequestSortByCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetGenericCredentialsRequestSortBy *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetGenericCredentialsRequestSortBy *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("GetGenericCredentialsRequest.SortByField"))) +@interface PAPIGetGenericCredentialsRequestSortByField : PAPIBase +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetGenericCredentialsRequestSortByFieldCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly, getter=name_) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) int32_t value_ __attribute__((swift_name("value_"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetGenericCredentialsRequest.SortByFieldCREATED_ON"))) +@interface PAPIGetGenericCredentialsRequestSortByFieldCREATED_ON : PAPIGetGenericCredentialsRequestSortByField ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)cREATED_ON __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetGenericCredentialsRequestSortByFieldCREATED_ON *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetGenericCredentialsRequest.SortByFieldCREDENTIAL_TYPE"))) +@interface PAPIGetGenericCredentialsRequestSortByFieldCREDENTIAL_TYPE : PAPIGetGenericCredentialsRequestSortByField ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)cREDENTIAL_TYPE __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetGenericCredentialsRequestSortByFieldCREDENTIAL_TYPE *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetGenericCredentialsRequest.SortByFieldCompanion"))) +@interface PAPIGetGenericCredentialsRequestSortByFieldCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetGenericCredentialsRequestSortByFieldCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetGenericCredentialsRequestSortByField *)fromNameName:(NSString *)name __attribute__((swift_name("fromName(name:)"))); +- (PAPIGetGenericCredentialsRequestSortByField *)fromValueValue:(int32_t)value __attribute__((swift_name("fromValue(value:)"))); +@property (readonly) NSArray *values __attribute__((swift_name("values"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetGenericCredentialsRequest.SortByFieldUNKNOWN"))) +@interface PAPIGetGenericCredentialsRequestSortByFieldUNKNOWN : PAPIGetGenericCredentialsRequestSortByField ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)uNKNOWN __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetGenericCredentialsRequestSortByFieldUNKNOWN *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetGenericCredentialsRequest.SortByFieldUNRECOGNIZED"))) +@interface PAPIGetGenericCredentialsRequestSortByFieldUNRECOGNIZED : PAPIGetGenericCredentialsRequestSortByField +- (instancetype)initWithValue:(int32_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetGenericCredentialsResponse"))) +@interface PAPIGetGenericCredentialsResponse : PAPIBase +- (instancetype)initWithCredentials:(NSArray *)credentials unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(credentials:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetGenericCredentialsResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetGenericCredentialsResponse *)doCopyCredentials:(NSArray *)credentials unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(credentials:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetGenericCredentialsResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSArray *credentials __attribute__((swift_name("credentials"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetGenericCredentialsResponse.Companion"))) +@interface PAPIGetGenericCredentialsResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetGenericCredentialsResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetGenericCredentialsResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetGenericCredentialsResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetGroupsRequest"))) +@interface PAPIGetGroupsRequest : PAPIBase +- (instancetype)initWithLimit:(int32_t)limit offset:(int32_t)offset filterBy:(PAPIGetGroupsRequestFilterBy * _Nullable)filterBy sortBy:(PAPIGetGroupsRequestSortBy * _Nullable)sortBy unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(limit:offset:filterBy:sortBy:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetGroupsRequestCompanion *companion __attribute__((swift_name("companion"))); +- (int32_t)component1 __attribute__((swift_name("component1()"))); +- (int32_t)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetGroupsRequestFilterBy * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (PAPIGetGroupsRequestSortBy * _Nullable)component4 __attribute__((swift_name("component4()"))); +- (NSDictionary *)component5 __attribute__((swift_name("component5()"))); +- (PAPIGetGroupsRequest *)doCopyLimit:(int32_t)limit offset:(int32_t)offset filterBy:(PAPIGetGroupsRequestFilterBy * _Nullable)filterBy sortBy:(PAPIGetGroupsRequestSortBy * _Nullable)sortBy unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(limit:offset:filterBy:sortBy:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetGroupsRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIGetGroupsRequestFilterBy * _Nullable filterBy __attribute__((swift_name("filterBy"))); +@property (readonly) int32_t limit __attribute__((swift_name("limit"))); +@property (readonly) int32_t offset __attribute__((swift_name("offset"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPIGetGroupsRequestSortBy * _Nullable sortBy __attribute__((swift_name("sortBy"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetGroupsRequest.Companion"))) +@interface PAPIGetGroupsRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetGroupsRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetGroupsRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetGroupsRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetGroupsRequest.FilterBy"))) +@interface PAPIGetGroupsRequestFilterBy : PAPIBase +- (instancetype)initWithName:(NSString *)name createdAfter:(PAPIDate * _Nullable)createdAfter createdBefore:(PAPIDate * _Nullable)createdBefore contactId:(NSString *)contactId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(name:createdAfter:createdBefore:contactId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetGroupsRequestFilterByCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIDate * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (PAPIDate * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (NSString *)component4 __attribute__((swift_name("component4()"))); +- (NSDictionary *)component5 __attribute__((swift_name("component5()"))); +- (PAPIGetGroupsRequestFilterBy *)doCopyName:(NSString *)name createdAfter:(PAPIDate * _Nullable)createdAfter createdBefore:(PAPIDate * _Nullable)createdBefore contactId:(NSString *)contactId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(name:createdAfter:createdBefore:contactId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetGroupsRequestFilterBy *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *contactId __attribute__((swift_name("contactId"))); +@property (readonly) PAPIDate * _Nullable createdAfter __attribute__((swift_name("createdAfter"))); +@property (readonly) PAPIDate * _Nullable createdBefore __attribute__((swift_name("createdBefore"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetGroupsRequest.FilterByCompanion"))) +@interface PAPIGetGroupsRequestFilterByCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetGroupsRequestFilterByCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetGroupsRequestFilterBy *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetGroupsRequestFilterBy *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetGroupsRequest.SortBy"))) +@interface PAPIGetGroupsRequestSortBy : PAPIBase +- (instancetype)initWithField:(PAPIGetGroupsRequestSortByField *)field direction:(PAPISortByDirection *)direction unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(field:direction:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetGroupsRequestSortByCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIGetGroupsRequestSortByField *)component1 __attribute__((swift_name("component1()"))); +- (PAPISortByDirection *)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIGetGroupsRequestSortBy *)doCopyField:(PAPIGetGroupsRequestSortByField *)field direction:(PAPISortByDirection *)direction unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(field:direction:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetGroupsRequestSortBy *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPISortByDirection *direction __attribute__((swift_name("direction"))); +@property (readonly) PAPIGetGroupsRequestSortByField *field __attribute__((swift_name("field"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetGroupsRequest.SortByCompanion"))) +@interface PAPIGetGroupsRequestSortByCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetGroupsRequestSortByCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetGroupsRequestSortBy *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetGroupsRequestSortBy *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("GetGroupsRequest.SortByField"))) +@interface PAPIGetGroupsRequestSortByField : PAPIBase +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetGroupsRequestSortByFieldCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly, getter=name_) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) int32_t value_ __attribute__((swift_name("value_"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetGroupsRequest.SortByFieldCREATED_AT"))) +@interface PAPIGetGroupsRequestSortByFieldCREATED_AT : PAPIGetGroupsRequestSortByField ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)cREATED_AT __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetGroupsRequestSortByFieldCREATED_AT *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetGroupsRequest.SortByFieldCompanion"))) +@interface PAPIGetGroupsRequestSortByFieldCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetGroupsRequestSortByFieldCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetGroupsRequestSortByField *)fromNameName:(NSString *)name __attribute__((swift_name("fromName(name:)"))); +- (PAPIGetGroupsRequestSortByField *)fromValueValue:(int32_t)value __attribute__((swift_name("fromValue(value:)"))); +@property (readonly) NSArray *values __attribute__((swift_name("values"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetGroupsRequest.SortByFieldNAME"))) +@interface PAPIGetGroupsRequestSortByFieldNAME : PAPIGetGroupsRequestSortByField ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)nAME __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetGroupsRequestSortByFieldNAME *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetGroupsRequest.SortByFieldNUMBER_OF_CONTACTS"))) +@interface PAPIGetGroupsRequestSortByFieldNUMBER_OF_CONTACTS : PAPIGetGroupsRequestSortByField ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)nUMBER_OF_CONTACTS __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetGroupsRequestSortByFieldNUMBER_OF_CONTACTS *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetGroupsRequest.SortByFieldUNKNOWN"))) +@interface PAPIGetGroupsRequestSortByFieldUNKNOWN : PAPIGetGroupsRequestSortByField ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)uNKNOWN __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetGroupsRequestSortByFieldUNKNOWN *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetGroupsRequest.SortByFieldUNRECOGNIZED"))) +@interface PAPIGetGroupsRequestSortByFieldUNRECOGNIZED : PAPIGetGroupsRequestSortByField +- (instancetype)initWithValue:(int32_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetGroupsResponse"))) +@interface PAPIGetGroupsResponse : PAPIBase +- (instancetype)initWithGroups:(NSArray *)groups totalNumberOfGroups:(int32_t)totalNumberOfGroups unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(groups:totalNumberOfGroups:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetGroupsResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (int32_t)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIGetGroupsResponse *)doCopyGroups:(NSArray *)groups totalNumberOfGroups:(int32_t)totalNumberOfGroups unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(groups:totalNumberOfGroups:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetGroupsResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSArray *groups __attribute__((swift_name("groups"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) int32_t totalNumberOfGroups __attribute__((swift_name("totalNumberOfGroups"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetGroupsResponse.Companion"))) +@interface PAPIGetGroupsResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetGroupsResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetGroupsResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetGroupsResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetLastSyncedBlockTimestampRequest"))) +@interface PAPIGetLastSyncedBlockTimestampRequest : PAPIBase +- (instancetype)initWithUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetLastSyncedBlockTimestampRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPIGetLastSyncedBlockTimestampRequest *)doCopyUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetLastSyncedBlockTimestampRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetLastSyncedBlockTimestampRequest.Companion"))) +@interface PAPIGetLastSyncedBlockTimestampRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetLastSyncedBlockTimestampRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetLastSyncedBlockTimestampRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetLastSyncedBlockTimestampRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetLastSyncedBlockTimestampResponse"))) +@interface PAPIGetLastSyncedBlockTimestampResponse : PAPIBase +- (instancetype)initWithLastSyncedBlockTimestamp:(PAPITimestamp * _Nullable)lastSyncedBlockTimestamp unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(lastSyncedBlockTimestamp:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetLastSyncedBlockTimestampResponseCompanion *companion __attribute__((swift_name("companion"))); +- (PAPITimestamp * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetLastSyncedBlockTimestampResponse *)doCopyLastSyncedBlockTimestamp:(PAPITimestamp * _Nullable)lastSyncedBlockTimestamp unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(lastSyncedBlockTimestamp:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetLastSyncedBlockTimestampResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPITimestamp * _Nullable lastSyncedBlockTimestamp __attribute__((swift_name("lastSyncedBlockTimestamp"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetLastSyncedBlockTimestampResponse.Companion"))) +@interface PAPIGetLastSyncedBlockTimestampResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetLastSyncedBlockTimestampResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetLastSyncedBlockTimestampResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetLastSyncedBlockTimestampResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetLatestCredentialExternalIdRequest"))) +@interface PAPIGetLatestCredentialExternalIdRequest : PAPIBase +- (instancetype)initWithUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetLatestCredentialExternalIdRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPIGetLatestCredentialExternalIdRequest *)doCopyUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetLatestCredentialExternalIdRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetLatestCredentialExternalIdRequest.Companion"))) +@interface PAPIGetLatestCredentialExternalIdRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetLatestCredentialExternalIdRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetLatestCredentialExternalIdRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetLatestCredentialExternalIdRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetLatestCredentialExternalIdResponse"))) +@interface PAPIGetLatestCredentialExternalIdResponse : PAPIBase +- (instancetype)initWithLatestCredentialExternalId:(NSString *)latestCredentialExternalId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(latestCredentialExternalId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetLatestCredentialExternalIdResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetLatestCredentialExternalIdResponse *)doCopyLatestCredentialExternalId:(NSString *)latestCredentialExternalId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(latestCredentialExternalId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetLatestCredentialExternalIdResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *latestCredentialExternalId __attribute__((swift_name("latestCredentialExternalId"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetLatestCredentialExternalIdResponse.Companion"))) +@interface PAPIGetLatestCredentialExternalIdResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetLatestCredentialExternalIdResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetLatestCredentialExternalIdResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetLatestCredentialExternalIdResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetLedgerDataRequest"))) +@interface PAPIGetLedgerDataRequest : PAPIBase +- (instancetype)initWithBatchId:(NSString *)batchId credentialHash:(PAPIByteArr *)credentialHash unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(batchId:credentialHash:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetLedgerDataRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIByteArr *)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIGetLedgerDataRequest *)doCopyBatchId:(NSString *)batchId credentialHash:(PAPIByteArr *)credentialHash unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(batchId:credentialHash:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetLedgerDataRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *batchId __attribute__((swift_name("batchId"))); +@property (readonly) PAPIByteArr *credentialHash __attribute__((swift_name("credentialHash"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetLedgerDataRequest.Companion"))) +@interface PAPIGetLedgerDataRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetLedgerDataRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetLedgerDataRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetLedgerDataRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetLedgerDataResponse"))) +@interface PAPIGetLedgerDataResponse : PAPIBase +- (instancetype)initWithBatchIssuance:(PAPILedgerData_ * _Nullable)batchIssuance batchRevocation:(PAPILedgerData_ * _Nullable)batchRevocation credentialRevocation:(PAPILedgerData_ * _Nullable)credentialRevocation unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(batchIssuance:batchRevocation:credentialRevocation:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetLedgerDataResponseCompanion *companion __attribute__((swift_name("companion"))); +- (PAPILedgerData_ * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (PAPILedgerData_ * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (PAPILedgerData_ * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPIGetLedgerDataResponse *)doCopyBatchIssuance:(PAPILedgerData_ * _Nullable)batchIssuance batchRevocation:(PAPILedgerData_ * _Nullable)batchRevocation credentialRevocation:(PAPILedgerData_ * _Nullable)credentialRevocation unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(batchIssuance:batchRevocation:credentialRevocation:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetLedgerDataResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPILedgerData_ * _Nullable batchIssuance __attribute__((swift_name("batchIssuance"))); +@property (readonly) PAPILedgerData_ * _Nullable batchRevocation __attribute__((swift_name("batchRevocation"))); +@property (readonly) PAPILedgerData_ * _Nullable credentialRevocation __attribute__((swift_name("credentialRevocation"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetLedgerDataResponse.Companion"))) +@interface PAPIGetLedgerDataResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetLedgerDataResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetLedgerDataResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetLedgerDataResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetMessageStreamRequest"))) +@interface PAPIGetMessageStreamRequest : PAPIBase +- (instancetype)initWithLastSeenMessageId:(NSString *)lastSeenMessageId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(lastSeenMessageId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetMessageStreamRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetMessageStreamRequest *)doCopyLastSeenMessageId:(NSString *)lastSeenMessageId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(lastSeenMessageId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetMessageStreamRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *lastSeenMessageId __attribute__((swift_name("lastSeenMessageId"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetMessageStreamRequest.Companion"))) +@interface PAPIGetMessageStreamRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetMessageStreamRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetMessageStreamRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetMessageStreamRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetMessageStreamResponse"))) +@interface PAPIGetMessageStreamResponse : PAPIBase +- (instancetype)initWithMessage:(PAPIReceivedMessage * _Nullable)message unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(message:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetMessageStreamResponseCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIReceivedMessage * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetMessageStreamResponse *)doCopyMessage:(PAPIReceivedMessage * _Nullable)message unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(message:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetMessageStreamResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIReceivedMessage * _Nullable message __attribute__((swift_name("message"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetMessageStreamResponse.Companion"))) +@interface PAPIGetMessageStreamResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetMessageStreamResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetMessageStreamResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetMessageStreamResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetMessagesForConnectionRequest"))) +@interface PAPIGetMessagesForConnectionRequest : PAPIBase +- (instancetype)initWithConnectionId:(NSString *)connectionId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(connectionId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetMessagesForConnectionRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetMessagesForConnectionRequest *)doCopyConnectionId:(NSString *)connectionId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(connectionId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetMessagesForConnectionRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *connectionId __attribute__((swift_name("connectionId"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetMessagesForConnectionRequest.Companion"))) +@interface PAPIGetMessagesForConnectionRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetMessagesForConnectionRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetMessagesForConnectionRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetMessagesForConnectionRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetMessagesForConnectionResponse"))) +@interface PAPIGetMessagesForConnectionResponse : PAPIBase +- (instancetype)initWithMessages:(NSArray *)messages unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(messages:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetMessagesForConnectionResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetMessagesForConnectionResponse *)doCopyMessages:(NSArray *)messages unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(messages:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetMessagesForConnectionResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSArray *messages __attribute__((swift_name("messages"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetMessagesForConnectionResponse.Companion"))) +@interface PAPIGetMessagesForConnectionResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetMessagesForConnectionResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetMessagesForConnectionResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetMessagesForConnectionResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetMessagesPaginatedRequest"))) +@interface PAPIGetMessagesPaginatedRequest : PAPIBase +- (instancetype)initWithLastSeenMessageId:(NSString *)lastSeenMessageId limit:(int32_t)limit unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(lastSeenMessageId:limit:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetMessagesPaginatedRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (int32_t)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIGetMessagesPaginatedRequest *)doCopyLastSeenMessageId:(NSString *)lastSeenMessageId limit:(int32_t)limit unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(lastSeenMessageId:limit:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetMessagesPaginatedRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *lastSeenMessageId __attribute__((swift_name("lastSeenMessageId"))); +@property (readonly) int32_t limit __attribute__((swift_name("limit"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetMessagesPaginatedRequest.Companion"))) +@interface PAPIGetMessagesPaginatedRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetMessagesPaginatedRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetMessagesPaginatedRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetMessagesPaginatedRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetMessagesPaginatedResponse"))) +@interface PAPIGetMessagesPaginatedResponse : PAPIBase +- (instancetype)initWithMessages:(NSArray *)messages unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(messages:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetMessagesPaginatedResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetMessagesPaginatedResponse *)doCopyMessages:(NSArray *)messages unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(messages:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetMessagesPaginatedResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSArray *messages __attribute__((swift_name("messages"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetMessagesPaginatedResponse.Companion"))) +@interface PAPIGetMessagesPaginatedResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetMessagesPaginatedResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetMessagesPaginatedResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetMessagesPaginatedResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetNodeBuildInfoRequest"))) +@interface PAPIGetNodeBuildInfoRequest : PAPIBase +- (instancetype)initWithUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetNodeBuildInfoRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPIGetNodeBuildInfoRequest *)doCopyUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetNodeBuildInfoRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetNodeBuildInfoRequest.Companion"))) +@interface PAPIGetNodeBuildInfoRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetNodeBuildInfoRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetNodeBuildInfoRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetNodeBuildInfoRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetNodeBuildInfoResponse"))) +@interface PAPIGetNodeBuildInfoResponse : PAPIBase +- (instancetype)initWithVersion:(NSString *)version scalaVersion:(NSString *)scalaVersion sbtVersion:(NSString *)sbtVersion unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(version:scalaVersion:sbtVersion:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetNodeBuildInfoResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (NSString *)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPIGetNodeBuildInfoResponse *)doCopyVersion:(NSString *)version scalaVersion:(NSString *)scalaVersion sbtVersion:(NSString *)sbtVersion unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(version:scalaVersion:sbtVersion:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetNodeBuildInfoResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSString *sbtVersion __attribute__((swift_name("sbtVersion"))); +@property (readonly) NSString *scalaVersion __attribute__((swift_name("scalaVersion"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@property (readonly) NSString *version __attribute__((swift_name("version"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetNodeBuildInfoResponse.Companion"))) +@interface PAPIGetNodeBuildInfoResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetNodeBuildInfoResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetNodeBuildInfoResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetNodeBuildInfoResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetOperationInfoRequest"))) +@interface PAPIGetOperationInfoRequest : PAPIBase +- (instancetype)initWithOperationId:(PAPIByteArr *)operationId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(operationId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetOperationInfoRequestCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIByteArr *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetOperationInfoRequest *)doCopyOperationId:(PAPIByteArr *)operationId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(operationId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetOperationInfoRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIByteArr *operationId __attribute__((swift_name("operationId"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetOperationInfoRequest.Companion"))) +@interface PAPIGetOperationInfoRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetOperationInfoRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetOperationInfoRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetOperationInfoRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetOperationInfoResponse"))) +@interface PAPIGetOperationInfoResponse : PAPIBase +- (instancetype)initWithOperationStatus:(PAPIOperationStatus *)operationStatus transactionId:(NSString *)transactionId lastSyncedBlockTimestamp:(PAPITimestamp * _Nullable)lastSyncedBlockTimestamp details:(NSString *)details unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(operationStatus:transactionId:lastSyncedBlockTimestamp:details:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetOperationInfoResponseCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIOperationStatus *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (PAPITimestamp * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (NSString *)component4 __attribute__((swift_name("component4()"))); +- (NSDictionary *)component5 __attribute__((swift_name("component5()"))); +- (PAPIGetOperationInfoResponse *)doCopyOperationStatus:(PAPIOperationStatus *)operationStatus transactionId:(NSString *)transactionId lastSyncedBlockTimestamp:(PAPITimestamp * _Nullable)lastSyncedBlockTimestamp details:(NSString *)details unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(operationStatus:transactionId:lastSyncedBlockTimestamp:details:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetOperationInfoResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *details __attribute__((swift_name("details"))); +@property (readonly) PAPITimestamp * _Nullable lastSyncedBlockTimestamp __attribute__((swift_name("lastSyncedBlockTimestamp"))); +@property (readonly) PAPIOperationStatus *operationStatus __attribute__((swift_name("operationStatus"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSString *transactionId __attribute__((swift_name("transactionId"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetOperationInfoResponse.Companion"))) +@interface PAPIGetOperationInfoResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetOperationInfoResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetOperationInfoResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetOperationInfoResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetStatisticsRequest"))) +@interface PAPIGetStatisticsRequest : PAPIBase +- (instancetype)initWithInterval:(PAPITimeInterval * _Nullable)interval unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(interval:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetStatisticsRequestCompanion *companion __attribute__((swift_name("companion"))); +- (PAPITimeInterval * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetStatisticsRequest *)doCopyInterval:(PAPITimeInterval * _Nullable)interval unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(interval:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetStatisticsRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPITimeInterval * _Nullable interval __attribute__((swift_name("interval"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetStatisticsRequest.Companion"))) +@interface PAPIGetStatisticsRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetStatisticsRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetStatisticsRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetStatisticsRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetStatisticsResponse"))) +@interface PAPIGetStatisticsResponse : PAPIBase +- (instancetype)initWithNumberOfContacts:(int32_t)numberOfContacts numberOfContactsPendingConnection:(int32_t)numberOfContactsPendingConnection numberOfContactsConnected:(int32_t)numberOfContactsConnected numberOfGroups:(int32_t)numberOfGroups numberOfCredentialsInDraft:(int32_t)numberOfCredentialsInDraft numberOfCredentialsPublished:(int32_t)numberOfCredentialsPublished numberOfCredentialsReceived:(int32_t)numberOfCredentialsReceived unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(numberOfContacts:numberOfContactsPendingConnection:numberOfContactsConnected:numberOfGroups:numberOfCredentialsInDraft:numberOfCredentialsPublished:numberOfCredentialsReceived:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetStatisticsResponseCompanion *companion __attribute__((swift_name("companion"))); +- (int32_t)component1 __attribute__((swift_name("component1()"))); +- (int32_t)component2 __attribute__((swift_name("component2()"))); +- (int32_t)component3 __attribute__((swift_name("component3()"))); +- (int32_t)component4 __attribute__((swift_name("component4()"))); +- (int32_t)component5 __attribute__((swift_name("component5()"))); +- (int32_t)component6 __attribute__((swift_name("component6()"))); +- (int32_t)component7 __attribute__((swift_name("component7()"))); +- (NSDictionary *)component8 __attribute__((swift_name("component8()"))); +- (PAPIGetStatisticsResponse *)doCopyNumberOfContacts:(int32_t)numberOfContacts numberOfContactsPendingConnection:(int32_t)numberOfContactsPendingConnection numberOfContactsConnected:(int32_t)numberOfContactsConnected numberOfGroups:(int32_t)numberOfGroups numberOfCredentialsInDraft:(int32_t)numberOfCredentialsInDraft numberOfCredentialsPublished:(int32_t)numberOfCredentialsPublished numberOfCredentialsReceived:(int32_t)numberOfCredentialsReceived unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(numberOfContacts:numberOfContactsPendingConnection:numberOfContactsConnected:numberOfGroups:numberOfCredentialsInDraft:numberOfCredentialsPublished:numberOfCredentialsReceived:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetStatisticsResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t numberOfContacts __attribute__((swift_name("numberOfContacts"))); +@property (readonly) int32_t numberOfContactsConnected __attribute__((swift_name("numberOfContactsConnected"))); +@property (readonly) int32_t numberOfContactsPendingConnection __attribute__((swift_name("numberOfContactsPendingConnection"))); +@property (readonly) int32_t numberOfCredentialsInDraft __attribute__((swift_name("numberOfCredentialsInDraft"))); +@property (readonly) int32_t numberOfCredentialsPublished __attribute__((swift_name("numberOfCredentialsPublished"))); +@property (readonly) int32_t numberOfCredentialsReceived __attribute__((swift_name("numberOfCredentialsReceived"))); +@property (readonly) int32_t numberOfGroups __attribute__((swift_name("numberOfGroups"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetStatisticsResponse.Companion"))) +@interface PAPIGetStatisticsResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetStatisticsResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetStatisticsResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetStatisticsResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetStoredCredentialsForRequest"))) +@interface PAPIGetStoredCredentialsForRequest : PAPIBase +- (instancetype)initWithIndividualId:(NSString *)individualId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(individualId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetStoredCredentialsForRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetStoredCredentialsForRequest *)doCopyIndividualId:(NSString *)individualId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(individualId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetStoredCredentialsForRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *individualId __attribute__((swift_name("individualId"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetStoredCredentialsForRequest.Companion"))) +@interface PAPIGetStoredCredentialsForRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetStoredCredentialsForRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetStoredCredentialsForRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetStoredCredentialsForRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetStoredCredentialsForResponse"))) +@interface PAPIGetStoredCredentialsForResponse : PAPIBase +- (instancetype)initWithCredentials:(NSArray *)credentials unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(credentials:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGetStoredCredentialsForResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetStoredCredentialsForResponse *)doCopyCredentials:(NSArray *)credentials unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(credentials:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGetStoredCredentialsForResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSArray *credentials __attribute__((swift_name("credentials"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetStoredCredentialsForResponse.Companion"))) +@interface PAPIGetStoredCredentialsForResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGetStoredCredentialsForResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGetStoredCredentialsForResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGetStoredCredentialsForResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Group"))) +@interface PAPIGroup : PAPIBase +- (instancetype)initWithName:(NSString *)name id:(NSString *)id numberOfContacts:(int32_t)numberOfContacts createdAt:(PAPITimestamp * _Nullable)createdAt unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(name:id:numberOfContacts:createdAt:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGroupCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (int32_t)component3 __attribute__((swift_name("component3()"))); +- (PAPITimestamp * _Nullable)component4 __attribute__((swift_name("component4()"))); +- (NSDictionary *)component5 __attribute__((swift_name("component5()"))); +- (PAPIGroup *)doCopyName:(NSString *)name id:(NSString *)id numberOfContacts:(int32_t)numberOfContacts createdAt:(PAPITimestamp * _Nullable)createdAt unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(name:id:numberOfContacts:createdAt:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGroup *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPITimestamp * _Nullable createdAt __attribute__((swift_name("createdAt"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *id __attribute__((swift_name("id"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) int32_t numberOfContacts __attribute__((swift_name("numberOfContacts"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Group.Companion"))) +@interface PAPIGroupCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGroupCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGroup *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGroup *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("GroupsServiceCoroutine"))) +@protocol PAPIGroupsServiceCoroutine +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CopyGroupReq:(PAPICopyGroupRequest *)req completionHandler:(void (^)(PAPICopyGroupResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CopyGroup(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CopyGroupAuthReq:(PAPICopyGroupRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPICopyGroupResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CopyGroupAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateGroupReq:(PAPICreateGroupRequest *)req completionHandler:(void (^)(PAPICreateGroupResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateGroup(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateGroupAuthReq:(PAPICreateGroupRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPICreateGroupResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateGroupAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)DeleteGroupReq:(PAPIDeleteGroupRequest *)req completionHandler:(void (^)(PAPIDeleteGroupResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("DeleteGroup(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)DeleteGroupAuthReq:(PAPIDeleteGroupRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIDeleteGroupResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("DeleteGroupAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetGroupsReq:(PAPIGetGroupsRequest *)req completionHandler:(void (^)(PAPIGetGroupsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetGroups(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetGroupsAuthReq:(PAPIGetGroupsRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetGroupsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetGroupsAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)UpdateGroupReq:(PAPIUpdateGroupRequest *)req completionHandler:(void (^)(PAPIUpdateGroupResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("UpdateGroup(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)UpdateGroupAuthReq:(PAPIUpdateGroupRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIUpdateGroupResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("UpdateGroupAuth(req:metadata:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GroupsServiceCoroutineClient"))) +@interface PAPIGroupsServiceCoroutineClient : PAPIBase +- (instancetype)initWithClient:(PAPIGrpcClient *)client __attribute__((swift_name("init(client:)"))) __attribute__((objc_designated_initializer)); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CopyGroupReq:(PAPICopyGroupRequest *)req completionHandler:(void (^)(PAPICopyGroupResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CopyGroup(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CopyGroupAuthReq:(PAPICopyGroupRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPICopyGroupResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CopyGroupAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateGroupReq:(PAPICreateGroupRequest *)req completionHandler:(void (^)(PAPICreateGroupResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateGroup(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)CreateGroupAuthReq:(PAPICreateGroupRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPICreateGroupResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("CreateGroupAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)DeleteGroupReq:(PAPIDeleteGroupRequest *)req completionHandler:(void (^)(PAPIDeleteGroupResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("DeleteGroup(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)DeleteGroupAuthReq:(PAPIDeleteGroupRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIDeleteGroupResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("DeleteGroupAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetGroupsReq:(PAPIGetGroupsRequest *)req completionHandler:(void (^)(PAPIGetGroupsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetGroups(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetGroupsAuthReq:(PAPIGetGroupsRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetGroupsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetGroupsAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)UpdateGroupReq:(PAPIUpdateGroupRequest *)req completionHandler:(void (^)(PAPIUpdateGroupResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("UpdateGroup(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)UpdateGroupAuthReq:(PAPIUpdateGroupRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIUpdateGroupResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("UpdateGroupAuth(req:metadata:completionHandler:)"))); +- (void)close __attribute__((swift_name("close()"))); +@property (readonly) PAPIGrpcClient *client __attribute__((swift_name("client"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GrpcClient"))) +@interface PAPIGrpcClient : PAPIBase +- (instancetype)initWithOptions:(PAPIGrpcOptions *)options __attribute__((swift_name("init(options:)"))) __attribute__((objc_designated_initializer)); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)callRequest:(id)request reqCompanion:(id)reqCompanion respCompanion:(id)respCompanion serviceName:(NSString *)serviceName methodName:(NSString *)methodName completionHandler:(void (^)(id _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("call(request:reqCompanion:respCompanion:serviceName:methodName:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)callAuthRequest:(id)request reqCompanion:(id)reqCompanion respCompanion:(id)respCompanion serviceName:(NSString *)serviceName methodName:(NSString *)methodName prismMetadata:(PAPIPrismMetadata *)prismMetadata completionHandler:(void (^)(id _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("callAuth(request:reqCompanion:respCompanion:serviceName:methodName:prismMetadata:completionHandler:)"))); +- (void)close __attribute__((swift_name("close()"))); +- (id)streamRequest:(id)request reqCompanion:(id)reqCompanion respCompanion:(id)respCompanion serviceName:(NSString *)serviceName methodName:(NSString *)methodName __attribute__((swift_name("stream(request:reqCompanion:respCompanion:serviceName:methodName:)"))); +- (id)streamAuthRequest:(id)request reqCompanion:(id)reqCompanion respCompanion:(id)respCompanion serviceName:(NSString *)serviceName methodName:(NSString *)methodName prismMetadata:(PAPIPrismMetadata *)prismMetadata __attribute__((swift_name("streamAuth(request:reqCompanion:respCompanion:serviceName:methodName:prismMetadata:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GrpcOptions"))) +@interface PAPIGrpcOptions : PAPIBase +- (instancetype)initWithProtocol:(NSString *)protocol host:(NSString *)host port:(int32_t)port __attribute__((swift_name("init(protocol:host:port:)"))) __attribute__((objc_designated_initializer)); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (int32_t)component3 __attribute__((swift_name("component3()"))); +- (PAPIGrpcOptions *)doCopyProtocol:(NSString *)protocol host:(NSString *)host port:(int32_t)port __attribute__((swift_name("doCopy(protocol:host:port:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *host __attribute__((swift_name("host"))); +@property (readonly) int32_t port __attribute__((swift_name("port"))); +@property (readonly) NSString *protocol __attribute__((swift_name("protocol"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("HealthCheckRequest"))) +@interface PAPIHealthCheckRequest : PAPIBase +- (instancetype)initWithUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIHealthCheckRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPIHealthCheckRequest *)doCopyUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIHealthCheckRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("HealthCheckRequest.Companion"))) +@interface PAPIHealthCheckRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIHealthCheckRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIHealthCheckRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIHealthCheckRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("HealthCheckResponse"))) +@interface PAPIHealthCheckResponse : PAPIBase +- (instancetype)initWithUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIHealthCheckResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPIHealthCheckResponse *)doCopyUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIHealthCheckResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("HealthCheckResponse.Companion"))) +@interface PAPIHealthCheckResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIHealthCheckResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIHealthCheckResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIHealthCheckResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("IssueCredentialBatchOperation"))) +@interface PAPIIssueCredentialBatchOperation : PAPIBase +- (instancetype)initWithCredentialBatchData:(PAPICredentialBatchData * _Nullable)credentialBatchData unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(credentialBatchData:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIIssueCredentialBatchOperationCompanion *companion __attribute__((swift_name("companion"))); +- (PAPICredentialBatchData * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIIssueCredentialBatchOperation *)doCopyCredentialBatchData:(PAPICredentialBatchData * _Nullable)credentialBatchData unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(credentialBatchData:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIIssueCredentialBatchOperation *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPICredentialBatchData * _Nullable credentialBatchData __attribute__((swift_name("credentialBatchData"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("IssueCredentialBatchOperation.Companion"))) +@interface PAPIIssueCredentialBatchOperationCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIIssueCredentialBatchOperationCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIIssueCredentialBatchOperation *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIIssueCredentialBatchOperation *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("IssueCredentialBatchOutput"))) +@interface PAPIIssueCredentialBatchOutput : PAPIBase +- (instancetype)initWithBatchId:(NSString *)batchId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(batchId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIIssueCredentialBatchOutputCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIIssueCredentialBatchOutput *)doCopyBatchId:(NSString *)batchId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(batchId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIIssueCredentialBatchOutput *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *batchId __attribute__((swift_name("batchId"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("IssueCredentialBatchOutput.Companion"))) +@interface PAPIIssueCredentialBatchOutputCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIIssueCredentialBatchOutputCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIIssueCredentialBatchOutput *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIIssueCredentialBatchOutput *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("KeyUsage"))) +@interface PAPIKeyUsage : PAPIBase +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIKeyUsageCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly, getter=name_) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) int32_t value_ __attribute__((swift_name("value_"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KeyUsage.AUTHENTICATION_KEY"))) +@interface PAPIKeyUsageAUTHENTICATION_KEY : PAPIKeyUsage ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)aUTHENTICATION_KEY __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKeyUsageAUTHENTICATION_KEY *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KeyUsage.COMMUNICATION_KEY"))) +@interface PAPIKeyUsageCOMMUNICATION_KEY : PAPIKeyUsage ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)cOMMUNICATION_KEY __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKeyUsageCOMMUNICATION_KEY *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KeyUsage.Companion"))) +@interface PAPIKeyUsageCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKeyUsageCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIKeyUsage *)fromNameName:(NSString *)name __attribute__((swift_name("fromName(name:)"))); +- (PAPIKeyUsage *)fromValueValue:(int32_t)value __attribute__((swift_name("fromValue(value:)"))); +@property (readonly) NSArray *values __attribute__((swift_name("values"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KeyUsage.ISSUING_KEY"))) +@interface PAPIKeyUsageISSUING_KEY : PAPIKeyUsage ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)iSSUING_KEY __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKeyUsageISSUING_KEY *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KeyUsage.MASTER_KEY"))) +@interface PAPIKeyUsageMASTER_KEY : PAPIKeyUsage ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)mASTER_KEY __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKeyUsageMASTER_KEY *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KeyUsage.REVOCATION_KEY"))) +@interface PAPIKeyUsageREVOCATION_KEY : PAPIKeyUsage ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)rEVOCATION_KEY __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKeyUsageREVOCATION_KEY *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KeyUsage.UNKNOWN_KEY"))) +@interface PAPIKeyUsageUNKNOWN_KEY : PAPIKeyUsage ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)uNKNOWN_KEY __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKeyUsageUNKNOWN_KEY *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KeyUsage.UNRECOGNIZED"))) +@interface PAPIKeyUsageUNRECOGNIZED : PAPIKeyUsage +- (instancetype)initWithValue:(int32_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((swift_name("Ledger"))) +@interface PAPILedger : PAPIBase +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPILedgerCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly, getter=name_) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) int32_t value_ __attribute__((swift_name("value_"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Ledger.CARDANO_MAINNET"))) +@interface PAPILedgerCARDANO_MAINNET : PAPILedger ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)cARDANO_MAINNET __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPILedgerCARDANO_MAINNET *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Ledger.CARDANO_TESTNET"))) +@interface PAPILedgerCARDANO_TESTNET : PAPILedger ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)cARDANO_TESTNET __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPILedgerCARDANO_TESTNET *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Ledger.Companion"))) +@interface PAPILedgerCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPILedgerCompanion *shared __attribute__((swift_name("shared"))); +- (PAPILedger *)fromNameName:(NSString *)name __attribute__((swift_name("fromName(name:)"))); +- (PAPILedger *)fromValueValue:(int32_t)value __attribute__((swift_name("fromValue(value:)"))); +@property (readonly) NSArray *values __attribute__((swift_name("values"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Ledger.IN_MEMORY"))) +@interface PAPILedgerIN_MEMORY : PAPILedger ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)iN_MEMORY __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPILedgerIN_MEMORY *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Ledger.UNKNOWN_LEDGER"))) +@interface PAPILedgerUNKNOWN_LEDGER : PAPILedger ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)uNKNOWN_LEDGER __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPILedgerUNKNOWN_LEDGER *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Ledger.UNRECOGNIZED"))) +@interface PAPILedgerUNRECOGNIZED : PAPILedger +- (instancetype)initWithValue:(int32_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("LedgerData_"))) +@interface PAPILedgerData_ : PAPIBase +- (instancetype)initWithTransactionId:(NSString *)transactionId ledger:(PAPILedger *)ledger timestampInfo:(PAPITimestampInfo * _Nullable)timestampInfo unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(transactionId:ledger:timestampInfo:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPILedgerData_Companion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPILedger *)component2 __attribute__((swift_name("component2()"))); +- (PAPITimestampInfo * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPILedgerData_ *)doCopyTransactionId:(NSString *)transactionId ledger:(PAPILedger *)ledger timestampInfo:(PAPITimestampInfo * _Nullable)timestampInfo unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(transactionId:ledger:timestampInfo:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPILedgerData_ *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPILedger *ledger __attribute__((swift_name("ledger"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPITimestampInfo * _Nullable timestampInfo __attribute__((swift_name("timestampInfo"))); +@property (readonly) NSString *transactionId __attribute__((swift_name("transactionId"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("LedgerData_.Companion"))) +@interface PAPILedgerData_Companion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPILedgerData_Companion *shared __attribute__((swift_name("shared"))); +- (PAPILedgerData_ *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPILedgerData_ *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MarkAsArchivedCredentialTypeRequest"))) +@interface PAPIMarkAsArchivedCredentialTypeRequest : PAPIBase +- (instancetype)initWithCredentialTypeId:(NSString *)credentialTypeId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(credentialTypeId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIMarkAsArchivedCredentialTypeRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIMarkAsArchivedCredentialTypeRequest *)doCopyCredentialTypeId:(NSString *)credentialTypeId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(credentialTypeId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIMarkAsArchivedCredentialTypeRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *credentialTypeId __attribute__((swift_name("credentialTypeId"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MarkAsArchivedCredentialTypeRequest.Companion"))) +@interface PAPIMarkAsArchivedCredentialTypeRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIMarkAsArchivedCredentialTypeRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIMarkAsArchivedCredentialTypeRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIMarkAsArchivedCredentialTypeRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MarkAsArchivedCredentialTypeResponse"))) +@interface PAPIMarkAsArchivedCredentialTypeResponse : PAPIBase +- (instancetype)initWithUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIMarkAsArchivedCredentialTypeResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPIMarkAsArchivedCredentialTypeResponse *)doCopyUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIMarkAsArchivedCredentialTypeResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MarkAsArchivedCredentialTypeResponse.Companion"))) +@interface PAPIMarkAsArchivedCredentialTypeResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIMarkAsArchivedCredentialTypeResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIMarkAsArchivedCredentialTypeResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIMarkAsArchivedCredentialTypeResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MarkAsReadyCredentialTypeRequest"))) +@interface PAPIMarkAsReadyCredentialTypeRequest : PAPIBase +- (instancetype)initWithCredentialTypeId:(NSString *)credentialTypeId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(credentialTypeId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIMarkAsReadyCredentialTypeRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIMarkAsReadyCredentialTypeRequest *)doCopyCredentialTypeId:(NSString *)credentialTypeId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(credentialTypeId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIMarkAsReadyCredentialTypeRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *credentialTypeId __attribute__((swift_name("credentialTypeId"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MarkAsReadyCredentialTypeRequest.Companion"))) +@interface PAPIMarkAsReadyCredentialTypeRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIMarkAsReadyCredentialTypeRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIMarkAsReadyCredentialTypeRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIMarkAsReadyCredentialTypeRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MarkAsReadyCredentialTypeResponse"))) +@interface PAPIMarkAsReadyCredentialTypeResponse : PAPIBase +- (instancetype)initWithUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIMarkAsReadyCredentialTypeResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPIMarkAsReadyCredentialTypeResponse *)doCopyUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIMarkAsReadyCredentialTypeResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MarkAsReadyCredentialTypeResponse.Companion"))) +@interface PAPIMarkAsReadyCredentialTypeResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIMarkAsReadyCredentialTypeResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIMarkAsReadyCredentialTypeResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIMarkAsReadyCredentialTypeResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MessageToSendByConnectionToken"))) +@interface PAPIMessageToSendByConnectionToken : PAPIBase +- (instancetype)initWithConnectionToken:(NSString *)connectionToken message:(PAPIAtalaMessage * _Nullable)message id:(NSString *)id unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(connectionToken:message:id:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIMessageToSendByConnectionTokenCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIAtalaMessage * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (NSString *)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPIMessageToSendByConnectionToken *)doCopyConnectionToken:(NSString *)connectionToken message:(PAPIAtalaMessage * _Nullable)message id:(NSString *)id unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(connectionToken:message:id:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIMessageToSendByConnectionToken *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *connectionToken __attribute__((swift_name("connectionToken"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *id __attribute__((swift_name("id"))); +@property (readonly) PAPIAtalaMessage * _Nullable message __attribute__((swift_name("message"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MessageToSendByConnectionToken.Companion"))) +@interface PAPIMessageToSendByConnectionTokenCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIMessageToSendByConnectionTokenCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIMessageToSendByConnectionToken *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIMessageToSendByConnectionToken *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("NodeServiceCoroutine"))) +@protocol PAPINodeServiceCoroutine +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetBatchStateReq:(PAPIGetBatchStateRequest *)req completionHandler:(void (^)(PAPIGetBatchStateResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetBatchState(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetBatchStateAuthReq:(PAPIGetBatchStateRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetBatchStateResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetBatchStateAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetCredentialRevocationTimeReq:(PAPIGetCredentialRevocationTimeRequest *)req completionHandler:(void (^)(PAPIGetCredentialRevocationTimeResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetCredentialRevocationTime(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetCredentialRevocationTimeAuthReq:(PAPIGetCredentialRevocationTimeRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetCredentialRevocationTimeResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetCredentialRevocationTimeAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetDidDocumentReq:(PAPIGetDidDocumentRequest *)req completionHandler:(void (^)(PAPIGetDidDocumentResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetDidDocument(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetDidDocumentAuthReq:(PAPIGetDidDocumentRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetDidDocumentResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetDidDocumentAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetLastSyncedBlockTimestampReq:(PAPIGetLastSyncedBlockTimestampRequest *)req completionHandler:(void (^)(PAPIGetLastSyncedBlockTimestampResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetLastSyncedBlockTimestamp(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetLastSyncedBlockTimestampAuthReq:(PAPIGetLastSyncedBlockTimestampRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetLastSyncedBlockTimestampResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetLastSyncedBlockTimestampAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetNodeBuildInfoReq:(PAPIGetNodeBuildInfoRequest *)req completionHandler:(void (^)(PAPIGetNodeBuildInfoResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetNodeBuildInfo(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetNodeBuildInfoAuthReq:(PAPIGetNodeBuildInfoRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetNodeBuildInfoResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetNodeBuildInfoAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetOperationInfoReq:(PAPIGetOperationInfoRequest *)req completionHandler:(void (^)(PAPIGetOperationInfoResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetOperationInfo(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetOperationInfoAuthReq:(PAPIGetOperationInfoRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetOperationInfoResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetOperationInfoAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)HealthCheckReq:(PAPIHealthCheckRequest *)req completionHandler:(void (^)(PAPIHealthCheckResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("HealthCheck(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)HealthCheckAuthReq:(PAPIHealthCheckRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIHealthCheckResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("HealthCheckAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)ScheduleOperationsReq:(PAPIScheduleOperationsRequest *)req completionHandler:(void (^)(PAPIScheduleOperationsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("ScheduleOperations(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)ScheduleOperationsAuthReq:(PAPIScheduleOperationsRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIScheduleOperationsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("ScheduleOperationsAuth(req:metadata:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("NodeServiceCoroutineClient"))) +@interface PAPINodeServiceCoroutineClient : PAPIBase +- (instancetype)initWithClient:(PAPIGrpcClient *)client __attribute__((swift_name("init(client:)"))) __attribute__((objc_designated_initializer)); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetBatchStateReq:(PAPIGetBatchStateRequest *)req completionHandler:(void (^)(PAPIGetBatchStateResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetBatchState(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetBatchStateAuthReq:(PAPIGetBatchStateRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetBatchStateResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetBatchStateAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetCredentialRevocationTimeReq:(PAPIGetCredentialRevocationTimeRequest *)req completionHandler:(void (^)(PAPIGetCredentialRevocationTimeResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetCredentialRevocationTime(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetCredentialRevocationTimeAuthReq:(PAPIGetCredentialRevocationTimeRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetCredentialRevocationTimeResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetCredentialRevocationTimeAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetDidDocumentReq:(PAPIGetDidDocumentRequest *)req completionHandler:(void (^)(PAPIGetDidDocumentResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetDidDocument(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetDidDocumentAuthReq:(PAPIGetDidDocumentRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetDidDocumentResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetDidDocumentAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetLastSyncedBlockTimestampReq:(PAPIGetLastSyncedBlockTimestampRequest *)req completionHandler:(void (^)(PAPIGetLastSyncedBlockTimestampResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetLastSyncedBlockTimestamp(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetLastSyncedBlockTimestampAuthReq:(PAPIGetLastSyncedBlockTimestampRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetLastSyncedBlockTimestampResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetLastSyncedBlockTimestampAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetNodeBuildInfoReq:(PAPIGetNodeBuildInfoRequest *)req completionHandler:(void (^)(PAPIGetNodeBuildInfoResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetNodeBuildInfo(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetNodeBuildInfoAuthReq:(PAPIGetNodeBuildInfoRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetNodeBuildInfoResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetNodeBuildInfoAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetOperationInfoReq:(PAPIGetOperationInfoRequest *)req completionHandler:(void (^)(PAPIGetOperationInfoResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetOperationInfo(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)GetOperationInfoAuthReq:(PAPIGetOperationInfoRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIGetOperationInfoResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("GetOperationInfoAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)HealthCheckReq:(PAPIHealthCheckRequest *)req completionHandler:(void (^)(PAPIHealthCheckResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("HealthCheck(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)HealthCheckAuthReq:(PAPIHealthCheckRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIHealthCheckResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("HealthCheckAuth(req:metadata:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)ScheduleOperationsReq:(PAPIScheduleOperationsRequest *)req completionHandler:(void (^)(PAPIScheduleOperationsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("ScheduleOperations(req:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)ScheduleOperationsAuthReq:(PAPIScheduleOperationsRequest *)req metadata:(PAPIPrismMetadata *)metadata completionHandler:(void (^)(PAPIScheduleOperationsResponse * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("ScheduleOperationsAuth(req:metadata:completionHandler:)"))); +- (void)close __attribute__((swift_name("close()"))); +@property (readonly) PAPIGrpcClient *client __attribute__((swift_name("client"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OperationOutput"))) +@interface PAPIOperationOutput : PAPIBase +- (instancetype)initWithResult:(PAPIOperationOutputResult * _Nullable)result operationMaybe:(PAPIOperationOutputOperationMaybe * _Nullable)operationMaybe unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(result:operationMaybe:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIOperationOutputCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIOperationOutputResult * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (PAPIOperationOutputOperationMaybe * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIOperationOutput *)doCopyResult:(PAPIOperationOutputResult * _Nullable)result operationMaybe:(PAPIOperationOutputOperationMaybe * _Nullable)operationMaybe unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(result:operationMaybe:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIOperationOutput *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIIssueCredentialBatchOutput * _Nullable batchOutput __attribute__((swift_name("batchOutput"))); +@property (readonly) PAPICreateDIDOutput * _Nullable createDidOutput __attribute__((swift_name("createDidOutput"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString * _Nullable error __attribute__((swift_name("error"))); +@property (readonly) PAPIByteArr * _Nullable operationId __attribute__((swift_name("operationId"))); +@property (readonly) PAPIOperationOutputOperationMaybe * _Nullable operationMaybe __attribute__((swift_name("operationMaybe"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPIProtocolVersionUpdateOutput * _Nullable protocolVersionUpdateOutput __attribute__((swift_name("protocolVersionUpdateOutput"))); +@property (readonly) PAPIOperationOutputResult * _Nullable result __attribute__((swift_name("result"))); +@property (readonly) PAPIRevokeCredentialsOutput * _Nullable revokeCredentialsOutput __attribute__((swift_name("revokeCredentialsOutput"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@property (readonly) PAPIUpdateDIDOutput * _Nullable updateDidOutput __attribute__((swift_name("updateDidOutput"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OperationOutput.Companion"))) +@interface PAPIOperationOutputCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOperationOutputCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIOperationOutput *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIOperationOutput *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("OperationOutputOperationMaybe"))) +@interface PAPIOperationOutputOperationMaybe : PAPIMessageOneOf +- (instancetype)initWithValue:(V _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OperationOutputOperationMaybeError"))) +@interface PAPIOperationOutputOperationMaybeError : PAPIOperationOutputOperationMaybe +- (instancetype)initWithError:(NSString *)error __attribute__((swift_name("init(error:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(id _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OperationOutputOperationMaybeOperationId"))) +@interface PAPIOperationOutputOperationMaybeOperationId : PAPIOperationOutputOperationMaybe +- (instancetype)initWithOperationId:(PAPIByteArr *)operationId __attribute__((swift_name("init(operationId:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(id _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((swift_name("OperationOutputResult"))) +@interface PAPIOperationOutputResult : PAPIMessageOneOf +- (instancetype)initWithValue:(V _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OperationOutputResultBatchOutput"))) +@interface PAPIOperationOutputResultBatchOutput : PAPIOperationOutputResult +- (instancetype)initWithBatchOutput:(PAPIIssueCredentialBatchOutput *)batchOutput __attribute__((swift_name("init(batchOutput:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(id _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OperationOutputResultCreateDidOutput"))) +@interface PAPIOperationOutputResultCreateDidOutput : PAPIOperationOutputResult +- (instancetype)initWithCreateDidOutput:(PAPICreateDIDOutput *)createDidOutput __attribute__((swift_name("init(createDidOutput:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(id _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OperationOutputResultProtocolVersionUpdateOutput"))) +@interface PAPIOperationOutputResultProtocolVersionUpdateOutput : PAPIOperationOutputResult +- (instancetype)initWithProtocolVersionUpdateOutput:(PAPIProtocolVersionUpdateOutput *)protocolVersionUpdateOutput __attribute__((swift_name("init(protocolVersionUpdateOutput:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(id _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OperationOutputResultRevokeCredentialsOutput"))) +@interface PAPIOperationOutputResultRevokeCredentialsOutput : PAPIOperationOutputResult +- (instancetype)initWithRevokeCredentialsOutput:(PAPIRevokeCredentialsOutput *)revokeCredentialsOutput __attribute__((swift_name("init(revokeCredentialsOutput:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(id _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OperationOutputResultUpdateDidOutput"))) +@interface PAPIOperationOutputResultUpdateDidOutput : PAPIOperationOutputResult +- (instancetype)initWithUpdateDidOutput:(PAPIUpdateDIDOutput *)updateDidOutput __attribute__((swift_name("init(updateDidOutput:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(id _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((swift_name("OperationStatus"))) +@interface PAPIOperationStatus : PAPIBase +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIOperationStatusCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly, getter=name_) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) int32_t value_ __attribute__((swift_name("value_"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OperationStatus.AWAIT_CONFIRMATION"))) +@interface PAPIOperationStatusAWAIT_CONFIRMATION : PAPIOperationStatus ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)aWAIT_CONFIRMATION __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOperationStatusAWAIT_CONFIRMATION *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OperationStatus.CONFIRMED_AND_APPLIED"))) +@interface PAPIOperationStatusCONFIRMED_AND_APPLIED : PAPIOperationStatus ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)cONFIRMED_AND_APPLIED __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOperationStatusCONFIRMED_AND_APPLIED *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OperationStatus.CONFIRMED_AND_REJECTED"))) +@interface PAPIOperationStatusCONFIRMED_AND_REJECTED : PAPIOperationStatus ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)cONFIRMED_AND_REJECTED __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOperationStatusCONFIRMED_AND_REJECTED *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OperationStatus.Companion"))) +@interface PAPIOperationStatusCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOperationStatusCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIOperationStatus *)fromNameName:(NSString *)name __attribute__((swift_name("fromName(name:)"))); +- (PAPIOperationStatus *)fromValueValue:(int32_t)value __attribute__((swift_name("fromValue(value:)"))); +@property (readonly) NSArray *values __attribute__((swift_name("values"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OperationStatus.PENDING_SUBMISSION"))) +@interface PAPIOperationStatusPENDING_SUBMISSION : PAPIOperationStatus ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)pENDING_SUBMISSION __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOperationStatusPENDING_SUBMISSION *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OperationStatus.UNKNOWN_OPERATION"))) +@interface PAPIOperationStatusUNKNOWN_OPERATION : PAPIOperationStatus ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)uNKNOWN_OPERATION __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOperationStatusUNKNOWN_OPERATION *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OperationStatus.UNRECOGNIZED"))) +@interface PAPIOperationStatusUNRECOGNIZED : PAPIOperationStatus +- (instancetype)initWithValue:(int32_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PlainTextCredential"))) +@interface PAPIPlainTextCredential : PAPIBase +- (instancetype)initWithEncodedCredential:(NSString *)encodedCredential encodedMerkleProof:(NSString *)encodedMerkleProof unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(encodedCredential:encodedMerkleProof:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIPlainTextCredentialCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIPlainTextCredential *)doCopyEncodedCredential:(NSString *)encodedCredential encodedMerkleProof:(NSString *)encodedMerkleProof unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(encodedCredential:encodedMerkleProof:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIPlainTextCredential *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *encodedCredential __attribute__((swift_name("encodedCredential"))); +@property (readonly) NSString *encodedMerkleProof __attribute__((swift_name("encodedMerkleProof"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PlainTextCredential.Companion"))) +@interface PAPIPlainTextCredentialCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIPlainTextCredentialCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIPlainTextCredential *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIPlainTextCredential *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PrismMetadata"))) +@interface PAPIPrismMetadata : PAPIBase +- (instancetype)initWithDid:(NSString *)did didKeyId:(NSString *)didKeyId didSignature:(PAPIKotlinByteArray *)didSignature requestNonce:(PAPIKotlinByteArray *)requestNonce __attribute__((swift_name("init(did:didKeyId:didSignature:requestNonce:)"))) __attribute__((objc_designated_initializer)); +@property (readonly) NSString *did __attribute__((swift_name("did"))); +@property (readonly) NSString *didKeyId __attribute__((swift_name("didKeyId"))); +@property (readonly) PAPIKotlinByteArray *didSignature __attribute__((swift_name("didSignature"))); +@property (readonly) PAPIKotlinByteArray *requestNonce __attribute__((swift_name("requestNonce"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ProofRequest"))) +@interface PAPIProofRequest : PAPIBase +- (instancetype)initWithTypeIds:(NSArray *)typeIds connectionToken:(NSString *)connectionToken unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(typeIds:connectionToken:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIProofRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIProofRequest *)doCopyTypeIds:(NSArray *)typeIds connectionToken:(NSString *)connectionToken unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(typeIds:connectionToken:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIProofRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *connectionToken __attribute__((swift_name("connectionToken"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSArray *typeIds __attribute__((swift_name("typeIds"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ProofRequest.Companion"))) +@interface PAPIProofRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIProofRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIProofRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIProofRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ProtocolVersionInfo"))) +@interface PAPIProtocolVersionInfo : PAPIBase +- (instancetype)initWithVersionName:(NSString *)versionName majorVersion:(int32_t)majorVersion minorVersion:(int32_t)minorVersion effectiveSince:(int32_t)effectiveSince unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(versionName:majorVersion:minorVersion:effectiveSince:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIProtocolVersionInfoCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (int32_t)component2 __attribute__((swift_name("component2()"))); +- (int32_t)component3 __attribute__((swift_name("component3()"))); +- (int32_t)component4 __attribute__((swift_name("component4()"))); +- (NSDictionary *)component5 __attribute__((swift_name("component5()"))); +- (PAPIProtocolVersionInfo *)doCopyVersionName:(NSString *)versionName majorVersion:(int32_t)majorVersion minorVersion:(int32_t)minorVersion effectiveSince:(int32_t)effectiveSince unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(versionName:majorVersion:minorVersion:effectiveSince:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIProtocolVersionInfo *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t effectiveSince __attribute__((swift_name("effectiveSince"))); +@property (readonly) int32_t majorVersion __attribute__((swift_name("majorVersion"))); +@property (readonly) int32_t minorVersion __attribute__((swift_name("minorVersion"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@property (readonly) NSString *versionName __attribute__((swift_name("versionName"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ProtocolVersionInfo.Companion"))) +@interface PAPIProtocolVersionInfoCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIProtocolVersionInfoCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIProtocolVersionInfo *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIProtocolVersionInfo *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ProtocolVersionUpdateOperation"))) +@interface PAPIProtocolVersionUpdateOperation : PAPIBase +- (instancetype)initWithProposerDid:(NSString *)proposerDid version:(PAPIProtocolVersionInfo * _Nullable)version unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(proposerDid:version:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIProtocolVersionUpdateOperationCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIProtocolVersionInfo * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIProtocolVersionUpdateOperation *)doCopyProposerDid:(NSString *)proposerDid version:(PAPIProtocolVersionInfo * _Nullable)version unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(proposerDid:version:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIProtocolVersionUpdateOperation *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *proposerDid __attribute__((swift_name("proposerDid"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@property (readonly) PAPIProtocolVersionInfo * _Nullable version __attribute__((swift_name("version"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ProtocolVersionUpdateOperation.Companion"))) +@interface PAPIProtocolVersionUpdateOperationCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIProtocolVersionUpdateOperationCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIProtocolVersionUpdateOperation *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIProtocolVersionUpdateOperation *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ProtocolVersionUpdateOutput"))) +@interface PAPIProtocolVersionUpdateOutput : PAPIBase +- (instancetype)initWithUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIProtocolVersionUpdateOutputCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPIProtocolVersionUpdateOutput *)doCopyUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIProtocolVersionUpdateOutput *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ProtocolVersionUpdateOutput.Companion"))) +@interface PAPIProtocolVersionUpdateOutputCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIProtocolVersionUpdateOutputCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIProtocolVersionUpdateOutput *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIProtocolVersionUpdateOutput *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PublicKey"))) +@interface PAPIPublicKey : PAPIBase +- (instancetype)initWithId:(NSString *)id usage:(PAPIKeyUsage *)usage addedOn:(PAPILedgerData_ * _Nullable)addedOn revokedOn:(PAPILedgerData_ * _Nullable)revokedOn keyData:(PAPIPublicKeyKeyData * _Nullable)keyData unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(id:usage:addedOn:revokedOn:keyData:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIPublicKeyCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIKeyUsage *)component2 __attribute__((swift_name("component2()"))); +- (PAPILedgerData_ * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (PAPILedgerData_ * _Nullable)component4 __attribute__((swift_name("component4()"))); +- (PAPIPublicKeyKeyData * _Nullable)component5 __attribute__((swift_name("component5()"))); +- (NSDictionary *)component6 __attribute__((swift_name("component6()"))); +- (PAPIPublicKey *)doCopyId:(NSString *)id usage:(PAPIKeyUsage *)usage addedOn:(PAPILedgerData_ * _Nullable)addedOn revokedOn:(PAPILedgerData_ * _Nullable)revokedOn keyData:(PAPIPublicKeyKeyData * _Nullable)keyData unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(id:usage:addedOn:revokedOn:keyData:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIPublicKey *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPILedgerData_ * _Nullable addedOn __attribute__((swift_name("addedOn"))); +@property (readonly) PAPICompressedECKeyData * _Nullable compressedEcKeyData __attribute__((swift_name("compressedEcKeyData"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIECKeyData * _Nullable ecKeyData __attribute__((swift_name("ecKeyData"))); +@property (readonly) NSString *id __attribute__((swift_name("id"))); +@property (readonly) PAPIPublicKeyKeyData * _Nullable keyData __attribute__((swift_name("keyData"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPILedgerData_ * _Nullable revokedOn __attribute__((swift_name("revokedOn"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@property (readonly) PAPIKeyUsage *usage __attribute__((swift_name("usage"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PublicKey.Companion"))) +@interface PAPIPublicKeyCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIPublicKeyCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIPublicKey *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIPublicKey *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("PublicKeyKeyData"))) +@interface PAPIPublicKeyKeyData : PAPIMessageOneOf +- (instancetype)initWithValue:(V _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PublicKeyKeyDataCompressedEcKeyData"))) +@interface PAPIPublicKeyKeyDataCompressedEcKeyData : PAPIPublicKeyKeyData +- (instancetype)initWithCompressedEcKeyData:(PAPICompressedECKeyData *)compressedEcKeyData __attribute__((swift_name("init(compressedEcKeyData:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(id _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PublicKeyKeyDataEcKeyData"))) +@interface PAPIPublicKeyKeyDataEcKeyData : PAPIPublicKeyKeyData +- (instancetype)initWithEcKeyData:(PAPIECKeyData *)ecKeyData __attribute__((swift_name("init(ecKeyData:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(id _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PublishBatchRequest"))) +@interface PAPIPublishBatchRequest : PAPIBase +- (instancetype)initWithIssueCredentialBatchOperation:(PAPISignedAtalaOperation * _Nullable)issueCredentialBatchOperation unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(issueCredentialBatchOperation:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIPublishBatchRequestCompanion *companion __attribute__((swift_name("companion"))); +- (PAPISignedAtalaOperation * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIPublishBatchRequest *)doCopyIssueCredentialBatchOperation:(PAPISignedAtalaOperation * _Nullable)issueCredentialBatchOperation unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(issueCredentialBatchOperation:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIPublishBatchRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPISignedAtalaOperation * _Nullable issueCredentialBatchOperation __attribute__((swift_name("issueCredentialBatchOperation"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PublishBatchRequest.Companion"))) +@interface PAPIPublishBatchRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIPublishBatchRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIPublishBatchRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIPublishBatchRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PublishBatchResponse"))) +@interface PAPIPublishBatchResponse : PAPIBase +- (instancetype)initWithBatchId:(NSString *)batchId operationId:(PAPIByteArr *)operationId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(batchId:operationId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIPublishBatchResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIByteArr *)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIPublishBatchResponse *)doCopyBatchId:(NSString *)batchId operationId:(PAPIByteArr *)operationId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(batchId:operationId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIPublishBatchResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *batchId __attribute__((swift_name("batchId"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIByteArr *operationId __attribute__((swift_name("operationId"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PublishBatchResponse.Companion"))) +@interface PAPIPublishBatchResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIPublishBatchResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIPublishBatchResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIPublishBatchResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ReceivedMessage"))) +@interface PAPIReceivedMessage : PAPIBase +- (instancetype)initWithId:(NSString *)id connectionId:(NSString *)connectionId message:(PAPIByteArr *)message received:(PAPITimestamp * _Nullable)received unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(id:connectionId:message:received:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIReceivedMessageCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (PAPIByteArr *)component3 __attribute__((swift_name("component3()"))); +- (PAPITimestamp * _Nullable)component4 __attribute__((swift_name("component4()"))); +- (NSDictionary *)component5 __attribute__((swift_name("component5()"))); +- (PAPIReceivedMessage *)doCopyId:(NSString *)id connectionId:(NSString *)connectionId message:(PAPIByteArr *)message received:(PAPITimestamp * _Nullable)received unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(id:connectionId:message:received:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIReceivedMessage *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *connectionId __attribute__((swift_name("connectionId"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *id __attribute__((swift_name("id"))); +@property (readonly) PAPIByteArr *message __attribute__((swift_name("message"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPITimestamp * _Nullable received __attribute__((swift_name("received"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ReceivedMessage.Companion"))) +@interface PAPIReceivedMessageCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIReceivedMessageCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIReceivedMessage *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIReceivedMessage *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RegisterConsoleDIDRequest"))) +@interface PAPIRegisterConsoleDIDRequest : PAPIBase +- (instancetype)initWithDid:(NSString *)did name:(NSString *)name logo:(PAPIByteArr *)logo unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(did:name:logo:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIRegisterConsoleDIDRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (PAPIByteArr *)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPIRegisterConsoleDIDRequest *)doCopyDid:(NSString *)did name:(NSString *)name logo:(PAPIByteArr *)logo unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(did:name:logo:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIRegisterConsoleDIDRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *did __attribute__((swift_name("did"))); +@property (readonly) PAPIByteArr *logo __attribute__((swift_name("logo"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RegisterConsoleDIDRequest.Companion"))) +@interface PAPIRegisterConsoleDIDRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIRegisterConsoleDIDRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIRegisterConsoleDIDRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIRegisterConsoleDIDRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RegisterConsoleDIDResponse"))) +@interface PAPIRegisterConsoleDIDResponse : PAPIBase +- (instancetype)initWithUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIRegisterConsoleDIDResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPIRegisterConsoleDIDResponse *)doCopyUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIRegisterConsoleDIDResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RegisterConsoleDIDResponse.Companion"))) +@interface PAPIRegisterConsoleDIDResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIRegisterConsoleDIDResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIRegisterConsoleDIDResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIRegisterConsoleDIDResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RegisterDIDRequest"))) +@interface PAPIRegisterDIDRequest : PAPIBase +- (instancetype)initWithRole:(PAPIRegisterDIDRequestRole *)role name:(NSString *)name logo:(PAPIByteArr *)logo registerWith:(PAPIRegisterDIDRequestRegisterWith * _Nullable)registerWith unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(role:name:logo:registerWith:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIRegisterDIDRequestCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIRegisterDIDRequestRole *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (PAPIByteArr *)component3 __attribute__((swift_name("component3()"))); +- (PAPIRegisterDIDRequestRegisterWith * _Nullable)component4 __attribute__((swift_name("component4()"))); +- (NSDictionary *)component5 __attribute__((swift_name("component5()"))); +- (PAPIRegisterDIDRequest *)doCopyRole:(PAPIRegisterDIDRequestRole *)role name:(NSString *)name logo:(PAPIByteArr *)logo registerWith:(PAPIRegisterDIDRequestRegisterWith * _Nullable)registerWith unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(role:name:logo:registerWith:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIRegisterDIDRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPISignedAtalaOperation * _Nullable createDidOperation __attribute__((swift_name("createDidOperation"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString * _Nullable existingDid __attribute__((swift_name("existingDid"))); +@property (readonly) PAPIByteArr *logo __attribute__((swift_name("logo"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPIRegisterDIDRequestRegisterWith * _Nullable registerWith __attribute__((swift_name("registerWith"))); +@property (readonly) PAPIRegisterDIDRequestRole *role __attribute__((swift_name("role"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RegisterDIDRequest.Companion"))) +@interface PAPIRegisterDIDRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIRegisterDIDRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIRegisterDIDRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIRegisterDIDRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("RegisterDIDRequestRegisterWith"))) +@interface PAPIRegisterDIDRequestRegisterWith : PAPIMessageOneOf +- (instancetype)initWithValue:(V _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RegisterDIDRequestRegisterWithCreateDidOperation"))) +@interface PAPIRegisterDIDRequestRegisterWithCreateDidOperation : PAPIRegisterDIDRequestRegisterWith +- (instancetype)initWithCreateDidOperation:(PAPISignedAtalaOperation *)createDidOperation __attribute__((swift_name("init(createDidOperation:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(id _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RegisterDIDRequestRegisterWithExistingDid"))) +@interface PAPIRegisterDIDRequestRegisterWithExistingDid : PAPIRegisterDIDRequestRegisterWith +- (instancetype)initWithExistingDid:(NSString *)existingDid __attribute__((swift_name("init(existingDid:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(id _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((swift_name("RegisterDIDRequest.Role"))) +@interface PAPIRegisterDIDRequestRole : PAPIBase +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIRegisterDIDRequestRoleCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly, getter=name_) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) int32_t value_ __attribute__((swift_name("value_"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RegisterDIDRequest.RoleCompanion"))) +@interface PAPIRegisterDIDRequestRoleCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIRegisterDIDRequestRoleCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIRegisterDIDRequestRole *)fromNameName:(NSString *)name __attribute__((swift_name("fromName(name:)"))); +- (PAPIRegisterDIDRequestRole *)fromValueValue:(int32_t)value __attribute__((swift_name("fromValue(value:)"))); +@property (readonly) NSArray *values __attribute__((swift_name("values"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RegisterDIDRequest.RoleISSUER"))) +@interface PAPIRegisterDIDRequestRoleISSUER : PAPIRegisterDIDRequestRole ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)iSSUER __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIRegisterDIDRequestRoleISSUER *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RegisterDIDRequest.RoleUNRECOGNIZED"))) +@interface PAPIRegisterDIDRequestRoleUNRECOGNIZED : PAPIRegisterDIDRequestRole +- (instancetype)initWithValue:(int32_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RegisterDIDRequest.RoleVERIFIER"))) +@interface PAPIRegisterDIDRequestRoleVERIFIER : PAPIRegisterDIDRequestRole ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)vERIFIER __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIRegisterDIDRequestRoleVERIFIER *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RegisterDIDResponse"))) +@interface PAPIRegisterDIDResponse : PAPIBase +- (instancetype)initWithDid:(NSString *)did operationId:(PAPIByteArr *)operationId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(did:operationId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIRegisterDIDResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIByteArr *)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIRegisterDIDResponse *)doCopyDid:(NSString *)did operationId:(PAPIByteArr *)operationId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(did:operationId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIRegisterDIDResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *did __attribute__((swift_name("did"))); +@property (readonly) PAPIByteArr *operationId __attribute__((swift_name("operationId"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RegisterDIDResponse.Companion"))) +@interface PAPIRegisterDIDResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIRegisterDIDResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIRegisterDIDResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIRegisterDIDResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RemoveKeyAction"))) +@interface PAPIRemoveKeyAction : PAPIBase +- (instancetype)initWithKeyId:(NSString *)keyId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(keyId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIRemoveKeyActionCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIRemoveKeyAction *)doCopyKeyId:(NSString *)keyId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(keyId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIRemoveKeyAction *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *keyId __attribute__((swift_name("keyId"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RemoveKeyAction.Companion"))) +@interface PAPIRemoveKeyActionCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIRemoveKeyActionCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIRemoveKeyAction *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIRemoveKeyAction *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RevokeConnectionRequest"))) +@interface PAPIRevokeConnectionRequest : PAPIBase +- (instancetype)initWithConnectionId:(NSString *)connectionId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(connectionId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIRevokeConnectionRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIRevokeConnectionRequest *)doCopyConnectionId:(NSString *)connectionId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(connectionId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIRevokeConnectionRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *connectionId __attribute__((swift_name("connectionId"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RevokeConnectionRequest.Companion"))) +@interface PAPIRevokeConnectionRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIRevokeConnectionRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIRevokeConnectionRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIRevokeConnectionRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RevokeConnectionResponse"))) +@interface PAPIRevokeConnectionResponse : PAPIBase +- (instancetype)initWithUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIRevokeConnectionResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPIRevokeConnectionResponse *)doCopyUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIRevokeConnectionResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RevokeConnectionResponse.Companion"))) +@interface PAPIRevokeConnectionResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIRevokeConnectionResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIRevokeConnectionResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIRevokeConnectionResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RevokeCredentialsOperation"))) +@interface PAPIRevokeCredentialsOperation : PAPIBase +- (instancetype)initWithPreviousOperationHash:(PAPIByteArr *)previousOperationHash credentialBatchId:(NSString *)credentialBatchId credentialsToRevoke:(NSArray *)credentialsToRevoke unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(previousOperationHash:credentialBatchId:credentialsToRevoke:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIRevokeCredentialsOperationCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIByteArr *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (NSArray *)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPIRevokeCredentialsOperation *)doCopyPreviousOperationHash:(PAPIByteArr *)previousOperationHash credentialBatchId:(NSString *)credentialBatchId credentialsToRevoke:(NSArray *)credentialsToRevoke unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(previousOperationHash:credentialBatchId:credentialsToRevoke:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIRevokeCredentialsOperation *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *credentialBatchId __attribute__((swift_name("credentialBatchId"))); +@property (readonly) NSArray *credentialsToRevoke __attribute__((swift_name("credentialsToRevoke"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIByteArr *previousOperationHash __attribute__((swift_name("previousOperationHash"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RevokeCredentialsOperation.Companion"))) +@interface PAPIRevokeCredentialsOperationCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIRevokeCredentialsOperationCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIRevokeCredentialsOperation *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIRevokeCredentialsOperation *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RevokeCredentialsOutput"))) +@interface PAPIRevokeCredentialsOutput : PAPIBase +- (instancetype)initWithUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIRevokeCredentialsOutputCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPIRevokeCredentialsOutput *)doCopyUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIRevokeCredentialsOutput *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RevokeCredentialsOutput.Companion"))) +@interface PAPIRevokeCredentialsOutputCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIRevokeCredentialsOutputCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIRevokeCredentialsOutput *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIRevokeCredentialsOutput *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RevokePublishedCredentialRequest"))) +@interface PAPIRevokePublishedCredentialRequest : PAPIBase +- (instancetype)initWithCredentialId:(NSString *)credentialId revokeCredentialsOperation:(PAPISignedAtalaOperation * _Nullable)revokeCredentialsOperation unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(credentialId:revokeCredentialsOperation:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIRevokePublishedCredentialRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPISignedAtalaOperation * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIRevokePublishedCredentialRequest *)doCopyCredentialId:(NSString *)credentialId revokeCredentialsOperation:(PAPISignedAtalaOperation * _Nullable)revokeCredentialsOperation unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(credentialId:revokeCredentialsOperation:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIRevokePublishedCredentialRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *credentialId __attribute__((swift_name("credentialId"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPISignedAtalaOperation * _Nullable revokeCredentialsOperation __attribute__((swift_name("revokeCredentialsOperation"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RevokePublishedCredentialRequest.Companion"))) +@interface PAPIRevokePublishedCredentialRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIRevokePublishedCredentialRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIRevokePublishedCredentialRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIRevokePublishedCredentialRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RevokePublishedCredentialResponse"))) +@interface PAPIRevokePublishedCredentialResponse : PAPIBase +- (instancetype)initWithOperationId:(PAPIByteArr *)operationId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(operationId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIRevokePublishedCredentialResponseCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIByteArr *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIRevokePublishedCredentialResponse *)doCopyOperationId:(PAPIByteArr *)operationId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(operationId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIRevokePublishedCredentialResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIByteArr *operationId __attribute__((swift_name("operationId"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RevokePublishedCredentialResponse.Companion"))) +@interface PAPIRevokePublishedCredentialResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIRevokePublishedCredentialResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIRevokePublishedCredentialResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIRevokePublishedCredentialResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ScheduleOperationsRequest"))) +@interface PAPIScheduleOperationsRequest : PAPIBase +- (instancetype)initWithSignedOperations:(NSArray *)signedOperations unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(signedOperations:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIScheduleOperationsRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIScheduleOperationsRequest *)doCopySignedOperations:(NSArray *)signedOperations unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(signedOperations:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIScheduleOperationsRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSArray *signedOperations __attribute__((swift_name("signedOperations"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ScheduleOperationsRequest.Companion"))) +@interface PAPIScheduleOperationsRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIScheduleOperationsRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIScheduleOperationsRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIScheduleOperationsRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ScheduleOperationsResponse"))) +@interface PAPIScheduleOperationsResponse : PAPIBase +- (instancetype)initWithOutputs:(NSArray *)outputs unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(outputs:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIScheduleOperationsResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIScheduleOperationsResponse *)doCopyOutputs:(NSArray *)outputs unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(outputs:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIScheduleOperationsResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSArray *outputs __attribute__((swift_name("outputs"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ScheduleOperationsResponse.Companion"))) +@interface PAPIScheduleOperationsResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIScheduleOperationsResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIScheduleOperationsResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIScheduleOperationsResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SendMessageRequest"))) +@interface PAPISendMessageRequest : PAPIBase +- (instancetype)initWithConnectionId:(NSString *)connectionId message:(PAPIByteArr *)message id:(NSString *)id unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(connectionId:message:id:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPISendMessageRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIByteArr *)component2 __attribute__((swift_name("component2()"))); +- (NSString *)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPISendMessageRequest *)doCopyConnectionId:(NSString *)connectionId message:(PAPIByteArr *)message id:(NSString *)id unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(connectionId:message:id:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPISendMessageRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *connectionId __attribute__((swift_name("connectionId"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *id __attribute__((swift_name("id"))); +@property (readonly) PAPIByteArr *message __attribute__((swift_name("message"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SendMessageRequest.Companion"))) +@interface PAPISendMessageRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPISendMessageRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPISendMessageRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPISendMessageRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SendMessageResponse"))) +@interface PAPISendMessageResponse : PAPIBase +- (instancetype)initWithId:(NSString *)id unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(id:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPISendMessageResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPISendMessageResponse *)doCopyId:(NSString *)id unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(id:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPISendMessageResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *id __attribute__((swift_name("id"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SendMessageResponse.Companion"))) +@interface PAPISendMessageResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPISendMessageResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPISendMessageResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPISendMessageResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SendMessagesRequest"))) +@interface PAPISendMessagesRequest : PAPIBase +- (instancetype)initWithMessagesByConnectionToken:(NSArray *)messagesByConnectionToken unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(messagesByConnectionToken:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPISendMessagesRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPISendMessagesRequest *)doCopyMessagesByConnectionToken:(NSArray *)messagesByConnectionToken unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(messagesByConnectionToken:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPISendMessagesRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSArray *messagesByConnectionToken __attribute__((swift_name("messagesByConnectionToken"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SendMessagesRequest.Companion"))) +@interface PAPISendMessagesRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPISendMessagesRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPISendMessagesRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPISendMessagesRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SendMessagesResponse"))) +@interface PAPISendMessagesResponse : PAPIBase +- (instancetype)initWithIds:(NSArray *)ids unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(ids:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPISendMessagesResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPISendMessagesResponse *)doCopyIds:(NSArray *)ids unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(ids:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPISendMessagesResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSArray *ids __attribute__((swift_name("ids"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SendMessagesResponse.Companion"))) +@interface PAPISendMessagesResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPISendMessagesResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPISendMessagesResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPISendMessagesResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ShareCredentialRequest"))) +@interface PAPIShareCredentialRequest : PAPIBase +- (instancetype)initWithCmanagerCredentialId:(NSString *)cmanagerCredentialId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(cmanagerCredentialId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIShareCredentialRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIShareCredentialRequest *)doCopyCmanagerCredentialId:(NSString *)cmanagerCredentialId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(cmanagerCredentialId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIShareCredentialRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *cmanagerCredentialId __attribute__((swift_name("cmanagerCredentialId"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ShareCredentialRequest.Companion"))) +@interface PAPIShareCredentialRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIShareCredentialRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIShareCredentialRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIShareCredentialRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ShareCredentialResponse"))) +@interface PAPIShareCredentialResponse : PAPIBase +- (instancetype)initWithUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIShareCredentialResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPIShareCredentialResponse *)doCopyUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIShareCredentialResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ShareCredentialResponse.Companion"))) +@interface PAPIShareCredentialResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIShareCredentialResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIShareCredentialResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIShareCredentialResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ShareCredentialsRequest"))) +@interface PAPIShareCredentialsRequest : PAPIBase +- (instancetype)initWithCredentialsIds:(NSArray *)credentialsIds sendMessagesRequest:(PAPISendMessagesRequest * _Nullable)sendMessagesRequest sendMessagesRequestMetadata:(PAPIConnectorRequestMetadata * _Nullable)sendMessagesRequestMetadata unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(credentialsIds:sendMessagesRequest:sendMessagesRequestMetadata:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIShareCredentialsRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (PAPISendMessagesRequest * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (PAPIConnectorRequestMetadata * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPIShareCredentialsRequest *)doCopyCredentialsIds:(NSArray *)credentialsIds sendMessagesRequest:(PAPISendMessagesRequest * _Nullable)sendMessagesRequest sendMessagesRequestMetadata:(PAPIConnectorRequestMetadata * _Nullable)sendMessagesRequestMetadata unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(credentialsIds:sendMessagesRequest:sendMessagesRequestMetadata:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIShareCredentialsRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSArray *credentialsIds __attribute__((swift_name("credentialsIds"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPISendMessagesRequest * _Nullable sendMessagesRequest __attribute__((swift_name("sendMessagesRequest"))); +@property (readonly) PAPIConnectorRequestMetadata * _Nullable sendMessagesRequestMetadata __attribute__((swift_name("sendMessagesRequestMetadata"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ShareCredentialsRequest.Companion"))) +@interface PAPIShareCredentialsRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIShareCredentialsRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIShareCredentialsRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIShareCredentialsRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ShareCredentialsResponse"))) +@interface PAPIShareCredentialsResponse : PAPIBase +- (instancetype)initWithUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIShareCredentialsResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPIShareCredentialsResponse *)doCopyUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIShareCredentialsResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ShareCredentialsResponse.Companion"))) +@interface PAPIShareCredentialsResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIShareCredentialsResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIShareCredentialsResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIShareCredentialsResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SignedAtalaOperation"))) +@interface PAPISignedAtalaOperation : PAPIBase +- (instancetype)initWithSignedWith:(NSString *)signedWith signature:(PAPIByteArr *)signature operation:(PAPIAtalaOperation * _Nullable)operation unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(signedWith:signature:operation:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPISignedAtalaOperationCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIByteArr *)component2 __attribute__((swift_name("component2()"))); +- (PAPIAtalaOperation * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPISignedAtalaOperation *)doCopySignedWith:(NSString *)signedWith signature:(PAPIByteArr *)signature operation:(PAPIAtalaOperation * _Nullable)operation unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(signedWith:signature:operation:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPISignedAtalaOperation *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIAtalaOperation * _Nullable operation __attribute__((swift_name("operation"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPIByteArr *signature __attribute__((swift_name("signature"))); +@property (readonly) NSString *signedWith __attribute__((swift_name("signedWith"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SignedAtalaOperation.Companion"))) +@interface PAPISignedAtalaOperationCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPISignedAtalaOperationCompanion *shared __attribute__((swift_name("shared"))); +- (PAPISignedAtalaOperation *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPISignedAtalaOperation *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("SortByDirection"))) +@interface PAPISortByDirection : PAPIBase +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPISortByDirectionCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly, getter=name_) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) int32_t value_ __attribute__((swift_name("value_"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SortByDirection.ASCENDING"))) +@interface PAPISortByDirectionASCENDING : PAPISortByDirection ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)aSCENDING __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPISortByDirectionASCENDING *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SortByDirection.Companion"))) +@interface PAPISortByDirectionCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPISortByDirectionCompanion *shared __attribute__((swift_name("shared"))); +- (PAPISortByDirection *)fromNameName:(NSString *)name __attribute__((swift_name("fromName(name:)"))); +- (PAPISortByDirection *)fromValueValue:(int32_t)value __attribute__((swift_name("fromValue(value:)"))); +@property (readonly) NSArray *values __attribute__((swift_name("values"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SortByDirection.DESCENDING"))) +@interface PAPISortByDirectionDESCENDING : PAPISortByDirection ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)dESCENDING __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPISortByDirectionDESCENDING *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SortByDirection.UNKNOWN"))) +@interface PAPISortByDirectionUNKNOWN : PAPISortByDirection ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)uNKNOWN __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPISortByDirectionUNKNOWN *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SortByDirection.UNRECOGNIZED"))) +@interface PAPISortByDirectionUNRECOGNIZED : PAPISortByDirection +- (instancetype)initWithValue:(int32_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(int32_t)value name:(NSString * _Nullable)name __attribute__((swift_name("init(value:name:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Status"))) +@interface PAPIStatus : PAPIBase +- (instancetype)initWithCode:(int32_t)code message:(NSString *)message details:(NSArray *)details unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(code:message:details:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIStatusCompanion *companion __attribute__((swift_name("companion"))); +- (int32_t)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (NSArray *)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPIStatus *)doCopyCode:(int32_t)code message:(NSString *)message details:(NSArray *)details unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(code:message:details:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIStatus *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) int32_t code __attribute__((swift_name("code"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSArray *details __attribute__((swift_name("details"))); +@property (readonly) NSString *message __attribute__((swift_name("message"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Status.Companion"))) +@interface PAPIStatusCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIStatusCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIStatus *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIStatus *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("StoreCredentialRequest"))) +@interface PAPIStoreCredentialRequest : PAPIBase +- (instancetype)initWithConnectionToken:(NSString *)connectionToken encodedSignedCredential:(NSString *)encodedSignedCredential credentialExternalId:(NSString *)credentialExternalId batchInclusionProof:(NSString *)batchInclusionProof unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(connectionToken:encodedSignedCredential:credentialExternalId:batchInclusionProof:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIStoreCredentialRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (NSString *)component3 __attribute__((swift_name("component3()"))); +- (NSString *)component4 __attribute__((swift_name("component4()"))); +- (NSDictionary *)component5 __attribute__((swift_name("component5()"))); +- (PAPIStoreCredentialRequest *)doCopyConnectionToken:(NSString *)connectionToken encodedSignedCredential:(NSString *)encodedSignedCredential credentialExternalId:(NSString *)credentialExternalId batchInclusionProof:(NSString *)batchInclusionProof unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(connectionToken:encodedSignedCredential:credentialExternalId:batchInclusionProof:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIStoreCredentialRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *batchInclusionProof __attribute__((swift_name("batchInclusionProof"))); +@property (readonly) NSString *connectionToken __attribute__((swift_name("connectionToken"))); +@property (readonly) NSString *credentialExternalId __attribute__((swift_name("credentialExternalId"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *encodedSignedCredential __attribute__((swift_name("encodedSignedCredential"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("StoreCredentialRequest.Companion"))) +@interface PAPIStoreCredentialRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIStoreCredentialRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIStoreCredentialRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIStoreCredentialRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("StoreCredentialResponse"))) +@interface PAPIStoreCredentialResponse : PAPIBase +- (instancetype)initWithUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIStoreCredentialResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPIStoreCredentialResponse *)doCopyUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIStoreCredentialResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("StoreCredentialResponse.Companion"))) +@interface PAPIStoreCredentialResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIStoreCredentialResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIStoreCredentialResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIStoreCredentialResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("StorePublishedCredentialRequest"))) +@interface PAPIStorePublishedCredentialRequest : PAPIBase +- (instancetype)initWithEncodedSignedCredential:(NSString *)encodedSignedCredential consoleCredentialId:(NSString *)consoleCredentialId batchId:(NSString *)batchId encodedInclusionProof:(NSString *)encodedInclusionProof unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(encodedSignedCredential:consoleCredentialId:batchId:encodedInclusionProof:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIStorePublishedCredentialRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (NSString *)component3 __attribute__((swift_name("component3()"))); +- (NSString *)component4 __attribute__((swift_name("component4()"))); +- (NSDictionary *)component5 __attribute__((swift_name("component5()"))); +- (PAPIStorePublishedCredentialRequest *)doCopyEncodedSignedCredential:(NSString *)encodedSignedCredential consoleCredentialId:(NSString *)consoleCredentialId batchId:(NSString *)batchId encodedInclusionProof:(NSString *)encodedInclusionProof unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(encodedSignedCredential:consoleCredentialId:batchId:encodedInclusionProof:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIStorePublishedCredentialRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *batchId __attribute__((swift_name("batchId"))); +@property (readonly) NSString *consoleCredentialId __attribute__((swift_name("consoleCredentialId"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *encodedInclusionProof __attribute__((swift_name("encodedInclusionProof"))); +@property (readonly) NSString *encodedSignedCredential __attribute__((swift_name("encodedSignedCredential"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("StorePublishedCredentialRequest.Companion"))) +@interface PAPIStorePublishedCredentialRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIStorePublishedCredentialRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIStorePublishedCredentialRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIStorePublishedCredentialRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("StorePublishedCredentialResponse"))) +@interface PAPIStorePublishedCredentialResponse : PAPIBase +- (instancetype)initWithUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIStorePublishedCredentialResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPIStorePublishedCredentialResponse *)doCopyUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIStorePublishedCredentialResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("StorePublishedCredentialResponse.Companion"))) +@interface PAPIStorePublishedCredentialResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIStorePublishedCredentialResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIStorePublishedCredentialResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIStorePublishedCredentialResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("StoredSignedCredential"))) +@interface PAPIStoredSignedCredential : PAPIBase +- (instancetype)initWithIndividualId:(NSString *)individualId encodedSignedCredential:(NSString *)encodedSignedCredential externalId:(NSString *)externalId batchInclusionProof:(NSString *)batchInclusionProof storedAt:(PAPITimestamp * _Nullable)storedAt unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(individualId:encodedSignedCredential:externalId:batchInclusionProof:storedAt:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIStoredSignedCredentialCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (NSString *)component3 __attribute__((swift_name("component3()"))); +- (NSString *)component4 __attribute__((swift_name("component4()"))); +- (PAPITimestamp * _Nullable)component5 __attribute__((swift_name("component5()"))); +- (NSDictionary *)component6 __attribute__((swift_name("component6()"))); +- (PAPIStoredSignedCredential *)doCopyIndividualId:(NSString *)individualId encodedSignedCredential:(NSString *)encodedSignedCredential externalId:(NSString *)externalId batchInclusionProof:(NSString *)batchInclusionProof storedAt:(PAPITimestamp * _Nullable)storedAt unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(individualId:encodedSignedCredential:externalId:batchInclusionProof:storedAt:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIStoredSignedCredential *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *batchInclusionProof __attribute__((swift_name("batchInclusionProof"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *encodedSignedCredential __attribute__((swift_name("encodedSignedCredential"))); +@property (readonly) NSString *externalId __attribute__((swift_name("externalId"))); +@property (readonly) NSString *individualId __attribute__((swift_name("individualId"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPITimestamp * _Nullable storedAt __attribute__((swift_name("storedAt"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("StoredSignedCredential.Companion"))) +@interface PAPIStoredSignedCredentialCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIStoredSignedCredentialCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIStoredSignedCredential *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIStoredSignedCredential *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("TimeInterval"))) +@interface PAPITimeInterval : PAPIBase +- (instancetype)initWithStartTimestamp:(PAPITimestamp * _Nullable)startTimestamp endTimestamp:(PAPITimestamp * _Nullable)endTimestamp unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(startTimestamp:endTimestamp:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPITimeIntervalCompanion *companion __attribute__((swift_name("companion"))); +- (PAPITimestamp * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (PAPITimestamp * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPITimeInterval *)doCopyStartTimestamp:(PAPITimestamp * _Nullable)startTimestamp endTimestamp:(PAPITimestamp * _Nullable)endTimestamp unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(startTimestamp:endTimestamp:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPITimeInterval *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPITimestamp * _Nullable endTimestamp __attribute__((swift_name("endTimestamp"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPITimestamp * _Nullable startTimestamp __attribute__((swift_name("startTimestamp"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("TimeInterval.Companion"))) +@interface PAPITimeIntervalCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPITimeIntervalCompanion *shared __attribute__((swift_name("shared"))); +- (PAPITimeInterval *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPITimeInterval *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("TimestampInfo"))) +@interface PAPITimestampInfo : PAPIBase +- (instancetype)initWithBlockSequenceNumber:(int32_t)blockSequenceNumber operationSequenceNumber:(int32_t)operationSequenceNumber blockTimestamp:(PAPITimestamp * _Nullable)blockTimestamp unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(blockSequenceNumber:operationSequenceNumber:blockTimestamp:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPITimestampInfoCompanion *companion __attribute__((swift_name("companion"))); +- (int32_t)component1 __attribute__((swift_name("component1()"))); +- (int32_t)component2 __attribute__((swift_name("component2()"))); +- (PAPITimestamp * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPITimestampInfo *)doCopyBlockSequenceNumber:(int32_t)blockSequenceNumber operationSequenceNumber:(int32_t)operationSequenceNumber blockTimestamp:(PAPITimestamp * _Nullable)blockTimestamp unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(blockSequenceNumber:operationSequenceNumber:blockTimestamp:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPITimestampInfo *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) int32_t blockSequenceNumber __attribute__((swift_name("blockSequenceNumber"))); +@property (readonly) PAPITimestamp * _Nullable blockTimestamp __attribute__((swift_name("blockTimestamp"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t operationSequenceNumber __attribute__((swift_name("operationSequenceNumber"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("TimestampInfo.Companion"))) +@interface PAPITimestampInfoCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPITimestampInfoCompanion *shared __attribute__((swift_name("shared"))); +- (PAPITimestampInfo *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPITimestampInfo *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("TransactionInfo"))) +@interface PAPITransactionInfo : PAPIBase +- (instancetype)initWithTransactionId:(NSString *)transactionId ledger:(PAPILedger *)ledger block:(PAPIBlockInfo * _Nullable)block unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(transactionId:ledger:block:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPITransactionInfoCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPILedger *)component2 __attribute__((swift_name("component2()"))); +- (PAPIBlockInfo * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPITransactionInfo *)doCopyTransactionId:(NSString *)transactionId ledger:(PAPILedger *)ledger block:(PAPIBlockInfo * _Nullable)block unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(transactionId:ledger:block:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPITransactionInfo *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIBlockInfo * _Nullable block __attribute__((swift_name("block"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPILedger *ledger __attribute__((swift_name("ledger"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSString *transactionId __attribute__((swift_name("transactionId"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("TransactionInfo.Companion"))) +@interface PAPITransactionInfoCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPITransactionInfoCompanion *shared __attribute__((swift_name("shared"))); +- (PAPITransactionInfo *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPITransactionInfo *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UnArchiveCredentialTypeCategoryRequest"))) +@interface PAPIUnArchiveCredentialTypeCategoryRequest : PAPIBase +- (instancetype)initWithCredentialTypeCategoryId:(NSString *)credentialTypeCategoryId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(credentialTypeCategoryId:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIUnArchiveCredentialTypeCategoryRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIUnArchiveCredentialTypeCategoryRequest *)doCopyCredentialTypeCategoryId:(NSString *)credentialTypeCategoryId unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(credentialTypeCategoryId:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIUnArchiveCredentialTypeCategoryRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *credentialTypeCategoryId __attribute__((swift_name("credentialTypeCategoryId"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UnArchiveCredentialTypeCategoryRequest.Companion"))) +@interface PAPIUnArchiveCredentialTypeCategoryRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIUnArchiveCredentialTypeCategoryRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIUnArchiveCredentialTypeCategoryRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIUnArchiveCredentialTypeCategoryRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UnArchiveCredentialTypeCategoryResponse"))) +@interface PAPIUnArchiveCredentialTypeCategoryResponse : PAPIBase +- (instancetype)initWithCredentialTypeCategory:(PAPICredentialTypeCategory * _Nullable)credentialTypeCategory unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(credentialTypeCategory:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIUnArchiveCredentialTypeCategoryResponseCompanion *companion __attribute__((swift_name("companion"))); +- (PAPICredentialTypeCategory * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIUnArchiveCredentialTypeCategoryResponse *)doCopyCredentialTypeCategory:(PAPICredentialTypeCategory * _Nullable)credentialTypeCategory unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(credentialTypeCategory:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIUnArchiveCredentialTypeCategoryResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPICredentialTypeCategory * _Nullable credentialTypeCategory __attribute__((swift_name("credentialTypeCategory"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UnArchiveCredentialTypeCategoryResponse.Companion"))) +@interface PAPIUnArchiveCredentialTypeCategoryResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIUnArchiveCredentialTypeCategoryResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIUnArchiveCredentialTypeCategoryResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIUnArchiveCredentialTypeCategoryResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UpdateContactRequest"))) +@interface PAPIUpdateContactRequest : PAPIBase +- (instancetype)initWithContactId:(NSString *)contactId newExternalId:(NSString *)newExternalId newName:(NSString *)newName newJsonData:(NSString *)newJsonData unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(contactId:newExternalId:newName:newJsonData:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIUpdateContactRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (NSString *)component3 __attribute__((swift_name("component3()"))); +- (NSString *)component4 __attribute__((swift_name("component4()"))); +- (NSDictionary *)component5 __attribute__((swift_name("component5()"))); +- (PAPIUpdateContactRequest *)doCopyContactId:(NSString *)contactId newExternalId:(NSString *)newExternalId newName:(NSString *)newName newJsonData:(NSString *)newJsonData unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(contactId:newExternalId:newName:newJsonData:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIUpdateContactRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *contactId __attribute__((swift_name("contactId"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly, getter=doNewExternalId) NSString *newExternalId __attribute__((swift_name("newExternalId"))); +@property (readonly, getter=doNewJsonData) NSString *newJsonData __attribute__((swift_name("newJsonData"))); +@property (readonly, getter=doNewName) NSString *newName __attribute__((swift_name("newName"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UpdateContactRequest.Companion"))) +@interface PAPIUpdateContactRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIUpdateContactRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIUpdateContactRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIUpdateContactRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UpdateContactResponse"))) +@interface PAPIUpdateContactResponse : PAPIBase +- (instancetype)initWithUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIUpdateContactResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPIUpdateContactResponse *)doCopyUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIUpdateContactResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UpdateContactResponse.Companion"))) +@interface PAPIUpdateContactResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIUpdateContactResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIUpdateContactResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIUpdateContactResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UpdateCredentialType"))) +@interface PAPIUpdateCredentialType : PAPIBase +- (instancetype)initWithId:(NSString *)id name:(NSString *)name template:(NSString *)template_ icon:(PAPIByteArr *)icon fields:(NSArray *)fields unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(id:name:template:icon:fields:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIUpdateCredentialTypeCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (NSString *)component3 __attribute__((swift_name("component3()"))); +- (PAPIByteArr *)component4 __attribute__((swift_name("component4()"))); +- (NSArray *)component5 __attribute__((swift_name("component5()"))); +- (NSDictionary *)component6 __attribute__((swift_name("component6()"))); +- (PAPIUpdateCredentialType *)doCopyId:(NSString *)id name:(NSString *)name template:(NSString *)template_ icon:(PAPIByteArr *)icon fields:(NSArray *)fields unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(id:name:template:icon:fields:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIUpdateCredentialType *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSArray *fields __attribute__((swift_name("fields"))); +@property (readonly) PAPIByteArr *icon __attribute__((swift_name("icon"))); +@property (readonly) NSString *id __attribute__((swift_name("id"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly, getter=template) NSString *template_ __attribute__((swift_name("template_"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UpdateCredentialType.Companion"))) +@interface PAPIUpdateCredentialTypeCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIUpdateCredentialTypeCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIUpdateCredentialType *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIUpdateCredentialType *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UpdateCredentialTypeRequest"))) +@interface PAPIUpdateCredentialTypeRequest : PAPIBase +- (instancetype)initWithCredentialType:(PAPIUpdateCredentialType * _Nullable)credentialType unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(credentialType:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIUpdateCredentialTypeRequestCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIUpdateCredentialType * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIUpdateCredentialTypeRequest *)doCopyCredentialType:(PAPIUpdateCredentialType * _Nullable)credentialType unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(credentialType:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIUpdateCredentialTypeRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIUpdateCredentialType * _Nullable credentialType __attribute__((swift_name("credentialType"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UpdateCredentialTypeRequest.Companion"))) +@interface PAPIUpdateCredentialTypeRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIUpdateCredentialTypeRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIUpdateCredentialTypeRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIUpdateCredentialTypeRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UpdateCredentialTypeResponse"))) +@interface PAPIUpdateCredentialTypeResponse : PAPIBase +- (instancetype)initWithUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIUpdateCredentialTypeResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPIUpdateCredentialTypeResponse *)doCopyUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIUpdateCredentialTypeResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UpdateCredentialTypeResponse.Companion"))) +@interface PAPIUpdateCredentialTypeResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIUpdateCredentialTypeResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIUpdateCredentialTypeResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIUpdateCredentialTypeResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UpdateDIDAction"))) +@interface PAPIUpdateDIDAction : PAPIBase +- (instancetype)initWithAction:(PAPIUpdateDIDActionAction * _Nullable)action unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(action:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIUpdateDIDActionCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIUpdateDIDActionAction * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIUpdateDIDAction *)doCopyAction:(PAPIUpdateDIDActionAction * _Nullable)action unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(action:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIUpdateDIDAction *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIUpdateDIDActionAction * _Nullable action __attribute__((swift_name("action"))); +@property (readonly) PAPIAddKeyAction * _Nullable addKey __attribute__((swift_name("addKey"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPIRemoveKeyAction * _Nullable removeKey __attribute__((swift_name("removeKey"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((swift_name("UpdateDIDActionAction"))) +@interface PAPIUpdateDIDActionAction : PAPIMessageOneOf +- (instancetype)initWithValue:(V _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UpdateDIDActionActionAddKey"))) +@interface PAPIUpdateDIDActionActionAddKey : PAPIUpdateDIDActionAction +- (instancetype)initWithAddKey:(PAPIAddKeyAction *)addKey __attribute__((swift_name("init(addKey:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(id _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UpdateDIDActionActionRemoveKey"))) +@interface PAPIUpdateDIDActionActionRemoveKey : PAPIUpdateDIDActionAction +- (instancetype)initWithRemoveKey:(PAPIRemoveKeyAction *)removeKey __attribute__((swift_name("init(removeKey:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(id _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UpdateDIDAction.Companion"))) +@interface PAPIUpdateDIDActionCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIUpdateDIDActionCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIUpdateDIDAction *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIUpdateDIDAction *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UpdateDIDOperation"))) +@interface PAPIUpdateDIDOperation : PAPIBase +- (instancetype)initWithPreviousOperationHash:(PAPIByteArr *)previousOperationHash id:(NSString *)id actions:(NSArray *)actions unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(previousOperationHash:id:actions:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIUpdateDIDOperationCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIByteArr *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (NSArray *)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPIUpdateDIDOperation *)doCopyPreviousOperationHash:(PAPIByteArr *)previousOperationHash id:(NSString *)id actions:(NSArray *)actions unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(previousOperationHash:id:actions:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIUpdateDIDOperation *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSArray *actions __attribute__((swift_name("actions"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *id __attribute__((swift_name("id"))); +@property (readonly) PAPIByteArr *previousOperationHash __attribute__((swift_name("previousOperationHash"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UpdateDIDOperation.Companion"))) +@interface PAPIUpdateDIDOperationCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIUpdateDIDOperationCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIUpdateDIDOperation *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIUpdateDIDOperation *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UpdateDIDOutput"))) +@interface PAPIUpdateDIDOutput : PAPIBase +- (instancetype)initWithUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIUpdateDIDOutputCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPIUpdateDIDOutput *)doCopyUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIUpdateDIDOutput *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UpdateDIDOutput.Companion"))) +@interface PAPIUpdateDIDOutputCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIUpdateDIDOutputCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIUpdateDIDOutput *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIUpdateDIDOutput *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UpdateGroupRequest"))) +@interface PAPIUpdateGroupRequest : PAPIBase +- (instancetype)initWithGroupId:(NSString *)groupId contactIdsToAdd:(NSArray *)contactIdsToAdd contactIdsToRemove:(NSArray *)contactIdsToRemove name:(NSString *)name unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(groupId:contactIdsToAdd:contactIdsToRemove:name:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIUpdateGroupRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSArray *)component2 __attribute__((swift_name("component2()"))); +- (NSArray *)component3 __attribute__((swift_name("component3()"))); +- (NSString *)component4 __attribute__((swift_name("component4()"))); +- (NSDictionary *)component5 __attribute__((swift_name("component5()"))); +- (PAPIUpdateGroupRequest *)doCopyGroupId:(NSString *)groupId contactIdsToAdd:(NSArray *)contactIdsToAdd contactIdsToRemove:(NSArray *)contactIdsToRemove name:(NSString *)name unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(groupId:contactIdsToAdd:contactIdsToRemove:name:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIUpdateGroupRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSArray *contactIdsToAdd __attribute__((swift_name("contactIdsToAdd"))); +@property (readonly) NSArray *contactIdsToRemove __attribute__((swift_name("contactIdsToRemove"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *groupId __attribute__((swift_name("groupId"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UpdateGroupRequest.Companion"))) +@interface PAPIUpdateGroupRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIUpdateGroupRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIUpdateGroupRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIUpdateGroupRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UpdateGroupResponse"))) +@interface PAPIUpdateGroupResponse : PAPIBase +- (instancetype)initWithUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIUpdateGroupResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPIUpdateGroupResponse *)doCopyUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIUpdateGroupResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UpdateGroupResponse.Companion"))) +@interface PAPIUpdateGroupResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIUpdateGroupResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIUpdateGroupResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIUpdateGroupResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UpdateProfileRequest"))) +@interface PAPIUpdateProfileRequest : PAPIBase +- (instancetype)initWithName:(NSString *)name logo:(PAPIByteArr *)logo unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(name:logo:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIUpdateProfileRequestCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIByteArr *)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIUpdateProfileRequest *)doCopyName:(NSString *)name logo:(PAPIByteArr *)logo unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(name:logo:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIUpdateProfileRequest *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIByteArr *logo __attribute__((swift_name("logo"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UpdateProfileRequest.Companion"))) +@interface PAPIUpdateProfileRequestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIUpdateProfileRequestCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIUpdateProfileRequest *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIUpdateProfileRequest *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UpdateProfileResponse"))) +@interface PAPIUpdateProfileResponse : PAPIBase +- (instancetype)initWithUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIUpdateProfileResponseCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPIUpdateProfileResponse *)doCopyUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIUpdateProfileResponse *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UpdateProfileResponse.Companion"))) +@interface PAPIUpdateProfileResponseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIUpdateProfileResponseCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIUpdateProfileResponse *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIUpdateProfileResponse *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Ledger_"))) +@interface PAPILedger_ : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)ledger __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPILedger_ *shared __attribute__((swift_name("shared"))); +- (NSString *)asStringLedger:(int32_t)ledger __attribute__((swift_name("asString(ledger:)"))); +- (int32_t)fromStringString:(NSString *)string __attribute__((swift_name("fromString(string:)"))); +@property (readonly) int32_t CARDANO_MAINNET __attribute__((swift_name("CARDANO_MAINNET"))); +@property (readonly) int32_t CARDANO_TESTNET __attribute__((swift_name("CARDANO_TESTNET"))); +@property (readonly) int32_t IN_MEMORY __attribute__((swift_name("IN_MEMORY"))); +@property (readonly) int32_t UNKNOWN_LEDGER __attribute__((swift_name("UNKNOWN_LEDGER"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("LedgerData"))) +@interface PAPILedgerData : PAPIBase +- (instancetype)initWithTransactionId:(NSString *)transactionId ledger:(int32_t)ledger timestampInfo:(PAPITimestampInfo_ *)timestampInfo __attribute__((swift_name("init(transactionId:ledger:timestampInfo:)"))) __attribute__((objc_designated_initializer)); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (int32_t)component2 __attribute__((swift_name("component2()"))); +- (PAPITimestampInfo_ *)component3 __attribute__((swift_name("component3()"))); +- (PAPILedgerData *)doCopyTransactionId:(NSString *)transactionId ledger:(int32_t)ledger timestampInfo:(PAPITimestampInfo_ *)timestampInfo __attribute__((swift_name("doCopy(transactionId:ledger:timestampInfo:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) int32_t ledger __attribute__((swift_name("ledger"))); +@property (readonly) PAPITimestampInfo_ *timestampInfo __attribute__((swift_name("timestampInfo"))); +@property (readonly) NSString *transactionId __attribute__((swift_name("transactionId"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("TimestampInfo_"))) +@interface PAPITimestampInfo_ : PAPIBase +- (instancetype)initWithAtalaBlockTimestamp:(int64_t)atalaBlockTimestamp atalaBlockSequenceNumber:(int32_t)atalaBlockSequenceNumber operationSequenceNumber:(int32_t)operationSequenceNumber __attribute__((swift_name("init(atalaBlockTimestamp:atalaBlockSequenceNumber:operationSequenceNumber:)"))) __attribute__((objc_designated_initializer)); +- (int64_t)component1 __attribute__((swift_name("component1()"))); +- (int32_t)component2 __attribute__((swift_name("component2()"))); +- (int32_t)component3 __attribute__((swift_name("component3()"))); +- (PAPITimestampInfo_ *)doCopyAtalaBlockTimestamp:(int64_t)atalaBlockTimestamp atalaBlockSequenceNumber:(int32_t)atalaBlockSequenceNumber operationSequenceNumber:(int32_t)operationSequenceNumber __attribute__((swift_name("doCopy(atalaBlockTimestamp:atalaBlockSequenceNumber:operationSequenceNumber:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (BOOL)occurredBeforeLater:(PAPITimestampInfo_ *)later __attribute__((swift_name("occurredBefore(later:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) int32_t atalaBlockSequenceNumber __attribute__((swift_name("atalaBlockSequenceNumber"))); +@property (readonly) int64_t atalaBlockTimestamp __attribute__((swift_name("atalaBlockTimestamp"))); +@property (readonly) int32_t operationSequenceNumber __attribute__((swift_name("operationSequenceNumber"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Base64Utils"))) +@interface PAPIBase64Utils : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)base64Utils __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIBase64Utils *shared __attribute__((swift_name("shared"))); +- (PAPIKotlinByteArray *)decodeSrc:(NSString *)src __attribute__((swift_name("decode(src:)"))); +- (NSString *)encodeBytes:(PAPIKotlinByteArray *)bytes __attribute__((swift_name("encode(bytes:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ByteArr"))) +@interface PAPIByteArr : PAPIBase +- (instancetype)initWithArray:(PAPIKotlinByteArray *)array __attribute__((swift_name("init(array:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIByteArrCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIKotlinByteArray *array __attribute__((swift_name("array"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ByteArr.Companion"))) +@interface PAPIByteArrCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIByteArrCompanion *shared __attribute__((swift_name("shared"))); +@property (readonly) PAPIByteArr *empty __attribute__((swift_name("empty"))); +@end; + +__attribute__((swift_name("ExtendableMessage"))) +@protocol PAPIExtendableMessage +@required +- (id _Nullable)getExtensionFd:(PAPIFieldDescriptor, id> *)fd __attribute__((swift_name("getExtension(fd:)"))); +@property (readonly) PAPIExtensionFieldSet *extensionFields __attribute__((swift_name("extensionFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ExtensionFieldSet"))) +@interface PAPIExtensionFieldSet : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptor"))) +@interface PAPIFieldDescriptor : PAPIBase +- (instancetype)initWithMessageDescriptor:(PAPIMessageDescriptor *(^)(void))messageDescriptor name:(NSString *)name number:(int32_t)number type:(PAPIFieldDescriptorType *)type value:(T _Nullable (^)(M))value oneofMember:(BOOL)oneofMember jsonName:(NSString * _Nullable)jsonName options:(PAPIFieldOptions *)options __attribute__((swift_name("init(messageDescriptor:name:number:type:value:oneofMember:jsonName:options:)"))) __attribute__((objc_designated_initializer)); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) PAPIFieldOptions *options __attribute__((swift_name("options"))); +@end; + +__attribute__((swift_name("FieldDescriptorType"))) +@interface PAPIFieldDescriptorType : PAPIBase +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorTypeEnum"))) +@interface PAPIFieldDescriptorTypeEnum : PAPIFieldDescriptorType +- (instancetype)initWithEnumCompanion:(id)enumCompanion hasPresence:(BOOL)hasPresence __attribute__((swift_name("init(enumCompanion:hasPresence:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorTypeMap"))) +@interface PAPIFieldDescriptorTypeMap : PAPIFieldDescriptorType +- (instancetype)initWithKeyType:(PAPIFieldDescriptorType *)keyType valueType:(PAPIFieldDescriptorType *)valueType __attribute__((swift_name("init(keyType:valueType:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorTypeMessage"))) +@interface PAPIFieldDescriptorTypeMessage : PAPIFieldDescriptorType +- (instancetype)initWithMessageCompanion:(id)messageCompanion __attribute__((swift_name("init(messageCompanion:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((swift_name("FieldDescriptorTypePrimitive"))) +@interface PAPIFieldDescriptorTypePrimitive : PAPIFieldDescriptorType +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorTypePrimitiveBool"))) +@interface PAPIFieldDescriptorTypePrimitiveBool : PAPIFieldDescriptorTypePrimitive +- (instancetype)initWithHasPresence:(BOOL)hasPresence __attribute__((swift_name("init(hasPresence:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorTypePrimitiveBytes"))) +@interface PAPIFieldDescriptorTypePrimitiveBytes : PAPIFieldDescriptorTypePrimitive +- (instancetype)initWithHasPresence:(BOOL)hasPresence __attribute__((swift_name("init(hasPresence:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorTypePrimitiveDouble"))) +@interface PAPIFieldDescriptorTypePrimitiveDouble : PAPIFieldDescriptorTypePrimitive +- (instancetype)initWithHasPresence:(BOOL)hasPresence __attribute__((swift_name("init(hasPresence:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorTypePrimitiveFixed32"))) +@interface PAPIFieldDescriptorTypePrimitiveFixed32 : PAPIFieldDescriptorTypePrimitive +- (instancetype)initWithHasPresence:(BOOL)hasPresence __attribute__((swift_name("init(hasPresence:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorTypePrimitiveFixed64"))) +@interface PAPIFieldDescriptorTypePrimitiveFixed64 : PAPIFieldDescriptorTypePrimitive +- (instancetype)initWithHasPresence:(BOOL)hasPresence __attribute__((swift_name("init(hasPresence:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorTypePrimitiveFloat"))) +@interface PAPIFieldDescriptorTypePrimitiveFloat : PAPIFieldDescriptorTypePrimitive +- (instancetype)initWithHasPresence:(BOOL)hasPresence __attribute__((swift_name("init(hasPresence:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorTypePrimitiveInt32"))) +@interface PAPIFieldDescriptorTypePrimitiveInt32 : PAPIFieldDescriptorTypePrimitive +- (instancetype)initWithHasPresence:(BOOL)hasPresence __attribute__((swift_name("init(hasPresence:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorTypePrimitiveInt64"))) +@interface PAPIFieldDescriptorTypePrimitiveInt64 : PAPIFieldDescriptorTypePrimitive +- (instancetype)initWithHasPresence:(BOOL)hasPresence __attribute__((swift_name("init(hasPresence:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorTypePrimitiveSFixed32"))) +@interface PAPIFieldDescriptorTypePrimitiveSFixed32 : PAPIFieldDescriptorTypePrimitive +- (instancetype)initWithHasPresence:(BOOL)hasPresence __attribute__((swift_name("init(hasPresence:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorTypePrimitiveSFixed64"))) +@interface PAPIFieldDescriptorTypePrimitiveSFixed64 : PAPIFieldDescriptorTypePrimitive +- (instancetype)initWithHasPresence:(BOOL)hasPresence __attribute__((swift_name("init(hasPresence:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorTypePrimitiveSInt32"))) +@interface PAPIFieldDescriptorTypePrimitiveSInt32 : PAPIFieldDescriptorTypePrimitive +- (instancetype)initWithHasPresence:(BOOL)hasPresence __attribute__((swift_name("init(hasPresence:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorTypePrimitiveSInt64"))) +@interface PAPIFieldDescriptorTypePrimitiveSInt64 : PAPIFieldDescriptorTypePrimitive +- (instancetype)initWithHasPresence:(BOOL)hasPresence __attribute__((swift_name("init(hasPresence:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorTypePrimitiveString"))) +@interface PAPIFieldDescriptorTypePrimitiveString : PAPIFieldDescriptorTypePrimitive +- (instancetype)initWithHasPresence:(BOOL)hasPresence __attribute__((swift_name("init(hasPresence:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorTypePrimitiveUInt32"))) +@interface PAPIFieldDescriptorTypePrimitiveUInt32 : PAPIFieldDescriptorTypePrimitive +- (instancetype)initWithHasPresence:(BOOL)hasPresence __attribute__((swift_name("init(hasPresence:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorTypePrimitiveUInt64"))) +@interface PAPIFieldDescriptorTypePrimitiveUInt64 : PAPIFieldDescriptorTypePrimitive +- (instancetype)initWithHasPresence:(BOOL)hasPresence __attribute__((swift_name("init(hasPresence:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorTypeRepeated"))) +@interface PAPIFieldDescriptorTypeRepeated : PAPIFieldDescriptorType +- (instancetype)initWithValueType:(PAPIFieldDescriptorType *)valueType packed:(BOOL)packed __attribute__((swift_name("init(valueType:packed:)"))) __attribute__((objc_designated_initializer)); +@property (readonly) BOOL packed __attribute__((swift_name("packed"))); +@end; + +__attribute__((swift_name("KotlinRuntimeException"))) +@interface PAPIKotlinRuntimeException : PAPIKotlinException +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("InvalidProtocolBufferException"))) +@interface PAPIInvalidProtocolBufferException : PAPIKotlinRuntimeException +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (instancetype)initWithCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((unavailable("can't be imported"))) +__attribute__((swift_name("ListWithSize"))) +@interface PAPIListWithSize : NSObject +@end; + +__attribute__((swift_name("MessageDecoder"))) +@protocol PAPIMessageDecoder +@required +- (NSDictionary *)readMessageMessageCompanion:(id)messageCompanion fieldFn:(void (^)(PAPIInt *, id))fieldFn __attribute__((swift_name("readMessage(messageCompanion:fieldFn:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MessageDescriptor"))) +@interface PAPIMessageDescriptor : PAPIBase +- (instancetype)initWithMessageClass:(id)messageClass messageCompanion:(id)messageCompanion fields:(id)fields __attribute__((swift_name("init(messageClass:messageCompanion:fields:)"))) __attribute__((objc_designated_initializer)); +@property (readonly) id fields __attribute__((swift_name("fields"))); +@property (readonly) id messageCompanion __attribute__((swift_name("messageCompanion"))); +@end; + +__attribute__((swift_name("MessageEncoder"))) +@protocol PAPIMessageEncoder +@required +- (void)writeMessageMessage:(id)message __attribute__((swift_name("writeMessage(message:)"))); +@end; + +__attribute__((unavailable("can't be imported"))) +__attribute__((swift_name("MessageMap"))) +@interface PAPIMessageMap : NSObject +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UnknownField"))) +@interface PAPIUnknownField : PAPIBase +- (instancetype)initWithFieldNum:(int32_t)fieldNum values:(NSArray *)values __attribute__((swift_name("init(fieldNum:values:)"))) __attribute__((objc_designated_initializer)); +- (int32_t)component1 __attribute__((swift_name("component1()"))); +- (NSArray *)component2 __attribute__((swift_name("component2()"))); +- (PAPIUnknownField *)doCopyFieldNum:(int32_t)fieldNum values:(NSArray *)values __attribute__((swift_name("doCopy(fieldNum:values:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) int32_t fieldNum __attribute__((swift_name("fieldNum"))); +@property (readonly) NSArray *values __attribute__((swift_name("values"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UnknownField.Value"))) +@interface PAPIUnknownFieldValue : PAPIBase +- (instancetype)initWithWireType:(int32_t)wireType rawBytes:(PAPIKotlinByteArray *)rawBytes __attribute__((swift_name("init(wireType:rawBytes:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithWireType:(int32_t)wireType rawBytes_:(PAPIByteArr *)rawBytes __attribute__((swift_name("init(wireType:rawBytes_:)"))) __attribute__((objc_designated_initializer)); +- (int32_t)component1 __attribute__((swift_name("component1()"))); +- (PAPIByteArr *)component2 __attribute__((swift_name("component2()"))); +- (PAPIUnknownFieldValue *)doCopyWireType:(int32_t)wireType rawBytes:(PAPIByteArr *)rawBytes __attribute__((swift_name("doCopy(wireType:rawBytes:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIByteArr *rawBytes __attribute__((swift_name("rawBytes"))); +@property (readonly) int32_t wireType __attribute__((swift_name("wireType"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("JsonConfig"))) +@interface PAPIJsonConfig : PAPIBase +- (instancetype)initWithOutputProtoFieldNames:(BOOL)outputProtoFieldNames outputDefaultValues:(BOOL)outputDefaultValues outputDefaultStringsAsNull:(BOOL)outputDefaultStringsAsNull compactOutput:(BOOL)compactOutput ignoreUnknownFieldsInInput:(BOOL)ignoreUnknownFieldsInInput __attribute__((swift_name("init(outputProtoFieldNames:outputDefaultValues:outputDefaultStringsAsNull:compactOutput:ignoreUnknownFieldsInInput:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIJsonConfigCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)component1 __attribute__((swift_name("component1()"))); +- (BOOL)component2 __attribute__((swift_name("component2()"))); +- (BOOL)component3 __attribute__((swift_name("component3()"))); +- (BOOL)component4 __attribute__((swift_name("component4()"))); +- (BOOL)component5 __attribute__((swift_name("component5()"))); +- (PAPIJsonConfig *)doCopyOutputProtoFieldNames:(BOOL)outputProtoFieldNames outputDefaultValues:(BOOL)outputDefaultValues outputDefaultStringsAsNull:(BOOL)outputDefaultStringsAsNull compactOutput:(BOOL)compactOutput ignoreUnknownFieldsInInput:(BOOL)ignoreUnknownFieldsInInput __attribute__((swift_name("doCopy(outputProtoFieldNames:outputDefaultValues:outputDefaultStringsAsNull:compactOutput:ignoreUnknownFieldsInInput:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) BOOL compactOutput __attribute__((swift_name("compactOutput"))); +@property (readonly) BOOL ignoreUnknownFieldsInInput __attribute__((swift_name("ignoreUnknownFieldsInInput"))); +@property (readonly) BOOL outputDefaultStringsAsNull __attribute__((swift_name("outputDefaultStringsAsNull"))) __attribute__((deprecated("This option only exists for backwards-compatibility reasons. It should not be used by new code and will eventually be removed."))); +@property (readonly) BOOL outputDefaultValues __attribute__((swift_name("outputDefaultValues"))); +@property (readonly) BOOL outputProtoFieldNames __attribute__((swift_name("outputProtoFieldNames"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("JsonConfig.Companion"))) +@interface PAPIJsonConfigCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIJsonConfigCompanion *shared __attribute__((swift_name("shared"))); +@property (readonly) PAPIJsonConfig *DEFAULT __attribute__((swift_name("DEFAULT"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Any"))) +@interface PAPIAny : PAPIBase +- (instancetype)initWithTypeUrl:(NSString *)typeUrl value:(PAPIByteArr *)value unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(typeUrl:value:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIAnyCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIByteArr *)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIAny *)doCopyTypeUrl:(NSString *)typeUrl value:(PAPIByteArr *)value unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(typeUrl:value:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIAny *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSString *typeUrl __attribute__((swift_name("typeUrl"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@property (readonly) PAPIByteArr *value __attribute__((swift_name("value"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Any.Companion"))) +@interface PAPIAnyCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIAnyCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIAny *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIAny *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Api"))) +@interface PAPIApi : PAPIBase +- (instancetype)initWithName:(NSString *)name methods:(NSArray *)methods options:(NSArray *)options version:(NSString *)version sourceContext:(PAPISourceContext * _Nullable)sourceContext mixins:(NSArray *)mixins syntax:(PAPISyntax *)syntax unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(name:methods:options:version:sourceContext:mixins:syntax:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIApiCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSArray *)component2 __attribute__((swift_name("component2()"))); +- (NSArray *)component3 __attribute__((swift_name("component3()"))); +- (NSString *)component4 __attribute__((swift_name("component4()"))); +- (PAPISourceContext * _Nullable)component5 __attribute__((swift_name("component5()"))); +- (NSArray *)component6 __attribute__((swift_name("component6()"))); +- (PAPISyntax *)component7 __attribute__((swift_name("component7()"))); +- (NSDictionary *)component8 __attribute__((swift_name("component8()"))); +- (PAPIApi *)doCopyName:(NSString *)name methods:(NSArray *)methods options:(NSArray *)options version:(NSString *)version sourceContext:(PAPISourceContext * _Nullable)sourceContext mixins:(NSArray *)mixins syntax:(PAPISyntax *)syntax unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(name:methods:options:version:sourceContext:mixins:syntax:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIApi *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSArray *methods __attribute__((swift_name("methods"))); +@property (readonly) NSArray *mixins __attribute__((swift_name("mixins"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) NSArray *options __attribute__((swift_name("options"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPISourceContext * _Nullable sourceContext __attribute__((swift_name("sourceContext"))); +@property (readonly) PAPISyntax *syntax __attribute__((swift_name("syntax"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@property (readonly) NSString *version __attribute__((swift_name("version"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Api.Companion"))) +@interface PAPIApiCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIApiCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIApi *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIApi *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BoolValue"))) +@interface PAPIBoolValue : PAPIBase +- (instancetype)initWithValue:(BOOL)value unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(value:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIBoolValueCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIBoolValue *)doCopyValue:(BOOL)value unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(value:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIBoolValue *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@property (readonly) BOOL value __attribute__((swift_name("value"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BoolValue.Companion"))) +@interface PAPIBoolValueCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIBoolValueCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIBoolValue *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIBoolValue *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BytesValue"))) +@interface PAPIBytesValue : PAPIBase +- (instancetype)initWithValue:(PAPIByteArr *)value unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(value:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIBytesValueCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIByteArr *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIBytesValue *)doCopyValue:(PAPIByteArr *)value unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(value:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIBytesValue *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@property (readonly) PAPIByteArr *value __attribute__((swift_name("value"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BytesValue.Companion"))) +@interface PAPIBytesValueCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIBytesValueCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIBytesValue *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIBytesValue *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DescriptorProto"))) +@interface PAPIDescriptorProto : PAPIBase +- (instancetype)initWithName:(NSString * _Nullable)name field:(NSArray *)field extension:(NSArray *)extension nestedType:(NSArray *)nestedType enumType:(NSArray *)enumType extensionRange:(NSArray *)extensionRange oneofDecl:(NSArray *)oneofDecl options:(PAPIMessageOptions * _Nullable)options reservedRange:(NSArray *)reservedRange reservedName:(NSArray *)reservedName unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(name:field:extension:nestedType:enumType:extensionRange:oneofDecl:options:reservedRange:reservedName:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIDescriptorProtoCompanion *companion __attribute__((swift_name("companion"))); +- (NSString * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSArray *)component10 __attribute__((swift_name("component10()"))); +- (NSDictionary *)component11 __attribute__((swift_name("component11()"))); +- (NSArray *)component2 __attribute__((swift_name("component2()"))); +- (NSArray *)component3 __attribute__((swift_name("component3()"))); +- (NSArray *)component4 __attribute__((swift_name("component4()"))); +- (NSArray *)component5 __attribute__((swift_name("component5()"))); +- (NSArray *)component6 __attribute__((swift_name("component6()"))); +- (NSArray *)component7 __attribute__((swift_name("component7()"))); +- (PAPIMessageOptions * _Nullable)component8 __attribute__((swift_name("component8()"))); +- (NSArray *)component9 __attribute__((swift_name("component9()"))); +- (PAPIDescriptorProto *)doCopyName:(NSString * _Nullable)name field:(NSArray *)field extension:(NSArray *)extension nestedType:(NSArray *)nestedType enumType:(NSArray *)enumType extensionRange:(NSArray *)extensionRange oneofDecl:(NSArray *)oneofDecl options:(PAPIMessageOptions * _Nullable)options reservedRange:(NSArray *)reservedRange reservedName:(NSArray *)reservedName unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(name:field:extension:nestedType:enumType:extensionRange:oneofDecl:options:reservedRange:reservedName:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIDescriptorProto *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSArray *enumType __attribute__((swift_name("enumType"))); +@property (readonly) NSArray *extension __attribute__((swift_name("extension"))); +@property (readonly) NSArray *extensionRange __attribute__((swift_name("extensionRange"))); +@property (readonly) NSArray *field __attribute__((swift_name("field"))); +@property (readonly) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) NSArray *nestedType __attribute__((swift_name("nestedType"))); +@property (readonly) NSArray *oneofDecl __attribute__((swift_name("oneofDecl"))); +@property (readonly) PAPIMessageOptions * _Nullable options __attribute__((swift_name("options"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSArray *reservedName __attribute__((swift_name("reservedName"))); +@property (readonly) NSArray *reservedRange __attribute__((swift_name("reservedRange"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DescriptorProto.Companion"))) +@interface PAPIDescriptorProtoCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDescriptorProtoCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIDescriptorProto *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIDescriptorProto *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DescriptorProto.ExtensionRange"))) +@interface PAPIDescriptorProtoExtensionRange : PAPIBase +- (instancetype)initWithStart:(PAPIInt * _Nullable)start end:(PAPIInt * _Nullable)end options:(PAPIExtensionRangeOptions * _Nullable)options unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(start:end:options:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIDescriptorProtoExtensionRangeCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIInt * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (PAPIInt * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (PAPIExtensionRangeOptions * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPIDescriptorProtoExtensionRange *)doCopyStart:(PAPIInt * _Nullable)start end:(PAPIInt * _Nullable)end options:(PAPIExtensionRangeOptions * _Nullable)options unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(start:end:options:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIDescriptorProtoExtensionRange *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIInt * _Nullable end __attribute__((swift_name("end"))); +@property (readonly) PAPIExtensionRangeOptions * _Nullable options __attribute__((swift_name("options"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPIInt * _Nullable start __attribute__((swift_name("start"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DescriptorProto.ExtensionRangeCompanion"))) +@interface PAPIDescriptorProtoExtensionRangeCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDescriptorProtoExtensionRangeCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIDescriptorProtoExtensionRange *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIDescriptorProtoExtensionRange *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DescriptorProto.ReservedRange"))) +@interface PAPIDescriptorProtoReservedRange : PAPIBase +- (instancetype)initWithStart:(PAPIInt * _Nullable)start end:(PAPIInt * _Nullable)end unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(start:end:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIDescriptorProtoReservedRangeCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIInt * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (PAPIInt * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIDescriptorProtoReservedRange *)doCopyStart:(PAPIInt * _Nullable)start end:(PAPIInt * _Nullable)end unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(start:end:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIDescriptorProtoReservedRange *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIInt * _Nullable end __attribute__((swift_name("end"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPIInt * _Nullable start __attribute__((swift_name("start"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DescriptorProto.ReservedRangeCompanion"))) +@interface PAPIDescriptorProtoReservedRangeCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDescriptorProtoReservedRangeCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIDescriptorProtoReservedRange *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIDescriptorProtoReservedRange *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DoubleValue"))) +@interface PAPIDoubleValue : PAPIBase +- (instancetype)initWithValue:(double)value unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(value:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIDoubleValueCompanion *companion __attribute__((swift_name("companion"))); +- (double)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIDoubleValue *)doCopyValue:(double)value unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(value:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIDoubleValue *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@property (readonly) double value __attribute__((swift_name("value"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DoubleValue.Companion"))) +@interface PAPIDoubleValueCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDoubleValueCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIDoubleValue *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIDoubleValue *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Duration"))) +@interface PAPIDuration : PAPIBase +- (instancetype)initWithSeconds:(int64_t)seconds nanos:(int32_t)nanos unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(seconds:nanos:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIDurationCompanion *companion __attribute__((swift_name("companion"))); +- (int64_t)component1 __attribute__((swift_name("component1()"))); +- (int32_t)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIDuration *)doCopySeconds:(int64_t)seconds nanos:(int32_t)nanos unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(seconds:nanos:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIDuration *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t nanos __attribute__((swift_name("nanos"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) int64_t seconds __attribute__((swift_name("seconds"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Duration.Companion"))) +@interface PAPIDurationCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDurationCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIDuration *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIDuration *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Empty"))) +@interface PAPIEmpty : PAPIBase +- (instancetype)initWithUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIEmptyCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (PAPIEmpty *)doCopyUnknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIEmpty *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Empty.Companion"))) +@interface PAPIEmptyCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIEmptyCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIEmpty *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIEmpty *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Enum"))) +@interface PAPIEnum : PAPIBase +- (instancetype)initWithName:(NSString *)name enumvalue:(NSArray *)enumvalue options:(NSArray *)options sourceContext:(PAPISourceContext * _Nullable)sourceContext syntax:(PAPISyntax *)syntax unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(name:enumvalue:options:sourceContext:syntax:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIEnumCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSArray *)component2 __attribute__((swift_name("component2()"))); +- (NSArray *)component3 __attribute__((swift_name("component3()"))); +- (PAPISourceContext * _Nullable)component4 __attribute__((swift_name("component4()"))); +- (PAPISyntax *)component5 __attribute__((swift_name("component5()"))); +- (NSDictionary *)component6 __attribute__((swift_name("component6()"))); +- (PAPIEnum *)doCopyName:(NSString *)name enumvalue:(NSArray *)enumvalue options:(NSArray *)options sourceContext:(PAPISourceContext * _Nullable)sourceContext syntax:(PAPISyntax *)syntax unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(name:enumvalue:options:sourceContext:syntax:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIEnum *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSArray *enumvalue __attribute__((swift_name("enumvalue"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) NSArray *options __attribute__((swift_name("options"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPISourceContext * _Nullable sourceContext __attribute__((swift_name("sourceContext"))); +@property (readonly) PAPISyntax *syntax __attribute__((swift_name("syntax"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Enum.Companion"))) +@interface PAPIEnumCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIEnumCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIEnum *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIEnum *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("EnumDescriptorProto"))) +@interface PAPIEnumDescriptorProto : PAPIBase +- (instancetype)initWithName:(NSString * _Nullable)name value:(NSArray *)value options:(PAPIEnumOptions * _Nullable)options reservedRange:(NSArray *)reservedRange reservedName:(NSArray *)reservedName unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(name:value:options:reservedRange:reservedName:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIEnumDescriptorProtoCompanion *companion __attribute__((swift_name("companion"))); +- (NSString * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSArray *)component2 __attribute__((swift_name("component2()"))); +- (PAPIEnumOptions * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (NSArray *)component4 __attribute__((swift_name("component4()"))); +- (NSArray *)component5 __attribute__((swift_name("component5()"))); +- (NSDictionary *)component6 __attribute__((swift_name("component6()"))); +- (PAPIEnumDescriptorProto *)doCopyName:(NSString * _Nullable)name value:(NSArray *)value options:(PAPIEnumOptions * _Nullable)options reservedRange:(NSArray *)reservedRange reservedName:(NSArray *)reservedName unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(name:value:options:reservedRange:reservedName:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIEnumDescriptorProto *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) PAPIEnumOptions * _Nullable options __attribute__((swift_name("options"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSArray *reservedName __attribute__((swift_name("reservedName"))); +@property (readonly) NSArray *reservedRange __attribute__((swift_name("reservedRange"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@property (readonly) NSArray *value __attribute__((swift_name("value"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("EnumDescriptorProto.Companion"))) +@interface PAPIEnumDescriptorProtoCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIEnumDescriptorProtoCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIEnumDescriptorProto *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIEnumDescriptorProto *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("EnumDescriptorProto.EnumReservedRange"))) +@interface PAPIEnumDescriptorProtoEnumReservedRange : PAPIBase +- (instancetype)initWithStart:(PAPIInt * _Nullable)start end:(PAPIInt * _Nullable)end unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(start:end:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIEnumDescriptorProtoEnumReservedRangeCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIInt * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (PAPIInt * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIEnumDescriptorProtoEnumReservedRange *)doCopyStart:(PAPIInt * _Nullable)start end:(PAPIInt * _Nullable)end unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(start:end:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIEnumDescriptorProtoEnumReservedRange *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIInt * _Nullable end __attribute__((swift_name("end"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPIInt * _Nullable start __attribute__((swift_name("start"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("EnumDescriptorProto.EnumReservedRangeCompanion"))) +@interface PAPIEnumDescriptorProtoEnumReservedRangeCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIEnumDescriptorProtoEnumReservedRangeCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIEnumDescriptorProtoEnumReservedRange *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIEnumDescriptorProtoEnumReservedRange *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("EnumOptions"))) +@interface PAPIEnumOptions : PAPIBase +- (instancetype)initWithAllowAlias:(PAPIBoolean * _Nullable)allowAlias deprecated:(PAPIBoolean * _Nullable)deprecated uninterpretedOption:(NSArray *)uninterpretedOption unknownFields:(NSDictionary *)unknownFields extensionFields:(PAPIExtensionFieldSet *)extensionFields __attribute__((swift_name("init(allowAlias:deprecated:uninterpretedOption:unknownFields:extensionFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIEnumOptionsCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIBoolean * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (PAPIBoolean * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (NSArray *)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPIExtensionFieldSet *)component5 __attribute__((swift_name("component5()"))); +- (PAPIEnumOptions *)doCopyAllowAlias:(PAPIBoolean * _Nullable)allowAlias deprecated:(PAPIBoolean * _Nullable)deprecated uninterpretedOption:(NSArray *)uninterpretedOption unknownFields:(NSDictionary *)unknownFields extensionFields:(PAPIExtensionFieldSet *)extensionFields __attribute__((swift_name("doCopy(allowAlias:deprecated:uninterpretedOption:unknownFields:extensionFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIEnumOptions *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIBoolean * _Nullable allowAlias __attribute__((swift_name("allowAlias"))); +@property (readonly) PAPIBoolean * _Nullable deprecated __attribute__((swift_name("deprecated"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIExtensionFieldSet *extensionFields __attribute__((swift_name("extensionFields"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSArray *uninterpretedOption __attribute__((swift_name("uninterpretedOption"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("EnumOptions.Companion"))) +@interface PAPIEnumOptionsCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIEnumOptionsCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIEnumOptions *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIEnumOptions *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("EnumValue"))) +@interface PAPIEnumValue : PAPIBase +- (instancetype)initWithName:(NSString *)name number:(int32_t)number options:(NSArray *)options unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(name:number:options:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIEnumValueCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (int32_t)component2 __attribute__((swift_name("component2()"))); +- (NSArray *)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPIEnumValue *)doCopyName:(NSString *)name number:(int32_t)number options:(NSArray *)options unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(name:number:options:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIEnumValue *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) int32_t number __attribute__((swift_name("number"))); +@property (readonly) NSArray *options __attribute__((swift_name("options"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("EnumValue.Companion"))) +@interface PAPIEnumValueCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIEnumValueCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIEnumValue *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIEnumValue *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("EnumValueDescriptorProto"))) +@interface PAPIEnumValueDescriptorProto : PAPIBase +- (instancetype)initWithName:(NSString * _Nullable)name number:(PAPIInt * _Nullable)number options:(PAPIEnumValueOptions * _Nullable)options unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(name:number:options:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIEnumValueDescriptorProtoCompanion *companion __attribute__((swift_name("companion"))); +- (NSString * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (PAPIInt * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (PAPIEnumValueOptions * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPIEnumValueDescriptorProto *)doCopyName:(NSString * _Nullable)name number:(PAPIInt * _Nullable)number options:(PAPIEnumValueOptions * _Nullable)options unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(name:number:options:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIEnumValueDescriptorProto *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) PAPIInt * _Nullable number __attribute__((swift_name("number"))); +@property (readonly) PAPIEnumValueOptions * _Nullable options __attribute__((swift_name("options"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("EnumValueDescriptorProto.Companion"))) +@interface PAPIEnumValueDescriptorProtoCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIEnumValueDescriptorProtoCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIEnumValueDescriptorProto *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIEnumValueDescriptorProto *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("EnumValueOptions"))) +@interface PAPIEnumValueOptions : PAPIBase +- (instancetype)initWithDeprecated:(PAPIBoolean * _Nullable)deprecated uninterpretedOption:(NSArray *)uninterpretedOption unknownFields:(NSDictionary *)unknownFields extensionFields:(PAPIExtensionFieldSet *)extensionFields __attribute__((swift_name("init(deprecated:uninterpretedOption:unknownFields:extensionFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIEnumValueOptionsCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIBoolean * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSArray *)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIExtensionFieldSet *)component4 __attribute__((swift_name("component4()"))); +- (PAPIEnumValueOptions *)doCopyDeprecated:(PAPIBoolean * _Nullable)deprecated uninterpretedOption:(NSArray *)uninterpretedOption unknownFields:(NSDictionary *)unknownFields extensionFields:(PAPIExtensionFieldSet *)extensionFields __attribute__((swift_name("doCopy(deprecated:uninterpretedOption:unknownFields:extensionFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIEnumValueOptions *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIBoolean * _Nullable deprecated __attribute__((swift_name("deprecated"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIExtensionFieldSet *extensionFields __attribute__((swift_name("extensionFields"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSArray *uninterpretedOption __attribute__((swift_name("uninterpretedOption"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("EnumValueOptions.Companion"))) +@interface PAPIEnumValueOptionsCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIEnumValueOptionsCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIEnumValueOptions *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIEnumValueOptions *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ExtensionRangeOptions"))) +@interface PAPIExtensionRangeOptions : PAPIBase +- (instancetype)initWithUninterpretedOption:(NSArray *)uninterpretedOption unknownFields:(NSDictionary *)unknownFields extensionFields:(PAPIExtensionFieldSet *)extensionFields __attribute__((swift_name("init(uninterpretedOption:unknownFields:extensionFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIExtensionRangeOptionsCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIExtensionFieldSet *)component3 __attribute__((swift_name("component3()"))); +- (PAPIExtensionRangeOptions *)doCopyUninterpretedOption:(NSArray *)uninterpretedOption unknownFields:(NSDictionary *)unknownFields extensionFields:(PAPIExtensionFieldSet *)extensionFields __attribute__((swift_name("doCopy(uninterpretedOption:unknownFields:extensionFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIExtensionRangeOptions *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIExtensionFieldSet *extensionFields __attribute__((swift_name("extensionFields"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSArray *uninterpretedOption __attribute__((swift_name("uninterpretedOption"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ExtensionRangeOptions.Companion"))) +@interface PAPIExtensionRangeOptionsCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIExtensionRangeOptionsCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIExtensionRangeOptions *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIExtensionRangeOptions *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Field"))) +@interface PAPIField : PAPIBase +- (instancetype)initWithKind:(PAPIFieldKind *)kind cardinality:(PAPIFieldCardinality *)cardinality number:(int32_t)number name:(NSString *)name typeUrl:(NSString *)typeUrl oneofIndex:(int32_t)oneofIndex packed:(BOOL)packed options:(NSArray *)options jsonName:(NSString *)jsonName defaultValue:(NSString *)defaultValue unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(kind:cardinality:number:name:typeUrl:oneofIndex:packed:options:jsonName:defaultValue:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIFieldCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIFieldKind *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component10 __attribute__((swift_name("component10()"))); +- (NSDictionary *)component11 __attribute__((swift_name("component11()"))); +- (PAPIFieldCardinality *)component2 __attribute__((swift_name("component2()"))); +- (int32_t)component3 __attribute__((swift_name("component3()"))); +- (NSString *)component4 __attribute__((swift_name("component4()"))); +- (NSString *)component5 __attribute__((swift_name("component5()"))); +- (int32_t)component6 __attribute__((swift_name("component6()"))); +- (BOOL)component7 __attribute__((swift_name("component7()"))); +- (NSArray *)component8 __attribute__((swift_name("component8()"))); +- (NSString *)component9 __attribute__((swift_name("component9()"))); +- (PAPIField *)doCopyKind:(PAPIFieldKind *)kind cardinality:(PAPIFieldCardinality *)cardinality number:(int32_t)number name:(NSString *)name typeUrl:(NSString *)typeUrl oneofIndex:(int32_t)oneofIndex packed:(BOOL)packed options:(NSArray *)options jsonName:(NSString *)jsonName defaultValue:(NSString *)defaultValue unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(kind:cardinality:number:name:typeUrl:oneofIndex:packed:options:jsonName:defaultValue:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIField *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIFieldCardinality *cardinality __attribute__((swift_name("cardinality"))); +@property (readonly) NSString *defaultValue __attribute__((swift_name("defaultValue"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *jsonName __attribute__((swift_name("jsonName"))); +@property (readonly) PAPIFieldKind *kind __attribute__((swift_name("kind"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) int32_t number __attribute__((swift_name("number"))); +@property (readonly) int32_t oneofIndex __attribute__((swift_name("oneofIndex"))); +@property (readonly) NSArray *options __attribute__((swift_name("options"))); +@property (readonly) BOOL packed __attribute__((swift_name("packed"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSString *typeUrl __attribute__((swift_name("typeUrl"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((swift_name("Field.Cardinality"))) +@interface PAPIFieldCardinality : PAPIBase +@property (class, readonly, getter=companion) PAPIFieldCardinalityCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly, getter=name_) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) int32_t value_ __attribute__((swift_name("value_"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Field.CardinalityCompanion"))) +@interface PAPIFieldCardinalityCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldCardinalityCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIFieldCardinality *)fromNameName:(NSString *)name __attribute__((swift_name("fromName(name:)"))); +- (PAPIFieldCardinality *)fromValueValue:(int32_t)value __attribute__((swift_name("fromValue(value:)"))); +@property (readonly) NSArray *values __attribute__((swift_name("values"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Field.CardinalityOPTIONAL"))) +@interface PAPIFieldCardinalityOPTIONAL : PAPIFieldCardinality ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oPTIONAL __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldCardinalityOPTIONAL *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Field.CardinalityREPEATED"))) +@interface PAPIFieldCardinalityREPEATED : PAPIFieldCardinality ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)rEPEATED __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldCardinalityREPEATED *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Field.CardinalityREQUIRED"))) +@interface PAPIFieldCardinalityREQUIRED : PAPIFieldCardinality ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)rEQUIRED __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldCardinalityREQUIRED *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Field.CardinalityUNKNOWN"))) +@interface PAPIFieldCardinalityUNKNOWN : PAPIFieldCardinality ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)uNKNOWN __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldCardinalityUNKNOWN *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Field.CardinalityUNRECOGNIZED"))) +@interface PAPIFieldCardinalityUNRECOGNIZED : PAPIFieldCardinality +- (instancetype)initWithValue:(int32_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Field.Companion"))) +@interface PAPIFieldCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIField *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIField *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("Field.Kind"))) +@interface PAPIFieldKind : PAPIBase +@property (class, readonly, getter=companion) PAPIFieldKindCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly, getter=name_) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) int32_t value_ __attribute__((swift_name("value_"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Field.KindCompanion"))) +@interface PAPIFieldKindCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldKindCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIFieldKind *)fromNameName:(NSString *)name __attribute__((swift_name("fromName(name:)"))); +- (PAPIFieldKind *)fromValueValue:(int32_t)value __attribute__((swift_name("fromValue(value:)"))); +@property (readonly) NSArray *values __attribute__((swift_name("values"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Field.KindTYPE_BOOL"))) +@interface PAPIFieldKindTYPE_BOOL : PAPIFieldKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)tYPE_BOOL __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldKindTYPE_BOOL *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Field.KindTYPE_BYTES"))) +@interface PAPIFieldKindTYPE_BYTES : PAPIFieldKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)tYPE_BYTES __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldKindTYPE_BYTES *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Field.KindTYPE_DOUBLE"))) +@interface PAPIFieldKindTYPE_DOUBLE : PAPIFieldKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)tYPE_DOUBLE __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldKindTYPE_DOUBLE *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Field.KindTYPE_ENUM"))) +@interface PAPIFieldKindTYPE_ENUM : PAPIFieldKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)tYPE_ENUM __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldKindTYPE_ENUM *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Field.KindTYPE_FIXED32"))) +@interface PAPIFieldKindTYPE_FIXED32 : PAPIFieldKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)tYPE_FIXED32 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldKindTYPE_FIXED32 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Field.KindTYPE_FIXED64"))) +@interface PAPIFieldKindTYPE_FIXED64 : PAPIFieldKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)tYPE_FIXED64 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldKindTYPE_FIXED64 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Field.KindTYPE_FLOAT"))) +@interface PAPIFieldKindTYPE_FLOAT : PAPIFieldKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)tYPE_FLOAT __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldKindTYPE_FLOAT *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Field.KindTYPE_GROUP"))) +@interface PAPIFieldKindTYPE_GROUP : PAPIFieldKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)tYPE_GROUP __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldKindTYPE_GROUP *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Field.KindTYPE_INT32"))) +@interface PAPIFieldKindTYPE_INT32 : PAPIFieldKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)tYPE_INT32 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldKindTYPE_INT32 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Field.KindTYPE_INT64"))) +@interface PAPIFieldKindTYPE_INT64 : PAPIFieldKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)tYPE_INT64 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldKindTYPE_INT64 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Field.KindTYPE_MESSAGE"))) +@interface PAPIFieldKindTYPE_MESSAGE : PAPIFieldKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)tYPE_MESSAGE __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldKindTYPE_MESSAGE *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Field.KindTYPE_SFIXED32"))) +@interface PAPIFieldKindTYPE_SFIXED32 : PAPIFieldKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)tYPE_SFIXED32 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldKindTYPE_SFIXED32 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Field.KindTYPE_SFIXED64"))) +@interface PAPIFieldKindTYPE_SFIXED64 : PAPIFieldKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)tYPE_SFIXED64 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldKindTYPE_SFIXED64 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Field.KindTYPE_SINT32"))) +@interface PAPIFieldKindTYPE_SINT32 : PAPIFieldKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)tYPE_SINT32 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldKindTYPE_SINT32 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Field.KindTYPE_SINT64"))) +@interface PAPIFieldKindTYPE_SINT64 : PAPIFieldKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)tYPE_SINT64 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldKindTYPE_SINT64 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Field.KindTYPE_STRING"))) +@interface PAPIFieldKindTYPE_STRING : PAPIFieldKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)tYPE_STRING __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldKindTYPE_STRING *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Field.KindTYPE_UINT32"))) +@interface PAPIFieldKindTYPE_UINT32 : PAPIFieldKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)tYPE_UINT32 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldKindTYPE_UINT32 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Field.KindTYPE_UINT64"))) +@interface PAPIFieldKindTYPE_UINT64 : PAPIFieldKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)tYPE_UINT64 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldKindTYPE_UINT64 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Field.KindTYPE_UNKNOWN"))) +@interface PAPIFieldKindTYPE_UNKNOWN : PAPIFieldKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)tYPE_UNKNOWN __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldKindTYPE_UNKNOWN *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Field.KindUNRECOGNIZED"))) +@interface PAPIFieldKindUNRECOGNIZED : PAPIFieldKind +- (instancetype)initWithValue:(int32_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorProto"))) +@interface PAPIFieldDescriptorProto : PAPIBase +- (instancetype)initWithName:(NSString * _Nullable)name number:(PAPIInt * _Nullable)number label:(PAPIFieldDescriptorProtoLabel * _Nullable)label type:(PAPIFieldDescriptorProtoType * _Nullable)type typeName:(NSString * _Nullable)typeName extendee:(NSString * _Nullable)extendee defaultValue:(NSString * _Nullable)defaultValue oneofIndex:(PAPIInt * _Nullable)oneofIndex jsonName:(NSString * _Nullable)jsonName options:(PAPIFieldOptions * _Nullable)options proto3Optional:(PAPIBoolean * _Nullable)proto3Optional unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(name:number:label:type:typeName:extendee:defaultValue:oneofIndex:jsonName:options:proto3Optional:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIFieldDescriptorProtoCompanion *companion __attribute__((swift_name("companion"))); +- (NSString * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (PAPIFieldOptions * _Nullable)component10 __attribute__((swift_name("component10()"))); +- (PAPIBoolean * _Nullable)component11 __attribute__((swift_name("component11()"))); +- (NSDictionary *)component12 __attribute__((swift_name("component12()"))); +- (PAPIInt * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (PAPIFieldDescriptorProtoLabel * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (PAPIFieldDescriptorProtoType * _Nullable)component4 __attribute__((swift_name("component4()"))); +- (NSString * _Nullable)component5 __attribute__((swift_name("component5()"))); +- (NSString * _Nullable)component6 __attribute__((swift_name("component6()"))); +- (NSString * _Nullable)component7 __attribute__((swift_name("component7()"))); +- (PAPIInt * _Nullable)component8 __attribute__((swift_name("component8()"))); +- (NSString * _Nullable)component9 __attribute__((swift_name("component9()"))); +- (PAPIFieldDescriptorProto *)doCopyName:(NSString * _Nullable)name number:(PAPIInt * _Nullable)number label:(PAPIFieldDescriptorProtoLabel * _Nullable)label type:(PAPIFieldDescriptorProtoType * _Nullable)type typeName:(NSString * _Nullable)typeName extendee:(NSString * _Nullable)extendee defaultValue:(NSString * _Nullable)defaultValue oneofIndex:(PAPIInt * _Nullable)oneofIndex jsonName:(NSString * _Nullable)jsonName options:(PAPIFieldOptions * _Nullable)options proto3Optional:(PAPIBoolean * _Nullable)proto3Optional unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(name:number:label:type:typeName:extendee:defaultValue:oneofIndex:jsonName:options:proto3Optional:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIFieldDescriptorProto *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString * _Nullable defaultValue __attribute__((swift_name("defaultValue"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString * _Nullable extendee __attribute__((swift_name("extendee"))); +@property (readonly) NSString * _Nullable jsonName __attribute__((swift_name("jsonName"))); +@property (readonly) PAPIFieldDescriptorProtoLabel * _Nullable label __attribute__((swift_name("label"))); +@property (readonly) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) PAPIInt * _Nullable number __attribute__((swift_name("number"))); +@property (readonly) PAPIInt * _Nullable oneofIndex __attribute__((swift_name("oneofIndex"))); +@property (readonly) PAPIFieldOptions * _Nullable options __attribute__((swift_name("options"))); +@property (readonly) PAPIBoolean * _Nullable proto3Optional __attribute__((swift_name("proto3Optional"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPIFieldDescriptorProtoType * _Nullable type __attribute__((swift_name("type"))); +@property (readonly) NSString * _Nullable typeName __attribute__((swift_name("typeName"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorProto.Companion"))) +@interface PAPIFieldDescriptorProtoCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldDescriptorProtoCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIFieldDescriptorProto *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIFieldDescriptorProto *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("FieldDescriptorProto.Label"))) +@interface PAPIFieldDescriptorProtoLabel : PAPIBase +@property (class, readonly, getter=companion) PAPIFieldDescriptorProtoLabelCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly, getter=name_) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) int32_t value_ __attribute__((swift_name("value_"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorProto.LabelCompanion"))) +@interface PAPIFieldDescriptorProtoLabelCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldDescriptorProtoLabelCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIFieldDescriptorProtoLabel *)fromNameName:(NSString *)name __attribute__((swift_name("fromName(name:)"))); +- (PAPIFieldDescriptorProtoLabel *)fromValueValue:(int32_t)value __attribute__((swift_name("fromValue(value:)"))); +@property (readonly) NSArray *values __attribute__((swift_name("values"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorProto.LabelOPTIONAL"))) +@interface PAPIFieldDescriptorProtoLabelOPTIONAL : PAPIFieldDescriptorProtoLabel ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oPTIONAL __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldDescriptorProtoLabelOPTIONAL *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorProto.LabelREPEATED"))) +@interface PAPIFieldDescriptorProtoLabelREPEATED : PAPIFieldDescriptorProtoLabel ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)rEPEATED __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldDescriptorProtoLabelREPEATED *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorProto.LabelREQUIRED"))) +@interface PAPIFieldDescriptorProtoLabelREQUIRED : PAPIFieldDescriptorProtoLabel ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)rEQUIRED __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldDescriptorProtoLabelREQUIRED *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorProto.LabelUNRECOGNIZED"))) +@interface PAPIFieldDescriptorProtoLabelUNRECOGNIZED : PAPIFieldDescriptorProtoLabel +- (instancetype)initWithValue:(int32_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((swift_name("FieldDescriptorProto.Type_"))) +@interface PAPIFieldDescriptorProtoType : PAPIBase +@property (class, readonly, getter=companion) PAPIFieldDescriptorProtoTypeCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly, getter=name_) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) int32_t value_ __attribute__((swift_name("value_"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorProto.Type_BOOL"))) +@interface PAPIFieldDescriptorProtoTypeBOOL : PAPIFieldDescriptorProtoType ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)bOOL __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldDescriptorProtoTypeBOOL *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorProto.Type_BYTES"))) +@interface PAPIFieldDescriptorProtoTypeBYTES : PAPIFieldDescriptorProtoType ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)bYTES __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldDescriptorProtoTypeBYTES *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorProto.Type_Companion"))) +@interface PAPIFieldDescriptorProtoTypeCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldDescriptorProtoTypeCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIFieldDescriptorProtoType *)fromNameName:(NSString *)name __attribute__((swift_name("fromName(name:)"))); +- (PAPIFieldDescriptorProtoType *)fromValueValue:(int32_t)value __attribute__((swift_name("fromValue(value:)"))); +@property (readonly) NSArray *values __attribute__((swift_name("values"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorProto.Type_DOUBLE"))) +@interface PAPIFieldDescriptorProtoTypeDOUBLE : PAPIFieldDescriptorProtoType ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)dOUBLE __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldDescriptorProtoTypeDOUBLE *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorProto.Type_ENUM"))) +@interface PAPIFieldDescriptorProtoTypeENUM : PAPIFieldDescriptorProtoType ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)eNUM __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldDescriptorProtoTypeENUM *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorProto.Type_FIXED32"))) +@interface PAPIFieldDescriptorProtoTypeFIXED32 : PAPIFieldDescriptorProtoType ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)fIXED32 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldDescriptorProtoTypeFIXED32 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorProto.Type_FIXED64"))) +@interface PAPIFieldDescriptorProtoTypeFIXED64 : PAPIFieldDescriptorProtoType ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)fIXED64 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldDescriptorProtoTypeFIXED64 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorProto.Type_FLOAT"))) +@interface PAPIFieldDescriptorProtoTypeFLOAT : PAPIFieldDescriptorProtoType ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)fLOAT __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldDescriptorProtoTypeFLOAT *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorProto.Type_GROUP"))) +@interface PAPIFieldDescriptorProtoTypeGROUP : PAPIFieldDescriptorProtoType ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)gROUP __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldDescriptorProtoTypeGROUP *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorProto.Type_INT32"))) +@interface PAPIFieldDescriptorProtoTypeINT32 : PAPIFieldDescriptorProtoType ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)iNT32 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldDescriptorProtoTypeINT32 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorProto.Type_INT64"))) +@interface PAPIFieldDescriptorProtoTypeINT64 : PAPIFieldDescriptorProtoType ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)iNT64 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldDescriptorProtoTypeINT64 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorProto.Type_MESSAGE"))) +@interface PAPIFieldDescriptorProtoTypeMESSAGE : PAPIFieldDescriptorProtoType ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)mESSAGE __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldDescriptorProtoTypeMESSAGE *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorProto.Type_SFIXED32"))) +@interface PAPIFieldDescriptorProtoTypeSFIXED32 : PAPIFieldDescriptorProtoType ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)sFIXED32 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldDescriptorProtoTypeSFIXED32 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorProto.Type_SFIXED64"))) +@interface PAPIFieldDescriptorProtoTypeSFIXED64 : PAPIFieldDescriptorProtoType ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)sFIXED64 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldDescriptorProtoTypeSFIXED64 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorProto.Type_SINT32"))) +@interface PAPIFieldDescriptorProtoTypeSINT32 : PAPIFieldDescriptorProtoType ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)sINT32 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldDescriptorProtoTypeSINT32 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorProto.Type_SINT64"))) +@interface PAPIFieldDescriptorProtoTypeSINT64 : PAPIFieldDescriptorProtoType ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)sINT64 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldDescriptorProtoTypeSINT64 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorProto.Type_STRING"))) +@interface PAPIFieldDescriptorProtoTypeSTRING : PAPIFieldDescriptorProtoType ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)sTRING __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldDescriptorProtoTypeSTRING *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorProto.Type_UINT32"))) +@interface PAPIFieldDescriptorProtoTypeUINT32 : PAPIFieldDescriptorProtoType ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)uINT32 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldDescriptorProtoTypeUINT32 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorProto.Type_UINT64"))) +@interface PAPIFieldDescriptorProtoTypeUINT64 : PAPIFieldDescriptorProtoType ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)uINT64 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldDescriptorProtoTypeUINT64 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldDescriptorProto.Type_UNRECOGNIZED"))) +@interface PAPIFieldDescriptorProtoTypeUNRECOGNIZED : PAPIFieldDescriptorProtoType +- (instancetype)initWithValue:(int32_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldMask"))) +@interface PAPIFieldMask : PAPIBase +- (instancetype)initWithPaths:(NSArray *)paths unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(paths:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIFieldMaskCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIFieldMask *)doCopyPaths:(NSArray *)paths unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(paths:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIFieldMask *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSArray *paths __attribute__((swift_name("paths"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldMask.Companion"))) +@interface PAPIFieldMaskCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldMaskCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIFieldMask *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIFieldMask *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldOptions"))) +@interface PAPIFieldOptions : PAPIBase +- (instancetype)initWithCtype:(PAPIFieldOptionsCType * _Nullable)ctype packed:(PAPIBoolean * _Nullable)packed jstype:(PAPIFieldOptionsJSType * _Nullable)jstype lazy:(PAPIBoolean * _Nullable)lazy deprecated:(PAPIBoolean * _Nullable)deprecated weak:(PAPIBoolean * _Nullable)weak uninterpretedOption:(NSArray *)uninterpretedOption unknownFields:(NSDictionary *)unknownFields extensionFields:(PAPIExtensionFieldSet *)extensionFields __attribute__((swift_name("init(ctype:packed:jstype:lazy:deprecated:weak:uninterpretedOption:unknownFields:extensionFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIFieldOptionsCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIFieldOptionsCType * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (PAPIBoolean * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (PAPIFieldOptionsJSType * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (PAPIBoolean * _Nullable)component4 __attribute__((swift_name("component4()"))); +- (PAPIBoolean * _Nullable)component5 __attribute__((swift_name("component5()"))); +- (PAPIBoolean * _Nullable)component6 __attribute__((swift_name("component6()"))); +- (NSArray *)component7 __attribute__((swift_name("component7()"))); +- (NSDictionary *)component8 __attribute__((swift_name("component8()"))); +- (PAPIExtensionFieldSet *)component9 __attribute__((swift_name("component9()"))); +- (PAPIFieldOptions *)doCopyCtype:(PAPIFieldOptionsCType * _Nullable)ctype packed:(PAPIBoolean * _Nullable)packed jstype:(PAPIFieldOptionsJSType * _Nullable)jstype lazy:(PAPIBoolean * _Nullable)lazy deprecated:(PAPIBoolean * _Nullable)deprecated weak:(PAPIBoolean * _Nullable)weak uninterpretedOption:(NSArray *)uninterpretedOption unknownFields:(NSDictionary *)unknownFields extensionFields:(PAPIExtensionFieldSet *)extensionFields __attribute__((swift_name("doCopy(ctype:packed:jstype:lazy:deprecated:weak:uninterpretedOption:unknownFields:extensionFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIFieldOptions *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIFieldOptionsCType * _Nullable ctype __attribute__((swift_name("ctype"))); +@property (readonly) PAPIBoolean * _Nullable deprecated __attribute__((swift_name("deprecated"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIExtensionFieldSet *extensionFields __attribute__((swift_name("extensionFields"))); +@property (readonly) PAPIFieldOptionsJSType * _Nullable jstype __attribute__((swift_name("jstype"))); +@property (readonly) PAPIBoolean * _Nullable lazy __attribute__((swift_name("lazy"))); +@property (readonly) PAPIBoolean * _Nullable packed __attribute__((swift_name("packed"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSArray *uninterpretedOption __attribute__((swift_name("uninterpretedOption"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@property (readonly) PAPIBoolean * _Nullable weak __attribute__((swift_name("weak"))); +@end; + +__attribute__((swift_name("FieldOptions.CType"))) +@interface PAPIFieldOptionsCType : PAPIBase +@property (class, readonly, getter=companion) PAPIFieldOptionsCTypeCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly, getter=name_) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) int32_t value_ __attribute__((swift_name("value_"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldOptions.CTypeCORD"))) +@interface PAPIFieldOptionsCTypeCORD : PAPIFieldOptionsCType ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)cORD __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldOptionsCTypeCORD *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldOptions.CTypeCompanion"))) +@interface PAPIFieldOptionsCTypeCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldOptionsCTypeCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIFieldOptionsCType *)fromNameName:(NSString *)name __attribute__((swift_name("fromName(name:)"))); +- (PAPIFieldOptionsCType *)fromValueValue:(int32_t)value __attribute__((swift_name("fromValue(value:)"))); +@property (readonly) NSArray *values __attribute__((swift_name("values"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldOptions.CTypeSTRING"))) +@interface PAPIFieldOptionsCTypeSTRING : PAPIFieldOptionsCType ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)sTRING __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldOptionsCTypeSTRING *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldOptions.CTypeSTRING_PIECE"))) +@interface PAPIFieldOptionsCTypeSTRING_PIECE : PAPIFieldOptionsCType ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)sTRING_PIECE __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldOptionsCTypeSTRING_PIECE *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldOptions.CTypeUNRECOGNIZED"))) +@interface PAPIFieldOptionsCTypeUNRECOGNIZED : PAPIFieldOptionsCType +- (instancetype)initWithValue:(int32_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldOptions.Companion"))) +@interface PAPIFieldOptionsCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldOptionsCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIFieldOptions *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIFieldOptions *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("FieldOptions.JSType"))) +@interface PAPIFieldOptionsJSType : PAPIBase +@property (class, readonly, getter=companion) PAPIFieldOptionsJSTypeCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly, getter=name_) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) int32_t value_ __attribute__((swift_name("value_"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldOptions.JSTypeCompanion"))) +@interface PAPIFieldOptionsJSTypeCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldOptionsJSTypeCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIFieldOptionsJSType *)fromNameName:(NSString *)name __attribute__((swift_name("fromName(name:)"))); +- (PAPIFieldOptionsJSType *)fromValueValue:(int32_t)value __attribute__((swift_name("fromValue(value:)"))); +@property (readonly) NSArray *values __attribute__((swift_name("values"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldOptions.JSTypeJS_NORMAL"))) +@interface PAPIFieldOptionsJSTypeJS_NORMAL : PAPIFieldOptionsJSType ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)jS_NORMAL __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldOptionsJSTypeJS_NORMAL *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldOptions.JSTypeJS_NUMBER"))) +@interface PAPIFieldOptionsJSTypeJS_NUMBER : PAPIFieldOptionsJSType ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)jS_NUMBER __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldOptionsJSTypeJS_NUMBER *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldOptions.JSTypeJS_STRING"))) +@interface PAPIFieldOptionsJSTypeJS_STRING : PAPIFieldOptionsJSType ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)jS_STRING __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFieldOptionsJSTypeJS_STRING *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FieldOptions.JSTypeUNRECOGNIZED"))) +@interface PAPIFieldOptionsJSTypeUNRECOGNIZED : PAPIFieldOptionsJSType +- (instancetype)initWithValue:(int32_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FileDescriptorProto"))) +@interface PAPIFileDescriptorProto : PAPIBase +- (instancetype)initWithName:(NSString * _Nullable)name package:(NSString * _Nullable)package dependency:(NSArray *)dependency publicDependency:(NSArray *)publicDependency weakDependency:(NSArray *)weakDependency messageType:(NSArray *)messageType enumType:(NSArray *)enumType service:(NSArray *)service extension:(NSArray *)extension options:(PAPIFileOptions * _Nullable)options sourceCodeInfo:(PAPISourceCodeInfo * _Nullable)sourceCodeInfo syntax:(NSString * _Nullable)syntax unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(name:package:dependency:publicDependency:weakDependency:messageType:enumType:service:extension:options:sourceCodeInfo:syntax:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIFileDescriptorProtoCompanion *companion __attribute__((swift_name("companion"))); +- (NSString * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (PAPIFileOptions * _Nullable)component10 __attribute__((swift_name("component10()"))); +- (PAPISourceCodeInfo * _Nullable)component11 __attribute__((swift_name("component11()"))); +- (NSString * _Nullable)component12 __attribute__((swift_name("component12()"))); +- (NSDictionary *)component13 __attribute__((swift_name("component13()"))); +- (NSString * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (NSArray *)component3 __attribute__((swift_name("component3()"))); +- (NSArray *)component4 __attribute__((swift_name("component4()"))); +- (NSArray *)component5 __attribute__((swift_name("component5()"))); +- (NSArray *)component6 __attribute__((swift_name("component6()"))); +- (NSArray *)component7 __attribute__((swift_name("component7()"))); +- (NSArray *)component8 __attribute__((swift_name("component8()"))); +- (NSArray *)component9 __attribute__((swift_name("component9()"))); +- (PAPIFileDescriptorProto *)doCopyName:(NSString * _Nullable)name package:(NSString * _Nullable)package dependency:(NSArray *)dependency publicDependency:(NSArray *)publicDependency weakDependency:(NSArray *)weakDependency messageType:(NSArray *)messageType enumType:(NSArray *)enumType service:(NSArray *)service extension:(NSArray *)extension options:(PAPIFileOptions * _Nullable)options sourceCodeInfo:(PAPISourceCodeInfo * _Nullable)sourceCodeInfo syntax:(NSString * _Nullable)syntax unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(name:package:dependency:publicDependency:weakDependency:messageType:enumType:service:extension:options:sourceCodeInfo:syntax:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIFileDescriptorProto *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSArray *dependency __attribute__((swift_name("dependency"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSArray *enumType __attribute__((swift_name("enumType"))); +@property (readonly) NSArray *extension __attribute__((swift_name("extension"))); +@property (readonly) NSArray *messageType __attribute__((swift_name("messageType"))); +@property (readonly) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) PAPIFileOptions * _Nullable options __attribute__((swift_name("options"))); +@property (readonly) NSString * _Nullable package __attribute__((swift_name("package"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSArray *publicDependency __attribute__((swift_name("publicDependency"))); +@property (readonly) NSArray *service __attribute__((swift_name("service"))); +@property (readonly) PAPISourceCodeInfo * _Nullable sourceCodeInfo __attribute__((swift_name("sourceCodeInfo"))); +@property (readonly) NSString * _Nullable syntax __attribute__((swift_name("syntax"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@property (readonly) NSArray *weakDependency __attribute__((swift_name("weakDependency"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FileDescriptorProto.Companion"))) +@interface PAPIFileDescriptorProtoCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFileDescriptorProtoCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIFileDescriptorProto *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIFileDescriptorProto *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FileDescriptorSet"))) +@interface PAPIFileDescriptorSet : PAPIBase +- (instancetype)initWithFile:(NSArray *)file unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(file:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIFileDescriptorSetCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIFileDescriptorSet *)doCopyFile:(NSArray *)file unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(file:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIFileDescriptorSet *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSArray *file __attribute__((swift_name("file"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FileDescriptorSet.Companion"))) +@interface PAPIFileDescriptorSetCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFileDescriptorSetCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIFileDescriptorSet *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIFileDescriptorSet *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FileOptions"))) +@interface PAPIFileOptions : PAPIBase +- (instancetype)initWithJavaPackage:(NSString * _Nullable)javaPackage javaOuterClassname:(NSString * _Nullable)javaOuterClassname javaMultipleFiles:(PAPIBoolean * _Nullable)javaMultipleFiles javaGenerateEqualsAndHash:(PAPIBoolean * _Nullable)javaGenerateEqualsAndHash javaStringCheckUtf8:(PAPIBoolean * _Nullable)javaStringCheckUtf8 optimizeFor:(PAPIFileOptionsOptimizeMode * _Nullable)optimizeFor goPackage:(NSString * _Nullable)goPackage ccGenericServices:(PAPIBoolean * _Nullable)ccGenericServices javaGenericServices:(PAPIBoolean * _Nullable)javaGenericServices pyGenericServices:(PAPIBoolean * _Nullable)pyGenericServices phpGenericServices:(PAPIBoolean * _Nullable)phpGenericServices deprecated:(PAPIBoolean * _Nullable)deprecated ccEnableArenas:(PAPIBoolean * _Nullable)ccEnableArenas objcClassPrefix:(NSString * _Nullable)objcClassPrefix csharpNamespace:(NSString * _Nullable)csharpNamespace swiftPrefix:(NSString * _Nullable)swiftPrefix phpClassPrefix:(NSString * _Nullable)phpClassPrefix phpNamespace:(NSString * _Nullable)phpNamespace phpMetadataNamespace:(NSString * _Nullable)phpMetadataNamespace rubyPackage:(NSString * _Nullable)rubyPackage uninterpretedOption:(NSArray *)uninterpretedOption unknownFields:(NSDictionary *)unknownFields extensionFields:(PAPIExtensionFieldSet *)extensionFields __attribute__((swift_name("init(javaPackage:javaOuterClassname:javaMultipleFiles:javaGenerateEqualsAndHash:javaStringCheckUtf8:optimizeFor:goPackage:ccGenericServices:javaGenericServices:pyGenericServices:phpGenericServices:deprecated:ccEnableArenas:objcClassPrefix:csharpNamespace:swiftPrefix:phpClassPrefix:phpNamespace:phpMetadataNamespace:rubyPackage:uninterpretedOption:unknownFields:extensionFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIFileOptionsCompanion *companion __attribute__((swift_name("companion"))); +- (NSString * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (PAPIBoolean * _Nullable)component10 __attribute__((swift_name("component10()"))); +- (PAPIBoolean * _Nullable)component11 __attribute__((swift_name("component11()"))); +- (PAPIBoolean * _Nullable)component12 __attribute__((swift_name("component12()"))); +- (PAPIBoolean * _Nullable)component13 __attribute__((swift_name("component13()"))); +- (NSString * _Nullable)component14 __attribute__((swift_name("component14()"))); +- (NSString * _Nullable)component15 __attribute__((swift_name("component15()"))); +- (NSString * _Nullable)component16 __attribute__((swift_name("component16()"))); +- (NSString * _Nullable)component17 __attribute__((swift_name("component17()"))); +- (NSString * _Nullable)component18 __attribute__((swift_name("component18()"))); +- (NSString * _Nullable)component19 __attribute__((swift_name("component19()"))); +- (NSString * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (NSString * _Nullable)component20 __attribute__((swift_name("component20()"))); +- (NSArray *)component21 __attribute__((swift_name("component21()"))); +- (NSDictionary *)component22 __attribute__((swift_name("component22()"))); +- (PAPIExtensionFieldSet *)component23 __attribute__((swift_name("component23()"))); +- (PAPIBoolean * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (PAPIBoolean * _Nullable)component4 __attribute__((swift_name("component4()"))); +- (PAPIBoolean * _Nullable)component5 __attribute__((swift_name("component5()"))); +- (PAPIFileOptionsOptimizeMode * _Nullable)component6 __attribute__((swift_name("component6()"))); +- (NSString * _Nullable)component7 __attribute__((swift_name("component7()"))); +- (PAPIBoolean * _Nullable)component8 __attribute__((swift_name("component8()"))); +- (PAPIBoolean * _Nullable)component9 __attribute__((swift_name("component9()"))); +- (PAPIFileOptions *)doCopyJavaPackage:(NSString * _Nullable)javaPackage javaOuterClassname:(NSString * _Nullable)javaOuterClassname javaMultipleFiles:(PAPIBoolean * _Nullable)javaMultipleFiles javaGenerateEqualsAndHash:(PAPIBoolean * _Nullable)javaGenerateEqualsAndHash javaStringCheckUtf8:(PAPIBoolean * _Nullable)javaStringCheckUtf8 optimizeFor:(PAPIFileOptionsOptimizeMode * _Nullable)optimizeFor goPackage:(NSString * _Nullable)goPackage ccGenericServices:(PAPIBoolean * _Nullable)ccGenericServices javaGenericServices:(PAPIBoolean * _Nullable)javaGenericServices pyGenericServices:(PAPIBoolean * _Nullable)pyGenericServices phpGenericServices:(PAPIBoolean * _Nullable)phpGenericServices deprecated:(PAPIBoolean * _Nullable)deprecated ccEnableArenas:(PAPIBoolean * _Nullable)ccEnableArenas objcClassPrefix:(NSString * _Nullable)objcClassPrefix csharpNamespace:(NSString * _Nullable)csharpNamespace swiftPrefix:(NSString * _Nullable)swiftPrefix phpClassPrefix:(NSString * _Nullable)phpClassPrefix phpNamespace:(NSString * _Nullable)phpNamespace phpMetadataNamespace:(NSString * _Nullable)phpMetadataNamespace rubyPackage:(NSString * _Nullable)rubyPackage uninterpretedOption:(NSArray *)uninterpretedOption unknownFields:(NSDictionary *)unknownFields extensionFields:(PAPIExtensionFieldSet *)extensionFields __attribute__((swift_name("doCopy(javaPackage:javaOuterClassname:javaMultipleFiles:javaGenerateEqualsAndHash:javaStringCheckUtf8:optimizeFor:goPackage:ccGenericServices:javaGenericServices:pyGenericServices:phpGenericServices:deprecated:ccEnableArenas:objcClassPrefix:csharpNamespace:swiftPrefix:phpClassPrefix:phpNamespace:phpMetadataNamespace:rubyPackage:uninterpretedOption:unknownFields:extensionFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIFileOptions *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIBoolean * _Nullable ccEnableArenas __attribute__((swift_name("ccEnableArenas"))); +@property (readonly) PAPIBoolean * _Nullable ccGenericServices __attribute__((swift_name("ccGenericServices"))); +@property (readonly) NSString * _Nullable csharpNamespace __attribute__((swift_name("csharpNamespace"))); +@property (readonly) PAPIBoolean * _Nullable deprecated __attribute__((swift_name("deprecated"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIExtensionFieldSet *extensionFields __attribute__((swift_name("extensionFields"))); +@property (readonly) NSString * _Nullable goPackage __attribute__((swift_name("goPackage"))); +@property (readonly) PAPIBoolean * _Nullable javaGenerateEqualsAndHash __attribute__((swift_name("javaGenerateEqualsAndHash"))); +@property (readonly) PAPIBoolean * _Nullable javaGenericServices __attribute__((swift_name("javaGenericServices"))); +@property (readonly) PAPIBoolean * _Nullable javaMultipleFiles __attribute__((swift_name("javaMultipleFiles"))); +@property (readonly) NSString * _Nullable javaOuterClassname __attribute__((swift_name("javaOuterClassname"))); +@property (readonly) NSString * _Nullable javaPackage __attribute__((swift_name("javaPackage"))); +@property (readonly) PAPIBoolean * _Nullable javaStringCheckUtf8 __attribute__((swift_name("javaStringCheckUtf8"))); +@property (readonly) NSString * _Nullable objcClassPrefix __attribute__((swift_name("objcClassPrefix"))); +@property (readonly) PAPIFileOptionsOptimizeMode * _Nullable optimizeFor __attribute__((swift_name("optimizeFor"))); +@property (readonly) NSString * _Nullable phpClassPrefix __attribute__((swift_name("phpClassPrefix"))); +@property (readonly) PAPIBoolean * _Nullable phpGenericServices __attribute__((swift_name("phpGenericServices"))); +@property (readonly) NSString * _Nullable phpMetadataNamespace __attribute__((swift_name("phpMetadataNamespace"))); +@property (readonly) NSString * _Nullable phpNamespace __attribute__((swift_name("phpNamespace"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPIBoolean * _Nullable pyGenericServices __attribute__((swift_name("pyGenericServices"))); +@property (readonly) NSString * _Nullable rubyPackage __attribute__((swift_name("rubyPackage"))); +@property (readonly) NSString * _Nullable swiftPrefix __attribute__((swift_name("swiftPrefix"))); +@property (readonly) NSArray *uninterpretedOption __attribute__((swift_name("uninterpretedOption"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FileOptions.Companion"))) +@interface PAPIFileOptionsCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFileOptionsCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIFileOptions *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIFileOptions *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("FileOptions.OptimizeMode"))) +@interface PAPIFileOptionsOptimizeMode : PAPIBase +@property (class, readonly, getter=companion) PAPIFileOptionsOptimizeModeCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly, getter=name_) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) int32_t value_ __attribute__((swift_name("value_"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FileOptions.OptimizeModeCODE_SIZE"))) +@interface PAPIFileOptionsOptimizeModeCODE_SIZE : PAPIFileOptionsOptimizeMode ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)cODE_SIZE __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFileOptionsOptimizeModeCODE_SIZE *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FileOptions.OptimizeModeCompanion"))) +@interface PAPIFileOptionsOptimizeModeCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFileOptionsOptimizeModeCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIFileOptionsOptimizeMode *)fromNameName:(NSString *)name __attribute__((swift_name("fromName(name:)"))); +- (PAPIFileOptionsOptimizeMode *)fromValueValue:(int32_t)value __attribute__((swift_name("fromValue(value:)"))); +@property (readonly) NSArray *values __attribute__((swift_name("values"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FileOptions.OptimizeModeLITE_RUNTIME"))) +@interface PAPIFileOptionsOptimizeModeLITE_RUNTIME : PAPIFileOptionsOptimizeMode ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)lITE_RUNTIME __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFileOptionsOptimizeModeLITE_RUNTIME *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FileOptions.OptimizeModeSPEED"))) +@interface PAPIFileOptionsOptimizeModeSPEED : PAPIFileOptionsOptimizeMode ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)sPEED __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFileOptionsOptimizeModeSPEED *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FileOptions.OptimizeModeUNRECOGNIZED"))) +@interface PAPIFileOptionsOptimizeModeUNRECOGNIZED : PAPIFileOptionsOptimizeMode +- (instancetype)initWithValue:(int32_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FloatValue"))) +@interface PAPIFloatValue : PAPIBase +- (instancetype)initWithValue:(float)value unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(value:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIFloatValueCompanion *companion __attribute__((swift_name("companion"))); +- (float)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIFloatValue *)doCopyValue:(float)value unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(value:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIFloatValue *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@property (readonly) float value __attribute__((swift_name("value"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("FloatValue.Companion"))) +@interface PAPIFloatValueCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIFloatValueCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIFloatValue *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIFloatValue *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GeneratedCodeInfo"))) +@interface PAPIGeneratedCodeInfo : PAPIBase +- (instancetype)initWithAnnotation:(NSArray *)annotation unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(annotation:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGeneratedCodeInfoCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGeneratedCodeInfo *)doCopyAnnotation:(NSArray *)annotation unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(annotation:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGeneratedCodeInfo *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSArray *annotation __attribute__((swift_name("annotation"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GeneratedCodeInfo.Annotation"))) +@interface PAPIGeneratedCodeInfoAnnotation : PAPIBase +- (instancetype)initWithPath:(NSArray *)path sourceFile:(NSString * _Nullable)sourceFile begin:(PAPIInt * _Nullable)begin end:(PAPIInt * _Nullable)end unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(path:sourceFile:begin:end:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIGeneratedCodeInfoAnnotationCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSString * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (PAPIInt * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (PAPIInt * _Nullable)component4 __attribute__((swift_name("component4()"))); +- (NSDictionary *)component5 __attribute__((swift_name("component5()"))); +- (PAPIGeneratedCodeInfoAnnotation *)doCopyPath:(NSArray *)path sourceFile:(NSString * _Nullable)sourceFile begin:(PAPIInt * _Nullable)begin end:(PAPIInt * _Nullable)end unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(path:sourceFile:begin:end:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIGeneratedCodeInfoAnnotation *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIInt * _Nullable begin __attribute__((swift_name("begin"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIInt * _Nullable end __attribute__((swift_name("end"))); +@property (readonly) NSArray *path __attribute__((swift_name("path"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSString * _Nullable sourceFile __attribute__((swift_name("sourceFile"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GeneratedCodeInfo.AnnotationCompanion"))) +@interface PAPIGeneratedCodeInfoAnnotationCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGeneratedCodeInfoAnnotationCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGeneratedCodeInfoAnnotation *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGeneratedCodeInfoAnnotation *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GeneratedCodeInfo.Companion"))) +@interface PAPIGeneratedCodeInfoCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGeneratedCodeInfoCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIGeneratedCodeInfo *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIGeneratedCodeInfo *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Int32Value"))) +@interface PAPIInt32Value : PAPIBase +- (instancetype)initWithValue:(int32_t)value unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(value:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIInt32ValueCompanion *companion __attribute__((swift_name("companion"))); +- (int32_t)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIInt32Value *)doCopyValue:(int32_t)value unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(value:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIInt32Value *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@property (readonly) int32_t value __attribute__((swift_name("value"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Int32Value.Companion"))) +@interface PAPIInt32ValueCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIInt32ValueCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIInt32Value *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIInt32Value *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Int64Value"))) +@interface PAPIInt64Value : PAPIBase +- (instancetype)initWithValue:(int64_t)value unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(value:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIInt64ValueCompanion *companion __attribute__((swift_name("companion"))); +- (int64_t)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIInt64Value *)doCopyValue:(int64_t)value unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(value:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIInt64Value *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@property (readonly) int64_t value __attribute__((swift_name("value"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Int64Value.Companion"))) +@interface PAPIInt64ValueCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIInt64ValueCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIInt64Value *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIInt64Value *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ListValue"))) +@interface PAPIListValue : PAPIBase +- (instancetype)initWithValues:(NSArray *)values unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(values:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIListValueCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIListValue *)doCopyValues:(NSArray *)values unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(values:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIListValue *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@property (readonly) NSArray *values __attribute__((swift_name("values"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ListValue.Companion"))) +@interface PAPIListValueCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIListValueCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIListValue *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIListValue *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MessageOptions"))) +@interface PAPIMessageOptions : PAPIBase +- (instancetype)initWithMessageSetWireFormat:(PAPIBoolean * _Nullable)messageSetWireFormat noStandardDescriptorAccessor:(PAPIBoolean * _Nullable)noStandardDescriptorAccessor deprecated:(PAPIBoolean * _Nullable)deprecated mapEntry:(PAPIBoolean * _Nullable)mapEntry uninterpretedOption:(NSArray *)uninterpretedOption unknownFields:(NSDictionary *)unknownFields extensionFields:(PAPIExtensionFieldSet *)extensionFields __attribute__((swift_name("init(messageSetWireFormat:noStandardDescriptorAccessor:deprecated:mapEntry:uninterpretedOption:unknownFields:extensionFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIMessageOptionsCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIBoolean * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (PAPIBoolean * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (PAPIBoolean * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (PAPIBoolean * _Nullable)component4 __attribute__((swift_name("component4()"))); +- (NSArray *)component5 __attribute__((swift_name("component5()"))); +- (NSDictionary *)component6 __attribute__((swift_name("component6()"))); +- (PAPIExtensionFieldSet *)component7 __attribute__((swift_name("component7()"))); +- (PAPIMessageOptions *)doCopyMessageSetWireFormat:(PAPIBoolean * _Nullable)messageSetWireFormat noStandardDescriptorAccessor:(PAPIBoolean * _Nullable)noStandardDescriptorAccessor deprecated:(PAPIBoolean * _Nullable)deprecated mapEntry:(PAPIBoolean * _Nullable)mapEntry uninterpretedOption:(NSArray *)uninterpretedOption unknownFields:(NSDictionary *)unknownFields extensionFields:(PAPIExtensionFieldSet *)extensionFields __attribute__((swift_name("doCopy(messageSetWireFormat:noStandardDescriptorAccessor:deprecated:mapEntry:uninterpretedOption:unknownFields:extensionFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIMessageOptions *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIBoolean * _Nullable deprecated __attribute__((swift_name("deprecated"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIExtensionFieldSet *extensionFields __attribute__((swift_name("extensionFields"))); +@property (readonly) PAPIBoolean * _Nullable mapEntry __attribute__((swift_name("mapEntry"))); +@property (readonly) PAPIBoolean * _Nullable messageSetWireFormat __attribute__((swift_name("messageSetWireFormat"))); +@property (readonly) PAPIBoolean * _Nullable noStandardDescriptorAccessor __attribute__((swift_name("noStandardDescriptorAccessor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSArray *uninterpretedOption __attribute__((swift_name("uninterpretedOption"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MessageOptions.Companion"))) +@interface PAPIMessageOptionsCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIMessageOptionsCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIMessageOptions *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIMessageOptions *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Method"))) +@interface PAPIMethod : PAPIBase +- (instancetype)initWithName:(NSString *)name requestTypeUrl:(NSString *)requestTypeUrl requestStreaming:(BOOL)requestStreaming responseTypeUrl:(NSString *)responseTypeUrl responseStreaming:(BOOL)responseStreaming options:(NSArray *)options syntax:(PAPISyntax *)syntax unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(name:requestTypeUrl:requestStreaming:responseTypeUrl:responseStreaming:options:syntax:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIMethodCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (BOOL)component3 __attribute__((swift_name("component3()"))); +- (NSString *)component4 __attribute__((swift_name("component4()"))); +- (BOOL)component5 __attribute__((swift_name("component5()"))); +- (NSArray *)component6 __attribute__((swift_name("component6()"))); +- (PAPISyntax *)component7 __attribute__((swift_name("component7()"))); +- (NSDictionary *)component8 __attribute__((swift_name("component8()"))); +- (PAPIMethod *)doCopyName:(NSString *)name requestTypeUrl:(NSString *)requestTypeUrl requestStreaming:(BOOL)requestStreaming responseTypeUrl:(NSString *)responseTypeUrl responseStreaming:(BOOL)responseStreaming options:(NSArray *)options syntax:(PAPISyntax *)syntax unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(name:requestTypeUrl:requestStreaming:responseTypeUrl:responseStreaming:options:syntax:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIMethod *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) NSArray *options __attribute__((swift_name("options"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) BOOL requestStreaming __attribute__((swift_name("requestStreaming"))); +@property (readonly) NSString *requestTypeUrl __attribute__((swift_name("requestTypeUrl"))); +@property (readonly) BOOL responseStreaming __attribute__((swift_name("responseStreaming"))); +@property (readonly) NSString *responseTypeUrl __attribute__((swift_name("responseTypeUrl"))); +@property (readonly) PAPISyntax *syntax __attribute__((swift_name("syntax"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Method.Companion"))) +@interface PAPIMethodCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIMethodCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIMethod *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIMethod *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MethodDescriptorProto"))) +@interface PAPIMethodDescriptorProto : PAPIBase +- (instancetype)initWithName:(NSString * _Nullable)name inputType:(NSString * _Nullable)inputType outputType:(NSString * _Nullable)outputType options:(PAPIMethodOptions * _Nullable)options clientStreaming:(PAPIBoolean * _Nullable)clientStreaming serverStreaming:(PAPIBoolean * _Nullable)serverStreaming unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(name:inputType:outputType:options:clientStreaming:serverStreaming:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIMethodDescriptorProtoCompanion *companion __attribute__((swift_name("companion"))); +- (NSString * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSString * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (NSString * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (PAPIMethodOptions * _Nullable)component4 __attribute__((swift_name("component4()"))); +- (PAPIBoolean * _Nullable)component5 __attribute__((swift_name("component5()"))); +- (PAPIBoolean * _Nullable)component6 __attribute__((swift_name("component6()"))); +- (NSDictionary *)component7 __attribute__((swift_name("component7()"))); +- (PAPIMethodDescriptorProto *)doCopyName:(NSString * _Nullable)name inputType:(NSString * _Nullable)inputType outputType:(NSString * _Nullable)outputType options:(PAPIMethodOptions * _Nullable)options clientStreaming:(PAPIBoolean * _Nullable)clientStreaming serverStreaming:(PAPIBoolean * _Nullable)serverStreaming unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(name:inputType:outputType:options:clientStreaming:serverStreaming:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIMethodDescriptorProto *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIBoolean * _Nullable clientStreaming __attribute__((swift_name("clientStreaming"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString * _Nullable inputType __attribute__((swift_name("inputType"))); +@property (readonly) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) PAPIMethodOptions * _Nullable options __attribute__((swift_name("options"))); +@property (readonly) NSString * _Nullable outputType __attribute__((swift_name("outputType"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPIBoolean * _Nullable serverStreaming __attribute__((swift_name("serverStreaming"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MethodDescriptorProto.Companion"))) +@interface PAPIMethodDescriptorProtoCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIMethodDescriptorProtoCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIMethodDescriptorProto *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIMethodDescriptorProto *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MethodOptions"))) +@interface PAPIMethodOptions : PAPIBase +- (instancetype)initWithDeprecated:(PAPIBoolean * _Nullable)deprecated idempotencyLevel:(PAPIMethodOptionsIdempotencyLevel * _Nullable)idempotencyLevel uninterpretedOption:(NSArray *)uninterpretedOption unknownFields:(NSDictionary *)unknownFields extensionFields:(PAPIExtensionFieldSet *)extensionFields __attribute__((swift_name("init(deprecated:idempotencyLevel:uninterpretedOption:unknownFields:extensionFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIMethodOptionsCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIBoolean * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (PAPIMethodOptionsIdempotencyLevel * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (NSArray *)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPIExtensionFieldSet *)component5 __attribute__((swift_name("component5()"))); +- (PAPIMethodOptions *)doCopyDeprecated:(PAPIBoolean * _Nullable)deprecated idempotencyLevel:(PAPIMethodOptionsIdempotencyLevel * _Nullable)idempotencyLevel uninterpretedOption:(NSArray *)uninterpretedOption unknownFields:(NSDictionary *)unknownFields extensionFields:(PAPIExtensionFieldSet *)extensionFields __attribute__((swift_name("doCopy(deprecated:idempotencyLevel:uninterpretedOption:unknownFields:extensionFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIMethodOptions *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIBoolean * _Nullable deprecated __attribute__((swift_name("deprecated"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIExtensionFieldSet *extensionFields __attribute__((swift_name("extensionFields"))); +@property (readonly) PAPIMethodOptionsIdempotencyLevel * _Nullable idempotencyLevel __attribute__((swift_name("idempotencyLevel"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSArray *uninterpretedOption __attribute__((swift_name("uninterpretedOption"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MethodOptions.Companion"))) +@interface PAPIMethodOptionsCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIMethodOptionsCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIMethodOptions *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIMethodOptions *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("MethodOptions.IdempotencyLevel"))) +@interface PAPIMethodOptionsIdempotencyLevel : PAPIBase +@property (class, readonly, getter=companion) PAPIMethodOptionsIdempotencyLevelCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly, getter=name_) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) int32_t value_ __attribute__((swift_name("value_"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MethodOptions.IdempotencyLevelCompanion"))) +@interface PAPIMethodOptionsIdempotencyLevelCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIMethodOptionsIdempotencyLevelCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIMethodOptionsIdempotencyLevel *)fromNameName:(NSString *)name __attribute__((swift_name("fromName(name:)"))); +- (PAPIMethodOptionsIdempotencyLevel *)fromValueValue:(int32_t)value __attribute__((swift_name("fromValue(value:)"))); +@property (readonly) NSArray *values __attribute__((swift_name("values"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MethodOptions.IdempotencyLevelIDEMPOTENCY_UNKNOWN"))) +@interface PAPIMethodOptionsIdempotencyLevelIDEMPOTENCY_UNKNOWN : PAPIMethodOptionsIdempotencyLevel ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)iDEMPOTENCY_UNKNOWN __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIMethodOptionsIdempotencyLevelIDEMPOTENCY_UNKNOWN *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MethodOptions.IdempotencyLevelIDEMPOTENT"))) +@interface PAPIMethodOptionsIdempotencyLevelIDEMPOTENT : PAPIMethodOptionsIdempotencyLevel ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)iDEMPOTENT __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIMethodOptionsIdempotencyLevelIDEMPOTENT *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MethodOptions.IdempotencyLevelNO_SIDE_EFFECTS"))) +@interface PAPIMethodOptionsIdempotencyLevelNO_SIDE_EFFECTS : PAPIMethodOptionsIdempotencyLevel ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)nO_SIDE_EFFECTS __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIMethodOptionsIdempotencyLevelNO_SIDE_EFFECTS *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MethodOptions.IdempotencyLevelUNRECOGNIZED"))) +@interface PAPIMethodOptionsIdempotencyLevelUNRECOGNIZED : PAPIMethodOptionsIdempotencyLevel +- (instancetype)initWithValue:(int32_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Mixin"))) +@interface PAPIMixin : PAPIBase +- (instancetype)initWithName:(NSString *)name root:(NSString *)root unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(name:root:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIMixinCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIMixin *)doCopyName:(NSString *)name root:(NSString *)root unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(name:root:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIMixin *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSString *root __attribute__((swift_name("root"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Mixin.Companion"))) +@interface PAPIMixinCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIMixinCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIMixin *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIMixin *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("NullValue"))) +@interface PAPINullValue : PAPIBase +@property (class, readonly, getter=companion) PAPINullValueCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly, getter=name_) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) int32_t value_ __attribute__((swift_name("value_"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("NullValue.Companion"))) +@interface PAPINullValueCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPINullValueCompanion *shared __attribute__((swift_name("shared"))); +- (PAPINullValue *)fromNameName:(NSString *)name __attribute__((swift_name("fromName(name:)"))); +- (PAPINullValue *)fromValueValue:(int32_t)value __attribute__((swift_name("fromValue(value:)"))); +@property (readonly) NSArray *values __attribute__((swift_name("values"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("NullValue.NULL_VALUE"))) +@interface PAPINullValueNULL_VALUE : PAPINullValue ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)nULL_VALUE __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPINullValueNULL_VALUE *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("NullValue.UNRECOGNIZED"))) +@interface PAPINullValueUNRECOGNIZED : PAPINullValue +- (instancetype)initWithValue:(int32_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OneofDescriptorProto"))) +@interface PAPIOneofDescriptorProto : PAPIBase +- (instancetype)initWithName:(NSString * _Nullable)name options:(PAPIOneofOptions * _Nullable)options unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(name:options:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIOneofDescriptorProtoCompanion *companion __attribute__((swift_name("companion"))); +- (NSString * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (PAPIOneofOptions * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIOneofDescriptorProto *)doCopyName:(NSString * _Nullable)name options:(PAPIOneofOptions * _Nullable)options unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(name:options:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIOneofDescriptorProto *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) PAPIOneofOptions * _Nullable options __attribute__((swift_name("options"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OneofDescriptorProto.Companion"))) +@interface PAPIOneofDescriptorProtoCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOneofDescriptorProtoCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIOneofDescriptorProto *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIOneofDescriptorProto *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OneofOptions"))) +@interface PAPIOneofOptions : PAPIBase +- (instancetype)initWithUninterpretedOption:(NSArray *)uninterpretedOption unknownFields:(NSDictionary *)unknownFields extensionFields:(PAPIExtensionFieldSet *)extensionFields __attribute__((swift_name("init(uninterpretedOption:unknownFields:extensionFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIOneofOptionsCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIExtensionFieldSet *)component3 __attribute__((swift_name("component3()"))); +- (PAPIOneofOptions *)doCopyUninterpretedOption:(NSArray *)uninterpretedOption unknownFields:(NSDictionary *)unknownFields extensionFields:(PAPIExtensionFieldSet *)extensionFields __attribute__((swift_name("doCopy(uninterpretedOption:unknownFields:extensionFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIOneofOptions *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIExtensionFieldSet *extensionFields __attribute__((swift_name("extensionFields"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSArray *uninterpretedOption __attribute__((swift_name("uninterpretedOption"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OneofOptions.Companion"))) +@interface PAPIOneofOptionsCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOneofOptionsCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIOneofOptions *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIOneofOptions *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Option"))) +@interface PAPIOption : PAPIBase +- (instancetype)initWithName:(NSString *)name value:(PAPIAny * _Nullable)value unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(name:value:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIOptionCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIAny * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIOption *)doCopyName:(NSString *)name value:(PAPIAny * _Nullable)value unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(name:value:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIOption *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@property (readonly) PAPIAny * _Nullable value __attribute__((swift_name("value"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Option.Companion"))) +@interface PAPIOptionCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOptionCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIOption *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIOption *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ServiceDescriptorProto"))) +@interface PAPIServiceDescriptorProto : PAPIBase +- (instancetype)initWithName:(NSString * _Nullable)name method:(NSArray *)method options:(PAPIServiceOptions * _Nullable)options unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(name:method:options:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIServiceDescriptorProtoCompanion *companion __attribute__((swift_name("companion"))); +- (NSString * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSArray *)component2 __attribute__((swift_name("component2()"))); +- (PAPIServiceOptions * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (NSDictionary *)component4 __attribute__((swift_name("component4()"))); +- (PAPIServiceDescriptorProto *)doCopyName:(NSString * _Nullable)name method:(NSArray *)method options:(PAPIServiceOptions * _Nullable)options unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(name:method:options:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIServiceDescriptorProto *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSArray *method __attribute__((swift_name("method"))); +@property (readonly) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) PAPIServiceOptions * _Nullable options __attribute__((swift_name("options"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ServiceDescriptorProto.Companion"))) +@interface PAPIServiceDescriptorProtoCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIServiceDescriptorProtoCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIServiceDescriptorProto *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIServiceDescriptorProto *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ServiceOptions"))) +@interface PAPIServiceOptions : PAPIBase +- (instancetype)initWithDeprecated:(PAPIBoolean * _Nullable)deprecated uninterpretedOption:(NSArray *)uninterpretedOption unknownFields:(NSDictionary *)unknownFields extensionFields:(PAPIExtensionFieldSet *)extensionFields __attribute__((swift_name("init(deprecated:uninterpretedOption:unknownFields:extensionFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIServiceOptionsCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIBoolean * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSArray *)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIExtensionFieldSet *)component4 __attribute__((swift_name("component4()"))); +- (PAPIServiceOptions *)doCopyDeprecated:(PAPIBoolean * _Nullable)deprecated uninterpretedOption:(NSArray *)uninterpretedOption unknownFields:(NSDictionary *)unknownFields extensionFields:(PAPIExtensionFieldSet *)extensionFields __attribute__((swift_name("doCopy(deprecated:uninterpretedOption:unknownFields:extensionFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIServiceOptions *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIBoolean * _Nullable deprecated __attribute__((swift_name("deprecated"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIExtensionFieldSet *extensionFields __attribute__((swift_name("extensionFields"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSArray *uninterpretedOption __attribute__((swift_name("uninterpretedOption"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ServiceOptions.Companion"))) +@interface PAPIServiceOptionsCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIServiceOptionsCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIServiceOptions *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIServiceOptions *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SourceCodeInfo"))) +@interface PAPISourceCodeInfo : PAPIBase +- (instancetype)initWithLocation:(NSArray *)location unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(location:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPISourceCodeInfoCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPISourceCodeInfo *)doCopyLocation:(NSArray *)location unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(location:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPISourceCodeInfo *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSArray *location __attribute__((swift_name("location"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SourceCodeInfo.Companion"))) +@interface PAPISourceCodeInfoCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPISourceCodeInfoCompanion *shared __attribute__((swift_name("shared"))); +- (PAPISourceCodeInfo *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPISourceCodeInfo *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SourceCodeInfo.Location"))) +@interface PAPISourceCodeInfoLocation : PAPIBase +- (instancetype)initWithPath:(NSArray *)path span:(NSArray *)span leadingComments:(NSString * _Nullable)leadingComments trailingComments:(NSString * _Nullable)trailingComments leadingDetachedComments:(NSArray *)leadingDetachedComments unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(path:span:leadingComments:trailingComments:leadingDetachedComments:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPISourceCodeInfoLocationCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSArray *)component2 __attribute__((swift_name("component2()"))); +- (NSString * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (NSString * _Nullable)component4 __attribute__((swift_name("component4()"))); +- (NSArray *)component5 __attribute__((swift_name("component5()"))); +- (NSDictionary *)component6 __attribute__((swift_name("component6()"))); +- (PAPISourceCodeInfoLocation *)doCopyPath:(NSArray *)path span:(NSArray *)span leadingComments:(NSString * _Nullable)leadingComments trailingComments:(NSString * _Nullable)trailingComments leadingDetachedComments:(NSArray *)leadingDetachedComments unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(path:span:leadingComments:trailingComments:leadingDetachedComments:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPISourceCodeInfoLocation *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString * _Nullable leadingComments __attribute__((swift_name("leadingComments"))); +@property (readonly) NSArray *leadingDetachedComments __attribute__((swift_name("leadingDetachedComments"))); +@property (readonly) NSArray *path __attribute__((swift_name("path"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSArray *span __attribute__((swift_name("span"))); +@property (readonly) NSString * _Nullable trailingComments __attribute__((swift_name("trailingComments"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SourceCodeInfo.LocationCompanion"))) +@interface PAPISourceCodeInfoLocationCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPISourceCodeInfoLocationCompanion *shared __attribute__((swift_name("shared"))); +- (PAPISourceCodeInfoLocation *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPISourceCodeInfoLocation *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SourceContext"))) +@interface PAPISourceContext : PAPIBase +- (instancetype)initWithFileName:(NSString *)fileName unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(fileName:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPISourceContextCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPISourceContext *)doCopyFileName:(NSString *)fileName unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(fileName:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPISourceContext *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *fileName __attribute__((swift_name("fileName"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SourceContext.Companion"))) +@interface PAPISourceContextCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPISourceContextCompanion *shared __attribute__((swift_name("shared"))); +- (PAPISourceContext *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPISourceContext *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("StringValue"))) +@interface PAPIStringValue : PAPIBase +- (instancetype)initWithValue:(NSString *)value unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(value:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIStringValueCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIStringValue *)doCopyValue:(NSString *)value unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(value:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIStringValue *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@property (readonly) NSString *value __attribute__((swift_name("value"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("StringValue.Companion"))) +@interface PAPIStringValueCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIStringValueCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIStringValue *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIStringValue *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Struct"))) +@interface PAPIStruct : PAPIBase +- (instancetype)initWithFields:(NSDictionary *)fields unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(fields:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIStructCompanion *companion __attribute__((swift_name("companion"))); +- (NSDictionary *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIStruct *)doCopyFields:(NSDictionary *)fields unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(fields:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIStruct *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSDictionary *fields __attribute__((swift_name("fields"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Struct.Companion"))) +@interface PAPIStructCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIStructCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIStruct *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIStruct *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("KotlinMapEntry"))) +@protocol PAPIKotlinMapEntry +@required +@property (readonly) id _Nullable key __attribute__((swift_name("key"))); +@property (readonly) id _Nullable value __attribute__((swift_name("value"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Struct.FieldsEntry"))) +@interface PAPIStructFieldsEntry : PAPIBase +- (instancetype)initWithKey:(NSString *)key value:(PAPIValue * _Nullable)value unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(key:value:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIStructFieldsEntryCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIValue * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIStructFieldsEntry *)doCopyKey:(NSString *)key value:(PAPIValue * _Nullable)value unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(key:value:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIStructFieldsEntry *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSString *key __attribute__((swift_name("key"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@property (readonly) PAPIValue * _Nullable value __attribute__((swift_name("value"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Struct.FieldsEntryCompanion"))) +@interface PAPIStructFieldsEntryCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIStructFieldsEntryCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIStructFieldsEntry *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIStructFieldsEntry *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("Syntax"))) +@interface PAPISyntax : PAPIBase +@property (class, readonly, getter=companion) PAPISyntaxCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly, getter=name_) NSString * _Nullable name __attribute__((swift_name("name"))); +@property (readonly) int32_t value_ __attribute__((swift_name("value_"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Syntax.Companion"))) +@interface PAPISyntaxCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPISyntaxCompanion *shared __attribute__((swift_name("shared"))); +- (PAPISyntax *)fromNameName:(NSString *)name __attribute__((swift_name("fromName(name:)"))); +- (PAPISyntax *)fromValueValue:(int32_t)value __attribute__((swift_name("fromValue(value:)"))); +@property (readonly) NSArray *values __attribute__((swift_name("values"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Syntax.PROTO2"))) +@interface PAPISyntaxPROTO2 : PAPISyntax ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)pROTO2 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPISyntaxPROTO2 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Syntax.PROTO3"))) +@interface PAPISyntaxPROTO3 : PAPISyntax ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)pROTO3 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPISyntaxPROTO3 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Syntax.UNRECOGNIZED"))) +@interface PAPISyntaxUNRECOGNIZED : PAPISyntax +- (instancetype)initWithValue:(int32_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Timestamp"))) +@interface PAPITimestamp : PAPIBase +- (instancetype)initWithSeconds:(int64_t)seconds nanos:(int32_t)nanos unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(seconds:nanos:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPITimestampCompanion *companion __attribute__((swift_name("companion"))); +- (int64_t)component1 __attribute__((swift_name("component1()"))); +- (int32_t)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPITimestamp *)doCopySeconds:(int64_t)seconds nanos:(int32_t)nanos unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(seconds:nanos:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPITimestamp *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t nanos __attribute__((swift_name("nanos"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) int64_t seconds __attribute__((swift_name("seconds"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Timestamp.Companion"))) +@interface PAPITimestampCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPITimestampCompanion *shared __attribute__((swift_name("shared"))); +- (PAPITimestamp *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPITimestamp *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Type"))) +@interface PAPIType : PAPIBase +- (instancetype)initWithName:(NSString *)name fields:(NSArray *)fields oneofs:(NSArray *)oneofs options:(NSArray *)options sourceContext:(PAPISourceContext * _Nullable)sourceContext syntax:(PAPISyntax *)syntax unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(name:fields:oneofs:options:sourceContext:syntax:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPITypeCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSArray *)component2 __attribute__((swift_name("component2()"))); +- (NSArray *)component3 __attribute__((swift_name("component3()"))); +- (NSArray *)component4 __attribute__((swift_name("component4()"))); +- (PAPISourceContext * _Nullable)component5 __attribute__((swift_name("component5()"))); +- (PAPISyntax *)component6 __attribute__((swift_name("component6()"))); +- (NSDictionary *)component7 __attribute__((swift_name("component7()"))); +- (PAPIType *)doCopyName:(NSString *)name fields:(NSArray *)fields oneofs:(NSArray *)oneofs options:(NSArray *)options sourceContext:(PAPISourceContext * _Nullable)sourceContext syntax:(PAPISyntax *)syntax unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(name:fields:oneofs:options:sourceContext:syntax:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIType *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) NSArray *fields __attribute__((swift_name("fields"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) NSArray *oneofs __attribute__((swift_name("oneofs"))); +@property (readonly) NSArray *options __attribute__((swift_name("options"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPISourceContext * _Nullable sourceContext __attribute__((swift_name("sourceContext"))); +@property (readonly) PAPISyntax *syntax __attribute__((swift_name("syntax"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Type.Companion"))) +@interface PAPITypeCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPITypeCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIType *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIType *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UInt32Value"))) +@interface PAPIUInt32Value : PAPIBase +- (instancetype)initWithValue:(int32_t)value unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(value:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIUInt32ValueCompanion *companion __attribute__((swift_name("companion"))); +- (int32_t)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIUInt32Value *)doCopyValue:(int32_t)value unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(value:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIUInt32Value *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@property (readonly) int32_t value __attribute__((swift_name("value"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UInt32Value.Companion"))) +@interface PAPIUInt32ValueCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIUInt32ValueCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIUInt32Value *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIUInt32Value *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UInt64Value"))) +@interface PAPIUInt64Value : PAPIBase +- (instancetype)initWithValue:(int64_t)value unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(value:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIUInt64ValueCompanion *companion __attribute__((swift_name("companion"))); +- (int64_t)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIUInt64Value *)doCopyValue:(int64_t)value unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(value:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIUInt64Value *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@property (readonly) int64_t value __attribute__((swift_name("value"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UInt64Value.Companion"))) +@interface PAPIUInt64ValueCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIUInt64ValueCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIUInt64Value *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIUInt64Value *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UninterpretedOption"))) +@interface PAPIUninterpretedOption : PAPIBase +- (instancetype)initWithName:(NSArray *)name identifierValue:(NSString * _Nullable)identifierValue positiveIntValue:(PAPILong * _Nullable)positiveIntValue negativeIntValue:(PAPILong * _Nullable)negativeIntValue doubleValue:(PAPIDouble * _Nullable)doubleValue stringValue:(PAPIByteArr * _Nullable)stringValue aggregateValue:(NSString * _Nullable)aggregateValue unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(name:identifierValue:positiveIntValue:negativeIntValue:doubleValue:stringValue:aggregateValue:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIUninterpretedOptionCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSString * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (PAPILong * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (PAPILong * _Nullable)component4 __attribute__((swift_name("component4()"))); +- (PAPIDouble * _Nullable)component5 __attribute__((swift_name("component5()"))); +- (PAPIByteArr * _Nullable)component6 __attribute__((swift_name("component6()"))); +- (NSString * _Nullable)component7 __attribute__((swift_name("component7()"))); +- (NSDictionary *)component8 __attribute__((swift_name("component8()"))); +- (PAPIUninterpretedOption *)doCopyName:(NSArray *)name identifierValue:(NSString * _Nullable)identifierValue positiveIntValue:(PAPILong * _Nullable)positiveIntValue negativeIntValue:(PAPILong * _Nullable)negativeIntValue doubleValue:(PAPIDouble * _Nullable)doubleValue stringValue:(PAPIByteArr * _Nullable)stringValue aggregateValue:(NSString * _Nullable)aggregateValue unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(name:identifierValue:positiveIntValue:negativeIntValue:doubleValue:stringValue:aggregateValue:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIUninterpretedOption *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString * _Nullable aggregateValue __attribute__((swift_name("aggregateValue"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIDouble * _Nullable doubleValue __attribute__((swift_name("doubleValue"))); +@property (readonly) NSString * _Nullable identifierValue __attribute__((swift_name("identifierValue"))); +@property (readonly) NSArray *name __attribute__((swift_name("name"))); +@property (readonly) PAPILong * _Nullable negativeIntValue __attribute__((swift_name("negativeIntValue"))); +@property (readonly) PAPILong * _Nullable positiveIntValue __attribute__((swift_name("positiveIntValue"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) PAPIByteArr * _Nullable stringValue __attribute__((swift_name("stringValue"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UninterpretedOption.Companion"))) +@interface PAPIUninterpretedOptionCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIUninterpretedOptionCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIUninterpretedOption *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIUninterpretedOption *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UninterpretedOption.NamePart"))) +@interface PAPIUninterpretedOptionNamePart : PAPIBase +- (instancetype)initWithNamePart:(NSString *)namePart isExtension:(BOOL)isExtension unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(namePart:isExtension:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIUninterpretedOptionNamePartCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (BOOL)component2 __attribute__((swift_name("component2()"))); +- (NSDictionary *)component3 __attribute__((swift_name("component3()"))); +- (PAPIUninterpretedOptionNamePart *)doCopyNamePart:(NSString *)namePart isExtension:(BOOL)isExtension unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(namePart:isExtension:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIUninterpretedOptionNamePart *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) BOOL isExtension __attribute__((swift_name("isExtension"))); +@property (readonly) NSString *namePart __attribute__((swift_name("namePart"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UninterpretedOption.NamePartCompanion"))) +@interface PAPIUninterpretedOptionNamePartCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIUninterpretedOptionNamePartCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIUninterpretedOptionNamePart *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIUninterpretedOptionNamePart *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Value"))) +@interface PAPIValue : PAPIBase +- (instancetype)initWithKind:(PAPIValueKind * _Nullable)kind unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("init(kind:unknownFields:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIValueCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIValueKind * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPIValue *)doCopyKind:(PAPIValueKind * _Nullable)kind unknownFields:(NSDictionary *)unknownFields __attribute__((swift_name("doCopy(kind:unknownFields:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIValue *)plusOther:(id _Nullable)other __attribute__((swift_name("plus(other:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIBoolean * _Nullable boolValue __attribute__((swift_name("boolValue"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) PAPIValueKind * _Nullable kind __attribute__((swift_name("kind"))); +@property (readonly) PAPIListValue * _Nullable listValue __attribute__((swift_name("listValue"))); +@property (readonly) PAPINullValue * _Nullable nullValue __attribute__((swift_name("nullValue"))); +@property (readonly) PAPIDouble * _Nullable numberValue __attribute__((swift_name("numberValue"))); +@property (readonly) int32_t protoSize __attribute__((swift_name("protoSize"))); +@property (readonly) NSString * _Nullable stringValue __attribute__((swift_name("stringValue"))); +@property (readonly) PAPIStruct * _Nullable structValue __attribute__((swift_name("structValue"))); +@property (readonly) NSDictionary *unknownFields __attribute__((swift_name("unknownFields"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Value.Companion"))) +@interface PAPIValueCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIValueCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIValue *)decodeWithU:(id)u __attribute__((swift_name("decodeWith(u:)"))); +@property (readonly) PAPIValue *defaultInstance __attribute__((swift_name("defaultInstance"))); +@property (readonly) PAPIMessageDescriptor *descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("ValueKind"))) +@interface PAPIValueKind : PAPIMessageOneOf +- (instancetype)initWithValue:(id _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ValueKindBoolValue"))) +@interface PAPIValueKindBoolValue : PAPIValueKind +- (instancetype)initWithBoolValue:(BOOL)boolValue __attribute__((swift_name("init(boolValue:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ValueKindListValue"))) +@interface PAPIValueKindListValue : PAPIValueKind +- (instancetype)initWithListValue:(PAPIListValue *)listValue __attribute__((swift_name("init(listValue:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ValueKindNullValue"))) +@interface PAPIValueKindNullValue : PAPIValueKind +- (instancetype)initWithNullValue:(PAPINullValue *)nullValue __attribute__((swift_name("init(nullValue:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ValueKindNumberValue"))) +@interface PAPIValueKindNumberValue : PAPIValueKind +- (instancetype)initWithNumberValue:(double)numberValue __attribute__((swift_name("init(numberValue:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ValueKindStringValue"))) +@interface PAPIValueKindStringValue : PAPIValueKind +- (instancetype)initWithStringValue:(NSString *)stringValue __attribute__((swift_name("init(stringValue:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ValueKindStructValue"))) +@interface PAPIValueKindStructValue : PAPIValueKind +- (instancetype)initWithStructValue:(PAPIStruct *)structValue __attribute__((swift_name("init(structValue:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((swift_name("Clock"))) +@protocol PAPIClock +@required +- (PAPIInstant *)now __attribute__((swift_name("now()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ClockCompanion"))) +@interface PAPIClockCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIClockCompanion *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ClockSystem"))) +@interface PAPIClockSystem : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)system __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIClockSystem *shared __attribute__((swift_name("shared"))); +- (PAPIInstant *)now __attribute__((swift_name("now()"))); +@end; + +__attribute__((swift_name("DateTimePeriod"))) +@interface PAPIDateTimePeriod : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +@property (class, readonly, getter=companion) PAPIDateTimePeriodCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) int32_t days __attribute__((swift_name("days"))); +@property (readonly) int32_t hours __attribute__((swift_name("hours"))); +@property (readonly) int32_t minutes __attribute__((swift_name("minutes"))); +@property (readonly) int32_t months __attribute__((swift_name("months"))); +@property (readonly) int32_t nanoseconds __attribute__((swift_name("nanoseconds"))); +@property (readonly) int32_t seconds __attribute__((swift_name("seconds"))); +@property (readonly) int32_t years __attribute__((swift_name("years"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DatePeriod"))) +@interface PAPIDatePeriod : PAPIDateTimePeriod +- (instancetype)initWithYears:(int32_t)years months:(int32_t)months days:(int32_t)days __attribute__((swift_name("init(years:months:days:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +@property (class, readonly, getter=companion) PAPIDatePeriodCompanion *companion __attribute__((swift_name("companion"))); +@property (readonly) int32_t days __attribute__((swift_name("days"))); +@property (readonly) int32_t hours __attribute__((swift_name("hours"))); +@property (readonly) int32_t minutes __attribute__((swift_name("minutes"))); +@property (readonly) int32_t nanoseconds __attribute__((swift_name("nanoseconds"))); +@property (readonly) int32_t seconds __attribute__((swift_name("seconds"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DatePeriod.Companion"))) +@interface PAPIDatePeriodCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDatePeriodCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIDatePeriod *)parseText:(NSString *)text __attribute__((swift_name("parse(text:)"))); +- (id)serializer __attribute__((swift_name("serializer()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DateTimeArithmeticException"))) +@interface PAPIDateTimeArithmeticException : PAPIKotlinRuntimeException +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (instancetype)initWithMessage:(NSString *)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithCause:(PAPIKotlinThrowable *)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithMessage:(NSString *)message cause:(PAPIKotlinThrowable *)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DateTimePeriod.Companion"))) +@interface PAPIDateTimePeriodCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDateTimePeriodCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIDateTimePeriod *)parseText:(NSString *)text __attribute__((swift_name("parse(text:)"))); +- (id)serializer __attribute__((swift_name("serializer()"))); +@end; + +__attribute__((swift_name("DateTimeUnit"))) +@interface PAPIDateTimeUnit : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +@property (class, readonly, getter=companion) PAPIDateTimeUnitCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)formatToStringValue:(int32_t)value unit:(NSString *)unit __attribute__((swift_name("formatToString(value:unit:)"))); +- (NSString *)formatToStringValue:(int64_t)value unit_:(NSString *)unit __attribute__((swift_name("formatToString(value:unit_:)"))); +- (PAPIDateTimeUnit *)timesScalar:(int32_t)scalar __attribute__((swift_name("times(scalar:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DateTimeUnit.Companion"))) +@interface PAPIDateTimeUnitCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDateTimeUnitCompanion *shared __attribute__((swift_name("shared"))); +- (id)serializer __attribute__((swift_name("serializer()"))); +@property (readonly) PAPIDateTimeUnitDateBasedMonthBased *CENTURY __attribute__((swift_name("CENTURY"))); +@property (readonly) PAPIDateTimeUnitDateBasedDayBased *DAY __attribute__((swift_name("DAY"))); +@property (readonly) PAPIDateTimeUnitTimeBased *HOUR __attribute__((swift_name("HOUR"))); +@property (readonly) PAPIDateTimeUnitTimeBased *MICROSECOND __attribute__((swift_name("MICROSECOND"))); +@property (readonly) PAPIDateTimeUnitTimeBased *MILLISECOND __attribute__((swift_name("MILLISECOND"))); +@property (readonly) PAPIDateTimeUnitTimeBased *MINUTE __attribute__((swift_name("MINUTE"))); +@property (readonly) PAPIDateTimeUnitDateBasedMonthBased *MONTH __attribute__((swift_name("MONTH"))); +@property (readonly) PAPIDateTimeUnitTimeBased *NANOSECOND __attribute__((swift_name("NANOSECOND"))); +@property (readonly) PAPIDateTimeUnitDateBasedMonthBased *QUARTER __attribute__((swift_name("QUARTER"))); +@property (readonly) PAPIDateTimeUnitTimeBased *SECOND __attribute__((swift_name("SECOND"))); +@property (readonly) PAPIDateTimeUnitDateBasedDayBased *WEEK __attribute__((swift_name("WEEK"))); +@property (readonly) PAPIDateTimeUnitDateBasedMonthBased *YEAR __attribute__((swift_name("YEAR"))); +@end; + +__attribute__((swift_name("DateTimeUnit.DateBased"))) +@interface PAPIDateTimeUnitDateBased : PAPIDateTimeUnit +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +@property (class, readonly, getter=companion) PAPIDateTimeUnitDateBasedCompanion *companion __attribute__((swift_name("companion"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DateTimeUnit.DateBasedCompanion"))) +@interface PAPIDateTimeUnitDateBasedCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDateTimeUnitDateBasedCompanion *shared __attribute__((swift_name("shared"))); +- (id)serializer __attribute__((swift_name("serializer()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DateTimeUnit.DateBasedDayBased"))) +@interface PAPIDateTimeUnitDateBasedDayBased : PAPIDateTimeUnitDateBased +- (instancetype)initWithDays:(int32_t)days __attribute__((swift_name("init(days:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +@property (class, readonly, getter=companion) PAPIDateTimeUnitDateBasedDayBasedCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIDateTimeUnitDateBasedDayBased *)timesScalar:(int32_t)scalar __attribute__((swift_name("times(scalar:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) int32_t days __attribute__((swift_name("days"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DateTimeUnit.DateBasedDayBasedCompanion"))) +@interface PAPIDateTimeUnitDateBasedDayBasedCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDateTimeUnitDateBasedDayBasedCompanion *shared __attribute__((swift_name("shared"))); +- (id)serializer __attribute__((swift_name("serializer()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DateTimeUnit.DateBasedMonthBased"))) +@interface PAPIDateTimeUnitDateBasedMonthBased : PAPIDateTimeUnitDateBased +- (instancetype)initWithMonths:(int32_t)months __attribute__((swift_name("init(months:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +@property (class, readonly, getter=companion) PAPIDateTimeUnitDateBasedMonthBasedCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIDateTimeUnitDateBasedMonthBased *)timesScalar:(int32_t)scalar __attribute__((swift_name("times(scalar:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) int32_t months __attribute__((swift_name("months"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DateTimeUnit.DateBasedMonthBasedCompanion"))) +@interface PAPIDateTimeUnitDateBasedMonthBasedCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDateTimeUnitDateBasedMonthBasedCompanion *shared __attribute__((swift_name("shared"))); +- (id)serializer __attribute__((swift_name("serializer()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DateTimeUnit.TimeBased"))) +@interface PAPIDateTimeUnitTimeBased : PAPIDateTimeUnit +- (instancetype)initWithNanoseconds:(int64_t)nanoseconds __attribute__((swift_name("init(nanoseconds:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +@property (class, readonly, getter=companion) PAPIDateTimeUnitTimeBasedCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIDateTimeUnitTimeBased *)timesScalar:(int32_t)scalar __attribute__((swift_name("times(scalar:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) int64_t duration __attribute__((swift_name("duration"))); +@property (readonly) int64_t nanoseconds __attribute__((swift_name("nanoseconds"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DateTimeUnit.TimeBasedCompanion"))) +@interface PAPIDateTimeUnitTimeBasedCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDateTimeUnitTimeBasedCompanion *shared __attribute__((swift_name("shared"))); +- (id)serializer __attribute__((swift_name("serializer()"))); +@end; + +__attribute__((swift_name("KotlinComparable"))) +@protocol PAPIKotlinComparable +@required +- (int32_t)compareToOther:(id _Nullable)other __attribute__((swift_name("compareTo(other:)"))); +@end; + +__attribute__((swift_name("KotlinEnum"))) +@interface PAPIKotlinEnum : PAPIBase +- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIKotlinEnumCompanion *companion __attribute__((swift_name("companion"))); +- (int32_t)compareToOther:(E)other __attribute__((swift_name("compareTo(other:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@property (readonly) int32_t ordinal __attribute__((swift_name("ordinal"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DayOfWeek"))) +@interface PAPIDayOfWeek : PAPIKotlinEnum ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@property (class, readonly) PAPIDayOfWeek *monday __attribute__((swift_name("monday"))); +@property (class, readonly) PAPIDayOfWeek *tuesday __attribute__((swift_name("tuesday"))); +@property (class, readonly) PAPIDayOfWeek *wednesday __attribute__((swift_name("wednesday"))); +@property (class, readonly) PAPIDayOfWeek *thursday __attribute__((swift_name("thursday"))); +@property (class, readonly) PAPIDayOfWeek *friday __attribute__((swift_name("friday"))); +@property (class, readonly) PAPIDayOfWeek *saturday __attribute__((swift_name("saturday"))); +@property (class, readonly) PAPIDayOfWeek *sunday __attribute__((swift_name("sunday"))); ++ (PAPIKotlinArray *)values __attribute__((swift_name("values()"))); +@end; + +__attribute__((swift_name("KotlinIllegalArgumentException"))) +@interface PAPIKotlinIllegalArgumentException : PAPIKotlinRuntimeException +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("IllegalTimeZoneException"))) +@interface PAPIIllegalTimeZoneException : PAPIKotlinIllegalArgumentException +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (instancetype)initWithMessage:(NSString *)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithCause:(PAPIKotlinThrowable *)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithMessage:(NSString *)message cause:(PAPIKotlinThrowable *)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Instant"))) +@interface PAPIInstant : PAPIBase +@property (class, readonly, getter=companion) PAPIInstantCompanion *companion __attribute__((swift_name("companion"))); +- (int32_t)compareToOther:(PAPIInstant *)other __attribute__((swift_name("compareTo(other:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIInstant *)minusDuration:(int64_t)duration __attribute__((swift_name("minus(duration:)"))); +- (int64_t)minusOther:(PAPIInstant *)other __attribute__((swift_name("minus(other:)"))); +- (PAPIInstant *)plusDuration:(int64_t)duration __attribute__((swift_name("plus(duration:)"))); +- (int64_t)toEpochMilliseconds __attribute__((swift_name("toEpochMilliseconds()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) int64_t epochSeconds __attribute__((swift_name("epochSeconds"))); +@property (readonly) int32_t nanosecondsOfSecond __attribute__((swift_name("nanosecondsOfSecond"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Instant.Companion"))) +@interface PAPIInstantCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIInstantCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIInstant *)fromEpochMillisecondsEpochMilliseconds:(int64_t)epochMilliseconds __attribute__((swift_name("fromEpochMilliseconds(epochMilliseconds:)"))); +- (PAPIInstant *)fromEpochSecondsEpochSeconds:(int64_t)epochSeconds nanosecondAdjustment:(int32_t)nanosecondAdjustment __attribute__((swift_name("fromEpochSeconds(epochSeconds:nanosecondAdjustment:)"))); +- (PAPIInstant *)fromEpochSecondsEpochSeconds:(int64_t)epochSeconds nanosecondAdjustment_:(int64_t)nanosecondAdjustment __attribute__((swift_name("fromEpochSeconds(epochSeconds:nanosecondAdjustment_:)"))); +- (PAPIInstant *)now __attribute__((swift_name("now()"))) __attribute__((unavailable("Use Clock.System.now() instead"))); +- (PAPIInstant *)parseIsoString:(NSString *)isoString __attribute__((swift_name("parse(isoString:)"))); +- (id)serializer __attribute__((swift_name("serializer()"))); +@property (readonly) PAPIInstant *DISTANT_FUTURE __attribute__((swift_name("DISTANT_FUTURE"))); +@property (readonly) PAPIInstant *DISTANT_PAST __attribute__((swift_name("DISTANT_PAST"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("LocalDate"))) +@interface PAPILocalDate : PAPIBase +- (instancetype)initWithYear:(int32_t)year month:(PAPIMonth *)month dayOfMonth:(int32_t)dayOfMonth __attribute__((swift_name("init(year:month:dayOfMonth:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithYear:(int32_t)year monthNumber:(int32_t)monthNumber dayOfMonth:(int32_t)dayOfMonth __attribute__((swift_name("init(year:monthNumber:dayOfMonth:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPILocalDateCompanion *companion __attribute__((swift_name("companion"))); +- (int32_t)compareToOther:(PAPILocalDate *)other __attribute__((swift_name("compareTo(other:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) int32_t dayOfMonth __attribute__((swift_name("dayOfMonth"))); +@property (readonly) PAPIDayOfWeek *dayOfWeek __attribute__((swift_name("dayOfWeek"))); +@property (readonly) int32_t dayOfYear __attribute__((swift_name("dayOfYear"))); +@property (readonly) PAPIMonth *month __attribute__((swift_name("month"))); +@property (readonly) int32_t monthNumber __attribute__((swift_name("monthNumber"))); +@property (readonly) int32_t year __attribute__((swift_name("year"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("LocalDate.Companion"))) +@interface PAPILocalDateCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPILocalDateCompanion *shared __attribute__((swift_name("shared"))); +- (PAPILocalDate *)parseIsoString:(NSString *)isoString __attribute__((swift_name("parse(isoString:)"))); +- (id)serializer __attribute__((swift_name("serializer()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("LocalDateTime"))) +@interface PAPILocalDateTime : PAPIBase +- (instancetype)initWithYear:(int32_t)year monthNumber:(int32_t)monthNumber dayOfMonth:(int32_t)dayOfMonth hour:(int32_t)hour minute:(int32_t)minute second:(int32_t)second nanosecond:(int32_t)nanosecond __attribute__((swift_name("init(year:monthNumber:dayOfMonth:hour:minute:second:nanosecond:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithYear:(int32_t)year month:(PAPIMonth *)month dayOfMonth:(int32_t)dayOfMonth hour:(int32_t)hour minute:(int32_t)minute second:(int32_t)second nanosecond:(int32_t)nanosecond __attribute__((swift_name("init(year:month:dayOfMonth:hour:minute:second:nanosecond:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPILocalDateTimeCompanion *companion __attribute__((swift_name("companion"))); +- (int32_t)compareToOther:(PAPILocalDateTime *)other __attribute__((swift_name("compareTo(other:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPILocalDate *date __attribute__((swift_name("date"))); +@property (readonly) int32_t dayOfMonth __attribute__((swift_name("dayOfMonth"))); +@property (readonly) PAPIDayOfWeek *dayOfWeek __attribute__((swift_name("dayOfWeek"))); +@property (readonly) int32_t dayOfYear __attribute__((swift_name("dayOfYear"))); +@property (readonly) int32_t hour __attribute__((swift_name("hour"))); +@property (readonly) int32_t minute __attribute__((swift_name("minute"))); +@property (readonly) PAPIMonth *month __attribute__((swift_name("month"))); +@property (readonly) int32_t monthNumber __attribute__((swift_name("monthNumber"))); +@property (readonly) int32_t nanosecond __attribute__((swift_name("nanosecond"))); +@property (readonly) int32_t second __attribute__((swift_name("second"))); +@property (readonly) int32_t year __attribute__((swift_name("year"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("LocalDateTime.Companion"))) +@interface PAPILocalDateTimeCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPILocalDateTimeCompanion *shared __attribute__((swift_name("shared"))); +- (PAPILocalDateTime *)parseIsoString:(NSString *)isoString __attribute__((swift_name("parse(isoString:)"))); +- (id)serializer __attribute__((swift_name("serializer()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Month"))) +@interface PAPIMonth : PAPIKotlinEnum ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@property (class, readonly) PAPIMonth *january __attribute__((swift_name("january"))); +@property (class, readonly) PAPIMonth *february __attribute__((swift_name("february"))); +@property (class, readonly) PAPIMonth *march __attribute__((swift_name("march"))); +@property (class, readonly) PAPIMonth *april __attribute__((swift_name("april"))); +@property (class, readonly) PAPIMonth *may __attribute__((swift_name("may"))); +@property (class, readonly) PAPIMonth *june __attribute__((swift_name("june"))); +@property (class, readonly) PAPIMonth *july __attribute__((swift_name("july"))); +@property (class, readonly) PAPIMonth *august __attribute__((swift_name("august"))); +@property (class, readonly) PAPIMonth *september __attribute__((swift_name("september"))); +@property (class, readonly) PAPIMonth *october __attribute__((swift_name("october"))); +@property (class, readonly) PAPIMonth *november __attribute__((swift_name("november"))); +@property (class, readonly) PAPIMonth *december __attribute__((swift_name("december"))); ++ (PAPIKotlinArray *)values __attribute__((swift_name("values()"))); +@end; + +__attribute__((swift_name("TimeZone"))) +@interface PAPITimeZone : PAPIBase +@property (class, readonly, getter=companion) PAPITimeZoneCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +- (PAPIInstant *)toInstant:(PAPILocalDateTime *)receiver __attribute__((swift_name("toInstant(_:)"))); +- (PAPILocalDateTime *)toLocalDateTime:(PAPIInstant *)receiver __attribute__((swift_name("toLocalDateTime(_:)"))); +@property (readonly) NSString *id __attribute__((swift_name("id"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("TimeZone.Companion"))) +@interface PAPITimeZoneCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPITimeZoneCompanion *shared __attribute__((swift_name("shared"))); +- (PAPITimeZone *)currentSystemDefault __attribute__((swift_name("currentSystemDefault()"))); +- (PAPITimeZone *)ofZoneId:(NSString *)zoneId __attribute__((swift_name("of(zoneId:)"))); +- (id)serializer __attribute__((swift_name("serializer()"))); +@property (readonly) PAPITimeZone *UTC __attribute__((swift_name("UTC"))); +@property (readonly) NSSet *availableZoneIds __attribute__((swift_name("availableZoneIds"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ZoneOffset"))) +@interface PAPIZoneOffset : PAPITimeZone +@property (class, readonly, getter=companion) PAPIZoneOffsetCompanion *companion __attribute__((swift_name("companion"))); +@property (readonly) int32_t totalSeconds __attribute__((swift_name("totalSeconds"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ZoneOffset.Companion"))) +@interface PAPIZoneOffsetCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIZoneOffsetCompanion *shared __attribute__((swift_name("shared"))); +- (id)serializer __attribute__((swift_name("serializer()"))); +@end; + +__attribute__((swift_name("SerializationStrategy"))) +@protocol PAPISerializationStrategy +@required +- (void)serializeEncoder:(id)encoder value:(id _Nullable)value __attribute__((swift_name("serialize(encoder:value:)"))); +@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("DeserializationStrategy"))) +@protocol PAPIDeserializationStrategy +@required +- (id _Nullable)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); +@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("KSerializer"))) +@protocol PAPIKSerializer +@required +@end; + +__attribute__((swift_name("AbstractPolymorphicSerializer"))) +@interface PAPIAbstractPolymorphicSerializer : PAPIBase +- (T)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); +- (id _Nullable)findPolymorphicSerializerOrNullDecoder:(id)decoder klassName:(NSString * _Nullable)klassName __attribute__((swift_name("findPolymorphicSerializerOrNull(decoder:klassName:)"))); +- (id _Nullable)findPolymorphicSerializerOrNullEncoder:(id)encoder value:(T)value __attribute__((swift_name("findPolymorphicSerializerOrNull(encoder:value:)"))); +- (void)serializeEncoder:(id)encoder value:(T)value __attribute__((swift_name("serialize(encoder:value:)"))); +@property (readonly) id baseClass __attribute__((swift_name("baseClass"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DateBasedDateTimeUnitSerializer"))) +@interface PAPIDateBasedDateTimeUnitSerializer : PAPIAbstractPolymorphicSerializer ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)dateBasedDateTimeUnitSerializer __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDateBasedDateTimeUnitSerializer *shared __attribute__((swift_name("shared"))); +- (id _Nullable)findPolymorphicSerializerOrNullDecoder:(id)decoder klassName:(NSString * _Nullable)klassName __attribute__((swift_name("findPolymorphicSerializerOrNull(decoder:klassName:)"))); +- (id _Nullable)findPolymorphicSerializerOrNullEncoder:(id)encoder value:(PAPIDateTimeUnitDateBased *)value __attribute__((swift_name("findPolymorphicSerializerOrNull(encoder:value:)"))); +@property (readonly) id baseClass __attribute__((swift_name("baseClass"))); +@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DatePeriodComponentSerializer"))) +@interface PAPIDatePeriodComponentSerializer : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)datePeriodComponentSerializer __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDatePeriodComponentSerializer *shared __attribute__((swift_name("shared"))); +- (PAPIDatePeriod *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); +- (void)serializeEncoder:(id)encoder value:(PAPIDatePeriod *)value __attribute__((swift_name("serialize(encoder:value:)"))); +@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DatePeriodIso8601Serializer"))) +@interface PAPIDatePeriodIso8601Serializer : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)datePeriodIso8601Serializer __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDatePeriodIso8601Serializer *shared __attribute__((swift_name("shared"))); +- (PAPIDatePeriod *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); +- (void)serializeEncoder:(id)encoder value:(PAPIDatePeriod *)value __attribute__((swift_name("serialize(encoder:value:)"))); +@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DateTimePeriodComponentSerializer"))) +@interface PAPIDateTimePeriodComponentSerializer : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)dateTimePeriodComponentSerializer __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDateTimePeriodComponentSerializer *shared __attribute__((swift_name("shared"))); +- (PAPIDateTimePeriod *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); +- (void)serializeEncoder:(id)encoder value:(PAPIDateTimePeriod *)value __attribute__((swift_name("serialize(encoder:value:)"))); +@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DateTimePeriodIso8601Serializer"))) +@interface PAPIDateTimePeriodIso8601Serializer : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)dateTimePeriodIso8601Serializer __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDateTimePeriodIso8601Serializer *shared __attribute__((swift_name("shared"))); +- (PAPIDateTimePeriod *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); +- (void)serializeEncoder:(id)encoder value:(PAPIDateTimePeriod *)value __attribute__((swift_name("serialize(encoder:value:)"))); +@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DateTimeUnitSerializer"))) +@interface PAPIDateTimeUnitSerializer : PAPIAbstractPolymorphicSerializer ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)dateTimeUnitSerializer __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDateTimeUnitSerializer *shared __attribute__((swift_name("shared"))); +- (id _Nullable)findPolymorphicSerializerOrNullDecoder:(id)decoder klassName:(NSString * _Nullable)klassName __attribute__((swift_name("findPolymorphicSerializerOrNull(decoder:klassName:)"))); +- (id _Nullable)findPolymorphicSerializerOrNullEncoder:(id)encoder value:(PAPIDateTimeUnit *)value __attribute__((swift_name("findPolymorphicSerializerOrNull(encoder:value:)"))); +@property (readonly) id baseClass __attribute__((swift_name("baseClass"))); +@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DayBasedDateTimeUnitSerializer"))) +@interface PAPIDayBasedDateTimeUnitSerializer : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)dayBasedDateTimeUnitSerializer __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDayBasedDateTimeUnitSerializer *shared __attribute__((swift_name("shared"))); +- (PAPIDateTimeUnitDateBasedDayBased *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); +- (void)serializeEncoder:(id)encoder value:(PAPIDateTimeUnitDateBasedDayBased *)value __attribute__((swift_name("serialize(encoder:value:)"))); +@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DayOfWeekSerializer"))) +@interface PAPIDayOfWeekSerializer : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)dayOfWeekSerializer __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDayOfWeekSerializer *shared __attribute__((swift_name("shared"))); +- (PAPIDayOfWeek *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); +- (void)serializeEncoder:(id)encoder value:(PAPIDayOfWeek *)value __attribute__((swift_name("serialize(encoder:value:)"))); +@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("InstantComponentSerializer"))) +@interface PAPIInstantComponentSerializer : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)instantComponentSerializer __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIInstantComponentSerializer *shared __attribute__((swift_name("shared"))); +- (PAPIInstant *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); +- (void)serializeEncoder:(id)encoder value:(PAPIInstant *)value __attribute__((swift_name("serialize(encoder:value:)"))); +@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("InstantIso8601Serializer"))) +@interface PAPIInstantIso8601Serializer : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)instantIso8601Serializer __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIInstantIso8601Serializer *shared __attribute__((swift_name("shared"))); +- (PAPIInstant *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); +- (void)serializeEncoder:(id)encoder value:(PAPIInstant *)value __attribute__((swift_name("serialize(encoder:value:)"))); +@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("LocalDateComponentSerializer"))) +@interface PAPILocalDateComponentSerializer : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)localDateComponentSerializer __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPILocalDateComponentSerializer *shared __attribute__((swift_name("shared"))); +- (PAPILocalDate *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); +- (void)serializeEncoder:(id)encoder value:(PAPILocalDate *)value __attribute__((swift_name("serialize(encoder:value:)"))); +@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("LocalDateIso8601Serializer"))) +@interface PAPILocalDateIso8601Serializer : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)localDateIso8601Serializer __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPILocalDateIso8601Serializer *shared __attribute__((swift_name("shared"))); +- (PAPILocalDate *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); +- (void)serializeEncoder:(id)encoder value:(PAPILocalDate *)value __attribute__((swift_name("serialize(encoder:value:)"))); +@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("LocalDateTimeComponentSerializer"))) +@interface PAPILocalDateTimeComponentSerializer : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)localDateTimeComponentSerializer __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPILocalDateTimeComponentSerializer *shared __attribute__((swift_name("shared"))); +- (PAPILocalDateTime *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); +- (void)serializeEncoder:(id)encoder value:(PAPILocalDateTime *)value __attribute__((swift_name("serialize(encoder:value:)"))); +@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("LocalDateTimeIso8601Serializer"))) +@interface PAPILocalDateTimeIso8601Serializer : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)localDateTimeIso8601Serializer __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPILocalDateTimeIso8601Serializer *shared __attribute__((swift_name("shared"))); +- (PAPILocalDateTime *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); +- (void)serializeEncoder:(id)encoder value:(PAPILocalDateTime *)value __attribute__((swift_name("serialize(encoder:value:)"))); +@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MonthBasedDateTimeUnitSerializer"))) +@interface PAPIMonthBasedDateTimeUnitSerializer : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)monthBasedDateTimeUnitSerializer __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIMonthBasedDateTimeUnitSerializer *shared __attribute__((swift_name("shared"))); +- (PAPIDateTimeUnitDateBasedMonthBased *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); +- (void)serializeEncoder:(id)encoder value:(PAPIDateTimeUnitDateBasedMonthBased *)value __attribute__((swift_name("serialize(encoder:value:)"))); +@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MonthSerializer"))) +@interface PAPIMonthSerializer : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)monthSerializer __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIMonthSerializer *shared __attribute__((swift_name("shared"))); +- (PAPIMonth *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); +- (void)serializeEncoder:(id)encoder value:(PAPIMonth *)value __attribute__((swift_name("serialize(encoder:value:)"))); +@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("TimeBasedDateTimeUnitSerializer"))) +@interface PAPITimeBasedDateTimeUnitSerializer : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)timeBasedDateTimeUnitSerializer __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPITimeBasedDateTimeUnitSerializer *shared __attribute__((swift_name("shared"))); +- (PAPIDateTimeUnitTimeBased *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); +- (void)serializeEncoder:(id)encoder value:(PAPIDateTimeUnitTimeBased *)value __attribute__((swift_name("serialize(encoder:value:)"))); +@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("TimeZoneSerializer"))) +@interface PAPITimeZoneSerializer : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)timeZoneSerializer __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPITimeZoneSerializer *shared __attribute__((swift_name("shared"))); +- (PAPITimeZone *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); +- (void)serializeEncoder:(id)encoder value:(PAPITimeZone *)value __attribute__((swift_name("serialize(encoder:value:)"))); +@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ZoneOffsetSerializer"))) +@interface PAPIZoneOffsetSerializer : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)zoneOffsetSerializer __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIZoneOffsetSerializer *shared __attribute__((swift_name("shared"))); +- (PAPIZoneOffset *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); +- (void)serializeEncoder:(id)encoder value:(PAPIZoneOffset *)value __attribute__((swift_name("serialize(encoder:value:)"))); +@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Uuid"))) +@interface PAPIUuid : PAPIBase +- (instancetype)initWithMsb:(int64_t)msb lsb:(int64_t)lsb __attribute__((swift_name("init(msb:lsb:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithUuidBytes:(PAPIKotlinByteArray *)uuidBytes __attribute__((swift_name("init(uuidBytes:)"))) __attribute__((objc_designated_initializer)) __attribute__((deprecated("Use `uuidOf` instead."))); +- (int32_t)compareToOther:(PAPIUuid *)other __attribute__((swift_name("compareTo(other:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) int64_t leastSignificantBits __attribute__((swift_name("leastSignificantBits"))); +@property (readonly) int64_t mostSignificantBits __attribute__((swift_name("mostSignificantBits"))); +@end; + +__attribute__((swift_name("UuidHasher"))) +@protocol PAPIUuidHasher +@required +- (PAPIKotlinByteArray *)digest __attribute__((swift_name("digest()"))); +- (void)updateInput:(PAPIKotlinByteArray *)input __attribute__((swift_name("update(input:)"))); +@property (readonly) int32_t version __attribute__((swift_name("version"))); +@end; + +__attribute__((swift_name("SerialFormat"))) +@protocol PAPISerialFormat +@required +@property (readonly) PAPISerializersModule *serializersModule __attribute__((swift_name("serializersModule"))); +@end; + +__attribute__((swift_name("StringFormat"))) +@protocol PAPIStringFormat +@required +- (id _Nullable)decodeFromStringDeserializer:(id)deserializer string:(NSString *)string __attribute__((swift_name("decodeFromString(deserializer:string:)"))); +- (NSString *)encodeToStringSerializer:(id)serializer value:(id _Nullable)value __attribute__((swift_name("encodeToString(serializer:value:)"))); +@end; + +__attribute__((swift_name("Json"))) +@interface PAPIJson : PAPIBase +- (instancetype)initWithConfiguration:(PAPIJsonConfiguration *)configuration serializersModule:(PAPISerializersModule *)serializersModule __attribute__((swift_name("init(configuration:serializersModule:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIJsonDefault *companion __attribute__((swift_name("companion"))); +- (id _Nullable)decodeFromJsonElementDeserializer:(id)deserializer element:(PAPIJsonElement *)element __attribute__((swift_name("decodeFromJsonElement(deserializer:element:)"))); +- (id _Nullable)decodeFromStringDeserializer:(id)deserializer string:(NSString *)string __attribute__((swift_name("decodeFromString(deserializer:string:)"))); +- (PAPIJsonElement *)encodeToJsonElementSerializer:(id)serializer value:(id _Nullable)value __attribute__((swift_name("encodeToJsonElement(serializer:value:)"))); +- (NSString *)encodeToStringSerializer:(id)serializer value:(id _Nullable)value __attribute__((swift_name("encodeToString(serializer:value:)"))); +- (PAPIJsonElement *)parseToJsonElementString:(NSString *)string __attribute__((swift_name("parseToJsonElement(string:)"))); +@property (readonly) PAPIJsonConfiguration *configuration __attribute__((swift_name("configuration"))); +@property (readonly) PAPISerializersModule *serializersModule __attribute__((swift_name("serializersModule"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Json.Default"))) +@interface PAPIJsonDefault : PAPIJson ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithConfiguration:(PAPIJsonConfiguration *)configuration serializersModule:(PAPISerializersModule *)serializersModule __attribute__((swift_name("init(configuration:serializersModule:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)default_ __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIJsonDefault *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((unavailable("can't be imported"))) +__attribute__((swift_name("JsonArray"))) +@interface PAPIJsonArray : NSObject +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("JsonArrayBuilder"))) +@interface PAPIJsonArrayBuilder : PAPIBase +- (BOOL)addElement:(PAPIJsonElement *)element __attribute__((swift_name("add(element:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("JsonBuilder"))) +@interface PAPIJsonBuilder : PAPIBase +@property BOOL allowSpecialFloatingPointValues __attribute__((swift_name("allowSpecialFloatingPointValues"))); +@property BOOL allowStructuredMapKeys __attribute__((swift_name("allowStructuredMapKeys"))); +@property NSString *classDiscriminator __attribute__((swift_name("classDiscriminator"))); +@property BOOL coerceInputValues __attribute__((swift_name("coerceInputValues"))); +@property BOOL encodeDefaults __attribute__((swift_name("encodeDefaults"))); +@property BOOL explicitNulls __attribute__((swift_name("explicitNulls"))); +@property BOOL ignoreUnknownKeys __attribute__((swift_name("ignoreUnknownKeys"))); +@property BOOL isLenient __attribute__((swift_name("isLenient"))); +@property BOOL prettyPrint __attribute__((swift_name("prettyPrint"))); +@property NSString *prettyPrintIndent __attribute__((swift_name("prettyPrintIndent"))); +@property PAPISerializersModule *serializersModule __attribute__((swift_name("serializersModule"))); +@property BOOL useAlternativeNames __attribute__((swift_name("useAlternativeNames"))); +@property BOOL useArrayPolymorphism __attribute__((swift_name("useArrayPolymorphism"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("JsonConfiguration"))) +@interface PAPIJsonConfiguration : PAPIBase +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) BOOL allowSpecialFloatingPointValues __attribute__((swift_name("allowSpecialFloatingPointValues"))); +@property (readonly) BOOL allowStructuredMapKeys __attribute__((swift_name("allowStructuredMapKeys"))); +@property (readonly) NSString *classDiscriminator __attribute__((swift_name("classDiscriminator"))); +@property (readonly) BOOL coerceInputValues __attribute__((swift_name("coerceInputValues"))); +@property (readonly) BOOL encodeDefaults __attribute__((swift_name("encodeDefaults"))); +@property (readonly) BOOL explicitNulls __attribute__((swift_name("explicitNulls"))); +@property (readonly) BOOL ignoreUnknownKeys __attribute__((swift_name("ignoreUnknownKeys"))); +@property (readonly) BOOL isLenient __attribute__((swift_name("isLenient"))); +@property (readonly) BOOL prettyPrint __attribute__((swift_name("prettyPrint"))); +@property (readonly) NSString *prettyPrintIndent __attribute__((swift_name("prettyPrintIndent"))); +@property (readonly) BOOL useAlternativeNames __attribute__((swift_name("useAlternativeNames"))); +@property (readonly) BOOL useArrayPolymorphism __attribute__((swift_name("useArrayPolymorphism"))); +@end; + +__attribute__((swift_name("JsonContentPolymorphicSerializer"))) +@interface PAPIJsonContentPolymorphicSerializer : PAPIBase +- (instancetype)initWithBaseClass:(id)baseClass __attribute__((swift_name("init(baseClass:)"))) __attribute__((objc_designated_initializer)); +- (T)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); +- (id)selectDeserializerElement:(PAPIJsonElement *)element __attribute__((swift_name("selectDeserializer(element:)"))); +- (void)serializeEncoder:(id)encoder value:(T)value __attribute__((swift_name("serialize(encoder:value:)"))); +@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("Decoder"))) +@protocol PAPIDecoder +@required +- (id)beginStructureDescriptor:(id)descriptor __attribute__((swift_name("beginStructure(descriptor:)"))); +- (BOOL)decodeBoolean __attribute__((swift_name("decodeBoolean()"))); +- (int8_t)decodeByte __attribute__((swift_name("decodeByte()"))); +- (unichar)decodeChar __attribute__((swift_name("decodeChar()"))); +- (double)decodeDouble __attribute__((swift_name("decodeDouble()"))); +- (int32_t)decodeEnumEnumDescriptor:(id)enumDescriptor __attribute__((swift_name("decodeEnum(enumDescriptor:)"))); +- (float)decodeFloat __attribute__((swift_name("decodeFloat()"))); +- (id)decodeInlineInlineDescriptor:(id)inlineDescriptor __attribute__((swift_name("decodeInline(inlineDescriptor:)"))); +- (int32_t)decodeInt __attribute__((swift_name("decodeInt()"))); +- (int64_t)decodeLong __attribute__((swift_name("decodeLong()"))); +- (BOOL)decodeNotNullMark __attribute__((swift_name("decodeNotNullMark()"))); +- (PAPIKotlinNothing * _Nullable)decodeNull __attribute__((swift_name("decodeNull()"))); +- (id _Nullable)decodeNullableSerializableValueDeserializer:(id)deserializer __attribute__((swift_name("decodeNullableSerializableValue(deserializer:)"))); +- (id _Nullable)decodeSerializableValueDeserializer:(id)deserializer __attribute__((swift_name("decodeSerializableValue(deserializer:)"))); +- (int16_t)decodeShort __attribute__((swift_name("decodeShort()"))); +- (NSString *)decodeString __attribute__((swift_name("decodeString()"))); +@property (readonly) PAPISerializersModule *serializersModule __attribute__((swift_name("serializersModule"))); +@end; + +__attribute__((swift_name("CompositeDecoder"))) +@protocol PAPICompositeDecoder +@required +- (BOOL)decodeBooleanElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeBooleanElement(descriptor:index:)"))); +- (int8_t)decodeByteElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeByteElement(descriptor:index:)"))); +- (unichar)decodeCharElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeCharElement(descriptor:index:)"))); +- (int32_t)decodeCollectionSizeDescriptor:(id)descriptor __attribute__((swift_name("decodeCollectionSize(descriptor:)"))); +- (double)decodeDoubleElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeDoubleElement(descriptor:index:)"))); +- (int32_t)decodeElementIndexDescriptor:(id)descriptor __attribute__((swift_name("decodeElementIndex(descriptor:)"))); +- (float)decodeFloatElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeFloatElement(descriptor:index:)"))); +- (id)decodeInlineElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeInlineElement(descriptor:index:)"))); +- (int32_t)decodeIntElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeIntElement(descriptor:index:)"))); +- (int64_t)decodeLongElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeLongElement(descriptor:index:)"))); +- (id _Nullable)decodeNullableSerializableElementDescriptor:(id)descriptor index:(int32_t)index deserializer:(id)deserializer previousValue:(id _Nullable)previousValue __attribute__((swift_name("decodeNullableSerializableElement(descriptor:index:deserializer:previousValue:)"))); +- (BOOL)decodeSequentially __attribute__((swift_name("decodeSequentially()"))); +- (id _Nullable)decodeSerializableElementDescriptor:(id)descriptor index:(int32_t)index deserializer:(id)deserializer previousValue:(id _Nullable)previousValue __attribute__((swift_name("decodeSerializableElement(descriptor:index:deserializer:previousValue:)"))); +- (int16_t)decodeShortElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeShortElement(descriptor:index:)"))); +- (NSString *)decodeStringElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeStringElement(descriptor:index:)"))); +- (void)endStructureDescriptor:(id)descriptor __attribute__((swift_name("endStructure(descriptor:)"))); +@property (readonly) PAPISerializersModule *serializersModule __attribute__((swift_name("serializersModule"))); +@end; + +__attribute__((swift_name("JsonDecoder"))) +@protocol PAPIJsonDecoder +@required +- (PAPIJsonElement *)decodeJsonElement __attribute__((swift_name("decodeJsonElement()"))); +@property (readonly) PAPIJson *json __attribute__((swift_name("json"))); +@end; + +__attribute__((swift_name("JsonElement"))) +@interface PAPIJsonElement : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +@property (class, readonly, getter=companion) PAPIJsonElementCompanion *companion __attribute__((swift_name("companion"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("JsonElement.Companion"))) +@interface PAPIJsonElementCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIJsonElementCompanion *shared __attribute__((swift_name("shared"))); +- (id)serializer __attribute__((swift_name("serializer()"))); +@end; + +__attribute__((swift_name("Encoder"))) +@protocol PAPIEncoder +@required +- (id)beginCollectionDescriptor:(id)descriptor collectionSize:(int32_t)collectionSize __attribute__((swift_name("beginCollection(descriptor:collectionSize:)"))); +- (id)beginStructureDescriptor:(id)descriptor __attribute__((swift_name("beginStructure(descriptor:)"))); +- (void)encodeBooleanValue:(BOOL)value __attribute__((swift_name("encodeBoolean(value:)"))); +- (void)encodeByteValue:(int8_t)value __attribute__((swift_name("encodeByte(value:)"))); +- (void)encodeCharValue:(unichar)value __attribute__((swift_name("encodeChar(value:)"))); +- (void)encodeDoubleValue:(double)value __attribute__((swift_name("encodeDouble(value:)"))); +- (void)encodeEnumEnumDescriptor:(id)enumDescriptor index:(int32_t)index __attribute__((swift_name("encodeEnum(enumDescriptor:index:)"))); +- (void)encodeFloatValue:(float)value __attribute__((swift_name("encodeFloat(value:)"))); +- (id)encodeInlineInlineDescriptor:(id)inlineDescriptor __attribute__((swift_name("encodeInline(inlineDescriptor:)"))); +- (void)encodeIntValue:(int32_t)value __attribute__((swift_name("encodeInt(value:)"))); +- (void)encodeLongValue:(int64_t)value __attribute__((swift_name("encodeLong(value:)"))); +- (void)encodeNotNullMark __attribute__((swift_name("encodeNotNullMark()"))); +- (void)encodeNull __attribute__((swift_name("encodeNull()"))); +- (void)encodeNullableSerializableValueSerializer:(id)serializer value:(id _Nullable)value __attribute__((swift_name("encodeNullableSerializableValue(serializer:value:)"))); +- (void)encodeSerializableValueSerializer:(id)serializer value:(id _Nullable)value __attribute__((swift_name("encodeSerializableValue(serializer:value:)"))); +- (void)encodeShortValue:(int16_t)value __attribute__((swift_name("encodeShort(value:)"))); +- (void)encodeStringValue:(NSString *)value __attribute__((swift_name("encodeString(value:)"))); +@property (readonly) PAPISerializersModule *serializersModule __attribute__((swift_name("serializersModule"))); +@end; + +__attribute__((swift_name("CompositeEncoder"))) +@protocol PAPICompositeEncoder +@required +- (void)encodeBooleanElementDescriptor:(id)descriptor index:(int32_t)index value:(BOOL)value __attribute__((swift_name("encodeBooleanElement(descriptor:index:value:)"))); +- (void)encodeByteElementDescriptor:(id)descriptor index:(int32_t)index value:(int8_t)value __attribute__((swift_name("encodeByteElement(descriptor:index:value:)"))); +- (void)encodeCharElementDescriptor:(id)descriptor index:(int32_t)index value:(unichar)value __attribute__((swift_name("encodeCharElement(descriptor:index:value:)"))); +- (void)encodeDoubleElementDescriptor:(id)descriptor index:(int32_t)index value:(double)value __attribute__((swift_name("encodeDoubleElement(descriptor:index:value:)"))); +- (void)encodeFloatElementDescriptor:(id)descriptor index:(int32_t)index value:(float)value __attribute__((swift_name("encodeFloatElement(descriptor:index:value:)"))); +- (id)encodeInlineElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("encodeInlineElement(descriptor:index:)"))); +- (void)encodeIntElementDescriptor:(id)descriptor index:(int32_t)index value:(int32_t)value __attribute__((swift_name("encodeIntElement(descriptor:index:value:)"))); +- (void)encodeLongElementDescriptor:(id)descriptor index:(int32_t)index value:(int64_t)value __attribute__((swift_name("encodeLongElement(descriptor:index:value:)"))); +- (void)encodeNullableSerializableElementDescriptor:(id)descriptor index:(int32_t)index serializer:(id)serializer value:(id _Nullable)value __attribute__((swift_name("encodeNullableSerializableElement(descriptor:index:serializer:value:)"))); +- (void)encodeSerializableElementDescriptor:(id)descriptor index:(int32_t)index serializer:(id)serializer value:(id _Nullable)value __attribute__((swift_name("encodeSerializableElement(descriptor:index:serializer:value:)"))); +- (void)encodeShortElementDescriptor:(id)descriptor index:(int32_t)index value:(int16_t)value __attribute__((swift_name("encodeShortElement(descriptor:index:value:)"))); +- (void)encodeStringElementDescriptor:(id)descriptor index:(int32_t)index value:(NSString *)value __attribute__((swift_name("encodeStringElement(descriptor:index:value:)"))); +- (void)endStructureDescriptor:(id)descriptor __attribute__((swift_name("endStructure(descriptor:)"))); +- (BOOL)shouldEncodeElementDefaultDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("shouldEncodeElementDefault(descriptor:index:)"))); +@property (readonly) PAPISerializersModule *serializersModule __attribute__((swift_name("serializersModule"))); +@end; + +__attribute__((swift_name("JsonEncoder"))) +@protocol PAPIJsonEncoder +@required +- (void)encodeJsonElementElement:(PAPIJsonElement *)element __attribute__((swift_name("encodeJsonElement(element:)"))); +@property (readonly) PAPIJson *json __attribute__((swift_name("json"))); +@end; + +__attribute__((swift_name("JsonPrimitive"))) +@interface PAPIJsonPrimitive : PAPIJsonElement +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +@property (class, readonly, getter=companion) PAPIJsonPrimitiveCompanion *companion __attribute__((swift_name("companion"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *content __attribute__((swift_name("content"))); +@property (readonly) BOOL isString __attribute__((swift_name("isString"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("JsonNull"))) +@interface PAPIJsonNull : PAPIJsonPrimitive ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)jsonNull __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIJsonNull *shared __attribute__((swift_name("shared"))); +- (id)serializer __attribute__((swift_name("serializer()"))); +- (id)serializerTypeParamsSerializers:(PAPIKotlinArray> *)typeParamsSerializers __attribute__((swift_name("serializer(typeParamsSerializers:)"))); +@property (readonly) NSString *content __attribute__((swift_name("content"))); +@property (readonly) BOOL isString __attribute__((swift_name("isString"))); +@end; + +__attribute__((unavailable("can't be imported"))) +__attribute__((swift_name("JsonObject"))) +@interface PAPIJsonObject : NSObject +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("JsonObjectBuilder"))) +@interface PAPIJsonObjectBuilder : PAPIBase +- (PAPIJsonElement * _Nullable)putKey:(NSString *)key element:(PAPIJsonElement *)element __attribute__((swift_name("put(key:element:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("JsonPrimitive.Companion"))) +@interface PAPIJsonPrimitiveCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIJsonPrimitiveCompanion *shared __attribute__((swift_name("shared"))); +- (id)serializer __attribute__((swift_name("serializer()"))); +@end; + +__attribute__((swift_name("JsonTransformingSerializer"))) +@interface PAPIJsonTransformingSerializer : PAPIBase +- (instancetype)initWithTSerializer:(id)tSerializer __attribute__((swift_name("init(tSerializer:)"))) __attribute__((objc_designated_initializer)); +- (T)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); +- (void)serializeEncoder:(id)encoder value:(T)value __attribute__((swift_name("serialize(encoder:value:)"))); +- (PAPIJsonElement *)transformDeserializeElement:(PAPIJsonElement *)element __attribute__((swift_name("transformDeserialize(element:)"))); +- (PAPIJsonElement *)transformSerializeElement:(PAPIJsonElement *)element __attribute__((swift_name("transformSerialize(element:)"))); +@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("ByteReadChannel"))) +@protocol PAPIByteReadChannel +@required +- (BOOL)cancelCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("cancel(cause:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)discardMax:(int64_t)max completionHandler:(void (^)(PAPILong * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("discard(max:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)peekToDestination:(PAPIMemory *)destination destinationOffset:(int64_t)destinationOffset offset:(int64_t)offset min:(int64_t)min max:(int64_t)max completionHandler:(void (^)(PAPILong * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("peekTo(destination:destinationOffset:offset:min:max:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readAvailableDst:(PAPIIoBuffer *)dst completionHandler:(void (^)(PAPIInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readAvailable(dst:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readAvailableDst:(PAPIKotlinByteArray *)dst offset:(int32_t)offset length:(int32_t)length completionHandler:(void (^)(PAPIInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readAvailable(dst:offset:length:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readAvailableDst:(void *)dst offset:(int32_t)offset length:(int32_t)length completionHandler_:(void (^)(PAPIInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readAvailable(dst:offset:length:completionHandler_:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readAvailableDst:(void *)dst offset:(int64_t)offset length:(int64_t)length completionHandler__:(void (^)(PAPIInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readAvailable(dst:offset:length:completionHandler__:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readBooleanWithCompletionHandler:(void (^)(PAPIBoolean * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readBoolean(completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readByteWithCompletionHandler:(void (^)(PAPIByte * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readByte(completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readDoubleWithCompletionHandler:(void (^)(PAPIDouble * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readDouble(completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readFloatWithCompletionHandler:(void (^)(PAPIFloat * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readFloat(completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readFullyDst:(PAPIIoBuffer *)dst n:(int32_t)n completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readFully(dst:n:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readFullyDst:(PAPIKotlinByteArray *)dst offset:(int32_t)offset length:(int32_t)length completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readFully(dst:offset:length:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readFullyDst:(void *)dst offset:(int32_t)offset length:(int32_t)length completionHandler_:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readFully(dst:offset:length:completionHandler_:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readFullyDst:(void *)dst offset:(int64_t)offset length:(int64_t)length completionHandler__:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readFully(dst:offset:length:completionHandler__:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readIntWithCompletionHandler:(void (^)(PAPIInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readInt(completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readLongWithCompletionHandler:(void (^)(PAPILong * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readLong(completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readPacketSize:(int32_t)size headerSizeHint:(int32_t)headerSizeHint completionHandler:(void (^)(PAPIByteReadPacket * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readPacket(size:headerSizeHint:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readRemainingLimit:(int64_t)limit headerSizeHint:(int32_t)headerSizeHint completionHandler:(void (^)(PAPIByteReadPacket * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readRemaining(limit:headerSizeHint:completionHandler:)"))); +- (void)readSessionConsumer:(void (^)(id))consumer __attribute__((swift_name("readSession(consumer:)"))) __attribute__((deprecated("Use read { } instead."))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readShortWithCompletionHandler:(void (^)(PAPIShort * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readShort(completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readSuspendableSessionConsumer:(id)consumer completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readSuspendableSession(consumer:completionHandler:)"))) __attribute__((deprecated("Use read { } instead."))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readUTF8LineLimit:(int32_t)limit completionHandler:(void (^)(NSString * _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("readUTF8Line(limit:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readUTF8LineToOut:(id)out limit:(int32_t)limit completionHandler:(void (^)(PAPIBoolean * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readUTF8LineTo(out:limit:completionHandler:)"))); +@property (readonly) int32_t availableForRead __attribute__((swift_name("availableForRead"))); +@property (readonly) PAPIKotlinThrowable * _Nullable closedCause __attribute__((swift_name("closedCause"))); +@property (readonly) BOOL isClosedForRead __attribute__((swift_name("isClosedForRead"))); +@property (readonly) BOOL isClosedForWrite __attribute__((swift_name("isClosedForWrite"))); +@property PAPIByteOrder *readByteOrder __attribute__((swift_name("readByteOrder"))) __attribute__((unavailable("Setting byte order is no longer supported. Read/write in big endian and use reverseByteOrder() extensions."))); +@property (readonly) int64_t totalBytesRead __attribute__((swift_name("totalBytesRead"))); +@end; + +__attribute__((swift_name("ByteWriteChannel"))) +@protocol PAPIByteWriteChannel +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)awaitFreeSpaceWithCompletionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("awaitFreeSpace(completionHandler:)"))); +- (BOOL)closeCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("close(cause:)"))); +- (void)flush __attribute__((swift_name("flush()"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writeAvailableSrc:(PAPIIoBuffer *)src completionHandler:(void (^)(PAPIInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeAvailable(src:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writeAvailableSrc:(PAPIKotlinByteArray *)src offset:(int32_t)offset length:(int32_t)length completionHandler:(void (^)(PAPIInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeAvailable(src:offset:length:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writeAvailableSrc:(void *)src offset:(int32_t)offset length:(int32_t)length completionHandler_:(void (^)(PAPIInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeAvailable(src:offset:length:completionHandler_:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writeAvailableSrc:(void *)src offset:(int64_t)offset length:(int64_t)length completionHandler__:(void (^)(PAPIInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeAvailable(src:offset:length:completionHandler__:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writeByteB:(int8_t)b completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeByte(b:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writeDoubleD:(double)d completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeDouble(d:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writeFloatF:(float)f completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeFloat(f:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writeFullyMemory:(PAPIMemory *)memory startIndex:(int32_t)startIndex endIndex:(int32_t)endIndex completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeFully(memory:startIndex:endIndex:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writeFullySrc:(PAPIBuffer *)src completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeFully(src:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writeFullySrc:(PAPIIoBuffer *)src completionHandler_:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeFully(src:completionHandler_:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writeFullySrc:(PAPIKotlinByteArray *)src offset:(int32_t)offset length:(int32_t)length completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeFully(src:offset:length:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writeFullySrc:(void *)src offset:(int32_t)offset length:(int32_t)length completionHandler_:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeFully(src:offset:length:completionHandler_:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writeFullySrc:(void *)src offset:(int64_t)offset length:(int64_t)length completionHandler__:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeFully(src:offset:length:completionHandler__:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writeIntI:(int32_t)i completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeInt(i:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writeLongL:(int64_t)l completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeLong(l:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writePacketPacket:(PAPIByteReadPacket *)packet completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writePacket(packet:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writeShortS:(int16_t)s completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeShort(s:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writeSuspendSessionVisitor:(id)visitor completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeSuspendSession(visitor:completionHandler:)"))) __attribute__((deprecated("Use write { } instead."))); +@property (readonly) BOOL autoFlush __attribute__((swift_name("autoFlush"))); +@property (readonly) int32_t availableForWrite __attribute__((swift_name("availableForWrite"))); +@property (readonly) PAPIKotlinThrowable * _Nullable closedCause __attribute__((swift_name("closedCause"))); +@property (readonly) BOOL isClosedForWrite __attribute__((swift_name("isClosedForWrite"))); +@property (readonly) int64_t totalBytesWritten __attribute__((swift_name("totalBytesWritten"))) __attribute__((deprecated("Counter is no longer supported"))); +@property PAPIByteOrder *writeByteOrder __attribute__((swift_name("writeByteOrder"))) __attribute__((unavailable("Setting byte order is no longer supported. Read/write in big endian and use reverseByteOrder() extensions."))); +@end; + +__attribute__((swift_name("ByteChannel"))) +@protocol PAPIByteChannel +@required +- (void)attachJobJob:(id)job __attribute__((swift_name("attachJob(job:)"))); +@end; + +__attribute__((swift_name("ReadSession"))) +@protocol PAPIReadSession +@required +- (int32_t)discardN:(int32_t)n __attribute__((swift_name("discard(n:)"))); +- (PAPIIoBuffer * _Nullable)requestAtLeast:(int32_t)atLeast __attribute__((swift_name("request(atLeast:)"))); +@property (readonly) int32_t availableForRead __attribute__((swift_name("availableForRead"))); +@end; + +__attribute__((swift_name("SuspendableReadSession"))) +@protocol PAPISuspendableReadSession +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)awaitAtLeast:(int32_t)atLeast completionHandler:(void (^)(PAPIBoolean * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("await(atLeast:completionHandler:)"))); +@end; + +__attribute__((swift_name("ByteChannelSequentialBase"))) +@interface PAPIByteChannelSequentialBase : PAPIBase +- (instancetype)initWithInitial:(PAPIIoBuffer *)initial autoFlush:(BOOL)autoFlush pool:(id)pool __attribute__((swift_name("init(initial:autoFlush:pool:)"))) __attribute__((objc_designated_initializer)); +- (void)afterRead __attribute__((swift_name("afterRead()"))) __attribute__((unavailable("Consider providing consumed count of bytes"))); +- (void)afterReadCount:(int32_t)count __attribute__((swift_name("afterRead(count:)"))); +- (void)afterWrite __attribute__((swift_name("afterWrite()"))) __attribute__((unavailable("Consider providing written count of bytes"))); +- (void)afterWriteCount:(int32_t)count __attribute__((swift_name("afterWrite(count:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)awaitAtLeast:(int32_t)atLeast completionHandler:(void (^)(PAPIBoolean * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("await(atLeast:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)awaitFreeSpaceWithCompletionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("awaitFreeSpace(completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)awaitSuspendAtLeast:(int32_t)atLeast completionHandler:(void (^)(PAPIBoolean * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("awaitSuspend(atLeast:completionHandler:)"))); +- (id)beginWriteSession __attribute__((swift_name("beginWriteSession()"))); +- (BOOL)cancelCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("cancel(cause:)"))); +- (BOOL)closeCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("close(cause:)"))); +- (int32_t)discardN:(int32_t)n __attribute__((swift_name("discard(n:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)discardMax:(int64_t)max completionHandler:(void (^)(PAPILong * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("discard(max:completionHandler:)"))); +- (void)endReadSession __attribute__((swift_name("endReadSession()"))); +- (void)endWriteSessionWritten:(int32_t)written __attribute__((swift_name("endWriteSession(written:)"))); +- (void)flush __attribute__((swift_name("flush()"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)peekToDestination:(PAPIMemory *)destination destinationOffset:(int64_t)destinationOffset offset:(int64_t)offset min:(int64_t)min max:(int64_t)max completionHandler:(void (^)(PAPILong * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("peekTo(destination:destinationOffset:offset:min:max:completionHandler:)"))); +- (void)prepareFlushedBytes __attribute__((swift_name("prepareFlushedBytes()"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readAvailableDst:(PAPIIoBuffer *)dst completionHandler:(void (^)(PAPIInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readAvailable(dst:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readAvailableDst:(PAPIKotlinByteArray *)dst offset:(int32_t)offset length:(int32_t)length completionHandler:(void (^)(PAPIInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readAvailable(dst:offset:length:completionHandler:)"))); +- (int32_t)readAvailableClosed __attribute__((swift_name("readAvailableClosed()"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readBooleanWithCompletionHandler:(void (^)(PAPIBoolean * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readBoolean(completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readByteWithCompletionHandler:(void (^)(PAPIByte * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readByte(completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readDoubleWithCompletionHandler:(void (^)(PAPIDouble * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readDouble(completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readFloatWithCompletionHandler:(void (^)(PAPIFloat * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readFloat(completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readFullyDst:(PAPIIoBuffer *)dst n:(int32_t)n completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readFully(dst:n:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readFullyDst:(PAPIKotlinByteArray *)dst offset:(int32_t)offset length:(int32_t)length completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readFully(dst:offset:length:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readIntWithCompletionHandler:(void (^)(PAPIInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readInt(completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readLongWithCompletionHandler:(void (^)(PAPILong * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readLong(completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readPacketSize:(int32_t)size headerSizeHint:(int32_t)headerSizeHint completionHandler:(void (^)(PAPIByteReadPacket * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readPacket(size:headerSizeHint:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readRemainingLimit:(int64_t)limit headerSizeHint:(int32_t)headerSizeHint completionHandler:(void (^)(PAPIByteReadPacket * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readRemaining(limit:headerSizeHint:completionHandler:)"))); +- (void)readSessionConsumer:(void (^)(id))consumer __attribute__((swift_name("readSession(consumer:)"))) __attribute__((deprecated("Use read instead."))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readShortWithCompletionHandler:(void (^)(PAPIShort * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readShort(completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readSuspendableSessionConsumer:(id)consumer completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readSuspendableSession(consumer:completionHandler:)"))) __attribute__((deprecated("Use read instead."))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readUTF8LineLimit:(int32_t)limit completionHandler:(void (^)(NSString * _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("readUTF8Line(limit:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)readUTF8LineToOut:(id)out limit:(int32_t)limit completionHandler:(void (^)(PAPIBoolean * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readUTF8LineTo(out:limit:completionHandler:)"))); +- (PAPIIoBuffer * _Nullable)requestAtLeast:(int32_t)atLeast __attribute__((swift_name("request(atLeast:)"))); +- (id)startReadSession __attribute__((swift_name("startReadSession()"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writeAvailableSrc:(PAPIIoBuffer *)src completionHandler:(void (^)(PAPIInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeAvailable(src:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writeAvailableSrc:(PAPIKotlinByteArray *)src offset:(int32_t)offset length:(int32_t)length completionHandler:(void (^)(PAPIInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeAvailable(src:offset:length:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writeByteB:(int8_t)b completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeByte(b:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writeDoubleD:(double)d completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeDouble(d:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writeFloatF:(float)f completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeFloat(f:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writeFullyMemory:(PAPIMemory *)memory startIndex:(int32_t)startIndex endIndex:(int32_t)endIndex completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeFully(memory:startIndex:endIndex:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writeFullySrc:(PAPIBuffer *)src completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeFully(src:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writeFullySrc:(PAPIIoBuffer *)src completionHandler_:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeFully(src:completionHandler_:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writeFullySrc:(PAPIKotlinByteArray *)src offset:(int32_t)offset length:(int32_t)length completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeFully(src:offset:length:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writeIntI:(int32_t)i completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeInt(i:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writeLongL:(int64_t)l completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeLong(l:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writePacketPacket:(PAPIByteReadPacket *)packet completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writePacket(packet:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writeShortS:(int16_t)s completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeShort(s:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)writeSuspendSessionVisitor:(id)visitor completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeSuspendSession(visitor:completionHandler:)"))) __attribute__((deprecated("Overrides deprecated member in 'io.ktor.utils.io.ByteChannel'. Use write { } instead."))); +@property (readonly) BOOL autoFlush __attribute__((swift_name("autoFlush"))); +@property (readonly) int32_t availableForRead __attribute__((swift_name("availableForRead"))); +@property (readonly) int32_t availableForWrite __attribute__((swift_name("availableForWrite"))); +@property BOOL closed __attribute__((swift_name("closed"))); +@property (readonly) PAPIKotlinThrowable * _Nullable closedCause __attribute__((swift_name("closedCause"))); +@property (readonly) BOOL isClosedForRead __attribute__((swift_name("isClosedForRead"))); +@property (readonly) BOOL isClosedForWrite __attribute__((swift_name("isClosedForWrite"))); +@property PAPIByteOrder *readByteOrder __attribute__((swift_name("readByteOrder"))) __attribute__((unavailable("Setting byte order is no longer supported. Read/write in big endian and use reverseByteOrder() extensions."))); +@property (readonly) PAPIByteReadPacket *readable __attribute__((swift_name("readable"))); +@property (readonly) int64_t totalBytesRead __attribute__((swift_name("totalBytesRead"))); +@property (readonly) int64_t totalBytesWritten __attribute__((swift_name("totalBytesWritten"))) __attribute__((deprecated("Overrides deprecated member in 'io.ktor.utils.io.ByteChannel'. Counter is no longer supported"))); +@property (readonly) PAPIBytePacketBuilder *writable __attribute__((swift_name("writable"))); +@property PAPIByteOrder *writeByteOrder __attribute__((swift_name("writeByteOrder"))) __attribute__((unavailable("Setting byte order is no longer supported. Read/write in big endian and use reverseByteOrder() extensions."))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ByteReadChannelCompanion"))) +@interface PAPIByteReadChannelCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIByteReadChannelCompanion *shared __attribute__((swift_name("shared"))); +@property (readonly) id Empty __attribute__((swift_name("Empty"))); +@end; + +__attribute__((swift_name("KotlinIllegalStateException"))) +@interface PAPIKotlinIllegalStateException : PAPIKotlinRuntimeException +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((swift_name("KotlinCancellationException"))) +@interface PAPIKotlinCancellationException : PAPIKotlinIllegalStateException +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ClosedWriteChannelException"))) +@interface PAPIClosedWriteChannelException : PAPIKotlinCancellationException +- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (instancetype)initWithCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((swift_name("KotlinCoroutineContext"))) +@protocol PAPIKotlinCoroutineContext +@required +- (id _Nullable)foldInitial:(id _Nullable)initial operation:(id _Nullable (^)(id _Nullable, id))operation __attribute__((swift_name("fold(initial:operation:)"))); +- (id _Nullable)getKey:(id)key __attribute__((swift_name("get(key:)"))); +- (id)minusKeyKey:(id)key __attribute__((swift_name("minusKey(key:)"))); +- (id)plusContext:(id)context __attribute__((swift_name("plus(context:)"))); +@end; + +__attribute__((swift_name("KotlinCoroutineContextElement"))) +@protocol PAPIKotlinCoroutineContextElement +@required +@property (readonly) id key __attribute__((swift_name("key"))); +@end; + +__attribute__((swift_name("Job"))) +@protocol PAPIJob +@required +- (id)attachChildChild:(id)child __attribute__((swift_name("attachChild(child:)"))); +- (void)cancelCause_:(PAPIKotlinCancellationException * _Nullable)cause __attribute__((swift_name("cancel(cause_:)"))); +- (PAPIKotlinCancellationException *)getCancellationException __attribute__((swift_name("getCancellationException()"))); +- (id)invokeOnCompletionOnCancelling:(BOOL)onCancelling invokeImmediately:(BOOL)invokeImmediately handler:(void (^)(PAPIKotlinThrowable * _Nullable))handler __attribute__((swift_name("invokeOnCompletion(onCancelling:invokeImmediately:handler:)"))); +- (id)invokeOnCompletionHandler:(void (^)(PAPIKotlinThrowable * _Nullable))handler __attribute__((swift_name("invokeOnCompletion(handler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)joinWithCompletionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("join(completionHandler:)"))); +- (id)plusOther_:(id)other __attribute__((swift_name("plus(other_:)"))) __attribute__((unavailable("Operator '+' on two Job objects is meaningless. Job is a coroutine context element and `+` is a set-sum operator for coroutine contexts. The job to the right of `+` just replaces the job the left of `+`."))); +- (BOOL)start __attribute__((swift_name("start()"))); +@property (readonly) id children __attribute__((swift_name("children"))); +@property (readonly) BOOL isActive __attribute__((swift_name("isActive"))); +@property (readonly) BOOL isCancelled __attribute__((swift_name("isCancelled"))); +@property (readonly) BOOL isCompleted __attribute__((swift_name("isCompleted"))); +@property (readonly) id onJoin __attribute__((swift_name("onJoin"))); +@end; + +__attribute__((swift_name("ReaderJob"))) +@protocol PAPIReaderJob +@required +@property (readonly) id channel __attribute__((swift_name("channel"))); +@end; + +__attribute__((swift_name("CoroutineScope"))) +@protocol PAPICoroutineScope +@required +@property (readonly) id coroutineContext __attribute__((swift_name("coroutineContext"))); +@end; + +__attribute__((swift_name("ReaderScope"))) +@protocol PAPIReaderScope +@required +@property (readonly) id channel __attribute__((swift_name("channel"))); +@end; + +__attribute__((swift_name("WriterJob"))) +@protocol PAPIWriterJob +@required +@property (readonly) id channel __attribute__((swift_name("channel"))); +@end; + +__attribute__((swift_name("WriterScope"))) +@protocol PAPIWriterScope +@required +@property (readonly) id channel __attribute__((swift_name("channel"))); +@end; + +__attribute__((swift_name("WriterSession"))) +@protocol PAPIWriterSession +@required +- (void)flush __attribute__((swift_name("flush()"))); +- (PAPIIoBuffer * _Nullable)requestMin:(int32_t)min __attribute__((swift_name("request(min:)"))); +- (void)writtenN:(int32_t)n __attribute__((swift_name("written(n:)"))); +@end; + +__attribute__((swift_name("WriterSuspendSession"))) +@protocol PAPIWriterSuspendSession +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)tryAwaitN:(int32_t)n completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("tryAwait(n:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Memory"))) +@interface PAPIMemory : PAPIBase +- (instancetype)initWithPointer:(void *)pointer size:(int64_t)size __attribute__((swift_name("init(pointer:size:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIMemoryCompanion *companion __attribute__((swift_name("companion"))); +- (void)doCopyToDestination:(PAPIMemory *)destination offset:(int32_t)offset length:(int32_t)length destinationOffset:(int32_t)destinationOffset __attribute__((swift_name("doCopyTo(destination:offset:length:destinationOffset:)"))); +- (void)doCopyToDestination:(PAPIMemory *)destination offset:(int64_t)offset length:(int64_t)length destinationOffset_:(int64_t)destinationOffset __attribute__((swift_name("doCopyTo(destination:offset:length:destinationOffset_:)"))); +- (int8_t)loadAtIndex:(int32_t)index __attribute__((swift_name("loadAt(index:)"))); +- (int8_t)loadAtIndex_:(int64_t)index __attribute__((swift_name("loadAt(index_:)"))); +- (PAPIMemory *)sliceOffset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("slice(offset:length:)"))); +- (PAPIMemory *)sliceOffset:(int64_t)offset length_:(int64_t)length __attribute__((swift_name("slice(offset:length_:)"))); +- (void)storeAtIndex:(int32_t)index value:(int8_t)value __attribute__((swift_name("storeAt(index:value:)"))); +- (void)storeAtIndex:(int64_t)index value_:(int8_t)value __attribute__((swift_name("storeAt(index:value_:)"))); +@property (readonly) void *pointer __attribute__((swift_name("pointer"))); +@property (readonly) int64_t size __attribute__((swift_name("size"))); +@property (readonly) int32_t size32 __attribute__((swift_name("size32"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Memory.Companion"))) +@interface PAPIMemoryCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIMemoryCompanion *shared __attribute__((swift_name("shared"))); +@property (readonly) PAPIMemory *Empty __attribute__((swift_name("Empty"))); +@end; + +__attribute__((swift_name("Input"))) +@protocol PAPIInput +@required +- (int64_t)discardN_:(int64_t)n __attribute__((swift_name("discard(n_:)"))); +- (int64_t)peekToDestination:(PAPIMemory *)destination destinationOffset:(int64_t)destinationOffset offset:(int64_t)offset min:(int64_t)min max:(int64_t)max __attribute__((swift_name("peekTo(destination:destinationOffset:offset:min:max:)"))); +- (int8_t)readByte __attribute__((swift_name("readByte()"))); +- (int32_t)tryPeek __attribute__((swift_name("tryPeek()"))); +@property PAPIByteOrder *byteOrder __attribute__((swift_name("byteOrder"))) __attribute__((unavailable("Not supported anymore. All operations are big endian by default. Use readXXXLittleEndian or readXXX then X.reverseByteOrder() instead."))); +@property (readonly) BOOL endOfInput __attribute__((swift_name("endOfInput"))); +@end; + +__attribute__((swift_name("AbstractInput"))) +@interface PAPIAbstractInput : PAPIBase +- (instancetype)initWithHead:(PAPIChunkBuffer *)head remaining:(int64_t)remaining pool:(id)pool __attribute__((swift_name("init(head:remaining:pool:)"))) __attribute__((objc_designated_initializer)) __attribute__((deprecated("AbstractInput is deprecated and will be merged with Input in 2.0.0"))); +@property (class, readonly, getter=companion) PAPIAbstractInputCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)canRead __attribute__((swift_name("canRead()"))); +- (void)close __attribute__((swift_name("close()"))); +- (void)closeSource __attribute__((swift_name("closeSource()"))); +- (int32_t)discardN:(int32_t)n __attribute__((swift_name("discard(n:)"))); +- (int64_t)discardN_:(int64_t)n __attribute__((swift_name("discard(n_:)"))); +- (void)discardExactN:(int32_t)n __attribute__((swift_name("discardExact(n:)"))); +- (PAPIChunkBuffer * _Nullable)ensureNextHeadCurrent:(PAPIChunkBuffer *)current __attribute__((swift_name("ensureNextHead(current:)"))); +- (PAPIChunkBuffer * _Nullable)fill __attribute__((swift_name("fill()"))); +- (int32_t)fillDestination:(PAPIMemory *)destination offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("fill(destination:offset:length:)"))); +- (void)fixGapAfterReadCurrent:(PAPIChunkBuffer *)current __attribute__((swift_name("fixGapAfterRead(current:)"))); +- (BOOL)hasBytesN:(int32_t)n __attribute__((swift_name("hasBytes(n:)"))); +- (void)markNoMoreChunksAvailable __attribute__((swift_name("markNoMoreChunksAvailable()"))); +- (int64_t)peekToDestination:(PAPIMemory *)destination destinationOffset:(int64_t)destinationOffset offset:(int64_t)offset min:(int64_t)min max:(int64_t)max __attribute__((swift_name("peekTo(destination:destinationOffset:offset:min:max:)"))); +- (PAPIChunkBuffer * _Nullable)prepareReadHeadMinSize:(int32_t)minSize __attribute__((swift_name("prepareReadHead(minSize:)"))); +- (int8_t)readByte __attribute__((swift_name("readByte()"))); +- (NSString *)readTextMin:(int32_t)min max:(int32_t)max __attribute__((swift_name("readText(min:max:)"))); +- (int32_t)readTextOut:(id)out min:(int32_t)min max:(int32_t)max __attribute__((swift_name("readText(out:min:max:)"))); +- (NSString *)readTextExactExactCharacters:(int32_t)exactCharacters __attribute__((swift_name("readTextExact(exactCharacters:)"))); +- (void)readTextExactOut:(id)out exactCharacters:(int32_t)exactCharacters __attribute__((swift_name("readTextExact(out:exactCharacters:)"))); +- (void)release_ __attribute__((swift_name("release()"))); +- (int32_t)tryPeek __attribute__((swift_name("tryPeek()"))); +- (void)updateHeadRemainingRemaining:(int32_t)remaining __attribute__((swift_name("updateHeadRemaining(remaining:)"))) __attribute__((unavailable("Not supported anymore."))); +@property PAPIByteOrder *byteOrder __attribute__((swift_name("byteOrder"))) __attribute__((unavailable("Not supported anymore. All operations are big endian by default."))); +@property (readonly) BOOL endOfInput __attribute__((swift_name("endOfInput"))); +@property (readonly) id pool __attribute__((swift_name("pool"))); +@property (readonly) int64_t remaining __attribute__((swift_name("remaining"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AbstractInput.Companion"))) +@interface PAPIAbstractInputCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIAbstractInputCompanion *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((swift_name("KotlinAppendable"))) +@protocol PAPIKotlinAppendable +@required +- (id)appendValue:(unichar)value __attribute__((swift_name("append(value:)"))); +- (id)appendValue_:(id _Nullable)value __attribute__((swift_name("append(value_:)"))); +- (id)appendValue:(id _Nullable)value startIndex:(int32_t)startIndex endIndex:(int32_t)endIndex __attribute__((swift_name("append(value:startIndex:endIndex:)"))); +@end; + +__attribute__((swift_name("Output"))) +@protocol PAPIOutput +@required +- (id)appendCsq:(PAPIKotlinCharArray *)csq start:(int32_t)start end:(int32_t)end __attribute__((swift_name("append(csq:start:end:)"))); +- (void)flush __attribute__((swift_name("flush()"))); +- (void)writeByteV:(int8_t)v __attribute__((swift_name("writeByte(v:)"))); +@property PAPIByteOrder *byteOrder __attribute__((swift_name("byteOrder"))) __attribute__((deprecated("Write with writeXXXLittleEndian or do X.reverseByteOrder() and then writeXXX instead."))); +@end; + +__attribute__((swift_name("AbstractOutput"))) +@interface PAPIAbstractOutput : PAPIBase +- (instancetype)initWithPool:(id)pool __attribute__((swift_name("init(pool:)"))) __attribute__((objc_designated_initializer)) __attribute__((deprecated("AbstractOutput is deprecated and will be merged with Input in 2.0.0"))); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((deprecated("AbstractOutput is deprecated and will be merged with Input in 2.0.0"))); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (void)afterHeadWrite __attribute__((swift_name("afterHeadWrite()"))); +- (PAPIAbstractOutput *)appendValue:(unichar)c __attribute__((swift_name("append(value:)"))); +- (id)appendCsq:(PAPIKotlinCharArray *)csq start:(int32_t)start end:(int32_t)end __attribute__((swift_name("append(csq:start:end:)"))); +- (PAPIAbstractOutput *)appendValue_:(id _Nullable)csq __attribute__((swift_name("append(value_:)"))); +- (PAPIAbstractOutput *)appendValue:(id _Nullable)csq startIndex:(int32_t)start endIndex:(int32_t)end __attribute__((swift_name("append(value:startIndex:endIndex:)"))); +- (void)close __attribute__((swift_name("close()"))); +- (void)closeDestination __attribute__((swift_name("closeDestination()"))); +- (void)flush __attribute__((swift_name("flush()"))); +- (void)flushSource:(PAPIMemory *)source offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("flush(source:offset:length:)"))); +- (PAPIChunkBuffer *)prepareWriteHeadN:(int32_t)n __attribute__((swift_name("prepareWriteHead(n:)"))); +- (void)release_ __attribute__((swift_name("release()"))); +- (void)writeByteV:(int8_t)v __attribute__((swift_name("writeByte(v:)"))); +- (void)writePacketP:(PAPIByteReadPacket *)p __attribute__((swift_name("writePacket(p:)"))); +- (void)writePacketP:(PAPIByteReadPacket *)p n:(int32_t)n __attribute__((swift_name("writePacket(p:n:)"))); +- (void)writePacketP:(PAPIByteReadPacket *)p n_:(int64_t)n __attribute__((swift_name("writePacket(p:n_:)"))); +- (void)writeStringUtf8Cs:(id)cs __attribute__((swift_name("writeStringUtf8(cs:)"))) __attribute__((deprecated("Use writeText instead"))); +- (void)writeStringUtf8S:(NSString *)s __attribute__((swift_name("writeStringUtf8(s:)"))) __attribute__((deprecated("Use writeText instead"))); +@property int32_t _size __attribute__((swift_name("_size"))); +@property PAPIByteOrder *byteOrder __attribute__((swift_name("byteOrder"))) __attribute__((unavailable("This is no longer supported. All operations are big endian by default. Use readXXXLittleEndian to read primitives in little endian"))); +@property PAPIChunkBuffer *currentTail __attribute__((swift_name("currentTail"))) __attribute__((unavailable("Will be removed. Override flush(buffer) properly."))); +@property (readonly) id pool __attribute__((swift_name("pool"))); +@end; + +__attribute__((swift_name("Buffer"))) +@interface PAPIBuffer : PAPIBase +- (instancetype)initWithMemory:(PAPIMemory *)memory __attribute__((swift_name("init(memory:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIBufferCompanion *companion __attribute__((swift_name("companion"))); +- (void)commitWrittenCount:(int32_t)count __attribute__((swift_name("commitWritten(count:)"))); +- (int32_t)discardCount:(int32_t)count __attribute__((swift_name("discard(count:)"))) __attribute__((unavailable("Use discardExact instead."))); +- (int64_t)discardCount_:(int64_t)count __attribute__((swift_name("discard(count_:)"))) __attribute__((unavailable("Use discardExact instead."))); +- (void)discardExactCount:(int32_t)count __attribute__((swift_name("discardExact(count:)"))); +- (PAPIBuffer *)duplicate __attribute__((swift_name("duplicate()"))); +- (void)duplicateToCopy:(PAPIBuffer *)copy __attribute__((swift_name("duplicateTo(copy:)"))); +- (int8_t)readByte __attribute__((swift_name("readByte()"))); +- (void)reserveEndGapEndGap:(int32_t)endGap __attribute__((swift_name("reserveEndGap(endGap:)"))); +- (void)reserveStartGapStartGap:(int32_t)startGap __attribute__((swift_name("reserveStartGap(startGap:)"))); +- (void)reset __attribute__((swift_name("reset()"))); +- (void)resetForRead __attribute__((swift_name("resetForRead()"))); +- (void)resetForWrite __attribute__((swift_name("resetForWrite()"))); +- (void)resetForWriteLimit:(int32_t)limit __attribute__((swift_name("resetForWrite(limit:)"))); +- (void)rewindCount:(int32_t)count __attribute__((swift_name("rewind(count:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +- (int32_t)tryPeekByte __attribute__((swift_name("tryPeekByte()"))); +- (int32_t)tryReadByte __attribute__((swift_name("tryReadByte()"))); +- (void)writeByteValue:(int8_t)value __attribute__((swift_name("writeByte(value:)"))); +@property id _Nullable attachment __attribute__((swift_name("attachment"))) __attribute__((deprecated("Will be removed. Inherit Buffer and add required fields instead."))); +@property (readonly) int32_t capacity __attribute__((swift_name("capacity"))); +@property (readonly) int32_t endGap __attribute__((swift_name("endGap"))); +@property (readonly) int32_t limit __attribute__((swift_name("limit"))); +@property (readonly) PAPIMemory *memory __attribute__((swift_name("memory"))); +@property (readonly) int32_t readPosition __attribute__((swift_name("readPosition"))); +@property (readonly) int32_t readRemaining __attribute__((swift_name("readRemaining"))); +@property (readonly) int32_t startGap __attribute__((swift_name("startGap"))); +@property (readonly) int32_t writePosition __attribute__((swift_name("writePosition"))); +@property (readonly) int32_t writeRemaining __attribute__((swift_name("writeRemaining"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Buffer.Companion"))) +@interface PAPIBufferCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIBufferCompanion *shared __attribute__((swift_name("shared"))); +@property (readonly) PAPIBuffer *Empty __attribute__((swift_name("Empty"))); +@property (readonly) int32_t ReservedSize __attribute__((swift_name("ReservedSize"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BufferLimitExceededException"))) +@interface PAPIBufferLimitExceededException : PAPIKotlinException +- (instancetype)initWithMessage:(NSString *)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (instancetype)initWithCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ByteOrder"))) +@interface PAPIByteOrder : PAPIKotlinEnum ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@property (class, readonly, getter=companion) PAPIByteOrderCompanion *companion __attribute__((swift_name("companion"))); +@property (class, readonly) PAPIByteOrder *bigEndian __attribute__((swift_name("bigEndian"))); +@property (class, readonly) PAPIByteOrder *littleEndian __attribute__((swift_name("littleEndian"))); ++ (PAPIKotlinArray *)values __attribute__((swift_name("values()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ByteOrder.Companion"))) +@interface PAPIByteOrderCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIByteOrderCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIByteOrder *)nativeOrder __attribute__((swift_name("nativeOrder()"))); +@end; + +__attribute__((swift_name("BytePacketBuilderBase"))) +@interface PAPIBytePacketBuilderBase : PAPIAbstractOutput +- (instancetype)initWithPool:(id)pool __attribute__((swift_name("init(pool:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +@end; + +__attribute__((swift_name("BytePacketBuilderPlatformBase"))) +@interface PAPIBytePacketBuilderPlatformBase : PAPIBytePacketBuilderBase +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BytePacketBuilder"))) +@interface PAPIBytePacketBuilder : PAPIBytePacketBuilderPlatformBase +- (instancetype)initWithHeaderSizeHint:(int32_t)headerSizeHint pool:(id)pool __attribute__((swift_name("init(headerSizeHint:pool:)"))) __attribute__((objc_designated_initializer)); +- (PAPIBytePacketBuilder *)appendValue:(unichar)c __attribute__((swift_name("append(value:)"))); +- (PAPIBytePacketBuilder *)appendValue_:(id _Nullable)csq __attribute__((swift_name("append(value_:)"))); +- (PAPIBytePacketBuilder *)appendValue:(id _Nullable)csq startIndex:(int32_t)start endIndex:(int32_t)end __attribute__((swift_name("append(value:startIndex:endIndex:)"))); +- (PAPIByteReadPacket *)build __attribute__((swift_name("build()"))); +- (void)closeDestination __attribute__((swift_name("closeDestination()"))); +- (void)flushSource:(PAPIMemory *)source offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("flush(source:offset:length:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) BOOL isEmpty __attribute__((swift_name("isEmpty"))); +@property (readonly) BOOL isNotEmpty __attribute__((swift_name("isNotEmpty"))); +@property (readonly) int32_t size __attribute__((swift_name("size"))); +@end; + +__attribute__((swift_name("ByteReadPacketBase"))) +@interface PAPIByteReadPacketBase : PAPIAbstractInput +- (instancetype)initWithHead:(PAPIChunkBuffer *)head remaining:(int64_t)remaining pool:(id)pool __attribute__((swift_name("init(head:remaining:pool:)"))) __attribute__((objc_designated_initializer)) __attribute__((deprecated("Will be removed in the future releases. Use Input or AbstractInput instead."))); +@property (class, readonly, getter=companion) PAPIByteReadPacketBaseCompanion *companion __attribute__((swift_name("companion"))); +@end; + +__attribute__((swift_name("ByteReadPacketPlatformBase"))) +@interface PAPIByteReadPacketPlatformBase : PAPIByteReadPacketBase +- (instancetype)initWithHead:(PAPIChunkBuffer *)head remaining:(int64_t)remaining pool:(id)pool __attribute__((swift_name("init(head:remaining:pool:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable("Will be removed in future releases."))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ByteReadPacket"))) +@interface PAPIByteReadPacket : PAPIByteReadPacketPlatformBase +- (instancetype)initWithHead:(PAPIChunkBuffer *)head pool:(id)pool __attribute__((swift_name("init(head:pool:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithHead:(PAPIChunkBuffer *)head remaining:(int64_t)remaining pool:(id)pool __attribute__((swift_name("init(head:remaining:pool:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@property (class, readonly, getter=companion) PAPIByteReadPacketCompanion *companion __attribute__((swift_name("companion"))); +- (void)closeSource __attribute__((swift_name("closeSource()"))); +- (PAPIByteReadPacket *)doCopy __attribute__((swift_name("doCopy()"))); +- (PAPIChunkBuffer * _Nullable)fill __attribute__((swift_name("fill()"))); +- (int32_t)fillDestination:(PAPIMemory *)destination offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("fill(destination:offset:length:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ByteReadPacket.Companion"))) +@interface PAPIByteReadPacketCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIByteReadPacketCompanion *shared __attribute__((swift_name("shared"))); +@property (readonly) PAPIByteReadPacket *Empty __attribute__((swift_name("Empty"))); +@property (readonly) int32_t ReservedSize __attribute__((swift_name("ReservedSize"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ByteReadPacketBase.Companion"))) +@interface PAPIByteReadPacketBaseCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIByteReadPacketBaseCompanion *shared __attribute__((swift_name("shared"))); +@property (readonly) PAPIByteReadPacket *Empty __attribute__((swift_name("Empty"))) __attribute__((unavailable("Use ByteReadPacket.Empty instead"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("InsufficientSpaceException"))) +@interface PAPIInsufficientSpaceException : PAPIKotlinException +- (instancetype)initWithSize:(int32_t)size availableSpace:(int32_t)availableSpace __attribute__((swift_name("init(size:availableSpace:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithName:(NSString *)name size:(int32_t)size availableSpace:(int32_t)availableSpace __attribute__((swift_name("init(name:size:availableSpace:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithSize:(int64_t)size availableSpace_:(int64_t)availableSpace __attribute__((swift_name("init(size:availableSpace_:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithMessage:(NSString *)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (instancetype)initWithCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((swift_name("ChunkBuffer"))) +@interface PAPIChunkBuffer : PAPIBuffer +- (instancetype)initWithMemory:(PAPIMemory *)memory origin:(PAPIChunkBuffer * _Nullable)origin parentPool:(id _Nullable)parentPool __attribute__((swift_name("init(memory:origin:parentPool:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithMemory:(PAPIMemory *)memory __attribute__((swift_name("init(memory:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@property (class, readonly, getter=companion) PAPIChunkBufferCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIChunkBuffer * _Nullable)cleanNext __attribute__((swift_name("cleanNext()"))); +- (PAPIChunkBuffer *)duplicate __attribute__((swift_name("duplicate()"))); +- (void)releasePool:(id)pool __attribute__((swift_name("release(pool:)"))); +- (void)reset __attribute__((swift_name("reset()"))); +@property PAPIChunkBuffer * _Nullable next __attribute__((swift_name("next"))); +@property (readonly) PAPIChunkBuffer * _Nullable origin __attribute__((swift_name("origin"))); +@property (readonly) int32_t referenceCount __attribute__((swift_name("referenceCount"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("IoBuffer"))) +@interface PAPIIoBuffer : PAPIChunkBuffer +- (instancetype)initWithMemory:(PAPIMemory *)memory origin:(PAPIChunkBuffer * _Nullable)origin __attribute__((swift_name("init(memory:origin:)"))) __attribute__((objc_designated_initializer)) __attribute__((deprecated("Use Buffer instead."))); +- (instancetype)initWithContent:(void *)content contentCapacity:(int32_t)contentCapacity __attribute__((swift_name("init(content:contentCapacity:)"))) __attribute__((objc_designated_initializer)) __attribute__((deprecated("Use Buffer instead."))); +- (instancetype)initWithMemory:(PAPIMemory *)memory origin:(PAPIChunkBuffer * _Nullable)origin parentPool:(id _Nullable)parentPool __attribute__((swift_name("init(memory:origin:parentPool:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@property (class, readonly, getter=companion) PAPIIoBufferCompanion *companion __attribute__((swift_name("companion"))); +- (id)appendValue:(unichar)c __attribute__((swift_name("append(value:)"))); +- (id)appendCsq:(PAPIKotlinCharArray *)csq start:(int32_t)start end:(int32_t)end __attribute__((swift_name("append(csq:start:end:)"))); +- (id)appendValue_:(id _Nullable)csq __attribute__((swift_name("append(value_:)"))); +- (id)appendValue:(id _Nullable)csq startIndex:(int32_t)start endIndex:(int32_t)end __attribute__((swift_name("append(value:startIndex:endIndex:)"))); +- (int32_t)appendCharsCsq:(PAPIKotlinCharArray *)csq start:(int32_t)start end:(int32_t)end __attribute__((swift_name("appendChars(csq:start:end:)"))); +- (int32_t)appendCharsCsq:(id)csq start:(int32_t)start end_:(int32_t)end __attribute__((swift_name("appendChars(csq:start:end_:)"))); +- (void)close __attribute__((swift_name("close()"))); +- (PAPIIoBuffer *)duplicate __attribute__((swift_name("duplicate()"))); +- (void)flush __attribute__((swift_name("flush()"))); +- (PAPIIoBuffer *)makeView __attribute__((swift_name("makeView()"))); +- (int64_t)peekToDestination:(PAPIMemory *)destination destinationOffset:(int64_t)destinationOffset offset:(int64_t)offset min:(int64_t)min max:(int64_t)max __attribute__((swift_name("peekTo(destination:destinationOffset:offset:min:max:)"))); +- (int32_t)readDirectBlock:(PAPIInt *(^)(id))block __attribute__((swift_name("readDirect(block:)"))); +- (void)releasePool_:(id)pool __attribute__((swift_name("release(pool_:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +- (int32_t)tryPeek __attribute__((swift_name("tryPeek()"))); +- (int32_t)writeDirectBlock:(PAPIInt *(^)(id))block __attribute__((swift_name("writeDirect(block:)"))); +@property PAPIByteOrder *byteOrder __attribute__((swift_name("byteOrder"))) __attribute__((unavailable("Not supported anymore. All operations are big endian by default."))); +@property (readonly) BOOL endOfInput __attribute__((swift_name("endOfInput"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("IoBuffer.Companion"))) +@interface PAPIIoBufferCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIIoBufferCompanion *shared __attribute__((swift_name("shared"))); +@property (readonly) PAPIIoBuffer *Empty __attribute__((swift_name("Empty"))); +@property (readonly) id EmptyPool __attribute__((swift_name("EmptyPool"))); +@property (readonly) id NoPool __attribute__((swift_name("NoPool"))); +@property (readonly) id Pool __attribute__((swift_name("Pool"))); +@property (readonly) int32_t ReservedSize __attribute__((swift_name("ReservedSize"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ChunkBuffer.Companion"))) +@interface PAPIChunkBufferCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIChunkBufferCompanion *shared __attribute__((swift_name("shared"))); +@property (readonly) PAPIChunkBuffer *Empty __attribute__((swift_name("Empty"))); +@property (readonly) id EmptyPool __attribute__((swift_name("EmptyPool"))); +@property (readonly) id Pool __attribute__((swift_name("Pool"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MalformedUTF8InputException"))) +@interface PAPIMalformedUTF8InputException : PAPIKotlinException +- (instancetype)initWithMessage:(NSString *)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (instancetype)initWithCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((swift_name("ObjectPool"))) +@protocol PAPIObjectPool +@required +- (id)borrow __attribute__((swift_name("borrow()"))); +- (void)dispose __attribute__((swift_name("dispose()"))); +- (void)recycleInstance:(id)instance __attribute__((swift_name("recycle(instance:)"))); +@property (readonly) int32_t capacity __attribute__((swift_name("capacity"))); +@end; + +__attribute__((swift_name("DefaultPool"))) +@interface PAPIDefaultPool : PAPIBase +- (instancetype)initWithCapacity:(int32_t)capacity __attribute__((swift_name("init(capacity:)"))) __attribute__((objc_designated_initializer)); +- (T)borrow __attribute__((swift_name("borrow()"))); +- (T)clearInstanceInstance:(T)instance __attribute__((swift_name("clearInstance(instance:)"))); +- (void)dispose __attribute__((swift_name("dispose()"))); +- (void)disposeInstanceInstance:(T)instance __attribute__((swift_name("disposeInstance(instance:)"))); +- (T)produceInstance __attribute__((swift_name("produceInstance()"))); +- (void)recycleInstance:(T)instance __attribute__((swift_name("recycle(instance:)"))); +- (void)validateInstanceInstance:(T)instance __attribute__((swift_name("validateInstance(instance:)"))); +@property (readonly) int32_t capacity __attribute__((swift_name("capacity"))); +@property (readonly) PAPISynchronizedObject *lock __attribute__((swift_name("lock"))); +@end; + +__attribute__((swift_name("NoPoolImpl"))) +@interface PAPINoPoolImpl : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (void)dispose __attribute__((swift_name("dispose()"))); +- (void)recycleInstance:(T)instance __attribute__((swift_name("recycle(instance:)"))); +@property (readonly) int32_t capacity __attribute__((swift_name("capacity"))); +@end; + +__attribute__((swift_name("SingleInstancePool"))) +@interface PAPISingleInstancePool : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (T)borrow __attribute__((swift_name("borrow()"))); +- (void)dispose __attribute__((swift_name("dispose()"))); +- (void)disposeInstanceInstance:(T)instance __attribute__((swift_name("disposeInstance(instance:)"))); +- (T)produceInstance __attribute__((swift_name("produceInstance()"))); +- (void)recycleInstance:(T)instance __attribute__((swift_name("recycle(instance:)"))); +@property (readonly) int32_t capacity __attribute__((swift_name("capacity"))); +@end; + +__attribute__((swift_name("Charset"))) +@interface PAPICharset : PAPIBase +- (instancetype)initWith_name:(NSString *)_name __attribute__((swift_name("init(_name:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPICharsetCompanion *companion __attribute__((swift_name("companion"))); +- (PAPICharsetDecoder *)doNewDecoder __attribute__((swift_name("doNewDecoder()"))); +- (PAPICharsetEncoder *)doNewEncoder __attribute__((swift_name("doNewEncoder()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Charset.Companion"))) +@interface PAPICharsetCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICharsetCompanion *shared __attribute__((swift_name("shared"))); +- (PAPICharset *)forNameName:(NSString *)name __attribute__((swift_name("forName(name:)"))); +@end; + +__attribute__((swift_name("CharsetDecoder"))) +@interface PAPICharsetDecoder : PAPIBase +- (instancetype)initWith_charset:(PAPICharset *)_charset __attribute__((swift_name("init(_charset:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((swift_name("CharsetEncoder"))) +@interface PAPICharsetEncoder : PAPIBase +- (instancetype)initWith_charset:(PAPICharset *)_charset __attribute__((swift_name("init(_charset:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Charsets"))) +@interface PAPICharsets : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)charsets __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICharsets *shared __attribute__((swift_name("shared"))); +@property (readonly) PAPICharset *ISO_8859_1 __attribute__((swift_name("ISO_8859_1"))); +@property (readonly) PAPICharset *UTF_8 __attribute__((swift_name("UTF_8"))); +@end; + +__attribute__((swift_name("MalformedInputException"))) +@interface PAPIMalformedInputException : PAPIKotlinThrowable +- (instancetype)initWithMessage:(NSString *)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("TooLongLineException"))) +@interface PAPITooLongLineException : PAPIMalformedInputException +- (instancetype)initWithMessage:(NSString *)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((swift_name("IOException"))) +@interface PAPIIOException : PAPIKotlinException +- (instancetype)initWithMessage:(NSString *)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithMessage:(NSString *)message cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (instancetype)initWithCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((swift_name("EOFException"))) +@interface PAPIEOFException : PAPIIOException +- (instancetype)initWithMessage:(NSString *)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithMessage:(NSString *)message cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((swift_name("PosixException"))) +@interface PAPIPosixException : PAPIKotlinException +- (instancetype)initWithErrno:(int32_t)errno message:(NSString *)message __attribute__((swift_name("init(errno:message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (instancetype)initWithCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@property (class, readonly, getter=companion) PAPIPosixExceptionCompanion *companion __attribute__((swift_name("companion"))); +@property (readonly) int32_t errno __attribute__((swift_name("errno"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PosixException.AddressAlreadyInUseException"))) +@interface PAPIPosixExceptionAddressAlreadyInUseException : PAPIPosixException +- (instancetype)initWithMessage:(NSString *)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithErrno:(int32_t)errno message:(NSString *)message __attribute__((swift_name("init(errno:message:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PosixException.BadFileDescriptorException"))) +@interface PAPIPosixExceptionBadFileDescriptorException : PAPIPosixException +- (instancetype)initWithMessage:(NSString *)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithErrno:(int32_t)errno message:(NSString *)message __attribute__((swift_name("init(errno:message:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PosixException.BadMessageException"))) +@interface PAPIPosixExceptionBadMessageException : PAPIPosixException +- (instancetype)initWithMessage:(NSString *)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithErrno:(int32_t)errno message:(NSString *)message __attribute__((swift_name("init(errno:message:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PosixException.Companion"))) +@interface PAPIPosixExceptionCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIPosixExceptionCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIPosixException *)forErrnoErrno:(int32_t)errno posixFunctionName:(NSString * _Nullable)posixFunctionName __attribute__((swift_name("forErrno(errno:posixFunctionName:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PosixException.ConnectionAbortedException"))) +@interface PAPIPosixExceptionConnectionAbortedException : PAPIPosixException +- (instancetype)initWithMessage:(NSString *)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithErrno:(int32_t)errno message:(NSString *)message __attribute__((swift_name("init(errno:message:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PosixException.ConnectionRefusedException"))) +@interface PAPIPosixExceptionConnectionRefusedException : PAPIPosixException +- (instancetype)initWithMessage:(NSString *)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithErrno:(int32_t)errno message:(NSString *)message __attribute__((swift_name("init(errno:message:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PosixException.ConnectionResetException"))) +@interface PAPIPosixExceptionConnectionResetException : PAPIPosixException +- (instancetype)initWithMessage:(NSString *)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithErrno:(int32_t)errno message:(NSString *)message __attribute__((swift_name("init(errno:message:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PosixException.InterruptedException"))) +@interface PAPIPosixExceptionInterruptedException : PAPIPosixException +- (instancetype)initWithMessage:(NSString *)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithErrno:(int32_t)errno message:(NSString *)message __attribute__((swift_name("init(errno:message:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PosixException.InvalidArgumentException"))) +@interface PAPIPosixExceptionInvalidArgumentException : PAPIPosixException +- (instancetype)initWithMessage:(NSString *)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithErrno:(int32_t)errno message:(NSString *)message __attribute__((swift_name("init(errno:message:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PosixException.NoMemoryException"))) +@interface PAPIPosixExceptionNoMemoryException : PAPIPosixException +- (instancetype)initWithMessage:(NSString *)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithErrno:(int32_t)errno message:(NSString *)message __attribute__((swift_name("init(errno:message:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PosixException.NoSuchFileException"))) +@interface PAPIPosixExceptionNoSuchFileException : PAPIPosixException +- (instancetype)initWithMessage:(NSString *)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithErrno:(int32_t)errno message:(NSString *)message __attribute__((swift_name("init(errno:message:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PosixException.NotConnectedException"))) +@interface PAPIPosixExceptionNotConnectedException : PAPIPosixException +- (instancetype)initWithMessage:(NSString *)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithErrno:(int32_t)errno message:(NSString *)message __attribute__((swift_name("init(errno:message:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PosixException.NotSocketException"))) +@interface PAPIPosixExceptionNotSocketException : PAPIPosixException +- (instancetype)initWithMessage:(NSString *)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithErrno:(int32_t)errno message:(NSString *)message __attribute__((swift_name("init(errno:message:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PosixException.OverflowException"))) +@interface PAPIPosixExceptionOverflowException : PAPIPosixException +- (instancetype)initWithMessage:(NSString *)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithErrno:(int32_t)errno message:(NSString *)message __attribute__((swift_name("init(errno:message:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PosixException.PosixErrnoException"))) +@interface PAPIPosixExceptionPosixErrnoException : PAPIPosixException +- (instancetype)initWithErrno:(int32_t)errno message:(NSString *)message __attribute__((swift_name("init(errno:message:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PosixException.TimeoutIOException"))) +@interface PAPIPosixExceptionTimeoutIOException : PAPIPosixException +- (instancetype)initWithMessage:(NSString *)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithErrno:(int32_t)errno message:(NSString *)message __attribute__((swift_name("init(errno:message:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PosixException.TryAgainException"))) +@interface PAPIPosixExceptionTryAgainException : PAPIPosixException +- (instancetype)initWithErrno:(int32_t)errno message:(NSString *)message __attribute__((swift_name("init(errno:message:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("LiftToSyntaxTreeOptions"))) +@interface PAPILiftToSyntaxTreeOptions : PAPIBase +- (instancetype)initWithRetainSkipped:(BOOL)retainSkipped retainSeparators:(BOOL)retainSeparators __attribute__((swift_name("init(retainSkipped:retainSeparators:)"))) __attribute__((objc_designated_initializer)); +- (BOOL)component1 __attribute__((swift_name("component1()"))); +- (BOOL)component2 __attribute__((swift_name("component2()"))); +- (PAPILiftToSyntaxTreeOptions *)doCopyRetainSkipped:(BOOL)retainSkipped retainSeparators:(BOOL)retainSeparators __attribute__((swift_name("doCopy(retainSkipped:retainSeparators:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) BOOL retainSeparators __attribute__((swift_name("retainSeparators"))); +@property (readonly) BOOL retainSkipped __attribute__((swift_name("retainSkipped"))); +@end; + +__attribute__((swift_name("LiftToSyntaxTreeTransformer"))) +@protocol PAPILiftToSyntaxTreeTransformer +@required +- (id)liftToSyntaxTreeParser:(id)parser default:(id)default_ __attribute__((swift_name("liftToSyntaxTree(parser:default:)"))); +@end; + +__attribute__((swift_name("LiftToSyntaxTreeTransformerDefaultTransformerReference"))) +@protocol PAPILiftToSyntaxTreeTransformerDefaultTransformerReference +@required +- (id)transformParser:(id)parser __attribute__((swift_name("transform(parser:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SyntaxTree"))) +@interface PAPISyntaxTree<__covariant T> : PAPIBase +- (instancetype)initWithItem:(T _Nullable)item children:(NSArray *> *)children parser:(id)parser range:(PAPIKotlinIntRange *)range __attribute__((swift_name("init(item:children:parser:range:)"))) __attribute__((objc_designated_initializer)); +- (T _Nullable)component1 __attribute__((swift_name("component1()"))); +- (NSArray *> *)component2 __attribute__((swift_name("component2()"))); +- (id)component3 __attribute__((swift_name("component3()"))); +- (PAPIKotlinIntRange *)component4 __attribute__((swift_name("component4()"))); +- (PAPISyntaxTree *)doCopyItem:(T _Nullable)item children:(NSArray *> *)children parser:(id)parser range:(PAPIKotlinIntRange *)range __attribute__((swift_name("doCopy(item:children:parser:range:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSArray *> *children __attribute__((swift_name("children"))); +@property (readonly) T _Nullable item __attribute__((swift_name("item"))); +@property (readonly) id parser __attribute__((swift_name("parser"))); +@property (readonly) PAPIKotlinIntRange *range __attribute__((swift_name("range"))); +@end; + +__attribute__((swift_name("Tuple"))) +@protocol PAPITuple +@required +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Tuple1"))) +@interface PAPITuple1 : PAPIBase +- (instancetype)initWithT1:(T1 _Nullable)t1 __attribute__((swift_name("init(t1:)"))) __attribute__((objc_designated_initializer)); +- (T1 _Nullable)component1 __attribute__((swift_name("component1()"))); +- (PAPITuple1 *)doCopyT1:(T1 _Nullable)t1 __attribute__((swift_name("doCopy(t1:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) T1 _Nullable t1 __attribute__((swift_name("t1"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Tuple10"))) +@interface PAPITuple10 : PAPIBase +- (instancetype)initWithT1:(T1 _Nullable)t1 t2:(T2 _Nullable)t2 t3:(T3 _Nullable)t3 t4:(T4 _Nullable)t4 t5:(T5 _Nullable)t5 t6:(T6 _Nullable)t6 t7:(T7 _Nullable)t7 t8:(T8 _Nullable)t8 t9:(T9 _Nullable)t9 t10:(T10 _Nullable)t10 __attribute__((swift_name("init(t1:t2:t3:t4:t5:t6:t7:t8:t9:t10:)"))) __attribute__((objc_designated_initializer)); +- (T1 _Nullable)component1 __attribute__((swift_name("component1()"))); +- (T10 _Nullable)component10 __attribute__((swift_name("component10()"))); +- (T2 _Nullable)component2 __attribute__((swift_name("component2()"))); +- (T3 _Nullable)component3 __attribute__((swift_name("component3()"))); +- (T4 _Nullable)component4 __attribute__((swift_name("component4()"))); +- (T5 _Nullable)component5 __attribute__((swift_name("component5()"))); +- (T6 _Nullable)component6 __attribute__((swift_name("component6()"))); +- (T7 _Nullable)component7 __attribute__((swift_name("component7()"))); +- (T8 _Nullable)component8 __attribute__((swift_name("component8()"))); +- (T9 _Nullable)component9 __attribute__((swift_name("component9()"))); +- (PAPITuple10 *)doCopyT1:(T1 _Nullable)t1 t2:(T2 _Nullable)t2 t3:(T3 _Nullable)t3 t4:(T4 _Nullable)t4 t5:(T5 _Nullable)t5 t6:(T6 _Nullable)t6 t7:(T7 _Nullable)t7 t8:(T8 _Nullable)t8 t9:(T9 _Nullable)t9 t10:(T10 _Nullable)t10 __attribute__((swift_name("doCopy(t1:t2:t3:t4:t5:t6:t7:t8:t9:t10:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) T1 _Nullable t1 __attribute__((swift_name("t1"))); +@property (readonly) T10 _Nullable t10 __attribute__((swift_name("t10"))); +@property (readonly) T2 _Nullable t2 __attribute__((swift_name("t2"))); +@property (readonly) T3 _Nullable t3 __attribute__((swift_name("t3"))); +@property (readonly) T4 _Nullable t4 __attribute__((swift_name("t4"))); +@property (readonly) T5 _Nullable t5 __attribute__((swift_name("t5"))); +@property (readonly) T6 _Nullable t6 __attribute__((swift_name("t6"))); +@property (readonly) T7 _Nullable t7 __attribute__((swift_name("t7"))); +@property (readonly) T8 _Nullable t8 __attribute__((swift_name("t8"))); +@property (readonly) T9 _Nullable t9 __attribute__((swift_name("t9"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Tuple11"))) +@interface PAPITuple11 : PAPIBase +- (instancetype)initWithT1:(T1 _Nullable)t1 t2:(T2 _Nullable)t2 t3:(T3 _Nullable)t3 t4:(T4 _Nullable)t4 t5:(T5 _Nullable)t5 t6:(T6 _Nullable)t6 t7:(T7 _Nullable)t7 t8:(T8 _Nullable)t8 t9:(T9 _Nullable)t9 t10:(T10 _Nullable)t10 t11:(T11 _Nullable)t11 __attribute__((swift_name("init(t1:t2:t3:t4:t5:t6:t7:t8:t9:t10:t11:)"))) __attribute__((objc_designated_initializer)); +- (T1 _Nullable)component1 __attribute__((swift_name("component1()"))); +- (T10 _Nullable)component10 __attribute__((swift_name("component10()"))); +- (T11 _Nullable)component11 __attribute__((swift_name("component11()"))); +- (T2 _Nullable)component2 __attribute__((swift_name("component2()"))); +- (T3 _Nullable)component3 __attribute__((swift_name("component3()"))); +- (T4 _Nullable)component4 __attribute__((swift_name("component4()"))); +- (T5 _Nullable)component5 __attribute__((swift_name("component5()"))); +- (T6 _Nullable)component6 __attribute__((swift_name("component6()"))); +- (T7 _Nullable)component7 __attribute__((swift_name("component7()"))); +- (T8 _Nullable)component8 __attribute__((swift_name("component8()"))); +- (T9 _Nullable)component9 __attribute__((swift_name("component9()"))); +- (PAPITuple11 *)doCopyT1:(T1 _Nullable)t1 t2:(T2 _Nullable)t2 t3:(T3 _Nullable)t3 t4:(T4 _Nullable)t4 t5:(T5 _Nullable)t5 t6:(T6 _Nullable)t6 t7:(T7 _Nullable)t7 t8:(T8 _Nullable)t8 t9:(T9 _Nullable)t9 t10:(T10 _Nullable)t10 t11:(T11 _Nullable)t11 __attribute__((swift_name("doCopy(t1:t2:t3:t4:t5:t6:t7:t8:t9:t10:t11:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) T1 _Nullable t1 __attribute__((swift_name("t1"))); +@property (readonly) T10 _Nullable t10 __attribute__((swift_name("t10"))); +@property (readonly) T11 _Nullable t11 __attribute__((swift_name("t11"))); +@property (readonly) T2 _Nullable t2 __attribute__((swift_name("t2"))); +@property (readonly) T3 _Nullable t3 __attribute__((swift_name("t3"))); +@property (readonly) T4 _Nullable t4 __attribute__((swift_name("t4"))); +@property (readonly) T5 _Nullable t5 __attribute__((swift_name("t5"))); +@property (readonly) T6 _Nullable t6 __attribute__((swift_name("t6"))); +@property (readonly) T7 _Nullable t7 __attribute__((swift_name("t7"))); +@property (readonly) T8 _Nullable t8 __attribute__((swift_name("t8"))); +@property (readonly) T9 _Nullable t9 __attribute__((swift_name("t9"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Tuple12"))) +@interface PAPITuple12 : PAPIBase +- (instancetype)initWithT1:(T1 _Nullable)t1 t2:(T2 _Nullable)t2 t3:(T3 _Nullable)t3 t4:(T4 _Nullable)t4 t5:(T5 _Nullable)t5 t6:(T6 _Nullable)t6 t7:(T7 _Nullable)t7 t8:(T8 _Nullable)t8 t9:(T9 _Nullable)t9 t10:(T10 _Nullable)t10 t11:(T11 _Nullable)t11 t12:(T12 _Nullable)t12 __attribute__((swift_name("init(t1:t2:t3:t4:t5:t6:t7:t8:t9:t10:t11:t12:)"))) __attribute__((objc_designated_initializer)); +- (T1 _Nullable)component1 __attribute__((swift_name("component1()"))); +- (T10 _Nullable)component10 __attribute__((swift_name("component10()"))); +- (T11 _Nullable)component11 __attribute__((swift_name("component11()"))); +- (T12 _Nullable)component12 __attribute__((swift_name("component12()"))); +- (T2 _Nullable)component2 __attribute__((swift_name("component2()"))); +- (T3 _Nullable)component3 __attribute__((swift_name("component3()"))); +- (T4 _Nullable)component4 __attribute__((swift_name("component4()"))); +- (T5 _Nullable)component5 __attribute__((swift_name("component5()"))); +- (T6 _Nullable)component6 __attribute__((swift_name("component6()"))); +- (T7 _Nullable)component7 __attribute__((swift_name("component7()"))); +- (T8 _Nullable)component8 __attribute__((swift_name("component8()"))); +- (T9 _Nullable)component9 __attribute__((swift_name("component9()"))); +- (PAPITuple12 *)doCopyT1:(T1 _Nullable)t1 t2:(T2 _Nullable)t2 t3:(T3 _Nullable)t3 t4:(T4 _Nullable)t4 t5:(T5 _Nullable)t5 t6:(T6 _Nullable)t6 t7:(T7 _Nullable)t7 t8:(T8 _Nullable)t8 t9:(T9 _Nullable)t9 t10:(T10 _Nullable)t10 t11:(T11 _Nullable)t11 t12:(T12 _Nullable)t12 __attribute__((swift_name("doCopy(t1:t2:t3:t4:t5:t6:t7:t8:t9:t10:t11:t12:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) T1 _Nullable t1 __attribute__((swift_name("t1"))); +@property (readonly) T10 _Nullable t10 __attribute__((swift_name("t10"))); +@property (readonly) T11 _Nullable t11 __attribute__((swift_name("t11"))); +@property (readonly) T12 _Nullable t12 __attribute__((swift_name("t12"))); +@property (readonly) T2 _Nullable t2 __attribute__((swift_name("t2"))); +@property (readonly) T3 _Nullable t3 __attribute__((swift_name("t3"))); +@property (readonly) T4 _Nullable t4 __attribute__((swift_name("t4"))); +@property (readonly) T5 _Nullable t5 __attribute__((swift_name("t5"))); +@property (readonly) T6 _Nullable t6 __attribute__((swift_name("t6"))); +@property (readonly) T7 _Nullable t7 __attribute__((swift_name("t7"))); +@property (readonly) T8 _Nullable t8 __attribute__((swift_name("t8"))); +@property (readonly) T9 _Nullable t9 __attribute__((swift_name("t9"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Tuple13"))) +@interface PAPITuple13 : PAPIBase +- (instancetype)initWithT1:(T1 _Nullable)t1 t2:(T2 _Nullable)t2 t3:(T3 _Nullable)t3 t4:(T4 _Nullable)t4 t5:(T5 _Nullable)t5 t6:(T6 _Nullable)t6 t7:(T7 _Nullable)t7 t8:(T8 _Nullable)t8 t9:(T9 _Nullable)t9 t10:(T10 _Nullable)t10 t11:(T11 _Nullable)t11 t12:(T12 _Nullable)t12 t13:(T13 _Nullable)t13 __attribute__((swift_name("init(t1:t2:t3:t4:t5:t6:t7:t8:t9:t10:t11:t12:t13:)"))) __attribute__((objc_designated_initializer)); +- (T1 _Nullable)component1 __attribute__((swift_name("component1()"))); +- (T10 _Nullable)component10 __attribute__((swift_name("component10()"))); +- (T11 _Nullable)component11 __attribute__((swift_name("component11()"))); +- (T12 _Nullable)component12 __attribute__((swift_name("component12()"))); +- (T13 _Nullable)component13 __attribute__((swift_name("component13()"))); +- (T2 _Nullable)component2 __attribute__((swift_name("component2()"))); +- (T3 _Nullable)component3 __attribute__((swift_name("component3()"))); +- (T4 _Nullable)component4 __attribute__((swift_name("component4()"))); +- (T5 _Nullable)component5 __attribute__((swift_name("component5()"))); +- (T6 _Nullable)component6 __attribute__((swift_name("component6()"))); +- (T7 _Nullable)component7 __attribute__((swift_name("component7()"))); +- (T8 _Nullable)component8 __attribute__((swift_name("component8()"))); +- (T9 _Nullable)component9 __attribute__((swift_name("component9()"))); +- (PAPITuple13 *)doCopyT1:(T1 _Nullable)t1 t2:(T2 _Nullable)t2 t3:(T3 _Nullable)t3 t4:(T4 _Nullable)t4 t5:(T5 _Nullable)t5 t6:(T6 _Nullable)t6 t7:(T7 _Nullable)t7 t8:(T8 _Nullable)t8 t9:(T9 _Nullable)t9 t10:(T10 _Nullable)t10 t11:(T11 _Nullable)t11 t12:(T12 _Nullable)t12 t13:(T13 _Nullable)t13 __attribute__((swift_name("doCopy(t1:t2:t3:t4:t5:t6:t7:t8:t9:t10:t11:t12:t13:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) T1 _Nullable t1 __attribute__((swift_name("t1"))); +@property (readonly) T10 _Nullable t10 __attribute__((swift_name("t10"))); +@property (readonly) T11 _Nullable t11 __attribute__((swift_name("t11"))); +@property (readonly) T12 _Nullable t12 __attribute__((swift_name("t12"))); +@property (readonly) T13 _Nullable t13 __attribute__((swift_name("t13"))); +@property (readonly) T2 _Nullable t2 __attribute__((swift_name("t2"))); +@property (readonly) T3 _Nullable t3 __attribute__((swift_name("t3"))); +@property (readonly) T4 _Nullable t4 __attribute__((swift_name("t4"))); +@property (readonly) T5 _Nullable t5 __attribute__((swift_name("t5"))); +@property (readonly) T6 _Nullable t6 __attribute__((swift_name("t6"))); +@property (readonly) T7 _Nullable t7 __attribute__((swift_name("t7"))); +@property (readonly) T8 _Nullable t8 __attribute__((swift_name("t8"))); +@property (readonly) T9 _Nullable t9 __attribute__((swift_name("t9"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Tuple14"))) +@interface PAPITuple14 : PAPIBase +- (instancetype)initWithT1:(T1 _Nullable)t1 t2:(T2 _Nullable)t2 t3:(T3 _Nullable)t3 t4:(T4 _Nullable)t4 t5:(T5 _Nullable)t5 t6:(T6 _Nullable)t6 t7:(T7 _Nullable)t7 t8:(T8 _Nullable)t8 t9:(T9 _Nullable)t9 t10:(T10 _Nullable)t10 t11:(T11 _Nullable)t11 t12:(T12 _Nullable)t12 t13:(T13 _Nullable)t13 t14:(T14 _Nullable)t14 __attribute__((swift_name("init(t1:t2:t3:t4:t5:t6:t7:t8:t9:t10:t11:t12:t13:t14:)"))) __attribute__((objc_designated_initializer)); +- (T1 _Nullable)component1 __attribute__((swift_name("component1()"))); +- (T10 _Nullable)component10 __attribute__((swift_name("component10()"))); +- (T11 _Nullable)component11 __attribute__((swift_name("component11()"))); +- (T12 _Nullable)component12 __attribute__((swift_name("component12()"))); +- (T13 _Nullable)component13 __attribute__((swift_name("component13()"))); +- (T14 _Nullable)component14 __attribute__((swift_name("component14()"))); +- (T2 _Nullable)component2 __attribute__((swift_name("component2()"))); +- (T3 _Nullable)component3 __attribute__((swift_name("component3()"))); +- (T4 _Nullable)component4 __attribute__((swift_name("component4()"))); +- (T5 _Nullable)component5 __attribute__((swift_name("component5()"))); +- (T6 _Nullable)component6 __attribute__((swift_name("component6()"))); +- (T7 _Nullable)component7 __attribute__((swift_name("component7()"))); +- (T8 _Nullable)component8 __attribute__((swift_name("component8()"))); +- (T9 _Nullable)component9 __attribute__((swift_name("component9()"))); +- (PAPITuple14 *)doCopyT1:(T1 _Nullable)t1 t2:(T2 _Nullable)t2 t3:(T3 _Nullable)t3 t4:(T4 _Nullable)t4 t5:(T5 _Nullable)t5 t6:(T6 _Nullable)t6 t7:(T7 _Nullable)t7 t8:(T8 _Nullable)t8 t9:(T9 _Nullable)t9 t10:(T10 _Nullable)t10 t11:(T11 _Nullable)t11 t12:(T12 _Nullable)t12 t13:(T13 _Nullable)t13 t14:(T14 _Nullable)t14 __attribute__((swift_name("doCopy(t1:t2:t3:t4:t5:t6:t7:t8:t9:t10:t11:t12:t13:t14:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) T1 _Nullable t1 __attribute__((swift_name("t1"))); +@property (readonly) T10 _Nullable t10 __attribute__((swift_name("t10"))); +@property (readonly) T11 _Nullable t11 __attribute__((swift_name("t11"))); +@property (readonly) T12 _Nullable t12 __attribute__((swift_name("t12"))); +@property (readonly) T13 _Nullable t13 __attribute__((swift_name("t13"))); +@property (readonly) T14 _Nullable t14 __attribute__((swift_name("t14"))); +@property (readonly) T2 _Nullable t2 __attribute__((swift_name("t2"))); +@property (readonly) T3 _Nullable t3 __attribute__((swift_name("t3"))); +@property (readonly) T4 _Nullable t4 __attribute__((swift_name("t4"))); +@property (readonly) T5 _Nullable t5 __attribute__((swift_name("t5"))); +@property (readonly) T6 _Nullable t6 __attribute__((swift_name("t6"))); +@property (readonly) T7 _Nullable t7 __attribute__((swift_name("t7"))); +@property (readonly) T8 _Nullable t8 __attribute__((swift_name("t8"))); +@property (readonly) T9 _Nullable t9 __attribute__((swift_name("t9"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Tuple15"))) +@interface PAPITuple15 : PAPIBase +- (instancetype)initWithT1:(T1 _Nullable)t1 t2:(T2 _Nullable)t2 t3:(T3 _Nullable)t3 t4:(T4 _Nullable)t4 t5:(T5 _Nullable)t5 t6:(T6 _Nullable)t6 t7:(T7 _Nullable)t7 t8:(T8 _Nullable)t8 t9:(T9 _Nullable)t9 t10:(T10 _Nullable)t10 t11:(T11 _Nullable)t11 t12:(T12 _Nullable)t12 t13:(T13 _Nullable)t13 t14:(T14 _Nullable)t14 t15:(T15 _Nullable)t15 __attribute__((swift_name("init(t1:t2:t3:t4:t5:t6:t7:t8:t9:t10:t11:t12:t13:t14:t15:)"))) __attribute__((objc_designated_initializer)); +- (T1 _Nullable)component1 __attribute__((swift_name("component1()"))); +- (T10 _Nullable)component10 __attribute__((swift_name("component10()"))); +- (T11 _Nullable)component11 __attribute__((swift_name("component11()"))); +- (T12 _Nullable)component12 __attribute__((swift_name("component12()"))); +- (T13 _Nullable)component13 __attribute__((swift_name("component13()"))); +- (T14 _Nullable)component14 __attribute__((swift_name("component14()"))); +- (T15 _Nullable)component15 __attribute__((swift_name("component15()"))); +- (T2 _Nullable)component2 __attribute__((swift_name("component2()"))); +- (T3 _Nullable)component3 __attribute__((swift_name("component3()"))); +- (T4 _Nullable)component4 __attribute__((swift_name("component4()"))); +- (T5 _Nullable)component5 __attribute__((swift_name("component5()"))); +- (T6 _Nullable)component6 __attribute__((swift_name("component6()"))); +- (T7 _Nullable)component7 __attribute__((swift_name("component7()"))); +- (T8 _Nullable)component8 __attribute__((swift_name("component8()"))); +- (T9 _Nullable)component9 __attribute__((swift_name("component9()"))); +- (PAPITuple15 *)doCopyT1:(T1 _Nullable)t1 t2:(T2 _Nullable)t2 t3:(T3 _Nullable)t3 t4:(T4 _Nullable)t4 t5:(T5 _Nullable)t5 t6:(T6 _Nullable)t6 t7:(T7 _Nullable)t7 t8:(T8 _Nullable)t8 t9:(T9 _Nullable)t9 t10:(T10 _Nullable)t10 t11:(T11 _Nullable)t11 t12:(T12 _Nullable)t12 t13:(T13 _Nullable)t13 t14:(T14 _Nullable)t14 t15:(T15 _Nullable)t15 __attribute__((swift_name("doCopy(t1:t2:t3:t4:t5:t6:t7:t8:t9:t10:t11:t12:t13:t14:t15:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) T1 _Nullable t1 __attribute__((swift_name("t1"))); +@property (readonly) T10 _Nullable t10 __attribute__((swift_name("t10"))); +@property (readonly) T11 _Nullable t11 __attribute__((swift_name("t11"))); +@property (readonly) T12 _Nullable t12 __attribute__((swift_name("t12"))); +@property (readonly) T13 _Nullable t13 __attribute__((swift_name("t13"))); +@property (readonly) T14 _Nullable t14 __attribute__((swift_name("t14"))); +@property (readonly) T15 _Nullable t15 __attribute__((swift_name("t15"))); +@property (readonly) T2 _Nullable t2 __attribute__((swift_name("t2"))); +@property (readonly) T3 _Nullable t3 __attribute__((swift_name("t3"))); +@property (readonly) T4 _Nullable t4 __attribute__((swift_name("t4"))); +@property (readonly) T5 _Nullable t5 __attribute__((swift_name("t5"))); +@property (readonly) T6 _Nullable t6 __attribute__((swift_name("t6"))); +@property (readonly) T7 _Nullable t7 __attribute__((swift_name("t7"))); +@property (readonly) T8 _Nullable t8 __attribute__((swift_name("t8"))); +@property (readonly) T9 _Nullable t9 __attribute__((swift_name("t9"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Tuple16"))) +@interface PAPITuple16 : PAPIBase +- (instancetype)initWithT1:(T1 _Nullable)t1 t2:(T2 _Nullable)t2 t3:(T3 _Nullable)t3 t4:(T4 _Nullable)t4 t5:(T5 _Nullable)t5 t6:(T6 _Nullable)t6 t7:(T7 _Nullable)t7 t8:(T8 _Nullable)t8 t9:(T9 _Nullable)t9 t10:(T10 _Nullable)t10 t11:(T11 _Nullable)t11 t12:(T12 _Nullable)t12 t13:(T13 _Nullable)t13 t14:(T14 _Nullable)t14 t15:(T15 _Nullable)t15 t16:(T16 _Nullable)t16 __attribute__((swift_name("init(t1:t2:t3:t4:t5:t6:t7:t8:t9:t10:t11:t12:t13:t14:t15:t16:)"))) __attribute__((objc_designated_initializer)); +- (T1 _Nullable)component1 __attribute__((swift_name("component1()"))); +- (T10 _Nullable)component10 __attribute__((swift_name("component10()"))); +- (T11 _Nullable)component11 __attribute__((swift_name("component11()"))); +- (T12 _Nullable)component12 __attribute__((swift_name("component12()"))); +- (T13 _Nullable)component13 __attribute__((swift_name("component13()"))); +- (T14 _Nullable)component14 __attribute__((swift_name("component14()"))); +- (T15 _Nullable)component15 __attribute__((swift_name("component15()"))); +- (T16 _Nullable)component16 __attribute__((swift_name("component16()"))); +- (T2 _Nullable)component2 __attribute__((swift_name("component2()"))); +- (T3 _Nullable)component3 __attribute__((swift_name("component3()"))); +- (T4 _Nullable)component4 __attribute__((swift_name("component4()"))); +- (T5 _Nullable)component5 __attribute__((swift_name("component5()"))); +- (T6 _Nullable)component6 __attribute__((swift_name("component6()"))); +- (T7 _Nullable)component7 __attribute__((swift_name("component7()"))); +- (T8 _Nullable)component8 __attribute__((swift_name("component8()"))); +- (T9 _Nullable)component9 __attribute__((swift_name("component9()"))); +- (PAPITuple16 *)doCopyT1:(T1 _Nullable)t1 t2:(T2 _Nullable)t2 t3:(T3 _Nullable)t3 t4:(T4 _Nullable)t4 t5:(T5 _Nullable)t5 t6:(T6 _Nullable)t6 t7:(T7 _Nullable)t7 t8:(T8 _Nullable)t8 t9:(T9 _Nullable)t9 t10:(T10 _Nullable)t10 t11:(T11 _Nullable)t11 t12:(T12 _Nullable)t12 t13:(T13 _Nullable)t13 t14:(T14 _Nullable)t14 t15:(T15 _Nullable)t15 t16:(T16 _Nullable)t16 __attribute__((swift_name("doCopy(t1:t2:t3:t4:t5:t6:t7:t8:t9:t10:t11:t12:t13:t14:t15:t16:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) T1 _Nullable t1 __attribute__((swift_name("t1"))); +@property (readonly) T10 _Nullable t10 __attribute__((swift_name("t10"))); +@property (readonly) T11 _Nullable t11 __attribute__((swift_name("t11"))); +@property (readonly) T12 _Nullable t12 __attribute__((swift_name("t12"))); +@property (readonly) T13 _Nullable t13 __attribute__((swift_name("t13"))); +@property (readonly) T14 _Nullable t14 __attribute__((swift_name("t14"))); +@property (readonly) T15 _Nullable t15 __attribute__((swift_name("t15"))); +@property (readonly) T16 _Nullable t16 __attribute__((swift_name("t16"))); +@property (readonly) T2 _Nullable t2 __attribute__((swift_name("t2"))); +@property (readonly) T3 _Nullable t3 __attribute__((swift_name("t3"))); +@property (readonly) T4 _Nullable t4 __attribute__((swift_name("t4"))); +@property (readonly) T5 _Nullable t5 __attribute__((swift_name("t5"))); +@property (readonly) T6 _Nullable t6 __attribute__((swift_name("t6"))); +@property (readonly) T7 _Nullable t7 __attribute__((swift_name("t7"))); +@property (readonly) T8 _Nullable t8 __attribute__((swift_name("t8"))); +@property (readonly) T9 _Nullable t9 __attribute__((swift_name("t9"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Tuple2"))) +@interface PAPITuple2 : PAPIBase +- (instancetype)initWithT1:(T1 _Nullable)t1 t2:(T2 _Nullable)t2 __attribute__((swift_name("init(t1:t2:)"))) __attribute__((objc_designated_initializer)); +- (T1 _Nullable)component1 __attribute__((swift_name("component1()"))); +- (T2 _Nullable)component2 __attribute__((swift_name("component2()"))); +- (PAPITuple2 *)doCopyT1:(T1 _Nullable)t1 t2:(T2 _Nullable)t2 __attribute__((swift_name("doCopy(t1:t2:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) T1 _Nullable t1 __attribute__((swift_name("t1"))); +@property (readonly) T2 _Nullable t2 __attribute__((swift_name("t2"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Tuple3"))) +@interface PAPITuple3 : PAPIBase +- (instancetype)initWithT1:(T1 _Nullable)t1 t2:(T2 _Nullable)t2 t3:(T3 _Nullable)t3 __attribute__((swift_name("init(t1:t2:t3:)"))) __attribute__((objc_designated_initializer)); +- (T1 _Nullable)component1 __attribute__((swift_name("component1()"))); +- (T2 _Nullable)component2 __attribute__((swift_name("component2()"))); +- (T3 _Nullable)component3 __attribute__((swift_name("component3()"))); +- (PAPITuple3 *)doCopyT1:(T1 _Nullable)t1 t2:(T2 _Nullable)t2 t3:(T3 _Nullable)t3 __attribute__((swift_name("doCopy(t1:t2:t3:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) T1 _Nullable t1 __attribute__((swift_name("t1"))); +@property (readonly) T2 _Nullable t2 __attribute__((swift_name("t2"))); +@property (readonly) T3 _Nullable t3 __attribute__((swift_name("t3"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Tuple4"))) +@interface PAPITuple4 : PAPIBase +- (instancetype)initWithT1:(T1 _Nullable)t1 t2:(T2 _Nullable)t2 t3:(T3 _Nullable)t3 t4:(T4 _Nullable)t4 __attribute__((swift_name("init(t1:t2:t3:t4:)"))) __attribute__((objc_designated_initializer)); +- (T1 _Nullable)component1 __attribute__((swift_name("component1()"))); +- (T2 _Nullable)component2 __attribute__((swift_name("component2()"))); +- (T3 _Nullable)component3 __attribute__((swift_name("component3()"))); +- (T4 _Nullable)component4 __attribute__((swift_name("component4()"))); +- (PAPITuple4 *)doCopyT1:(T1 _Nullable)t1 t2:(T2 _Nullable)t2 t3:(T3 _Nullable)t3 t4:(T4 _Nullable)t4 __attribute__((swift_name("doCopy(t1:t2:t3:t4:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) T1 _Nullable t1 __attribute__((swift_name("t1"))); +@property (readonly) T2 _Nullable t2 __attribute__((swift_name("t2"))); +@property (readonly) T3 _Nullable t3 __attribute__((swift_name("t3"))); +@property (readonly) T4 _Nullable t4 __attribute__((swift_name("t4"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Tuple5"))) +@interface PAPITuple5 : PAPIBase +- (instancetype)initWithT1:(T1 _Nullable)t1 t2:(T2 _Nullable)t2 t3:(T3 _Nullable)t3 t4:(T4 _Nullable)t4 t5:(T5 _Nullable)t5 __attribute__((swift_name("init(t1:t2:t3:t4:t5:)"))) __attribute__((objc_designated_initializer)); +- (T1 _Nullable)component1 __attribute__((swift_name("component1()"))); +- (T2 _Nullable)component2 __attribute__((swift_name("component2()"))); +- (T3 _Nullable)component3 __attribute__((swift_name("component3()"))); +- (T4 _Nullable)component4 __attribute__((swift_name("component4()"))); +- (T5 _Nullable)component5 __attribute__((swift_name("component5()"))); +- (PAPITuple5 *)doCopyT1:(T1 _Nullable)t1 t2:(T2 _Nullable)t2 t3:(T3 _Nullable)t3 t4:(T4 _Nullable)t4 t5:(T5 _Nullable)t5 __attribute__((swift_name("doCopy(t1:t2:t3:t4:t5:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) T1 _Nullable t1 __attribute__((swift_name("t1"))); +@property (readonly) T2 _Nullable t2 __attribute__((swift_name("t2"))); +@property (readonly) T3 _Nullable t3 __attribute__((swift_name("t3"))); +@property (readonly) T4 _Nullable t4 __attribute__((swift_name("t4"))); +@property (readonly) T5 _Nullable t5 __attribute__((swift_name("t5"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Tuple6"))) +@interface PAPITuple6 : PAPIBase +- (instancetype)initWithT1:(T1 _Nullable)t1 t2:(T2 _Nullable)t2 t3:(T3 _Nullable)t3 t4:(T4 _Nullable)t4 t5:(T5 _Nullable)t5 t6:(T6 _Nullable)t6 __attribute__((swift_name("init(t1:t2:t3:t4:t5:t6:)"))) __attribute__((objc_designated_initializer)); +- (T1 _Nullable)component1 __attribute__((swift_name("component1()"))); +- (T2 _Nullable)component2 __attribute__((swift_name("component2()"))); +- (T3 _Nullable)component3 __attribute__((swift_name("component3()"))); +- (T4 _Nullable)component4 __attribute__((swift_name("component4()"))); +- (T5 _Nullable)component5 __attribute__((swift_name("component5()"))); +- (T6 _Nullable)component6 __attribute__((swift_name("component6()"))); +- (PAPITuple6 *)doCopyT1:(T1 _Nullable)t1 t2:(T2 _Nullable)t2 t3:(T3 _Nullable)t3 t4:(T4 _Nullable)t4 t5:(T5 _Nullable)t5 t6:(T6 _Nullable)t6 __attribute__((swift_name("doCopy(t1:t2:t3:t4:t5:t6:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) T1 _Nullable t1 __attribute__((swift_name("t1"))); +@property (readonly) T2 _Nullable t2 __attribute__((swift_name("t2"))); +@property (readonly) T3 _Nullable t3 __attribute__((swift_name("t3"))); +@property (readonly) T4 _Nullable t4 __attribute__((swift_name("t4"))); +@property (readonly) T5 _Nullable t5 __attribute__((swift_name("t5"))); +@property (readonly) T6 _Nullable t6 __attribute__((swift_name("t6"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Tuple7"))) +@interface PAPITuple7 : PAPIBase +- (instancetype)initWithT1:(T1 _Nullable)t1 t2:(T2 _Nullable)t2 t3:(T3 _Nullable)t3 t4:(T4 _Nullable)t4 t5:(T5 _Nullable)t5 t6:(T6 _Nullable)t6 t7:(T7 _Nullable)t7 __attribute__((swift_name("init(t1:t2:t3:t4:t5:t6:t7:)"))) __attribute__((objc_designated_initializer)); +- (T1 _Nullable)component1 __attribute__((swift_name("component1()"))); +- (T2 _Nullable)component2 __attribute__((swift_name("component2()"))); +- (T3 _Nullable)component3 __attribute__((swift_name("component3()"))); +- (T4 _Nullable)component4 __attribute__((swift_name("component4()"))); +- (T5 _Nullable)component5 __attribute__((swift_name("component5()"))); +- (T6 _Nullable)component6 __attribute__((swift_name("component6()"))); +- (T7 _Nullable)component7 __attribute__((swift_name("component7()"))); +- (PAPITuple7 *)doCopyT1:(T1 _Nullable)t1 t2:(T2 _Nullable)t2 t3:(T3 _Nullable)t3 t4:(T4 _Nullable)t4 t5:(T5 _Nullable)t5 t6:(T6 _Nullable)t6 t7:(T7 _Nullable)t7 __attribute__((swift_name("doCopy(t1:t2:t3:t4:t5:t6:t7:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) T1 _Nullable t1 __attribute__((swift_name("t1"))); +@property (readonly) T2 _Nullable t2 __attribute__((swift_name("t2"))); +@property (readonly) T3 _Nullable t3 __attribute__((swift_name("t3"))); +@property (readonly) T4 _Nullable t4 __attribute__((swift_name("t4"))); +@property (readonly) T5 _Nullable t5 __attribute__((swift_name("t5"))); +@property (readonly) T6 _Nullable t6 __attribute__((swift_name("t6"))); +@property (readonly) T7 _Nullable t7 __attribute__((swift_name("t7"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Tuple8"))) +@interface PAPITuple8 : PAPIBase +- (instancetype)initWithT1:(T1 _Nullable)t1 t2:(T2 _Nullable)t2 t3:(T3 _Nullable)t3 t4:(T4 _Nullable)t4 t5:(T5 _Nullable)t5 t6:(T6 _Nullable)t6 t7:(T7 _Nullable)t7 t8:(T8 _Nullable)t8 __attribute__((swift_name("init(t1:t2:t3:t4:t5:t6:t7:t8:)"))) __attribute__((objc_designated_initializer)); +- (T1 _Nullable)component1 __attribute__((swift_name("component1()"))); +- (T2 _Nullable)component2 __attribute__((swift_name("component2()"))); +- (T3 _Nullable)component3 __attribute__((swift_name("component3()"))); +- (T4 _Nullable)component4 __attribute__((swift_name("component4()"))); +- (T5 _Nullable)component5 __attribute__((swift_name("component5()"))); +- (T6 _Nullable)component6 __attribute__((swift_name("component6()"))); +- (T7 _Nullable)component7 __attribute__((swift_name("component7()"))); +- (T8 _Nullable)component8 __attribute__((swift_name("component8()"))); +- (PAPITuple8 *)doCopyT1:(T1 _Nullable)t1 t2:(T2 _Nullable)t2 t3:(T3 _Nullable)t3 t4:(T4 _Nullable)t4 t5:(T5 _Nullable)t5 t6:(T6 _Nullable)t6 t7:(T7 _Nullable)t7 t8:(T8 _Nullable)t8 __attribute__((swift_name("doCopy(t1:t2:t3:t4:t5:t6:t7:t8:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) T1 _Nullable t1 __attribute__((swift_name("t1"))); +@property (readonly) T2 _Nullable t2 __attribute__((swift_name("t2"))); +@property (readonly) T3 _Nullable t3 __attribute__((swift_name("t3"))); +@property (readonly) T4 _Nullable t4 __attribute__((swift_name("t4"))); +@property (readonly) T5 _Nullable t5 __attribute__((swift_name("t5"))); +@property (readonly) T6 _Nullable t6 __attribute__((swift_name("t6"))); +@property (readonly) T7 _Nullable t7 __attribute__((swift_name("t7"))); +@property (readonly) T8 _Nullable t8 __attribute__((swift_name("t8"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Tuple9"))) +@interface PAPITuple9 : PAPIBase +- (instancetype)initWithT1:(T1 _Nullable)t1 t2:(T2 _Nullable)t2 t3:(T3 _Nullable)t3 t4:(T4 _Nullable)t4 t5:(T5 _Nullable)t5 t6:(T6 _Nullable)t6 t7:(T7 _Nullable)t7 t8:(T8 _Nullable)t8 t9:(T9 _Nullable)t9 __attribute__((swift_name("init(t1:t2:t3:t4:t5:t6:t7:t8:t9:)"))) __attribute__((objc_designated_initializer)); +- (T1 _Nullable)component1 __attribute__((swift_name("component1()"))); +- (T2 _Nullable)component2 __attribute__((swift_name("component2()"))); +- (T3 _Nullable)component3 __attribute__((swift_name("component3()"))); +- (T4 _Nullable)component4 __attribute__((swift_name("component4()"))); +- (T5 _Nullable)component5 __attribute__((swift_name("component5()"))); +- (T6 _Nullable)component6 __attribute__((swift_name("component6()"))); +- (T7 _Nullable)component7 __attribute__((swift_name("component7()"))); +- (T8 _Nullable)component8 __attribute__((swift_name("component8()"))); +- (T9 _Nullable)component9 __attribute__((swift_name("component9()"))); +- (PAPITuple9 *)doCopyT1:(T1 _Nullable)t1 t2:(T2 _Nullable)t2 t3:(T3 _Nullable)t3 t4:(T4 _Nullable)t4 t5:(T5 _Nullable)t5 t6:(T6 _Nullable)t6 t7:(T7 _Nullable)t7 t8:(T8 _Nullable)t8 t9:(T9 _Nullable)t9 __attribute__((swift_name("doCopy(t1:t2:t3:t4:t5:t6:t7:t8:t9:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) T1 _Nullable t1 __attribute__((swift_name("t1"))); +@property (readonly) T2 _Nullable t2 __attribute__((swift_name("t2"))); +@property (readonly) T3 _Nullable t3 __attribute__((swift_name("t3"))); +@property (readonly) T4 _Nullable t4 __attribute__((swift_name("t4"))); +@property (readonly) T5 _Nullable t5 __attribute__((swift_name("t5"))); +@property (readonly) T6 _Nullable t6 __attribute__((swift_name("t6"))); +@property (readonly) T7 _Nullable t7 __attribute__((swift_name("t7"))); +@property (readonly) T8 _Nullable t8 __attribute__((swift_name("t8"))); +@property (readonly) T9 _Nullable t9 __attribute__((swift_name("t9"))); +@end; + +__attribute__((swift_name("Parser"))) +@protocol PAPIParser +@required +- (PAPIParseResult *)tryParseTokens:(PAPITokenMatchesSequence *)tokens fromPosition:(int32_t)fromPosition __attribute__((swift_name("tryParse(tokens:fromPosition:)"))); +@end; + +__attribute__((swift_name("Token"))) +@interface PAPIToken : PAPIBase +- (instancetype)initWithName:(NSString * _Nullable)name ignored:(BOOL)ignored __attribute__((swift_name("init(name:ignored:)"))) __attribute__((objc_designated_initializer)); +- (int32_t)matchInput:(id)input fromIndex:(int32_t)fromIndex __attribute__((swift_name("match(input:fromIndex:)"))); +- (PAPIParseResult *)tryParseTokens:(PAPITokenMatchesSequence *)tokens fromPosition:(int32_t)fromPosition __attribute__((swift_name("tryParse(tokens:fromPosition:)"))); +@property (readonly) BOOL ignored __attribute__((swift_name("ignored"))); +@property NSString * _Nullable name __attribute__((swift_name("name"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CharToken"))) +@interface PAPICharToken : PAPIToken +- (instancetype)initWithName:(NSString * _Nullable)name text:(unichar)text ignored:(BOOL)ignored __attribute__((swift_name("init(name:text:ignored:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithName:(NSString * _Nullable)name ignored:(BOOL)ignored __attribute__((swift_name("init(name:ignored:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (int32_t)matchInput:(id)input fromIndex:(int32_t)fromIndex __attribute__((swift_name("match(input:fromIndex:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) unichar text __attribute__((swift_name("text"))); +@end; + +__attribute__((swift_name("Tokenizer"))) +@protocol PAPITokenizer +@required +- (PAPITokenMatchesSequence *)tokenizeInput:(NSString *)input __attribute__((swift_name("tokenize(input:)"))); +@property (readonly) NSArray *tokens __attribute__((swift_name("tokens"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DefaultTokenizer"))) +@interface PAPIDefaultTokenizer : PAPIBase +- (instancetype)initWithTokens:(NSArray *)tokens __attribute__((swift_name("init(tokens:)"))) __attribute__((objc_designated_initializer)); +- (PAPITokenMatchesSequence *)tokenizeInput_:(id)input __attribute__((swift_name("tokenize(input_:)"))); +- (PAPITokenMatchesSequence *)tokenizeInput:(NSString *)input __attribute__((swift_name("tokenize(input:)"))); +@property (readonly) NSArray *tokens __attribute__((swift_name("tokens"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("LiteralToken"))) +@interface PAPILiteralToken : PAPIToken +- (instancetype)initWithName:(NSString * _Nullable)name text:(NSString *)text ignored:(BOOL)ignored __attribute__((swift_name("init(name:text:ignored:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithName:(NSString * _Nullable)name ignored:(BOOL)ignored __attribute__((swift_name("init(name:ignored:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (int32_t)matchInput:(id)input fromIndex:(int32_t)fromIndex __attribute__((swift_name("match(input:fromIndex:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *text __attribute__((swift_name("text"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RegexToken"))) +@interface PAPIRegexToken : PAPIToken +- (instancetype)initWithName:(NSString * _Nullable)name patternString:(NSString *)patternString ignored:(BOOL)ignored __attribute__((swift_name("init(name:patternString:ignored:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithName:(NSString * _Nullable)name regex:(PAPIKotlinRegex *)regex ignored:(BOOL)ignored __attribute__((swift_name("init(name:regex:ignored:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithName:(NSString * _Nullable)name ignored:(BOOL)ignored __attribute__((swift_name("init(name:ignored:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (int32_t)matchInput:(id)input fromIndex:(int32_t)fromIndex __attribute__((swift_name("match(input:fromIndex:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@end; + +__attribute__((swift_name("ParseResult"))) +@interface PAPIParseResult<__covariant T> : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +@end; + +__attribute__((swift_name("Parsed"))) +@interface PAPIParsed<__covariant T> : PAPIParseResult +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) int32_t nextPosition __attribute__((swift_name("nextPosition"))); +@property (readonly) T _Nullable value __attribute__((swift_name("value"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("TokenMatch"))) +@interface PAPITokenMatch : PAPIParsed +- (instancetype)initWithType:(PAPIToken *)type tokenIndex:(int32_t)tokenIndex input:(id)input offset:(int32_t)offset length:(int32_t)length row:(int32_t)row column:(int32_t)column __attribute__((swift_name("init(type:tokenIndex:input:offset:length:row:column:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (PAPIToken *)component1 __attribute__((swift_name("component1()"))); +- (int32_t)component2 __attribute__((swift_name("component2()"))); +- (id)component3 __attribute__((swift_name("component3()"))); +- (int32_t)component4 __attribute__((swift_name("component4()"))); +- (int32_t)component5 __attribute__((swift_name("component5()"))); +- (int32_t)component6 __attribute__((swift_name("component6()"))); +- (int32_t)component7 __attribute__((swift_name("component7()"))); +- (PAPITokenMatch *)doCopyType:(PAPIToken *)type tokenIndex:(int32_t)tokenIndex input:(id)input offset:(int32_t)offset length:(int32_t)length row:(int32_t)row column:(int32_t)column __attribute__((swift_name("doCopy(type:tokenIndex:input:offset:length:row:column:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) int32_t column __attribute__((swift_name("column"))); +@property (readonly) id input __attribute__((swift_name("input"))); +@property (readonly) int32_t length __attribute__((swift_name("length"))); +@property (readonly) int32_t nextPosition __attribute__((swift_name("nextPosition"))); +@property (readonly) int32_t offset __attribute__((swift_name("offset"))); +@property (readonly) int32_t row __attribute__((swift_name("row"))); +@property (readonly) NSString *text __attribute__((swift_name("text"))); +@property (readonly) int32_t tokenIndex __attribute__((swift_name("tokenIndex"))); +@property (readonly) PAPIToken *type __attribute__((swift_name("type"))); +@property (readonly) PAPITokenMatch *value __attribute__((swift_name("value"))); +@end; + +__attribute__((swift_name("KotlinSequence"))) +@protocol PAPIKotlinSequence +@required +- (id)iterator __attribute__((swift_name("iterator()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("TokenMatchesSequence"))) +@interface PAPITokenMatchesSequence : PAPIBase +- (instancetype)initWithTokenProducer:(id)tokenProducer matches:(NSMutableArray *)matches __attribute__((swift_name("init(tokenProducer:matches:)"))) __attribute__((objc_designated_initializer)); +- (PAPITokenMatch * _Nullable)getPosition:(int32_t)position __attribute__((swift_name("get(position:)"))); +- (PAPITokenMatch * _Nullable)getNotIgnoredPosition:(int32_t)position __attribute__((swift_name("getNotIgnored(position:)"))); +- (id)iterator __attribute__((swift_name("iterator()"))); +@end; + +__attribute__((swift_name("TokenProducer"))) +@protocol PAPITokenProducer +@required +- (PAPITokenMatch * _Nullable)nextToken __attribute__((swift_name("nextToken()"))); +@end; + +__attribute__((swift_name("ErrorResult"))) +@interface PAPIErrorResult : PAPIParseResult +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AlternativesFailure"))) +@interface PAPIAlternativesFailure : PAPIErrorResult +- (instancetype)initWithErrors:(NSArray *)errors __attribute__((swift_name("init(errors:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (PAPIAlternativesFailure *)doCopyErrors:(NSArray *)errors __attribute__((swift_name("doCopy(errors:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSArray *errors __attribute__((swift_name("errors"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("EmptyParser"))) +@interface PAPIEmptyParser : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)emptyParser __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIEmptyParser *shared __attribute__((swift_name("shared"))); +- (PAPIParseResult *)tryParseTokens:(PAPITokenMatchesSequence *)tokens fromPosition:(int32_t)fromPosition __attribute__((swift_name("tryParse(tokens:fromPosition:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MismatchedToken"))) +@interface PAPIMismatchedToken : PAPIErrorResult +- (instancetype)initWithExpected:(PAPIToken *)expected found:(PAPITokenMatch *)found __attribute__((swift_name("init(expected:found:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (PAPIToken *)component1 __attribute__((swift_name("component1()"))); +- (PAPITokenMatch *)component2 __attribute__((swift_name("component2()"))); +- (PAPIMismatchedToken *)doCopyExpected:(PAPIToken *)expected found:(PAPITokenMatch *)found __attribute__((swift_name("doCopy(expected:found:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIToken *expected __attribute__((swift_name("expected"))); +@property (readonly) PAPITokenMatch *found __attribute__((swift_name("found"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("NoMatchingToken"))) +@interface PAPINoMatchingToken : PAPIErrorResult +- (instancetype)initWithTokenMismatch:(PAPITokenMatch *)tokenMismatch __attribute__((swift_name("init(tokenMismatch:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (PAPITokenMatch *)component1 __attribute__((swift_name("component1()"))); +- (PAPINoMatchingToken *)doCopyTokenMismatch:(PAPITokenMatch *)tokenMismatch __attribute__((swift_name("doCopy(tokenMismatch:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPITokenMatch *tokenMismatch __attribute__((swift_name("tokenMismatch"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ParseException"))) +@interface PAPIParseException : PAPIKotlinException +- (instancetype)initWithErrorResult:(PAPIErrorResult *)errorResult __attribute__((swift_name("init(errorResult:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (instancetype)initWithCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@property (readonly) PAPIErrorResult *errorResult __attribute__((swift_name("errorResult"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UnexpectedEof"))) +@interface PAPIUnexpectedEof : PAPIErrorResult +- (instancetype)initWithExpected:(PAPIToken *)expected __attribute__((swift_name("init(expected:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (PAPIToken *)component1 __attribute__((swift_name("component1()"))); +- (PAPIUnexpectedEof *)doCopyExpected:(PAPIToken *)expected __attribute__((swift_name("doCopy(expected:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIToken *expected __attribute__((swift_name("expected"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UnparsedRemainder"))) +@interface PAPIUnparsedRemainder : PAPIErrorResult +- (instancetype)initWithStartsWith:(PAPITokenMatch *)startsWith __attribute__((swift_name("init(startsWith:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (PAPITokenMatch *)component1 __attribute__((swift_name("component1()"))); +- (PAPIUnparsedRemainder *)doCopyStartsWith:(PAPITokenMatch *)startsWith __attribute__((swift_name("doCopy(startsWith:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPITokenMatch *startsWith __attribute__((swift_name("startsWith"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AndCombinator"))) +@interface PAPIAndCombinator<__covariant R> : PAPIBase +- (PAPIParseResult *)tryParseTokens:(PAPITokenMatchesSequence *)tokens fromPosition:(int32_t)fromPosition __attribute__((swift_name("tryParse(tokens:fromPosition:)"))); +@property (readonly) NSArray *consumers __attribute__((swift_name("consumers"))) __attribute__((deprecated("Use parsers or skipParsers instead to get the type-safe results."))); +@property (readonly) NSArray *parsers __attribute__((swift_name("parsers"))); +@property (readonly) NSArray *skipParsers __attribute__((swift_name("skipParsers"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MapCombinator"))) +@interface PAPIMapCombinator : PAPIBase +- (instancetype)initWithInnerParser:(id)innerParser transform:(R _Nullable (^)(T _Nullable))transform __attribute__((swift_name("init(innerParser:transform:)"))) __attribute__((objc_designated_initializer)); +- (PAPIParseResult *)tryParseTokens:(PAPITokenMatchesSequence *)tokens fromPosition:(int32_t)fromPosition __attribute__((swift_name("tryParse(tokens:fromPosition:)"))); +@property (readonly) id innerParser __attribute__((swift_name("innerParser"))); +@property (readonly) R _Nullable (^transform)(T _Nullable) __attribute__((swift_name("transform"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OptionalCombinator"))) +@interface PAPIOptionalCombinator : PAPIBase +- (instancetype)initWithParser:(id)parser __attribute__((swift_name("init(parser:)"))) __attribute__((objc_designated_initializer)); +- (PAPIParseResult *)tryParseTokens:(PAPITokenMatchesSequence *)tokens fromPosition:(int32_t)fromPosition __attribute__((swift_name("tryParse(tokens:fromPosition:)"))); +@property (readonly) id parser __attribute__((swift_name("parser"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OrCombinator"))) +@interface PAPIOrCombinator : PAPIBase +- (instancetype)initWithParsers:(NSArray> *)parsers __attribute__((swift_name("init(parsers:)"))) __attribute__((objc_designated_initializer)); +- (PAPIParseResult *)tryParseTokens:(PAPITokenMatchesSequence *)tokens fromPosition:(int32_t)fromPosition __attribute__((swift_name("tryParse(tokens:fromPosition:)"))); +@property (readonly) NSArray> *parsers __attribute__((swift_name("parsers"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RepeatCombinator"))) +@interface PAPIRepeatCombinator : PAPIBase +- (PAPIParseResult *> *)tryParseTokens:(PAPITokenMatchesSequence *)tokens fromPosition:(int32_t)fromPosition __attribute__((swift_name("tryParse(tokens:fromPosition:)"))); +@property (readonly) int32_t atLeast __attribute__((swift_name("atLeast"))); +@property (readonly) int32_t atMost __attribute__((swift_name("atMost"))); +@property (readonly) id parser __attribute__((swift_name("parser"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Separated"))) +@interface PAPISeparated : PAPIBase +- (instancetype)initWithTerms:(NSArray *)terms separators:(NSArray *)separators __attribute__((swift_name("init(terms:separators:)"))) __attribute__((objc_designated_initializer)); +- (T _Nullable)reduceFunction:(T _Nullable (^)(T _Nullable, S _Nullable, T _Nullable))function __attribute__((swift_name("reduce(function:)"))); +- (T _Nullable)reduceRightFunction:(T _Nullable (^)(T _Nullable, S _Nullable, T _Nullable))function __attribute__((swift_name("reduceRight(function:)"))); +@property (readonly) NSArray *separators __attribute__((swift_name("separators"))); +@property (readonly) NSArray *terms __attribute__((swift_name("terms"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SeparatedCombinator"))) +@interface PAPISeparatedCombinator : PAPIBase +- (instancetype)initWithTermParser:(id)termParser separatorParser:(id)separatorParser acceptZero:(BOOL)acceptZero __attribute__((swift_name("init(termParser:separatorParser:acceptZero:)"))) __attribute__((objc_designated_initializer)); +- (PAPIParseResult *> *)tryParseTokens:(PAPITokenMatchesSequence *)tokens fromPosition:(int32_t)fromPosition __attribute__((swift_name("tryParse(tokens:fromPosition:)"))); +@property (readonly) BOOL acceptZero __attribute__((swift_name("acceptZero"))); +@property (readonly) id separatorParser __attribute__((swift_name("separatorParser"))); +@property (readonly) id termParser __attribute__((swift_name("termParser"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SkipParser"))) +@interface PAPISkipParser : PAPIBase +- (instancetype)initWithInnerParser:(id)innerParser __attribute__((swift_name("init(innerParser:)"))) __attribute__((objc_designated_initializer)); +@property (readonly) id innerParser __attribute__((swift_name("innerParser"))); +@end; + +__attribute__((swift_name("Grammar"))) +@interface PAPIGrammar<__covariant T> : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (PAPIParseResult *)tryParseTokens:(PAPITokenMatchesSequence *)tokens fromPosition:(int32_t)fromPosition __attribute__((swift_name("tryParse(tokens:fromPosition:)"))); +- (PAPIToken *)getValue:(PAPIToken *)receiver thisRef:(PAPIGrammar *)thisRef property:(id)property __attribute__((swift_name("getValue(_:thisRef:property:)"))); +- (id)getValue:(id)receiver thisRef:(PAPIGrammar *)thisRef property_:(id)property __attribute__((swift_name("getValue(_:thisRef:property_:)"))); +- (PAPIToken *)provideDelegate:(PAPIToken *)receiver thisRef:(PAPIGrammar *)thisRef property:(id)property __attribute__((swift_name("provideDelegate(_:thisRef:property:)"))); +- (id)provideDelegate:(id)receiver thisRef:(PAPIGrammar *)thisRef property_:(id)property __attribute__((swift_name("provideDelegate(_:thisRef:property_:)"))); +@property (readonly) NSSet> *declaredParsers __attribute__((swift_name("declaredParsers"))); +@property (readonly) id rootParser __attribute__((swift_name("rootParser"))); +@property (readonly) id tokenizer __attribute__((swift_name("tokenizer"))); +@property (readonly) NSArray *tokens __attribute__((swift_name("tokens"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ParserReference"))) +@interface PAPIParserReference<__covariant T> : PAPIBase +- (PAPIParseResult *)tryParseTokens:(PAPITokenMatchesSequence *)tokens fromPosition:(int32_t)fromPosition __attribute__((swift_name("tryParse(tokens:fromPosition:)"))); +@property (readonly) id parser __attribute__((swift_name("parser"))); +@end; + +__attribute__((swift_name("ChildJob"))) +@protocol PAPIChildJob +@required +- (void)parentCancelledParentJob:(id)parentJob __attribute__((swift_name("parentCancelled(parentJob:)"))); +@end; + +__attribute__((swift_name("ParentJob"))) +@protocol PAPIParentJob +@required +- (PAPIKotlinCancellationException *)getChildJobCancellationCause __attribute__((swift_name("getChildJobCancellationCause()"))); +@end; + +__attribute__((swift_name("SelectClause0"))) +@protocol PAPISelectClause0 +@required +- (void)registerSelectClause0Select:(id)select block:(id)block __attribute__((swift_name("registerSelectClause0(select:block:)"))); +@end; + +__attribute__((swift_name("JobSupport"))) +@interface PAPIJobSupport : PAPIBase +- (instancetype)initWithActive:(BOOL)active __attribute__((swift_name("init(active:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable("This is internal API and may be removed in the future releases"))); +- (void)afterCompletionState:(id _Nullable)state __attribute__((swift_name("afterCompletion(state:)"))); +- (id)attachChildChild:(id)child __attribute__((swift_name("attachChild(child:)"))); +- (void)cancelCause_:(PAPIKotlinCancellationException * _Nullable)cause __attribute__((swift_name("cancel(cause_:)"))); +- (BOOL)cancelCoroutineCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("cancelCoroutine(cause:)"))); +- (void)cancelInternalCause:(PAPIKotlinThrowable *)cause __attribute__((swift_name("cancelInternal(cause:)"))); +- (NSString *)cancellationExceptionMessage __attribute__((swift_name("cancellationExceptionMessage()"))); +- (BOOL)childCancelledCause:(PAPIKotlinThrowable *)cause __attribute__((swift_name("childCancelled(cause:)"))); +- (PAPIKotlinCancellationException *)getCancellationException __attribute__((swift_name("getCancellationException()"))); +- (PAPIKotlinCancellationException *)getChildJobCancellationCause __attribute__((swift_name("getChildJobCancellationCause()"))); +- (PAPIKotlinThrowable * _Nullable)getCompletionExceptionOrNull __attribute__((swift_name("getCompletionExceptionOrNull()"))); +- (BOOL)handleJobExceptionException:(PAPIKotlinThrowable *)exception __attribute__((swift_name("handleJobException(exception:)"))); +- (id)invokeOnCompletionOnCancelling:(BOOL)onCancelling invokeImmediately:(BOOL)invokeImmediately handler:(void (^)(PAPIKotlinThrowable * _Nullable))handler __attribute__((swift_name("invokeOnCompletion(onCancelling:invokeImmediately:handler:)"))); +- (id)invokeOnCompletionHandler:(void (^)(PAPIKotlinThrowable * _Nullable))handler __attribute__((swift_name("invokeOnCompletion(handler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)joinWithCompletionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("join(completionHandler:)"))); +- (void)onCancellingCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("onCancelling(cause:)"))); +- (void)onCompletionInternalState:(id _Nullable)state __attribute__((swift_name("onCompletionInternal(state:)"))); +- (void)onStart __attribute__((swift_name("onStart()"))); +- (void)parentCancelledParentJob:(id)parentJob __attribute__((swift_name("parentCancelled(parentJob:)"))); +- (void)registerSelectClause0Select:(id)select block:(id)block __attribute__((swift_name("registerSelectClause0(select:block:)"))); +- (BOOL)start __attribute__((swift_name("start()"))); +- (NSString *)toDebugString __attribute__((swift_name("toDebugString()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +- (PAPIKotlinCancellationException *)toCancellationException:(PAPIKotlinThrowable *)receiver message:(NSString * _Nullable)message __attribute__((swift_name("toCancellationException(_:message:)"))); +@property (readonly) id children __attribute__((swift_name("children"))); +@property (readonly) PAPIKotlinThrowable * _Nullable completionCause __attribute__((swift_name("completionCause"))); +@property (readonly) BOOL completionCauseHandled __attribute__((swift_name("completionCauseHandled"))); +@property (readonly) BOOL isActive __attribute__((swift_name("isActive"))); +@property (readonly) BOOL isCancelled __attribute__((swift_name("isCancelled"))); +@property (readonly) BOOL isCompleted __attribute__((swift_name("isCompleted"))); +@property (readonly) BOOL isCompletedExceptionally __attribute__((swift_name("isCompletedExceptionally"))); +@property (readonly) BOOL isScopedCoroutine __attribute__((swift_name("isScopedCoroutine"))); +@property (readonly) id key __attribute__((swift_name("key"))); +@property (readonly) id onJoin __attribute__((swift_name("onJoin"))); +@end; + +__attribute__((swift_name("KotlinContinuation"))) +@protocol PAPIKotlinContinuation +@required +- (void)resumeWithResult:(id _Nullable)result __attribute__((swift_name("resumeWith(result:)"))); +@property (readonly) id context __attribute__((swift_name("context"))); +@end; + +__attribute__((swift_name("AbstractCoroutine"))) +@interface PAPIAbstractCoroutine<__contravariant T> : PAPIJobSupport +- (instancetype)initWithParentContext:(id)parentContext initParentJob:(BOOL)initParentJob active:(BOOL)active __attribute__((swift_name("init(parentContext:initParentJob:active:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithActive:(BOOL)active __attribute__((swift_name("init(active:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (void)afterResumeState:(id _Nullable)state __attribute__((swift_name("afterResume(state:)"))); +- (NSString *)cancellationExceptionMessage __attribute__((swift_name("cancellationExceptionMessage()"))); +- (void)onCancelledCause:(PAPIKotlinThrowable *)cause handled:(BOOL)handled __attribute__((swift_name("onCancelled(cause:handled:)"))); +- (void)onCompletedValue:(T _Nullable)value __attribute__((swift_name("onCompleted(value:)"))); +- (void)onCompletionInternalState:(id _Nullable)state __attribute__((swift_name("onCompletionInternal(state:)"))); +- (void)resumeWithResult:(id _Nullable)result __attribute__((swift_name("resumeWith(result:)"))); +- (void)startStart:(PAPICoroutineStart *)start receiver:(id _Nullable)receiver block:(id)block __attribute__((swift_name("start(start:receiver:block:)"))); +@property (readonly) id context __attribute__((swift_name("context"))); +@property (readonly) id coroutineContext __attribute__((swift_name("coroutineContext"))); +@property (readonly) BOOL isActive __attribute__((swift_name("isActive"))); +@end; + +__attribute__((swift_name("CancellableContinuation"))) +@protocol PAPICancellableContinuation +@required +- (BOOL)cancelCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("cancel(cause:)"))); +- (void)completeResumeToken:(id)token __attribute__((swift_name("completeResume(token:)"))); +- (void)doInitCancellability __attribute__((swift_name("doInitCancellability()"))); +- (void)invokeOnCancellationHandler:(void (^)(PAPIKotlinThrowable * _Nullable))handler __attribute__((swift_name("invokeOnCancellation(handler:)"))); +- (void)resumeValue:(id _Nullable)value onCancellation:(void (^ _Nullable)(PAPIKotlinThrowable *))onCancellation __attribute__((swift_name("resume(value:onCancellation:)"))); +- (id _Nullable)tryResumeValue:(id _Nullable)value idempotent:(id _Nullable)idempotent __attribute__((swift_name("tryResume(value:idempotent:)"))); +- (id _Nullable)tryResumeValue:(id _Nullable)value idempotent:(id _Nullable)idempotent onCancellation:(void (^ _Nullable)(PAPIKotlinThrowable *))onCancellation __attribute__((swift_name("tryResume(value:idempotent:onCancellation:)"))); +- (id _Nullable)tryResumeWithExceptionException:(PAPIKotlinThrowable *)exception __attribute__((swift_name("tryResumeWithException(exception:)"))); +- (void)resumeUndispatched:(PAPICoroutineDispatcher *)receiver value:(id _Nullable)value __attribute__((swift_name("resumeUndispatched(_:value:)"))); +- (void)resumeUndispatchedWithException:(PAPICoroutineDispatcher *)receiver exception:(PAPIKotlinThrowable *)exception __attribute__((swift_name("resumeUndispatchedWithException(_:exception:)"))); +@property (readonly) BOOL isActive __attribute__((swift_name("isActive"))); +@property (readonly) BOOL isCancelled __attribute__((swift_name("isCancelled"))); +@property (readonly) BOOL isCompleted __attribute__((swift_name("isCompleted"))); +@end; + +__attribute__((swift_name("DisposableHandle"))) +@protocol PAPIDisposableHandle +@required +- (void)dispose __attribute__((swift_name("dispose()"))); +@end; + +__attribute__((swift_name("ChildHandle"))) +@protocol PAPIChildHandle +@required +- (BOOL)childCancelledCause:(PAPIKotlinThrowable *)cause __attribute__((swift_name("childCancelled(cause:)"))); +@property (readonly) id _Nullable parent __attribute__((swift_name("parent"))); +@end; + +__attribute__((swift_name("Deferred"))) +@protocol PAPIDeferred +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)awaitWithCompletionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("await(completionHandler:)"))); +- (id _Nullable)getCompleted __attribute__((swift_name("getCompleted()"))); +- (PAPIKotlinThrowable * _Nullable)getCompletionExceptionOrNull __attribute__((swift_name("getCompletionExceptionOrNull()"))); +@property (readonly) id onAwait __attribute__((swift_name("onAwait"))); +@end; + +__attribute__((swift_name("CompletableDeferred"))) +@protocol PAPICompletableDeferred +@required +- (BOOL)completeValue:(id _Nullable)value __attribute__((swift_name("complete(value:)"))); +- (BOOL)completeExceptionallyException:(PAPIKotlinThrowable *)exception __attribute__((swift_name("completeExceptionally(exception:)"))); +@end; + +__attribute__((swift_name("CompletableJob"))) +@protocol PAPICompletableJob +@required +- (BOOL)complete __attribute__((swift_name("complete()"))); +- (BOOL)completeExceptionallyException:(PAPIKotlinThrowable *)exception __attribute__((swift_name("completeExceptionally(exception:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CompletionHandlerException"))) +@interface PAPICompletionHandlerException : PAPIKotlinRuntimeException +- (instancetype)initWithMessage:(NSString *)message cause:(PAPIKotlinThrowable *)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (instancetype)initWithCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((swift_name("CopyableThrowable"))) +@protocol PAPICopyableThrowable +@required +- (PAPIKotlinThrowable * _Nullable)createCopy __attribute__((swift_name("createCopy()"))); +@end; + +__attribute__((swift_name("KotlinAbstractCoroutineContextElement"))) +@interface PAPIKotlinAbstractCoroutineContextElement : PAPIBase +- (instancetype)initWithKey:(id)key __attribute__((swift_name("init(key:)"))) __attribute__((objc_designated_initializer)); +@property (readonly) id key __attribute__((swift_name("key"))); +@end; + +__attribute__((swift_name("KotlinContinuationInterceptor"))) +@protocol PAPIKotlinContinuationInterceptor +@required +- (id)interceptContinuationContinuation:(id)continuation __attribute__((swift_name("interceptContinuation(continuation:)"))); +- (void)releaseInterceptedContinuationContinuation:(id)continuation __attribute__((swift_name("releaseInterceptedContinuation(continuation:)"))); +@end; + +__attribute__((swift_name("CoroutineDispatcher"))) +@interface PAPICoroutineDispatcher : PAPIKotlinAbstractCoroutineContextElement +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (instancetype)initWithKey:(id)key __attribute__((swift_name("init(key:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@property (class, readonly, getter=companion) PAPICoroutineDispatcherKey *companion __attribute__((swift_name("companion"))); +- (void)dispatchContext:(id)context block:(id)block __attribute__((swift_name("dispatch(context:block:)"))); +- (void)dispatchYieldContext:(id)context block:(id)block __attribute__((swift_name("dispatchYield(context:block:)"))); +- (id)interceptContinuationContinuation:(id)continuation __attribute__((swift_name("interceptContinuation(continuation:)"))); +- (BOOL)isDispatchNeededContext:(id)context __attribute__((swift_name("isDispatchNeeded(context:)"))); +- (PAPICoroutineDispatcher *)plusOther__:(PAPICoroutineDispatcher *)other __attribute__((swift_name("plus(other__:)"))) __attribute__((unavailable("Operator '+' on two CoroutineDispatcher objects is meaningless. CoroutineDispatcher is a coroutine context element and `+` is a set-sum operator for coroutine contexts. The dispatcher to the right of `+` just replaces the dispatcher to the left."))); +- (void)releaseInterceptedContinuationContinuation:(id)continuation __attribute__((swift_name("releaseInterceptedContinuation(continuation:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@end; + +__attribute__((swift_name("KotlinCoroutineContextKey"))) +@protocol PAPIKotlinCoroutineContextKey +@required +@end; + +__attribute__((swift_name("KotlinAbstractCoroutineContextKey"))) +@interface PAPIKotlinAbstractCoroutineContextKey : PAPIBase +- (instancetype)initWithBaseKey:(id)baseKey safeCast:(E _Nullable (^)(id))safeCast __attribute__((swift_name("init(baseKey:safeCast:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CoroutineDispatcher.Key"))) +@interface PAPICoroutineDispatcherKey : PAPIKotlinAbstractCoroutineContextKey, PAPICoroutineDispatcher *> ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithBaseKey:(id)baseKey safeCast:(id _Nullable (^)(id))safeCast __attribute__((swift_name("init(baseKey:safeCast:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)key __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICoroutineDispatcherKey *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((swift_name("CoroutineExceptionHandler"))) +@protocol PAPICoroutineExceptionHandler +@required +- (void)handleExceptionContext:(id)context exception:(PAPIKotlinThrowable *)exception __attribute__((swift_name("handleException(context:exception:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CoroutineExceptionHandlerKey"))) +@interface PAPICoroutineExceptionHandlerKey : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)key __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICoroutineExceptionHandlerKey *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CoroutineName"))) +@interface PAPICoroutineName : PAPIKotlinAbstractCoroutineContextElement +- (instancetype)initWithName:(NSString *)name __attribute__((swift_name("init(name:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithKey:(id)key __attribute__((swift_name("init(key:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@property (class, readonly, getter=companion) PAPICoroutineNameKey *companion __attribute__((swift_name("companion"))); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPICoroutineName *)doCopyName:(NSString *)name __attribute__((swift_name("doCopy(name:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CoroutineName.Key"))) +@interface PAPICoroutineNameKey : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)key __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICoroutineNameKey *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CoroutineStart"))) +@interface PAPICoroutineStart : PAPIKotlinEnum ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@property (class, readonly) PAPICoroutineStart *default_ __attribute__((swift_name("default_"))); +@property (class, readonly) PAPICoroutineStart *lazy __attribute__((swift_name("lazy"))); +@property (class, readonly) PAPICoroutineStart *atomic __attribute__((swift_name("atomic"))); +@property (class, readonly) PAPICoroutineStart *undispatched __attribute__((swift_name("undispatched"))); ++ (PAPIKotlinArray *)values __attribute__((swift_name("values()"))); +@property (readonly) BOOL isLazy __attribute__((swift_name("isLazy"))); +@end; + +__attribute__((swift_name("Delay"))) +@protocol PAPIDelay +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)delayTime:(int64_t)time completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("delay(time:completionHandler:)"))); +- (id)invokeOnTimeoutTimeMillis:(int64_t)timeMillis block:(id)block context:(id)context __attribute__((swift_name("invokeOnTimeout(timeMillis:block:context:)"))); +- (void)scheduleResumeAfterDelayTimeMillis:(int64_t)timeMillis continuation:(id)continuation __attribute__((swift_name("scheduleResumeAfterDelay(timeMillis:continuation:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Dispatchers"))) +@interface PAPIDispatchers : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)dispatchers __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDispatchers *shared __attribute__((swift_name("shared"))); +@property (readonly) PAPICoroutineDispatcher *Default __attribute__((swift_name("Default"))); +@property (readonly) PAPIMainCoroutineDispatcher *Main __attribute__((swift_name("Main"))); +@property (readonly) PAPICoroutineDispatcher *Unconfined __attribute__((swift_name("Unconfined"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GlobalScope"))) +@interface PAPIGlobalScope : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)globalScope __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIGlobalScope *shared __attribute__((swift_name("shared"))); +@property (readonly) id coroutineContext __attribute__((swift_name("coroutineContext"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("JobKey"))) +@interface PAPIJobKey : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)key __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIJobKey *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((swift_name("MainCoroutineDispatcher"))) +@interface PAPIMainCoroutineDispatcher : PAPICoroutineDispatcher +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (NSString *)description __attribute__((swift_name("description()"))); +- (NSString * _Nullable)toStringInternalImpl __attribute__((swift_name("toStringInternalImpl()"))); +@property (readonly) PAPIMainCoroutineDispatcher *immediate __attribute__((swift_name("immediate"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("NonCancellable"))) +@interface PAPINonCancellable : PAPIKotlinAbstractCoroutineContextElement ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithKey:(id)key __attribute__((swift_name("init(key:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)nonCancellable __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPINonCancellable *shared __attribute__((swift_name("shared"))); +- (id)attachChildChild:(id)child __attribute__((swift_name("attachChild(child:)"))) __attribute__((deprecated("NonCancellable can be used only as an argument for 'withContext', direct usages of its API are prohibited"))); +- (void)cancelCause_:(PAPIKotlinCancellationException * _Nullable)cause __attribute__((swift_name("cancel(cause_:)"))) __attribute__((deprecated("NonCancellable can be used only as an argument for 'withContext', direct usages of its API are prohibited"))); +- (PAPIKotlinCancellationException *)getCancellationException __attribute__((swift_name("getCancellationException()"))) __attribute__((deprecated("NonCancellable can be used only as an argument for 'withContext', direct usages of its API are prohibited"))); +- (id)invokeOnCompletionOnCancelling:(BOOL)onCancelling invokeImmediately:(BOOL)invokeImmediately handler:(void (^)(PAPIKotlinThrowable * _Nullable))handler __attribute__((swift_name("invokeOnCompletion(onCancelling:invokeImmediately:handler:)"))) __attribute__((deprecated("NonCancellable can be used only as an argument for 'withContext', direct usages of its API are prohibited"))); +- (id)invokeOnCompletionHandler:(void (^)(PAPIKotlinThrowable * _Nullable))handler __attribute__((swift_name("invokeOnCompletion(handler:)"))) __attribute__((deprecated("NonCancellable can be used only as an argument for 'withContext', direct usages of its API are prohibited"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)joinWithCompletionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("join(completionHandler:)"))) __attribute__((deprecated("NonCancellable can be used only as an argument for 'withContext', direct usages of its API are prohibited"))); +- (BOOL)start __attribute__((swift_name("start()"))) __attribute__((deprecated("NonCancellable can be used only as an argument for 'withContext', direct usages of its API are prohibited"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) id children __attribute__((swift_name("children"))) __attribute__((deprecated("NonCancellable can be used only as an argument for 'withContext', direct usages of its API are prohibited"))); +@property (readonly) BOOL isActive __attribute__((swift_name("isActive"))) __attribute__((deprecated("NonCancellable can be used only as an argument for 'withContext', direct usages of its API are prohibited"))); +@property (readonly) BOOL isCancelled __attribute__((swift_name("isCancelled"))) __attribute__((deprecated("NonCancellable can be used only as an argument for 'withContext', direct usages of its API are prohibited"))); +@property (readonly) BOOL isCompleted __attribute__((swift_name("isCompleted"))) __attribute__((deprecated("NonCancellable can be used only as an argument for 'withContext', direct usages of its API are prohibited"))); +@property (readonly) id onJoin __attribute__((swift_name("onJoin"))) __attribute__((deprecated("NonCancellable can be used only as an argument for 'withContext', direct usages of its API are prohibited"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("NonDisposableHandle"))) +@interface PAPINonDisposableHandle : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)nonDisposableHandle __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPINonDisposableHandle *shared __attribute__((swift_name("shared"))); +- (BOOL)childCancelledCause:(PAPIKotlinThrowable *)cause __attribute__((swift_name("childCancelled(cause:)"))); +- (void)dispose __attribute__((swift_name("dispose()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) id _Nullable parent __attribute__((swift_name("parent"))); +@end; + +__attribute__((swift_name("Runnable"))) +@protocol PAPIRunnable +@required +- (void)run __attribute__((swift_name("run()"))); +@end; + +__attribute__((swift_name("SingleThreadDispatcher"))) +@interface PAPISingleThreadDispatcher : PAPICoroutineDispatcher +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (void)close __attribute__((swift_name("close()"))); +@property (readonly) int32_t worker __attribute__((swift_name("worker"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("TimeoutCancellationException"))) +@interface PAPITimeoutCancellationException : PAPIKotlinCancellationException +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (instancetype)initWithCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (PAPITimeoutCancellationException * _Nullable)createCopy __attribute__((swift_name("createCopy()"))); +@end; + +__attribute__((swift_name("SendChannel"))) +@protocol PAPISendChannel +@required +- (BOOL)closeCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("close(cause:)"))); +- (void)invokeOnCloseHandler:(void (^)(PAPIKotlinThrowable * _Nullable))handler __attribute__((swift_name("invokeOnClose(handler:)"))); +- (BOOL)offerElement:(id _Nullable)element __attribute__((swift_name("offer(element:)"))) __attribute__((deprecated("Deprecated in the favour of 'trySend' method"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)sendElement:(id _Nullable)element completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("send(element:completionHandler:)"))); +- (id _Nullable)trySendElement:(id _Nullable)element __attribute__((swift_name("trySend(element:)"))); +@property (readonly) BOOL isClosedForSend __attribute__((swift_name("isClosedForSend"))); +@property (readonly) id onSend __attribute__((swift_name("onSend"))); +@end; + +__attribute__((swift_name("BroadcastChannel"))) +@protocol PAPIBroadcastChannel +@required +- (void)cancelCause_:(PAPIKotlinCancellationException * _Nullable)cause __attribute__((swift_name("cancel(cause_:)"))); +- (id)openSubscription __attribute__((swift_name("openSubscription()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BufferOverflow"))) +@interface PAPIBufferOverflow : PAPIKotlinEnum ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@property (class, readonly) PAPIBufferOverflow *suspend __attribute__((swift_name("suspend"))); +@property (class, readonly) PAPIBufferOverflow *dropOldest __attribute__((swift_name("dropOldest"))); +@property (class, readonly) PAPIBufferOverflow *dropLatest __attribute__((swift_name("dropLatest"))); ++ (PAPIKotlinArray *)values __attribute__((swift_name("values()"))); +@end; + +__attribute__((swift_name("ReceiveChannel"))) +@protocol PAPIReceiveChannel +@required +- (void)cancelCause_:(PAPIKotlinCancellationException * _Nullable)cause __attribute__((swift_name("cancel(cause_:)"))); +- (id)iterator __attribute__((swift_name("iterator()"))); +- (id _Nullable)poll __attribute__((swift_name("poll()"))) __attribute__((deprecated("Deprecated in the favour of 'tryReceive'. Please note that the provided replacement does not rethrow channel's close cause as 'poll' did, for the precise replacement please refer to the 'poll' documentation"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)receiveWithCompletionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("receive(completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)receiveCatchingWithCompletionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("receiveCatching(completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)receiveOrNullWithCompletionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("receiveOrNull(completionHandler:)"))) __attribute__((unavailable("Deprecated in favor of 'receiveCatching'. Please note that the provided replacement does not rethrow channel's close cause as 'receiveOrNull' did, for the detailed replacement please refer to the 'receiveOrNull' documentation"))); +- (id _Nullable)tryReceive __attribute__((swift_name("tryReceive()"))); +@property (readonly) BOOL isClosedForReceive __attribute__((swift_name("isClosedForReceive"))); +@property (readonly) BOOL isEmpty __attribute__((swift_name("isEmpty"))); +@property (readonly) id onReceive __attribute__((swift_name("onReceive"))); +@property (readonly) id onReceiveCatching __attribute__((swift_name("onReceiveCatching"))); +@property (readonly) id onReceiveOrNull __attribute__((swift_name("onReceiveOrNull"))) __attribute__((unavailable("Deprecated in favor of onReceiveCatching extension"))); +@end; + +__attribute__((swift_name("Channel"))) +@protocol PAPIChannel +@required +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ChannelFactory"))) +@interface PAPIChannelFactory : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)factory __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIChannelFactory *shared __attribute__((swift_name("shared"))); +@property (readonly) int32_t BUFFERED __attribute__((swift_name("BUFFERED"))); +@property (readonly) int32_t CONFLATED __attribute__((swift_name("CONFLATED"))); +@property (readonly) NSString *DEFAULT_BUFFER_PROPERTY_NAME __attribute__((swift_name("DEFAULT_BUFFER_PROPERTY_NAME"))); +@property (readonly) int32_t RENDEZVOUS __attribute__((swift_name("RENDEZVOUS"))); +@property (readonly) int32_t UNLIMITED __attribute__((swift_name("UNLIMITED"))); +@end; + +__attribute__((swift_name("ChannelIterator"))) +@protocol PAPIChannelIterator +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)hasNextWithCompletionHandler:(void (^)(PAPIBoolean * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("hasNext(completionHandler:)"))); +- (id _Nullable)next_ __attribute__((swift_name("next()"))); +@end; + +__attribute__((swift_name("KotlinNoSuchElementException"))) +@interface PAPIKotlinNoSuchElementException : PAPIKotlinRuntimeException +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (instancetype)initWithCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ClosedReceiveChannelException"))) +@interface PAPIClosedReceiveChannelException : PAPIKotlinNoSuchElementException +- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ClosedSendChannelException"))) +@interface PAPIClosedSendChannelException : PAPIKotlinIllegalStateException +- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (instancetype)initWithCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ConflatedBroadcastChannel"))) +@interface PAPIConflatedBroadcastChannel : PAPIBase +- (instancetype)initWithValue:(E _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (void)cancelCause_:(PAPIKotlinCancellationException * _Nullable)cause __attribute__((swift_name("cancel(cause_:)"))); +- (BOOL)closeCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("close(cause:)"))); +- (void)invokeOnCloseHandler:(void (^)(PAPIKotlinThrowable * _Nullable))handler __attribute__((swift_name("invokeOnClose(handler:)"))); +- (id)openSubscription __attribute__((swift_name("openSubscription()"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)sendElement:(E _Nullable)element completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("send(element:completionHandler:)"))); +- (id _Nullable)trySendElement:(E _Nullable)element __attribute__((swift_name("trySend(element:)"))); +@property (readonly) BOOL isClosedForSend __attribute__((swift_name("isClosedForSend"))); +@property (readonly) id onSend __attribute__((swift_name("onSend"))); +@property (readonly) E _Nullable value __attribute__((swift_name("value"))); +@property (readonly) E _Nullable valueOrNull __attribute__((swift_name("valueOrNull"))); +@end; + +__attribute__((swift_name("ProducerScope"))) +@protocol PAPIProducerScope +@required +@property (readonly) id channel __attribute__((swift_name("channel"))); +@end; + +__attribute__((swift_name("Flow"))) +@protocol PAPIFlow +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)collectCollector:(id)collector completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("collect(collector:completionHandler:)"))); +@end; + +__attribute__((swift_name("AbstractFlow"))) +@interface PAPIAbstractFlow : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)collectCollector:(id)collector completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("collect(collector:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)collectSafelyCollector:(id)collector completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("collectSafely(collector:completionHandler:)"))); +@end; + +__attribute__((swift_name("FlowCollector"))) +@protocol PAPIFlowCollector +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)emitValue:(id _Nullable)value completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("emit(value:completionHandler:)"))); +@end; + +__attribute__((swift_name("SharedFlow"))) +@protocol PAPISharedFlow +@required +@property (readonly) NSArray *replayCache __attribute__((swift_name("replayCache"))); +@end; + +__attribute__((swift_name("MutableSharedFlow"))) +@protocol PAPIMutableSharedFlow +@required +- (void)resetReplayCache __attribute__((swift_name("resetReplayCache()"))); +- (BOOL)tryEmitValue:(id _Nullable)value __attribute__((swift_name("tryEmit(value:)"))); +@property (readonly) id subscriptionCount __attribute__((swift_name("subscriptionCount"))); +@end; + +__attribute__((swift_name("StateFlow"))) +@protocol PAPIStateFlow +@required +@property (readonly) id _Nullable value __attribute__((swift_name("value"))); +@end; + +__attribute__((swift_name("MutableStateFlow"))) +@protocol PAPIMutableStateFlow +@required +- (BOOL)compareAndSetExpect:(id _Nullable)expect update:(id _Nullable)update __attribute__((swift_name("compareAndSet(expect:update:)"))); +- (void)setValue:(id _Nullable)value __attribute__((swift_name("setValue(_:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SharingCommand"))) +@interface PAPISharingCommand : PAPIKotlinEnum ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@property (class, readonly) PAPISharingCommand *start __attribute__((swift_name("start"))); +@property (class, readonly) PAPISharingCommand *stop __attribute__((swift_name("stop"))); +@property (class, readonly) PAPISharingCommand *stopAndResetReplayCache __attribute__((swift_name("stopAndResetReplayCache"))); ++ (PAPIKotlinArray *)values __attribute__((swift_name("values()"))); +@end; + +__attribute__((swift_name("SharingStarted"))) +@protocol PAPISharingStarted +@required +- (id)commandSubscriptionCount:(id)subscriptionCount __attribute__((swift_name("command(subscriptionCount:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SharingStartedCompanion"))) +@interface PAPISharingStartedCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPISharingStartedCompanion *shared __attribute__((swift_name("shared"))); +- (id)WhileSubscribedStopTimeoutMillis:(int64_t)stopTimeoutMillis replayExpirationMillis:(int64_t)replayExpirationMillis __attribute__((swift_name("WhileSubscribed(stopTimeoutMillis:replayExpirationMillis:)"))); +@property (readonly) id Eagerly __attribute__((swift_name("Eagerly"))); +@property (readonly) id Lazily __attribute__((swift_name("Lazily"))); +@end; + +__attribute__((swift_name("FusibleFlow"))) +@protocol PAPIFusibleFlow +@required +- (id)fuseContext:(id)context capacity:(int32_t)capacity onBufferOverflow:(PAPIBufferOverflow *)onBufferOverflow __attribute__((swift_name("fuse(context:capacity:onBufferOverflow:)"))); +@end; + +__attribute__((swift_name("ChannelFlow"))) +@interface PAPIChannelFlow : PAPIBase +- (instancetype)initWithContext:(id)context capacity:(int32_t)capacity onBufferOverflow:(PAPIBufferOverflow *)onBufferOverflow __attribute__((swift_name("init(context:capacity:onBufferOverflow:)"))) __attribute__((objc_designated_initializer)); +- (NSString * _Nullable)additionalToStringProps __attribute__((swift_name("additionalToStringProps()"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)collectCollector:(id)collector completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("collect(collector:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)collectToScope:(id)scope completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("collectTo(scope:completionHandler:)"))); +- (PAPIChannelFlow *)createContext:(id)context capacity:(int32_t)capacity onBufferOverflow:(PAPIBufferOverflow *)onBufferOverflow __attribute__((swift_name("create(context:capacity:onBufferOverflow:)"))); +- (id _Nullable)dropChannelOperators __attribute__((swift_name("dropChannelOperators()"))); +- (id)fuseContext:(id)context capacity:(int32_t)capacity onBufferOverflow:(PAPIBufferOverflow *)onBufferOverflow __attribute__((swift_name("fuse(context:capacity:onBufferOverflow:)"))); +- (id)produceImplScope:(id)scope __attribute__((swift_name("produceImpl(scope:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) int32_t capacity __attribute__((swift_name("capacity"))); +@property (readonly) id context __attribute__((swift_name("context"))); +@property (readonly) PAPIBufferOverflow *onBufferOverflow __attribute__((swift_name("onBufferOverflow"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SendingCollector"))) +@interface PAPISendingCollector : PAPIBase +- (instancetype)initWithChannel:(id)channel __attribute__((swift_name("init(channel:)"))) __attribute__((objc_designated_initializer)); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)emitValue:(T _Nullable)value completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("emit(value:completionHandler:)"))); +@end; + +__attribute__((swift_name("SelectBuilder"))) +@protocol PAPISelectBuilder +@required +- (void)onTimeoutTimeMillis:(int64_t)timeMillis block:(id)block __attribute__((swift_name("onTimeout(timeMillis:block:)"))); +- (void)invoke:(id)receiver block:(id)block __attribute__((swift_name("invoke(_:block:)"))); +- (void)invoke:(id)receiver block_:(id)block __attribute__((swift_name("invoke(_:block_:)"))); +- (void)invoke:(id)receiver param:(id _Nullable)param block:(id)block __attribute__((swift_name("invoke(_:param:block:)"))); +- (void)invoke:(id)receiver block__:(id)block __attribute__((swift_name("invoke(_:block__:)"))); +@end; + +__attribute__((swift_name("SelectClause1"))) +@protocol PAPISelectClause1 +@required +- (void)registerSelectClause1Select:(id)select block:(id)block __attribute__((swift_name("registerSelectClause1(select:block:)"))); +@end; + +__attribute__((swift_name("SelectClause2"))) +@protocol PAPISelectClause2 +@required +- (void)registerSelectClause2Select:(id)select param:(id _Nullable)param block:(id)block __attribute__((swift_name("registerSelectClause2(select:param:block:)"))); +@end; + +__attribute__((swift_name("SelectInstance"))) +@protocol PAPISelectInstance +@required +- (void)disposeOnSelectHandle:(id)handle __attribute__((swift_name("disposeOnSelect(handle:)"))); +- (id _Nullable)performAtomicTrySelectDesc:(PAPIAtomicDesc *)desc __attribute__((swift_name("performAtomicTrySelect(desc:)"))); +- (void)resumeSelectWithExceptionException:(PAPIKotlinThrowable *)exception __attribute__((swift_name("resumeSelectWithException(exception:)"))); +- (BOOL)trySelect __attribute__((swift_name("trySelect()"))); +- (id _Nullable)trySelectOtherOtherOp:(PAPILockFreeLinkedListNodePrepareOp * _Nullable)otherOp __attribute__((swift_name("trySelectOther(otherOp:)"))); +@property (readonly) id completion __attribute__((swift_name("completion"))); +@property (readonly) BOOL isSelected __attribute__((swift_name("isSelected"))); +@end; + +__attribute__((swift_name("AtomicDesc"))) +@interface PAPIAtomicDesc : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (void)completeOp:(PAPIAtomicOp *)op failure:(id _Nullable)failure __attribute__((swift_name("complete(op:failure:)"))); +- (id _Nullable)prepareOp:(PAPIAtomicOp *)op __attribute__((swift_name("prepare(op:)"))); +@property PAPIAtomicOp *atomicOp __attribute__((swift_name("atomicOp"))); +@end; + +__attribute__((swift_name("OpDescriptor"))) +@interface PAPIOpDescriptor : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (BOOL)isEarlierThanThat:(PAPIOpDescriptor *)that __attribute__((swift_name("isEarlierThan(that:)"))); +- (id _Nullable)performAffected:(id _Nullable)affected __attribute__((swift_name("perform(affected:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIAtomicOp * _Nullable atomicOp __attribute__((swift_name("atomicOp"))); +@end; + +__attribute__((swift_name("AtomicOp"))) +@interface PAPIAtomicOp<__contravariant T> : PAPIOpDescriptor +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (void)completeAffected:(T _Nullable)affected failure:(id _Nullable)failure __attribute__((swift_name("complete(affected:failure:)"))); +- (id _Nullable)decideDecision:(id _Nullable)decision __attribute__((swift_name("decide(decision:)"))); +- (id _Nullable)performAffected:(id _Nullable)affected __attribute__((swift_name("perform(affected:)"))); +- (id _Nullable)prepareAffected:(T _Nullable)affected __attribute__((swift_name("prepare(affected:)"))); +@property (readonly) PAPIAtomicOp *atomicOp __attribute__((swift_name("atomicOp"))); +@property (readonly) id _Nullable consensus __attribute__((swift_name("consensus"))); +@property (readonly) BOOL isDecided __attribute__((swift_name("isDecided"))); +@property (readonly) int64_t opSequence __attribute__((swift_name("opSequence"))); +@end; + +__attribute__((swift_name("LockFreeLinkedListNode"))) +@interface PAPILockFreeLinkedListNode : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (void)addLastNode:(PAPILockFreeLinkedListNode *)node __attribute__((swift_name("addLast(node:)"))); +- (BOOL)addLastIfNode:(PAPILockFreeLinkedListNode *)node condition:(PAPIBoolean *(^)(void))condition __attribute__((swift_name("addLastIf(node:condition:)"))); +- (BOOL)addLastIfPrevNode:(PAPILockFreeLinkedListNode *)node predicate:(PAPIBoolean *(^)(PAPILockFreeLinkedListNode *))predicate __attribute__((swift_name("addLastIfPrev(node:predicate:)"))); +- (BOOL)addLastIfPrevAndIfNode:(PAPILockFreeLinkedListNode *)node predicate:(PAPIBoolean *(^)(PAPILockFreeLinkedListNode *))predicate condition:(PAPIBoolean *(^)(void))condition __attribute__((swift_name("addLastIfPrevAndIf(node:predicate:condition:)"))); +- (BOOL)addOneIfEmptyNode:(PAPILockFreeLinkedListNode *)node __attribute__((swift_name("addOneIfEmpty(node:)"))); +- (PAPILockFreeLinkedListNodeAddLastDesc *)describeAddLastNode:(PAPILockFreeLinkedListNode *)node __attribute__((swift_name("describeAddLast(node:)"))); +- (PAPILockFreeLinkedListNodeRemoveFirstDesc *)describeRemoveFirst __attribute__((swift_name("describeRemoveFirst()"))); +- (void)helpRemove __attribute__((swift_name("helpRemove()"))); +- (PAPILockFreeLinkedListNode * _Nullable)nextIfRemoved __attribute__((swift_name("nextIfRemoved()"))); +- (BOOL)remove __attribute__((swift_name("remove()"))); +- (id _Nullable)removeFirstIfIsInstanceOfOrPeekIfPredicate:(PAPIBoolean *(^)(id _Nullable))predicate __attribute__((swift_name("removeFirstIfIsInstanceOfOrPeekIf(predicate:)"))); +- (PAPILockFreeLinkedListNode * _Nullable)removeFirstOrNull __attribute__((swift_name("removeFirstOrNull()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) BOOL isRemoved __attribute__((swift_name("isRemoved"))); +@property (readonly) id _Nullable next __attribute__((swift_name("next"))); +@property (readonly) PAPILockFreeLinkedListNode *nextNode __attribute__((swift_name("nextNode"))); +@property (readonly) PAPILockFreeLinkedListNode *prevNode __attribute__((swift_name("prevNode"))); +@end; + +__attribute__((swift_name("LockFreeLinkedListHead"))) +@interface PAPILockFreeLinkedListHead : PAPILockFreeLinkedListNode +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (void)forEachBlock:(void (^)(PAPILockFreeLinkedListNode *))block __attribute__((swift_name("forEach(block:)"))); +- (PAPILockFreeLinkedListNode * _Nullable)nextIfRemoved __attribute__((swift_name("nextIfRemoved()"))); +- (BOOL)remove __attribute__((swift_name("remove()"))); +@property (readonly) BOOL isEmpty __attribute__((swift_name("isEmpty"))); +@property (readonly) BOOL isRemoved __attribute__((swift_name("isRemoved"))); +@end; + +__attribute__((swift_name("LockFreeLinkedListNode.AbstractAtomicDesc"))) +@interface PAPILockFreeLinkedListNodeAbstractAtomicDesc : PAPIAtomicDesc +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (void)completeOp:(PAPIAtomicOp *)op failure:(id _Nullable)failure __attribute__((swift_name("complete(op:failure:)"))); +- (id _Nullable)failureAffected:(PAPILockFreeLinkedListNode * _Nullable)affected __attribute__((swift_name("failure(affected:)"))); +- (void)finishOnSuccessAffected:(PAPILockFreeLinkedListNode *)affected next:(PAPILockFreeLinkedListNode *)next __attribute__((swift_name("finishOnSuccess(affected:next:)"))); +- (void)finishPreparePrepareOp:(PAPILockFreeLinkedListNodePrepareOp *)prepareOp __attribute__((swift_name("finishPrepare(prepareOp:)"))); +- (id _Nullable)onPreparePrepareOp:(PAPILockFreeLinkedListNodePrepareOp *)prepareOp __attribute__((swift_name("onPrepare(prepareOp:)"))); +- (void)onRemovedAffected:(PAPILockFreeLinkedListNode *)affected __attribute__((swift_name("onRemoved(affected:)"))); +- (id _Nullable)prepareOp:(PAPIAtomicOp *)op __attribute__((swift_name("prepare(op:)"))); +- (BOOL)retryAffected:(PAPILockFreeLinkedListNode *)affected next:(id)next __attribute__((swift_name("retry(affected:next:)"))); +- (PAPILockFreeLinkedListNode * _Nullable)takeAffectedNodeOp:(PAPIOpDescriptor *)op __attribute__((swift_name("takeAffectedNode(op:)"))); +- (id)updatedNextAffected:(PAPILockFreeLinkedListNode *)affected next:(PAPILockFreeLinkedListNode *)next __attribute__((swift_name("updatedNext(affected:next:)"))); +@property (readonly) PAPILockFreeLinkedListNode * _Nullable affectedNode __attribute__((swift_name("affectedNode"))); +@property (readonly) PAPILockFreeLinkedListNode * _Nullable originalNext __attribute__((swift_name("originalNext"))); +@end; + +__attribute__((swift_name("LockFreeLinkedListNodeAddLastDesc"))) +@interface PAPILockFreeLinkedListNodeAddLastDesc : PAPILockFreeLinkedListNodeAbstractAtomicDesc +- (instancetype)initWithQueue:(PAPILockFreeLinkedListNode *)queue node:(T)node __attribute__((swift_name("init(queue:node:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (void)finishOnSuccessAffected:(PAPILockFreeLinkedListNode *)affected next:(PAPILockFreeLinkedListNode *)next __attribute__((swift_name("finishOnSuccess(affected:next:)"))); +- (void)finishPreparePrepareOp:(PAPILockFreeLinkedListNodePrepareOp *)prepareOp __attribute__((swift_name("finishPrepare(prepareOp:)"))); +- (BOOL)retryAffected:(PAPILockFreeLinkedListNode *)affected next:(id)next __attribute__((swift_name("retry(affected:next:)"))); +- (PAPILockFreeLinkedListNode * _Nullable)takeAffectedNodeOp:(PAPIOpDescriptor *)op __attribute__((swift_name("takeAffectedNode(op:)"))); +- (id)updatedNextAffected:(PAPILockFreeLinkedListNode *)affected next:(PAPILockFreeLinkedListNode *)next __attribute__((swift_name("updatedNext(affected:next:)"))); +@property (readonly) PAPILockFreeLinkedListNode * _Nullable affectedNode __attribute__((swift_name("affectedNode"))); +@property (readonly) T node __attribute__((swift_name("node"))); +@property (readonly) PAPILockFreeLinkedListNode *originalNext __attribute__((swift_name("originalNext"))); +@property (readonly) PAPILockFreeLinkedListNode *queue __attribute__((swift_name("queue"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("LockFreeLinkedListNode.PrepareOp"))) +@interface PAPILockFreeLinkedListNodePrepareOp : PAPIOpDescriptor +- (instancetype)initWithAffected:(PAPILockFreeLinkedListNode *)affected next:(PAPILockFreeLinkedListNode *)next desc:(PAPILockFreeLinkedListNodeAbstractAtomicDesc *)desc __attribute__((swift_name("init(affected:next:desc:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (void)finishPrepare __attribute__((swift_name("finishPrepare()"))); +- (id _Nullable)performAffected:(id _Nullable)affected __attribute__((swift_name("perform(affected:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPILockFreeLinkedListNode *affected __attribute__((swift_name("affected"))); +@property (readonly) PAPIAtomicOp *atomicOp __attribute__((swift_name("atomicOp"))); +@property (readonly) PAPILockFreeLinkedListNodeAbstractAtomicDesc *desc __attribute__((swift_name("desc"))); +@property (readonly) PAPILockFreeLinkedListNode *next __attribute__((swift_name("next"))); +@end; + +__attribute__((swift_name("LockFreeLinkedListNodeRemoveFirstDesc"))) +@interface PAPILockFreeLinkedListNodeRemoveFirstDesc : PAPILockFreeLinkedListNodeAbstractAtomicDesc +- (instancetype)initWithQueue:(PAPILockFreeLinkedListNode *)queue __attribute__((swift_name("init(queue:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (id _Nullable)failureAffected:(PAPILockFreeLinkedListNode * _Nullable)affected __attribute__((swift_name("failure(affected:)"))); +- (void)finishOnSuccessAffected:(PAPILockFreeLinkedListNode *)affected next:(PAPILockFreeLinkedListNode *)next __attribute__((swift_name("finishOnSuccess(affected:next:)"))); +- (void)finishPreparePrepareOp:(PAPILockFreeLinkedListNodePrepareOp *)prepareOp __attribute__((swift_name("finishPrepare(prepareOp:)"))); +- (BOOL)retryAffected:(PAPILockFreeLinkedListNode *)affected next:(id)next __attribute__((swift_name("retry(affected:next:)"))); +- (PAPILockFreeLinkedListNode * _Nullable)takeAffectedNodeOp:(PAPIOpDescriptor *)op __attribute__((swift_name("takeAffectedNode(op:)"))); +- (id)updatedNextAffected:(PAPILockFreeLinkedListNode *)affected next:(PAPILockFreeLinkedListNode *)next __attribute__((swift_name("updatedNext(affected:next:)"))); +@property (readonly) PAPILockFreeLinkedListNode * _Nullable affectedNode __attribute__((swift_name("affectedNode"))); +@property (readonly) PAPILockFreeLinkedListNode * _Nullable originalNext __attribute__((swift_name("originalNext"))); +@property (readonly) PAPILockFreeLinkedListNode *queue __attribute__((swift_name("queue"))); +@property (readonly) T _Nullable result __attribute__((swift_name("result"))); +@end; + +__attribute__((swift_name("MainDispatcherFactory"))) +@protocol PAPIMainDispatcherFactory +@required +- (PAPIMainCoroutineDispatcher *)createDispatcherAllFactories:(NSArray> *)allFactories __attribute__((swift_name("createDispatcher(allFactories:)"))); +- (NSString * _Nullable)hintOnError __attribute__((swift_name("hintOnError()"))); +@property (readonly) int32_t loadPriority __attribute__((swift_name("loadPriority"))); +@end; + +__attribute__((swift_name("SynchronizedObject"))) +@interface PAPISynchronizedObject : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (void)lock __attribute__((swift_name("lock()"))); +- (BOOL)tryLock __attribute__((swift_name("tryLock()"))); +- (void)unlock __attribute__((swift_name("unlock()"))); +@property (readonly, getter=lock_) PAPIKotlinAtomicReference *lock __attribute__((swift_name("lock"))); +@end; + +__attribute__((swift_name("ThreadSafeHeap"))) +@interface PAPIThreadSafeHeap : PAPISynchronizedObject +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (void)addLastNode:(T)node __attribute__((swift_name("addLast(node:)"))); +- (BOOL)addLastIfNode:(T)node cond:(PAPIBoolean *(^)(T _Nullable))cond __attribute__((swift_name("addLastIf(node:cond:)"))); +- (void)clear __attribute__((swift_name("clear()"))); +- (T _Nullable)peek __attribute__((swift_name("peek()"))); +- (BOOL)removeNode:(T)node __attribute__((swift_name("remove(node:)"))); +- (T _Nullable)removeFirstIfPredicate:(PAPIBoolean *(^)(T))predicate __attribute__((swift_name("removeFirstIf(predicate:)"))); +- (T _Nullable)removeFirstOrNull __attribute__((swift_name("removeFirstOrNull()"))); +@property (readonly) BOOL isEmpty __attribute__((swift_name("isEmpty"))); +@property (readonly) int32_t size __attribute__((swift_name("size"))); +@end; + +__attribute__((swift_name("ThreadSafeHeapNode"))) +@protocol PAPIThreadSafeHeapNode +@required +@property PAPIThreadSafeHeap * _Nullable heap __attribute__((swift_name("heap"))); +@property int32_t index __attribute__((swift_name("index"))); +@end; + +__attribute__((swift_name("Mutex"))) +@protocol PAPIMutex +@required +- (BOOL)holdsLockOwner:(id)owner __attribute__((swift_name("holdsLock(owner:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)lockOwner:(id _Nullable)owner completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("lock(owner:completionHandler:)"))); +- (BOOL)tryLockOwner:(id _Nullable)owner __attribute__((swift_name("tryLock(owner:)"))); +- (void)unlockOwner:(id _Nullable)owner __attribute__((swift_name("unlock(owner:)"))); +@property (readonly) BOOL isLocked __attribute__((swift_name("isLocked"))); +@property (readonly) id onLock __attribute__((swift_name("onLock"))); +@end; + +__attribute__((swift_name("Semaphore"))) +@protocol PAPISemaphore +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)acquireWithCompletionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("acquire(completionHandler:)"))); +- (void)release_ __attribute__((swift_name("release()"))); +- (BOOL)tryAcquire __attribute__((swift_name("tryAcquire()"))); +@property (readonly) int32_t availablePermits __attribute__((swift_name("availablePermits"))); +@end; + +__attribute__((swift_name("BigNumber"))) +@protocol PAPIBigNumber +@required +- (id)abs __attribute__((swift_name("abs()"))); +- (id)addOther:(id)other __attribute__((swift_name("add(other:)"))); +- (int32_t)compareToOther_:(id)other __attribute__((swift_name("compareTo(other_:)"))); +- (id)divideOther:(id)other __attribute__((swift_name("divide(other:)"))); +- (PAPIKotlinPair, id> *)divideAndRemainderOther:(id)other __attribute__((swift_name("divideAndRemainder(other:)"))); +- (id)getCreator __attribute__((swift_name("getCreator()"))); +- (BOOL)isZero __attribute__((swift_name("isZero()"))); +- (id)multiplyOther:(id)other __attribute__((swift_name("multiply(other:)"))); +- (id)negate __attribute__((swift_name("negate()"))); +- (int64_t)numberOfDecimalDigits __attribute__((swift_name("numberOfDecimalDigits()"))); +- (id)powExponent:(int32_t)exponent __attribute__((swift_name("pow(exponent:)"))); +- (id)powExponent_:(int64_t)exponent __attribute__((swift_name("pow(exponent_:)"))); +- (id)remainderOther:(id)other __attribute__((swift_name("remainder(other:)"))); +- (void)secureOverwrite __attribute__((swift_name("secureOverwrite()"))); +- (int32_t)signum __attribute__((swift_name("signum()"))); +- (id)subtractOther:(id)other __attribute__((swift_name("subtract(other:)"))); +- (NSString *)toStringBase:(int32_t)base __attribute__((swift_name("toString(base:)"))); +- (id)unaryMinus __attribute__((swift_name("unaryMinus()"))); +@property (readonly) BOOL isNegative __attribute__((swift_name("isNegative"))); +@property (readonly) BOOL isPositive __attribute__((swift_name("isPositive"))); +@end; + +__attribute__((swift_name("BigNumberCreator"))) +@protocol PAPIBigNumberCreator +@required +- (id _Nullable)fromBigIntegerBigInteger:(PAPIBigInteger *)bigInteger __attribute__((swift_name("fromBigInteger(bigInteger:)"))); +- (id _Nullable)fromByteByte:(int8_t)byte __attribute__((swift_name("fromByte(byte:)"))); +- (id _Nullable)fromIntInt:(int32_t)int_ __attribute__((swift_name("fromInt(int:)"))); +- (id _Nullable)fromLongLong:(int64_t)long_ __attribute__((swift_name("fromLong(long:)"))); +- (id _Nullable)fromShortShort:(int16_t)short_ __attribute__((swift_name("fromShort(short:)"))); +- (id _Nullable)fromUByteUByte:(uint8_t)uByte __attribute__((swift_name("fromUByte(uByte:)"))); +- (id _Nullable)fromUIntUInt:(uint32_t)uInt __attribute__((swift_name("fromUInt(uInt:)"))); +- (id _Nullable)fromULongULong:(uint64_t)uLong __attribute__((swift_name("fromULong(uLong:)"))); +- (id _Nullable)fromUShortUShort:(uint16_t)uShort __attribute__((swift_name("fromUShort(uShort:)"))); +- (id _Nullable)parseStringString:(NSString *)string base:(int32_t)base __attribute__((swift_name("parseString(string:base:)"))); +- (id _Nullable)tryFromDoubleDouble:(double)double_ exactRequired:(BOOL)exactRequired __attribute__((swift_name("tryFromDouble(double:exactRequired:)"))); +- (id _Nullable)tryFromFloatFloat:(float)float_ exactRequired:(BOOL)exactRequired __attribute__((swift_name("tryFromFloat(float:exactRequired:)"))); +@property (readonly) id _Nullable ONE __attribute__((swift_name("ONE"))); +@property (readonly) id _Nullable TEN __attribute__((swift_name("TEN"))); +@property (readonly) id _Nullable TWO __attribute__((swift_name("TWO"))); +@property (readonly) id _Nullable ZERO __attribute__((swift_name("ZERO"))); +@end; + +__attribute__((swift_name("BigNumberUtil"))) +@protocol PAPIBigNumberUtil +@required +- (id _Nullable)maxFirst:(id _Nullable)first second:(id _Nullable)second __attribute__((swift_name("max(first:second:)"))); +- (id _Nullable)minFirst:(id _Nullable)first second:(id _Nullable)second __attribute__((swift_name("min(first:second:)"))); +@end; + +__attribute__((swift_name("BitwiseCapable"))) +@protocol PAPIBitwiseCapable +@required +- (id _Nullable)andOther:(id _Nullable)other __attribute__((swift_name("and(other:)"))); +- (BOOL)bitAtPosition:(int64_t)position __attribute__((swift_name("bitAt(position:)"))); +- (id _Nullable)not __attribute__((swift_name("not()"))); +- (id _Nullable)orOther:(id _Nullable)other __attribute__((swift_name("or(other:)"))); +- (id _Nullable)setBitAtPosition:(int64_t)position bit:(BOOL)bit __attribute__((swift_name("setBitAt(position:bit:)"))); +- (id _Nullable)shlPlaces:(int32_t)places __attribute__((swift_name("shl(places:)"))); +- (id _Nullable)shrPlaces:(int32_t)places __attribute__((swift_name("shr(places:)"))); +- (id _Nullable)xorOther:(id _Nullable)other __attribute__((swift_name("xor(other:)"))); +@end; + +__attribute__((swift_name("ByteArrayDeserializable"))) +@protocol PAPIByteArrayDeserializable +@required +- (id)fromByteArraySource:(PAPIKotlinByteArray *)source sign:(PAPISign *)sign __attribute__((swift_name("fromByteArray(source:sign:)"))); +- (id)fromUByteArraySource:(id)source sign:(PAPISign *)sign __attribute__((swift_name("fromUByteArray(source:sign:)"))); +@end; + +__attribute__((swift_name("ByteArraySerializable"))) +@protocol PAPIByteArraySerializable +@required +- (PAPIKotlinByteArray *)toByteArray __attribute__((swift_name("toByteArray()"))); +- (id)toUByteArray __attribute__((swift_name("toUByteArray()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Endianness"))) +@interface PAPIEndianness : PAPIKotlinEnum ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@property (class, readonly) PAPIEndianness *big __attribute__((swift_name("big"))); +@property (class, readonly) PAPIEndianness *little __attribute__((swift_name("little"))); ++ (PAPIKotlinArray *)values __attribute__((swift_name("values()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ModularQuotientAndRemainder"))) +@interface PAPIModularQuotientAndRemainder : PAPIBase +- (instancetype)initWithQuotient:(PAPIModularBigInteger *)quotient remainder:(PAPIModularBigInteger *)remainder __attribute__((swift_name("init(quotient:remainder:)"))) __attribute__((objc_designated_initializer)); +- (PAPIModularBigInteger *)component1 __attribute__((swift_name("component1()"))); +- (PAPIModularBigInteger *)component2 __attribute__((swift_name("component2()"))); +- (PAPIModularQuotientAndRemainder *)doCopyQuotient:(PAPIModularBigInteger *)quotient remainder:(PAPIModularBigInteger *)remainder __attribute__((swift_name("doCopy(quotient:remainder:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIModularBigInteger *quotient __attribute__((swift_name("quotient"))); +@property (readonly) PAPIModularBigInteger *remainder __attribute__((swift_name("remainder"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("QuotientAndRemainder"))) +@interface PAPIQuotientAndRemainder : PAPIBase +- (instancetype)initWithQuotient:(PAPIBigInteger *)quotient remainder:(PAPIBigInteger *)remainder __attribute__((swift_name("init(quotient:remainder:)"))) __attribute__((objc_designated_initializer)); +- (PAPIBigInteger *)component1 __attribute__((swift_name("component1()"))); +- (PAPIBigInteger *)component2 __attribute__((swift_name("component2()"))); +- (PAPIQuotientAndRemainder *)doCopyQuotient:(PAPIBigInteger *)quotient remainder:(PAPIBigInteger *)remainder __attribute__((swift_name("doCopy(quotient:remainder:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIBigInteger *quotient __attribute__((swift_name("quotient"))); +@property (readonly) PAPIBigInteger *remainder __attribute__((swift_name("remainder"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ModularBigInteger"))) +@interface PAPIModularBigInteger : PAPIBase +@property (class, readonly, getter=companion) PAPIModularBigIntegerCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIModularBigInteger *)abs __attribute__((swift_name("abs()"))); +- (PAPIModularBigInteger *)addOther:(PAPIModularBigInteger *)other __attribute__((swift_name("add(other:)"))); +- (int8_t)byteValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("byteValue(exactRequired:)"))); +- (int32_t)compareOther:(PAPIModularBigInteger *)other __attribute__((swift_name("compare(other:)"))); +- (int32_t)compareToOther_:(id)other __attribute__((swift_name("compareTo(other_:)"))); +- (PAPIModularBigInteger *)divideOther:(PAPIModularBigInteger *)other __attribute__((swift_name("divide(other:)"))); +- (PAPIKotlinPair *)divideAndRemainderOther:(PAPIModularBigInteger *)other __attribute__((swift_name("divideAndRemainder(other:)"))); +- (PAPIModularQuotientAndRemainder *)divremOther:(PAPIModularBigInteger *)other __attribute__((swift_name("divrem(other:)"))); +- (double)doubleValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("doubleValue(exactRequired:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (float)floatValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("floatValue(exactRequired:)"))); +- (id)getCreator __attribute__((swift_name("getCreator()"))); +- (PAPIModularBigInteger *)getInstance __attribute__((swift_name("getInstance()"))); +- (int32_t)intValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("intValue(exactRequired:)"))); +- (PAPIModularBigInteger *)inverse __attribute__((swift_name("inverse()"))); +- (BOOL)isZero __attribute__((swift_name("isZero()"))); +- (int64_t)longValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("longValue(exactRequired:)"))); +- (PAPIModularBigInteger *)multiplyOther:(PAPIModularBigInteger *)other __attribute__((swift_name("multiply(other:)"))); +- (PAPIModularBigInteger *)negate __attribute__((swift_name("negate()"))); +- (int64_t)numberOfDecimalDigits __attribute__((swift_name("numberOfDecimalDigits()"))); +- (PAPIModularBigInteger *)powExponent__:(PAPIBigInteger *)exponent __attribute__((swift_name("pow(exponent__:)"))); +- (PAPIModularBigInteger *)powExponent___:(PAPIModularBigInteger *)exponent __attribute__((swift_name("pow(exponent___:)"))); +- (PAPIModularBigInteger *)powExponent:(int32_t)exponent __attribute__((swift_name("pow(exponent:)"))); +- (PAPIModularBigInteger *)powExponent_:(int64_t)exponent __attribute__((swift_name("pow(exponent_:)"))); +- (PAPIModularBigInteger *)remOther:(PAPIModularBigInteger *)other __attribute__((swift_name("rem(other:)"))); +- (PAPIModularBigInteger *)remainderOther:(PAPIModularBigInteger *)other __attribute__((swift_name("remainder(other:)"))); +- (void)secureOverwrite __attribute__((swift_name("secureOverwrite()"))); +- (int16_t)shortValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("shortValue(exactRequired:)"))); +- (int32_t)signum __attribute__((swift_name("signum()"))); +- (PAPIModularBigInteger *)subtractOther:(PAPIModularBigInteger *)other __attribute__((swift_name("subtract(other:)"))); +- (PAPIBigInteger *)toBigInteger __attribute__((swift_name("toBigInteger()"))); +- (PAPIKotlinByteArray *)toByteArray __attribute__((swift_name("toByteArray()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +- (NSString *)toStringBase:(int32_t)base __attribute__((swift_name("toString(base:)"))); +- (NSString *)toStringWithModuloBase:(int32_t)base __attribute__((swift_name("toStringWithModulo(base:)"))); +- (id)toUByteArray __attribute__((swift_name("toUByteArray()"))); +- (uint8_t)ubyteValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("ubyteValue(exactRequired:)"))); +- (uint32_t)uintValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("uintValue(exactRequired:)"))); +- (uint64_t)ulongValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("ulongValue(exactRequired:)"))); +- (PAPIModularBigInteger *)unaryMinus __attribute__((swift_name("unaryMinus()"))); +- (uint16_t)ushortValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("ushortValue(exactRequired:)"))); +@property (readonly) PAPIBigInteger *modulus __attribute__((swift_name("modulus"))); +@property (readonly) PAPIBigInteger *residue __attribute__((swift_name("residue"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ModularBigInteger.Companion"))) +@interface PAPIModularBigIntegerCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIModularBigIntegerCompanion *shared __attribute__((swift_name("shared"))); +- (id)creatorForModuloModulo:(PAPIBigInteger *)modulo __attribute__((swift_name("creatorForModulo(modulo:)"))); +- (id)creatorForModuloModulo_:(int8_t)modulo __attribute__((swift_name("creatorForModulo(modulo_:)"))); +- (id)creatorForModuloModulo__:(int32_t)modulo __attribute__((swift_name("creatorForModulo(modulo__:)"))); +- (id)creatorForModuloModulo___:(int64_t)modulo __attribute__((swift_name("creatorForModulo(modulo___:)"))); +- (id)creatorForModuloModulo____:(int16_t)modulo __attribute__((swift_name("creatorForModulo(modulo____:)"))); +- (id)creatorForModuloModulo_____:(uint8_t)modulo __attribute__((swift_name("creatorForModulo(modulo_____:)"))); +- (id)creatorForModuloModulo______:(uint32_t)modulo __attribute__((swift_name("creatorForModulo(modulo______:)"))); +- (id)creatorForModuloModulo_______:(uint64_t)modulo __attribute__((swift_name("creatorForModulo(modulo_______:)"))); +- (id)creatorForModuloModulo________:(uint16_t)modulo __attribute__((swift_name("creatorForModulo(modulo________:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BigDecimal"))) +@interface PAPIBigDecimal : PAPIBase +@property (class, readonly, getter=companion) PAPIBigDecimalCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIBigDecimal *)abs __attribute__((swift_name("abs()"))); +- (PAPIBigDecimal *)addOther:(PAPIBigDecimal *)other __attribute__((swift_name("add(other:)"))); +- (PAPIBigDecimal *)addOther:(PAPIBigDecimal *)other decimalMode:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("add(other:decimalMode:)"))); +- (int8_t)byteValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("byteValue(exactRequired:)"))); +- (PAPIBigDecimal *)ceil __attribute__((swift_name("ceil()"))); +- (int32_t)compareOther:(PAPIBigDecimal *)other __attribute__((swift_name("compare(other:)"))); +- (int32_t)compareToOther_:(id)other __attribute__((swift_name("compareTo(other_:)"))); +- (int32_t)compareToOther:(id)other __attribute__((swift_name("compareTo(other:)"))); +- (PAPIBigDecimal *)doCopySignificand:(PAPIBigInteger *)significand exponent:(int64_t)exponent decimalMode:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("doCopy(significand:exponent:decimalMode:)"))); +- (PAPIBigDecimal *)dec __attribute__((swift_name("dec()"))); +- (PAPIBigDecimal *)divOther:(PAPIBigDecimal *)other __attribute__((swift_name("div(other:)"))); +- (PAPIBigDecimal *)divideOther:(PAPIBigDecimal *)other __attribute__((swift_name("divide(other:)"))); +- (PAPIBigDecimal *)divideOther:(PAPIBigDecimal *)other decimalMode:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("divide(other:decimalMode:)"))); +- (PAPIKotlinPair *)divideAndRemainderOther:(PAPIBigDecimal *)other __attribute__((swift_name("divideAndRemainder(other:)"))); +- (PAPIKotlinPair *)divremOther:(PAPIBigDecimal *)other __attribute__((swift_name("divrem(other:)"))); +- (double)doubleValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("doubleValue(exactRequired:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (float)floatValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("floatValue(exactRequired:)"))); +- (PAPIBigDecimal *)floor __attribute__((swift_name("floor()"))); +- (id)getCreator __attribute__((swift_name("getCreator()"))); +- (PAPIBigDecimal *)getInstance __attribute__((swift_name("getInstance()"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIBigDecimal *)inc __attribute__((swift_name("inc()"))); +- (int32_t)intValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("intValue(exactRequired:)"))); +- (BOOL)isWholeNumber __attribute__((swift_name("isWholeNumber()"))); +- (BOOL)isZero __attribute__((swift_name("isZero()"))); +- (int64_t)longValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("longValue(exactRequired:)"))); +- (PAPIBigDecimal *)minusOther:(PAPIBigDecimal *)other __attribute__((swift_name("minus(other:)"))); +- (PAPIBigDecimal *)moveDecimalPointPlaces:(int32_t)places __attribute__((swift_name("moveDecimalPoint(places:)"))); +- (PAPIBigDecimal *)moveDecimalPointPlaces_:(int64_t)places __attribute__((swift_name("moveDecimalPoint(places_:)"))); +- (PAPIBigDecimal *)multiplyOther:(PAPIBigDecimal *)other __attribute__((swift_name("multiply(other:)"))); +- (PAPIBigDecimal *)multiplyOther:(PAPIBigDecimal *)other decimalMode:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("multiply(other:decimalMode:)"))); +- (PAPIBigDecimal *)negate __attribute__((swift_name("negate()"))); +- (int64_t)numberOfDecimalDigits __attribute__((swift_name("numberOfDecimalDigits()"))); +- (PAPIBigDecimal *)plusOther:(PAPIBigDecimal *)other __attribute__((swift_name("plus(other:)"))); +- (PAPIBigDecimal *)powExponent:(int32_t)exponent __attribute__((swift_name("pow(exponent:)"))); +- (PAPIBigDecimal *)powExponent_:(int64_t)exponent __attribute__((swift_name("pow(exponent_:)"))); +- (PAPIBigDecimal *)remOther:(PAPIBigDecimal *)other __attribute__((swift_name("rem(other:)"))); +- (PAPIBigDecimal *)remainderOther:(PAPIBigDecimal *)other __attribute__((swift_name("remainder(other:)"))); +- (PAPIBigDecimal *)removeScale __attribute__((swift_name("removeScale()"))); +- (PAPIBigDecimal *)roundSignificandDecimalMode:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("roundSignificand(decimalMode:)"))); +- (PAPIBigDecimal *)roundToDigitPositionDigitPosition:(int64_t)digitPosition roundingMode:(PAPIRoundingMode *)roundingMode __attribute__((swift_name("roundToDigitPosition(digitPosition:roundingMode:)"))); +- (PAPIBigDecimal *)roundToDigitPositionAfterDecimalPointDigitPosition:(int64_t)digitPosition roundingMode:(PAPIRoundingMode *)roundingMode __attribute__((swift_name("roundToDigitPositionAfterDecimalPoint(digitPosition:roundingMode:)"))); +- (PAPIBigDecimal *)scaleScale:(int64_t)scale __attribute__((swift_name("scale(scale:)"))); +- (void)secureOverwrite __attribute__((swift_name("secureOverwrite()"))); +- (int16_t)shortValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("shortValue(exactRequired:)"))); +- (int32_t)signum __attribute__((swift_name("signum()"))); +- (PAPIBigDecimal *)subtractOther:(PAPIBigDecimal *)other __attribute__((swift_name("subtract(other:)"))); +- (PAPIBigDecimal *)subtractOther:(PAPIBigDecimal *)other decimalMode:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("subtract(other:decimalMode:)"))); +- (PAPIBigDecimal *)timesOther:(PAPIBigDecimal *)other __attribute__((swift_name("times(other:)"))); +- (PAPIBigInteger *)toBigInteger __attribute__((swift_name("toBigInteger()"))); +- (NSString *)toPlainString __attribute__((swift_name("toPlainString()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +- (NSString *)toStringBase:(int32_t)base __attribute__((swift_name("toString(base:)"))); +- (NSString *)toStringExpanded __attribute__((swift_name("toStringExpanded()"))); +- (uint8_t)ubyteValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("ubyteValue(exactRequired:)"))); +- (uint32_t)uintValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("uintValue(exactRequired:)"))); +- (uint64_t)ulongValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("ulongValue(exactRequired:)"))); +- (PAPIBigDecimal *)unaryMinus __attribute__((swift_name("unaryMinus()"))); +- (uint16_t)ushortValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("ushortValue(exactRequired:)"))); +- (NSString *)times:(int64_t)receiver char:(unichar)char_ __attribute__((swift_name("times(_:char:)"))); +@property (readonly) PAPIDecimalMode * _Nullable decimalMode __attribute__((swift_name("decimalMode"))); +@property (readonly) int64_t exponent __attribute__((swift_name("exponent"))); +@property (readonly) int64_t precision __attribute__((swift_name("precision"))); +@property (readonly) int64_t precisionLimit __attribute__((swift_name("precisionLimit"))); +@property (readonly) PAPIRoundingMode *roundingMode __attribute__((swift_name("roundingMode"))); +@property (readonly) int64_t scale __attribute__((swift_name("scale"))); +@property (readonly) PAPIBigInteger *significand __attribute__((swift_name("significand"))); +@property (readonly) BOOL usingScale __attribute__((swift_name("usingScale"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BigDecimal.Companion"))) +@interface PAPIBigDecimalCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIBigDecimalCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIBigDecimal *)fromBigDecimalBigDecimal:(PAPIBigDecimal *)bigDecimal decimalMode:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromBigDecimal(bigDecimal:decimalMode:)"))); +- (PAPIBigDecimal *)fromBigIntegerBigInteger:(PAPIBigInteger *)bigInteger __attribute__((swift_name("fromBigInteger(bigInteger:)"))); +- (PAPIBigDecimal *)fromBigIntegerBigInteger:(PAPIBigInteger *)bigInteger decimalMode:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromBigInteger(bigInteger:decimalMode:)"))); +- (PAPIBigDecimal *)fromBigIntegerWithExponentBigInteger:(PAPIBigInteger *)bigInteger exponent:(int64_t)exponent decimalMode:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromBigIntegerWithExponent(bigInteger:exponent:decimalMode:)"))); +- (PAPIBigDecimal *)fromByteByte:(int8_t)byte __attribute__((swift_name("fromByte(byte:)"))); +- (PAPIBigDecimal *)fromByteByte:(int8_t)byte decimalMode:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromByte(byte:decimalMode:)"))); +- (PAPIBigDecimal *)fromByteAsSignificandByte:(int8_t)byte decimalMode:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromByteAsSignificand(byte:decimalMode:)"))); +- (PAPIBigDecimal *)fromByteWithExponentByte:(int8_t)byte exponent:(int64_t)exponent decimalMode:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromByteWithExponent(byte:exponent:decimalMode:)"))); +- (PAPIBigDecimal *)fromDoubleDouble:(double)double_ decimalMode:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromDouble(double:decimalMode:)"))); +- (PAPIBigDecimal *)fromFloatFloat:(float)float_ decimalMode:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromFloat(float:decimalMode:)"))); +- (PAPIBigDecimal *)fromIntInt:(int32_t)int_ __attribute__((swift_name("fromInt(int:)"))); +- (PAPIBigDecimal *)fromIntInt:(int32_t)int_ decimalMode:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromInt(int:decimalMode:)"))); +- (PAPIBigDecimal *)fromIntAsSignificandInt:(int32_t)int_ decimalMode:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromIntAsSignificand(int:decimalMode:)"))); +- (PAPIBigDecimal *)fromIntWithExponentInt:(int32_t)int_ exponent:(int64_t)exponent decimalMode:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromIntWithExponent(int:exponent:decimalMode:)"))); +- (PAPIBigDecimal *)fromLongLong:(int64_t)long_ __attribute__((swift_name("fromLong(long:)"))); +- (PAPIBigDecimal *)fromLongLong:(int64_t)long_ decimalMode:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromLong(long:decimalMode:)"))); +- (PAPIBigDecimal *)fromLongAsSignificandLong:(int64_t)long_ decimalMode:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromLongAsSignificand(long:decimalMode:)"))); +- (PAPIBigDecimal *)fromLongWithExponentLong:(int64_t)long_ exponent:(int64_t)exponent decimalMode:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromLongWithExponent(long:exponent:decimalMode:)"))); +- (PAPIBigDecimal *)fromShortShort:(int16_t)short_ __attribute__((swift_name("fromShort(short:)"))); +- (PAPIBigDecimal *)fromShortShort:(int16_t)short_ decimalMode:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromShort(short:decimalMode:)"))); +- (PAPIBigDecimal *)fromShortAsSignificandShort:(int16_t)short_ decimalMode:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromShortAsSignificand(short:decimalMode:)"))); +- (PAPIBigDecimal *)fromShortWithExponentShort:(int16_t)short_ exponent:(int64_t)exponent decimalMode:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromShortWithExponent(short:exponent:decimalMode:)"))); +- (PAPIBigDecimal *)fromUByteUByte:(uint8_t)uByte __attribute__((swift_name("fromUByte(uByte:)"))); +- (PAPIBigDecimal *)fromUByteUByte:(uint8_t)uByte decimalMode:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromUByte(uByte:decimalMode:)"))); +- (PAPIBigDecimal *)fromUIntUInt:(uint32_t)uInt __attribute__((swift_name("fromUInt(uInt:)"))); +- (PAPIBigDecimal *)fromUIntUInt:(uint32_t)uInt decimalMode:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromUInt(uInt:decimalMode:)"))); +- (PAPIBigDecimal *)fromULongULong:(uint64_t)uLong __attribute__((swift_name("fromULong(uLong:)"))); +- (PAPIBigDecimal *)fromULongULong:(uint64_t)uLong decimalMode:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromULong(uLong:decimalMode:)"))); +- (PAPIBigDecimal *)fromUShortUShort:(uint16_t)uShort __attribute__((swift_name("fromUShort(uShort:)"))); +- (PAPIBigDecimal *)fromUShortUShort:(uint16_t)uShort decimalMode:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("fromUShort(uShort:decimalMode:)"))); +- (PAPIBigDecimal *)handleZeroRoundingSignificand:(PAPIBigInteger *)significand exponent:(int64_t)exponent decimalMode:(PAPIDecimalMode *)decimalMode __attribute__((swift_name("handleZeroRounding(significand:exponent:decimalMode:)"))); +- (PAPIBigDecimal *)parseStringString:(NSString *)string __attribute__((swift_name("parseString(string:)"))); +- (PAPIBigDecimal *)parseStringString:(NSString *)string base:(int32_t)base __attribute__((swift_name("parseString(string:base:)"))); +- (PAPIBigDecimal *)parseStringWithModeFloatingPointString:(NSString *)floatingPointString decimalMode:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("parseStringWithMode(floatingPointString:decimalMode:)"))); +- (PAPIBigDecimal *)tryFromDoubleDouble:(double)double_ exactRequired:(BOOL)exactRequired __attribute__((swift_name("tryFromDouble(double:exactRequired:)"))); +- (PAPIBigDecimal *)tryFromFloatFloat:(float)float_ exactRequired:(BOOL)exactRequired __attribute__((swift_name("tryFromFloat(float:exactRequired:)"))); +@property (readonly) PAPIBigDecimal *ONE __attribute__((swift_name("ONE"))); +@property (readonly) PAPIBigDecimal *TEN __attribute__((swift_name("TEN"))); +@property (readonly) PAPIBigDecimal *TWO __attribute__((swift_name("TWO"))); +@property (readonly) PAPIBigDecimal *ZERO __attribute__((swift_name("ZERO"))); +@property BOOL useToStringExpanded __attribute__((swift_name("useToStringExpanded"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DecimalMode"))) +@interface PAPIDecimalMode : PAPIBase +- (instancetype)initWithDecimalPrecision:(int64_t)decimalPrecision roundingMode:(PAPIRoundingMode *)roundingMode scale:(int64_t)scale __attribute__((swift_name("init(decimalPrecision:roundingMode:scale:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIDecimalModeCompanion *companion __attribute__((swift_name("companion"))); +- (int64_t)component1 __attribute__((swift_name("component1()"))); +- (PAPIRoundingMode *)component2 __attribute__((swift_name("component2()"))); +- (int64_t)component3 __attribute__((swift_name("component3()"))); +- (PAPIDecimalMode *)doCopyDecimalPrecision:(int64_t)decimalPrecision roundingMode:(PAPIRoundingMode *)roundingMode scale:(int64_t)scale __attribute__((swift_name("doCopy(decimalPrecision:roundingMode:scale:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) int64_t decimalPrecision __attribute__((swift_name("decimalPrecision"))); +@property (readonly) BOOL isPrecisionUnlimited __attribute__((swift_name("isPrecisionUnlimited"))); +@property (readonly) PAPIRoundingMode *roundingMode __attribute__((swift_name("roundingMode"))); +@property (readonly) int64_t scale __attribute__((swift_name("scale"))); +@property (readonly) BOOL usingScale __attribute__((swift_name("usingScale"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DecimalMode.Companion"))) +@interface PAPIDecimalModeCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDecimalModeCompanion *shared __attribute__((swift_name("shared"))); +@property (readonly) PAPIDecimalMode *DEFAULT __attribute__((swift_name("DEFAULT"))); +@property (readonly) PAPIDecimalMode *US_CURRENCY __attribute__((swift_name("US_CURRENCY"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RoundingMode"))) +@interface PAPIRoundingMode : PAPIKotlinEnum ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@property (class, readonly) PAPIRoundingMode *floor __attribute__((swift_name("floor"))); +@property (class, readonly) PAPIRoundingMode *ceiling __attribute__((swift_name("ceiling"))); +@property (class, readonly) PAPIRoundingMode *awayFromZero __attribute__((swift_name("awayFromZero"))); +@property (class, readonly) PAPIRoundingMode *towardsZero __attribute__((swift_name("towardsZero"))); +@property (class, readonly) PAPIRoundingMode *none __attribute__((swift_name("none"))); +@property (class, readonly) PAPIRoundingMode *roundHalfAwayFromZero __attribute__((swift_name("roundHalfAwayFromZero"))); +@property (class, readonly) PAPIRoundingMode *roundHalfTowardsZero __attribute__((swift_name("roundHalfTowardsZero"))); +@property (class, readonly) PAPIRoundingMode *roundHalfCeiling __attribute__((swift_name("roundHalfCeiling"))); +@property (class, readonly) PAPIRoundingMode *roundHalfFloor __attribute__((swift_name("roundHalfFloor"))); +@property (class, readonly) PAPIRoundingMode *roundHalfToEven __attribute__((swift_name("roundHalfToEven"))); +@property (class, readonly) PAPIRoundingMode *roundHalfToOdd __attribute__((swift_name("roundHalfToOdd"))); ++ (PAPIKotlinArray *)values __attribute__((swift_name("values()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BigInteger"))) +@interface PAPIBigInteger : PAPIBase +- (instancetype)initWithLong:(int64_t)long_ __attribute__((swift_name("init(long:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithInt:(int32_t)int_ __attribute__((swift_name("init(int:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithShort:(int16_t)short_ __attribute__((swift_name("init(short:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithByte:(int8_t)byte __attribute__((swift_name("init(byte:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIBigIntegerCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIBigInteger *)abs __attribute__((swift_name("abs()"))); +- (PAPIBigInteger *)addOther:(PAPIBigInteger *)other __attribute__((swift_name("add(other:)"))); +- (PAPIBigInteger *)andOther:(PAPIBigInteger *)other __attribute__((swift_name("and(other:)"))); +- (BOOL)bitAtPosition:(int64_t)position __attribute__((swift_name("bitAt(position:)"))); +- (int8_t)byteValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("byteValue(exactRequired:)"))); +- (int32_t)compareOther:(PAPIBigInteger *)other __attribute__((swift_name("compare(other:)"))); +- (int32_t)compareDoubleAndBigIntDouble:(double)double_ comparisonBlock:(PAPIInt *(^)(PAPIBigInteger *))comparisonBlock __attribute__((swift_name("compareDoubleAndBigInt(double:comparisonBlock:)"))); +- (int32_t)compareFloatAndBigIntFloat:(float)float_ comparisonBlock:(PAPIInt *(^)(PAPIBigInteger *))comparisonBlock __attribute__((swift_name("compareFloatAndBigInt(float:comparisonBlock:)"))); +- (int32_t)compareToOther_:(id)other __attribute__((swift_name("compareTo(other_:)"))); +- (int32_t)compareToOther:(id)other __attribute__((swift_name("compareTo(other:)"))); +- (PAPIBigInteger *)dec __attribute__((swift_name("dec()"))); +- (PAPIBigInteger *)divideOther:(PAPIBigInteger *)other __attribute__((swift_name("divide(other:)"))); +- (PAPIKotlinPair *)divideAndRemainderOther:(PAPIBigInteger *)other __attribute__((swift_name("divideAndRemainder(other:)"))); +- (PAPIBigIntegerQuotientAndRemainder *)divremOther:(PAPIBigInteger *)other __attribute__((swift_name("divrem(other:)"))); +- (double)doubleValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("doubleValue(exactRequired:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (float)floatValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("floatValue(exactRequired:)"))); +- (PAPIBigInteger *)gcdOther:(PAPIBigInteger *)other __attribute__((swift_name("gcd(other:)"))); +- (id)getCreator __attribute__((swift_name("getCreator()"))); +- (PAPIBigInteger *)getInstance __attribute__((swift_name("getInstance()"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIBigInteger *)inc __attribute__((swift_name("inc()"))); +- (int32_t)intValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("intValue(exactRequired:)"))); +- (BOOL)isZero __attribute__((swift_name("isZero()"))); +- (int64_t)longValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("longValue(exactRequired:)"))); +- (PAPIBigInteger *)modModulo:(PAPIBigInteger *)modulo __attribute__((swift_name("mod(modulo:)"))); +- (PAPIBigInteger *)modInverseModulo:(PAPIBigInteger *)modulo __attribute__((swift_name("modInverse(modulo:)"))); +- (PAPIBigInteger *)multiplyOther:(PAPIBigInteger *)other __attribute__((swift_name("multiply(other:)"))); +- (PAPIBigInteger *)negate __attribute__((swift_name("negate()"))); +- (PAPIBigInteger *)not __attribute__((swift_name("not()"))); +- (int64_t)numberOfDecimalDigits __attribute__((swift_name("numberOfDecimalDigits()"))); +- (PAPIBigInteger *)orOther:(PAPIBigInteger *)other __attribute__((swift_name("or(other:)"))); +- (PAPIBigInteger *)powExponent__:(PAPIBigInteger *)exponent __attribute__((swift_name("pow(exponent__:)"))); +- (PAPIBigInteger *)powExponent:(int32_t)exponent __attribute__((swift_name("pow(exponent:)"))); +- (PAPIBigInteger *)powExponent_:(int64_t)exponent __attribute__((swift_name("pow(exponent_:)"))); +- (PAPIBigIntegerBigIntegerRange *)rangeToOther:(PAPIBigInteger *)other __attribute__((swift_name("rangeTo(other:)"))); +- (PAPIBigInteger *)remainderOther:(PAPIBigInteger *)other __attribute__((swift_name("remainder(other:)"))); +- (void)secureOverwrite __attribute__((swift_name("secureOverwrite()"))); +- (PAPIBigInteger *)setBitAtPosition:(int64_t)position bit:(BOOL)bit __attribute__((swift_name("setBitAt(position:bit:)"))); +- (PAPIBigInteger *)shlPlaces:(int32_t)places __attribute__((swift_name("shl(places:)"))); +- (int16_t)shortValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("shortValue(exactRequired:)"))); +- (PAPIBigInteger *)shrPlaces:(int32_t)places __attribute__((swift_name("shr(places:)"))); +- (int32_t)signum __attribute__((swift_name("signum()"))); +- (PAPIBigInteger *)sqrt __attribute__((swift_name("sqrt()"))); +- (PAPIBigIntegerSqareRootAndRemainder *)sqrtAndRemainder __attribute__((swift_name("sqrtAndRemainder()"))); +- (PAPIBigInteger *)subtractOther:(PAPIBigInteger *)other __attribute__((swift_name("subtract(other:)"))); +- (NSString *)timesChar:(unichar)char_ __attribute__((swift_name("times(char:)"))); +- (PAPIKotlinByteArray *)toByteArray __attribute__((swift_name("toByteArray()"))); +- (PAPIModularBigInteger *)toModularBigIntegerModulo:(PAPIBigInteger *)modulo __attribute__((swift_name("toModularBigInteger(modulo:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +- (NSString *)toStringBase:(int32_t)base __attribute__((swift_name("toString(base:)"))); +- (id)toUByteArray __attribute__((swift_name("toUByteArray()"))); +- (uint8_t)ubyteValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("ubyteValue(exactRequired:)"))); +- (uint32_t)uintValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("uintValue(exactRequired:)"))); +- (uint64_t)ulongValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("ulongValue(exactRequired:)"))); +- (PAPIBigInteger *)unaryMinus __attribute__((swift_name("unaryMinus()"))); +- (uint16_t)ushortValueExactRequired:(BOOL)exactRequired __attribute__((swift_name("ushortValue(exactRequired:)"))); +- (PAPIBigInteger *)xorOther:(PAPIBigInteger *)other __attribute__((swift_name("xor(other:)"))); +@property (readonly) int32_t numberOfWords __attribute__((swift_name("numberOfWords"))); +@property NSString * _Nullable stringRepresentation __attribute__((swift_name("stringRepresentation"))); +@end; + +__attribute__((swift_name("KotlinIterator"))) +@protocol PAPIKotlinIterator +@required +- (BOOL)hasNext __attribute__((swift_name("hasNext()"))); +- (id _Nullable)next_ __attribute__((swift_name("next()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BigInteger.BigIntegerIterator"))) +@interface PAPIBigIntegerBigIntegerIterator : PAPIBase +- (instancetype)initWithStart:(PAPIBigInteger *)start endInclusive:(PAPIBigInteger *)endInclusive __attribute__((swift_name("init(start:endInclusive:)"))) __attribute__((objc_designated_initializer)); +- (BOOL)hasNext __attribute__((swift_name("hasNext()"))); +- (PAPIBigInteger *)next_ __attribute__((swift_name("next()"))); +@end; + +__attribute__((swift_name("KotlinClosedRange"))) +@protocol PAPIKotlinClosedRange +@required +- (BOOL)containsValue:(id)value __attribute__((swift_name("contains(value:)"))); +- (BOOL)isEmpty_ __attribute__((swift_name("isEmpty()"))); +@property (readonly) id endInclusive __attribute__((swift_name("endInclusive"))); +@property (readonly, getter=start_) id start __attribute__((swift_name("start"))); +@end; + +__attribute__((swift_name("KotlinIterable"))) +@protocol PAPIKotlinIterable +@required +- (id)iterator __attribute__((swift_name("iterator()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BigInteger.BigIntegerRange"))) +@interface PAPIBigIntegerBigIntegerRange : PAPIBase +- (instancetype)initWithStart:(PAPIBigInteger *)start endInclusive:(PAPIBigInteger *)endInclusive __attribute__((swift_name("init(start:endInclusive:)"))) __attribute__((objc_designated_initializer)); +- (id)iterator __attribute__((swift_name("iterator()"))); +@property (readonly) PAPIBigInteger *endInclusive __attribute__((swift_name("endInclusive"))); +@property (readonly, getter=start_) PAPIBigInteger *start __attribute__((swift_name("start"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BigInteger.Companion"))) +@interface PAPIBigIntegerCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIBigIntegerCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIBigInteger *)fromBigIntegerBigInteger:(PAPIBigInteger *)bigInteger __attribute__((swift_name("fromBigInteger(bigInteger:)"))); +- (PAPIBigInteger *)fromByteByte:(int8_t)byte __attribute__((swift_name("fromByte(byte:)"))); +- (PAPIBigInteger *)fromByteArraySource:(PAPIKotlinByteArray *)source sign:(PAPISign *)sign __attribute__((swift_name("fromByteArray(source:sign:)"))); +- (PAPIBigInteger *)fromIntInt:(int32_t)int_ __attribute__((swift_name("fromInt(int:)"))); +- (PAPIBigInteger *)fromLongLong:(int64_t)long_ __attribute__((swift_name("fromLong(long:)"))); +- (PAPIBigInteger *)fromShortShort:(int16_t)short_ __attribute__((swift_name("fromShort(short:)"))); +- (PAPIBigInteger *)fromUByteUByte:(uint8_t)uByte __attribute__((swift_name("fromUByte(uByte:)"))); +- (PAPIBigInteger *)fromUByteArraySource:(id)source sign:(PAPISign *)sign __attribute__((swift_name("fromUByteArray(source:sign:)"))); +- (PAPIBigInteger *)fromUIntUInt:(uint32_t)uInt __attribute__((swift_name("fromUInt(uInt:)"))); +- (PAPIBigInteger *)fromULongULong:(uint64_t)uLong __attribute__((swift_name("fromULong(uLong:)"))); +- (PAPIBigInteger *)fromUShortUShort:(uint16_t)uShort __attribute__((swift_name("fromUShort(uShort:)"))); +- (PAPIBigInteger *)maxFirst:(PAPIBigInteger *)first second:(PAPIBigInteger *)second __attribute__((swift_name("max(first:second:)"))); +- (PAPIBigInteger *)minFirst:(PAPIBigInteger *)first second:(PAPIBigInteger *)second __attribute__((swift_name("min(first:second:)"))); +- (PAPIBigInteger *)parseStringString:(NSString *)string base:(int32_t)base __attribute__((swift_name("parseString(string:base:)"))); +- (PAPIBigInteger *)tryFromDoubleDouble:(double)double_ exactRequired:(BOOL)exactRequired __attribute__((swift_name("tryFromDouble(double:exactRequired:)"))); +- (PAPIBigInteger *)tryFromFloatFloat:(float)float_ exactRequired:(BOOL)exactRequired __attribute__((swift_name("tryFromFloat(float:exactRequired:)"))); +@property (readonly) double LOG_10_OF_2 __attribute__((swift_name("LOG_10_OF_2"))); +@property (readonly) PAPIBigInteger *ONE __attribute__((swift_name("ONE"))); +@property (readonly) PAPIBigInteger *TEN __attribute__((swift_name("TEN"))); +@property (readonly) PAPIBigInteger *TWO __attribute__((swift_name("TWO"))); +@property (readonly) PAPIBigInteger *ZERO __attribute__((swift_name("ZERO"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BigInteger.QuotientAndRemainder"))) +@interface PAPIBigIntegerQuotientAndRemainder : PAPIBase +- (instancetype)initWithQuotient:(PAPIBigInteger *)quotient remainder:(PAPIBigInteger *)remainder __attribute__((swift_name("init(quotient:remainder:)"))) __attribute__((objc_designated_initializer)); +- (PAPIBigInteger *)component1 __attribute__((swift_name("component1()"))); +- (PAPIBigInteger *)component2 __attribute__((swift_name("component2()"))); +- (PAPIBigIntegerQuotientAndRemainder *)doCopyQuotient:(PAPIBigInteger *)quotient remainder:(PAPIBigInteger *)remainder __attribute__((swift_name("doCopy(quotient:remainder:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIBigInteger *quotient __attribute__((swift_name("quotient"))); +@property (readonly) PAPIBigInteger *remainder __attribute__((swift_name("remainder"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BigInteger.SqareRootAndRemainder"))) +@interface PAPIBigIntegerSqareRootAndRemainder : PAPIBase +- (instancetype)initWithSquareRoot:(PAPIBigInteger *)squareRoot remainder:(PAPIBigInteger *)remainder __attribute__((swift_name("init(squareRoot:remainder:)"))) __attribute__((objc_designated_initializer)); +- (PAPIBigInteger *)component1 __attribute__((swift_name("component1()"))); +- (PAPIBigInteger *)component2 __attribute__((swift_name("component2()"))); +- (PAPIBigIntegerSqareRootAndRemainder *)doCopySquareRoot:(PAPIBigInteger *)squareRoot remainder:(PAPIBigInteger *)remainder __attribute__((swift_name("doCopy(squareRoot:remainder:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIBigInteger *remainder __attribute__((swift_name("remainder"))); +@property (readonly) PAPIBigInteger *squareRoot __attribute__((swift_name("squareRoot"))); +@end; + +__attribute__((swift_name("BigInteger32ArithmeticInterface"))) +@protocol PAPIBigInteger32ArithmeticInterface +@required +- (id)addFirst:(id)first second:(id)second __attribute__((swift_name("add(first:second:)"))); +- (id)andOperand:(id)operand mask:(id)mask __attribute__((swift_name("and(operand:mask:)"))); +- (BOOL)bitAtOperand:(id)operand position:(int64_t)position __attribute__((swift_name("bitAt(operand:position:)"))); +- (int32_t)bitLengthValue:(id)value __attribute__((swift_name("bitLength(value:)"))); +- (int32_t)compareFirst:(id)first second:(id)second __attribute__((swift_name("compare(first:second:)"))); +- (PAPIKotlinPair *)divideFirst:(id)first second:(id)second __attribute__((swift_name("divide(first:second:)"))); +- (id)fromByteByte:(int8_t)byte __attribute__((swift_name("fromByte(byte:)"))); +- (PAPIKotlinPair *)fromByteArraySource:(PAPIKotlinByteArray *)source __attribute__((swift_name("fromByteArray(source:)"))); +- (id)fromIntInt:(int32_t)int_ __attribute__((swift_name("fromInt(int:)"))); +- (id)fromLongLong:(int64_t)long_ __attribute__((swift_name("fromLong(long:)"))); +- (id)fromShortShort:(int16_t)short_ __attribute__((swift_name("fromShort(short:)"))); +- (id)fromUByteUByte:(uint8_t)uByte __attribute__((swift_name("fromUByte(uByte:)"))); +- (PAPIKotlinPair *)fromUByteArraySource:(id)source __attribute__((swift_name("fromUByteArray(source:)"))); +- (id)fromUIntUInt:(uint32_t)uInt __attribute__((swift_name("fromUInt(uInt:)"))); +- (id)fromULongULong:(uint64_t)uLong __attribute__((swift_name("fromULong(uLong:)"))); +- (id)fromUShortUShort:(uint16_t)uShort __attribute__((swift_name("fromUShort(uShort:)"))); +- (id)gcdFirst:(id)first second:(id)second __attribute__((swift_name("gcd(first:second:)"))); +- (id)multiplyFirst:(id)first second:(id)second __attribute__((swift_name("multiply(first:second:)"))); +- (id)notOperand:(id)operand __attribute__((swift_name("not(operand:)"))); +- (int64_t)numberOfDecimalDigitsOperand:(id)operand __attribute__((swift_name("numberOfDecimalDigits(operand:)"))); +- (int32_t)numberOfLeadingZerosInAWordValue:(uint32_t)value __attribute__((swift_name("numberOfLeadingZerosInAWord(value:)"))); +- (id)orOperand:(id)operand mask:(id)mask __attribute__((swift_name("or(operand:mask:)"))); +- (id)parseForBaseNumber:(NSString *)number base:(int32_t)base __attribute__((swift_name("parseForBase(number:base:)"))); +- (id)powBase:(id)base exponent:(int64_t)exponent __attribute__((swift_name("pow(base:exponent:)"))); +- (PAPIKotlinPair *)reciprocalOperand:(id)operand __attribute__((swift_name("reciprocal(operand:)"))); +- (id)setBitAtOperand:(id)operand position:(int64_t)position bit:(BOOL)bit __attribute__((swift_name("setBitAt(operand:position:bit:)"))); +- (id)shiftLeftOperand:(id)operand places:(int32_t)places __attribute__((swift_name("shiftLeft(operand:places:)"))); +- (id)shiftRightOperand:(id)operand places:(int32_t)places __attribute__((swift_name("shiftRight(operand:places:)"))); +- (PAPIKotlinPair *)sqrtOperand:(id)operand __attribute__((swift_name("sqrt(operand:)"))); +- (id)subtractFirst:(id)first second:(id)second __attribute__((swift_name("subtract(first:second:)"))); +- (PAPIKotlinByteArray *)toByteArrayOperand:(id)operand __attribute__((swift_name("toByteArray(operand:)"))); +- (NSString *)toStringOperand:(id)operand base:(int32_t)base __attribute__((swift_name("toString(operand:base:)"))); +- (id)toUByteArrayOperand:(id)operand __attribute__((swift_name("toUByteArray(operand:)"))); +- (PAPIKotlinArray *)toUIntArrayRepresentedAsTypedUByteArrayOperand:(id)operand endianness:(PAPIEndianness *)endianness __attribute__((swift_name("toUIntArrayRepresentedAsTypedUByteArray(operand:endianness:)"))); +- (id)toUIntArrayRepresentedAsUByteArrayOperand:(id)operand endianness:(PAPIEndianness *)endianness __attribute__((swift_name("toUIntArrayRepresentedAsUByteArray(operand:endianness:)"))); +- (int32_t)trailingZeroBitsValue:(id)value __attribute__((swift_name("trailingZeroBits(value:)"))); +- (id)xorOperand:(id)operand mask:(id)mask __attribute__((swift_name("xor(operand:mask:)"))); +@property (readonly) id ONE __attribute__((swift_name("ONE"))); +@property (readonly) id TEN __attribute__((swift_name("TEN"))); +@property (readonly) id TWO __attribute__((swift_name("TWO"))); +@property (readonly) id ZERO __attribute__((swift_name("ZERO"))); +@property (readonly) PAPIKotlinIntArray *_emitIntArray __attribute__((swift_name("_emitIntArray"))); +@property (readonly) int32_t basePowerOfTwo __attribute__((swift_name("basePowerOfTwo"))); +@end; + +__attribute__((swift_name("BigIntegerArithmetic"))) +@protocol PAPIBigIntegerArithmetic +@required +- (id)addFirst:(id)first second_:(id)second __attribute__((swift_name("add(first:second_:)"))); +- (id)andOperand:(id)operand mask_:(id)mask __attribute__((swift_name("and(operand:mask_:)"))); +- (BOOL)bitAtOperand:(id)operand position_:(int64_t)position __attribute__((swift_name("bitAt(operand:position_:)"))); +- (int32_t)bitLengthValue_:(id)value __attribute__((swift_name("bitLength(value_:)"))); +- (int32_t)compareFirst:(id)first second_:(id)second __attribute__((swift_name("compare(first:second_:)"))); +- (PAPIKotlinPair *)divideFirst:(id)first second_:(id)second __attribute__((swift_name("divide(first:second_:)"))); +- (id)fromByteByte:(int8_t)byte __attribute__((swift_name("fromByte(byte:)"))); +- (id)fromByteArraySource:(PAPIKotlinByteArray *)source __attribute__((swift_name("fromByteArray(source:)"))); +- (id)fromIntInt:(int32_t)int_ __attribute__((swift_name("fromInt(int:)"))); +- (id)fromLongLong:(int64_t)long_ __attribute__((swift_name("fromLong(long:)"))); +- (id)fromShortShort:(int16_t)short_ __attribute__((swift_name("fromShort(short:)"))); +- (id)fromUByteUByte:(uint8_t)uByte __attribute__((swift_name("fromUByte(uByte:)"))); +- (id)fromUByteArraySource:(id)source __attribute__((swift_name("fromUByteArray(source:)"))); +- (id)fromUIntUInt:(uint32_t)uInt __attribute__((swift_name("fromUInt(uInt:)"))); +- (id)fromULongULong:(uint64_t)uLong __attribute__((swift_name("fromULong(uLong:)"))); +- (id)fromUShortUShort:(uint16_t)uShort __attribute__((swift_name("fromUShort(uShort:)"))); +- (id)gcdFirst:(id)first second_:(id)second __attribute__((swift_name("gcd(first:second_:)"))); +- (id)multiplyFirst:(id)first second_:(id)second __attribute__((swift_name("multiply(first:second_:)"))); +- (id)notOperand_:(id)operand __attribute__((swift_name("not(operand_:)"))); +- (int64_t)numberOfDecimalDigitsOperand_:(id)operand __attribute__((swift_name("numberOfDecimalDigits(operand_:)"))); +- (int32_t)numberOfLeadingZerosInAWordValue_:(uint64_t)value __attribute__((swift_name("numberOfLeadingZerosInAWord(value_:)"))); +- (id)orOperand:(id)operand mask_:(id)mask __attribute__((swift_name("or(operand:mask_:)"))); +- (id)parseForBaseNumber:(NSString *)number base:(int32_t)base __attribute__((swift_name("parseForBase(number:base:)"))); +- (id)powBase:(id)base exponent_:(int64_t)exponent __attribute__((swift_name("pow(base:exponent_:)"))); +- (PAPIKotlinPair *)reciprocalOperand_:(id)operand __attribute__((swift_name("reciprocal(operand_:)"))); +- (id)setBitAtOperand:(id)operand position:(int64_t)position bit_:(BOOL)bit __attribute__((swift_name("setBitAt(operand:position:bit_:)"))); +- (id)shiftLeftOperand:(id)operand places_:(int32_t)places __attribute__((swift_name("shiftLeft(operand:places_:)"))); +- (id)shiftRightOperand:(id)operand places_:(int32_t)places __attribute__((swift_name("shiftRight(operand:places_:)"))); +- (PAPIKotlinPair *)sqrtOperand_:(id)operand __attribute__((swift_name("sqrt(operand_:)"))); +- (id)subtractFirst:(id)first second_:(id)second __attribute__((swift_name("subtract(first:second_:)"))); +- (PAPIKotlinByteArray *)toByteArrayOperand_:(id)operand __attribute__((swift_name("toByteArray(operand_:)"))); +- (NSString *)toStringOperand:(id)operand base_:(int32_t)base __attribute__((swift_name("toString(operand:base_:)"))); +- (id)toUByteArrayOperand_:(id)operand __attribute__((swift_name("toUByteArray(operand_:)"))); +- (int32_t)trailingZeroBitsValue_:(id)value __attribute__((swift_name("trailingZeroBits(value_:)"))); +- (id)xorOperand:(id)operand mask_:(id)mask __attribute__((swift_name("xor(operand:mask_:)"))); +@property (readonly) id ONE __attribute__((swift_name("ONE"))); +@property (readonly) id TEN __attribute__((swift_name("TEN"))); +@property (readonly) id TWO __attribute__((swift_name("TWO"))); +@property (readonly) id ZERO __attribute__((swift_name("ZERO"))); +@property (readonly) PAPIKotlinLongArray *_emitLongArray __attribute__((swift_name("_emitLongArray"))); +@property (readonly) int32_t basePowerOfTwo __attribute__((swift_name("basePowerOfTwo"))); +@end; + +__attribute__((swift_name("BigIntegerList63Arithmetic"))) +@protocol PAPIBigIntegerList63Arithmetic +@required +- (NSArray *)addFirst:(NSArray *)first second__:(NSArray *)second __attribute__((swift_name("add(first:second__:)"))); +- (NSArray *)andOperand:(NSArray *)operand mask__:(NSArray *)mask __attribute__((swift_name("and(operand:mask__:)"))); +- (BOOL)bitAtOperand:(NSArray *)operand position__:(int64_t)position __attribute__((swift_name("bitAt(operand:position__:)"))); +- (int32_t)bitLengthValue__:(NSArray *)value __attribute__((swift_name("bitLength(value__:)"))); +- (int32_t)compareFirst:(NSArray *)first second__:(NSArray *)second __attribute__((swift_name("compare(first:second__:)"))); +- (PAPIKotlinPair *, NSArray *> *)divideFirst:(NSArray *)first second__:(NSArray *)second __attribute__((swift_name("divide(first:second__:)"))); +- (NSArray *)fromByteByte:(int8_t)byte __attribute__((swift_name("fromByte(byte:)"))); +- (NSArray *)fromByteArraySource:(PAPIKotlinByteArray *)source __attribute__((swift_name("fromByteArray(source:)"))); +- (NSArray *)fromIntInt:(int32_t)int_ __attribute__((swift_name("fromInt(int:)"))); +- (NSArray *)fromLongLong:(int64_t)long_ __attribute__((swift_name("fromLong(long:)"))); +- (NSArray *)fromShortShort:(int16_t)short_ __attribute__((swift_name("fromShort(short:)"))); +- (NSArray *)fromUByteUByte:(uint8_t)uByte __attribute__((swift_name("fromUByte(uByte:)"))); +- (NSArray *)fromUByteArraySource:(id)source __attribute__((swift_name("fromUByteArray(source:)"))); +- (NSArray *)fromUIntUInt:(uint32_t)uInt __attribute__((swift_name("fromUInt(uInt:)"))); +- (NSArray *)fromULongULong:(uint64_t)uLong __attribute__((swift_name("fromULong(uLong:)"))); +- (NSArray *)fromUShortUShort:(uint16_t)uShort __attribute__((swift_name("fromUShort(uShort:)"))); +- (NSArray *)gcdFirst:(NSArray *)first second__:(NSArray *)second __attribute__((swift_name("gcd(first:second__:)"))); +- (NSArray *)multiplyFirst:(NSArray *)first second__:(NSArray *)second __attribute__((swift_name("multiply(first:second__:)"))); +- (NSArray *)notOperand__:(NSArray *)operand __attribute__((swift_name("not(operand__:)"))); +- (int64_t)numberOfDecimalDigitsOperand__:(NSArray *)operand __attribute__((swift_name("numberOfDecimalDigits(operand__:)"))); +- (int32_t)numberOfLeadingZerosInAWordValue_:(uint64_t)value __attribute__((swift_name("numberOfLeadingZerosInAWord(value_:)"))); +- (NSArray *)orOperand:(NSArray *)operand mask__:(NSArray *)mask __attribute__((swift_name("or(operand:mask__:)"))); +- (NSArray *)parseForBaseNumber:(NSString *)number base:(int32_t)base __attribute__((swift_name("parseForBase(number:base:)"))); +- (NSArray *)powBase:(NSArray *)base exponent__:(int64_t)exponent __attribute__((swift_name("pow(base:exponent__:)"))); +- (PAPIKotlinPair *, NSArray *> *)reciprocalOperand__:(NSArray *)operand __attribute__((swift_name("reciprocal(operand__:)"))); +- (NSArray *)setBitAtOperand:(NSArray *)operand position:(int64_t)position bit__:(BOOL)bit __attribute__((swift_name("setBitAt(operand:position:bit__:)"))); +- (NSArray *)shiftLeftOperand:(NSArray *)operand places__:(int32_t)places __attribute__((swift_name("shiftLeft(operand:places__:)"))); +- (NSArray *)shiftRightOperand:(NSArray *)operand places__:(int32_t)places __attribute__((swift_name("shiftRight(operand:places__:)"))); +- (PAPIKotlinPair *, NSArray *> *)sqrtOperand__:(NSArray *)operand __attribute__((swift_name("sqrt(operand__:)"))); +- (NSArray *)subtractFirst:(NSArray *)first second__:(NSArray *)second __attribute__((swift_name("subtract(first:second__:)"))); +- (PAPIKotlinByteArray *)toByteArrayOperand__:(NSArray *)operand __attribute__((swift_name("toByteArray(operand__:)"))); +- (NSString *)toStringOperand:(NSArray *)operand base__:(int32_t)base __attribute__((swift_name("toString(operand:base__:)"))); +- (id)toUByteArrayOperand__:(NSArray *)operand __attribute__((swift_name("toUByteArray(operand__:)"))); +- (int32_t)trailingZeroBitsValue__:(NSArray *)value __attribute__((swift_name("trailingZeroBits(value__:)"))); +- (NSArray *)xorOperand:(NSArray *)operand mask__:(NSArray *)mask __attribute__((swift_name("xor(operand:mask__:)"))); +@property (readonly) NSArray *ONE __attribute__((swift_name("ONE"))); +@property (readonly) NSArray *TEN __attribute__((swift_name("TEN"))); +@property (readonly) NSArray *TWO __attribute__((swift_name("TWO"))); +@property (readonly) NSArray *ZERO __attribute__((swift_name("ZERO"))); +@property (readonly) int32_t basePowerOfTwo __attribute__((swift_name("basePowerOfTwo"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ComparisonWorkaround"))) +@interface PAPIComparisonWorkaround : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)comparisonWorkaround __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIComparisonWorkaround *shared __attribute__((swift_name("shared"))); +- (BOOL)isSpecialHandlingForFloatNeededNumber:(id)number __attribute__((swift_name("isSpecialHandlingForFloatNeeded(number:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Quadruple"))) +@interface PAPIQuadruple : PAPIBase +- (instancetype)initWithA:(A _Nullable)a b:(B _Nullable)b c:(C _Nullable)c d:(D _Nullable)d __attribute__((swift_name("init(a:b:c:d:)"))) __attribute__((objc_designated_initializer)); +- (A _Nullable)component1 __attribute__((swift_name("component1()"))); +- (B _Nullable)component2 __attribute__((swift_name("component2()"))); +- (C _Nullable)component3 __attribute__((swift_name("component3()"))); +- (D _Nullable)component4 __attribute__((swift_name("component4()"))); +- (PAPIQuadruple *)doCopyA:(A _Nullable)a b:(B _Nullable)b c:(C _Nullable)c d:(D _Nullable)d __attribute__((swift_name("doCopy(a:b:c:d:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) A _Nullable a __attribute__((swift_name("a"))); +@property (readonly) B _Nullable b __attribute__((swift_name("b"))); +@property (readonly) C _Nullable c __attribute__((swift_name("c"))); +@property (readonly) D _Nullable d __attribute__((swift_name("d"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Quintuple"))) +@interface PAPIQuintuple : PAPIBase +- (instancetype)initWithA:(A _Nullable)a b:(B _Nullable)b c:(C _Nullable)c d:(D _Nullable)d e:(E _Nullable)e __attribute__((swift_name("init(a:b:c:d:e:)"))) __attribute__((objc_designated_initializer)); +- (A _Nullable)component1 __attribute__((swift_name("component1()"))); +- (B _Nullable)component2 __attribute__((swift_name("component2()"))); +- (C _Nullable)component3 __attribute__((swift_name("component3()"))); +- (D _Nullable)component4 __attribute__((swift_name("component4()"))); +- (E _Nullable)component5 __attribute__((swift_name("component5()"))); +- (PAPIQuintuple *)doCopyA:(A _Nullable)a b:(B _Nullable)b c:(C _Nullable)c d:(D _Nullable)d e:(E _Nullable)e __attribute__((swift_name("doCopy(a:b:c:d:e:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) A _Nullable a __attribute__((swift_name("a"))); +@property (readonly) B _Nullable b __attribute__((swift_name("b"))); +@property (readonly) C _Nullable c __attribute__((swift_name("c"))); +@property (readonly) D _Nullable d __attribute__((swift_name("d"))); +@property (readonly) E _Nullable e __attribute__((swift_name("e"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Sextuple"))) +@interface PAPISextuple : PAPIBase +- (instancetype)initWithA:(A _Nullable)a b:(B _Nullable)b c:(C _Nullable)c d:(D _Nullable)d e:(E _Nullable)e f:(F _Nullable)f __attribute__((swift_name("init(a:b:c:d:e:f:)"))) __attribute__((objc_designated_initializer)); +- (A _Nullable)component1 __attribute__((swift_name("component1()"))); +- (B _Nullable)component2 __attribute__((swift_name("component2()"))); +- (C _Nullable)component3 __attribute__((swift_name("component3()"))); +- (D _Nullable)component4 __attribute__((swift_name("component4()"))); +- (E _Nullable)component5 __attribute__((swift_name("component5()"))); +- (F _Nullable)component6 __attribute__((swift_name("component6()"))); +- (PAPISextuple *)doCopyA:(A _Nullable)a b:(B _Nullable)b c:(C _Nullable)c d:(D _Nullable)d e:(E _Nullable)e f:(F _Nullable)f __attribute__((swift_name("doCopy(a:b:c:d:e:f:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) A _Nullable a __attribute__((swift_name("a"))); +@property (readonly) B _Nullable b __attribute__((swift_name("b"))); +@property (readonly) C _Nullable c __attribute__((swift_name("c"))); +@property (readonly) D _Nullable d __attribute__((swift_name("d"))); +@property (readonly) E _Nullable e __attribute__((swift_name("e"))); +@property (readonly) F _Nullable f __attribute__((swift_name("f"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Sign"))) +@interface PAPISign : PAPIKotlinEnum ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@property (class, readonly) PAPISign *positive __attribute__((swift_name("positive"))); +@property (class, readonly) PAPISign *negative __attribute__((swift_name("negative"))); +@property (class, readonly) PAPISign *zero __attribute__((swift_name("zero"))); ++ (PAPIKotlinArray *)values __attribute__((swift_name("values()"))); +- (PAPISign *)not __attribute__((swift_name("not()"))); +- (int32_t)toInt __attribute__((swift_name("toInt()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AES"))) +@interface PAPIAES : PAPIBase +- (instancetype)initWithKey:(PAPIKotlinByteArray *)key __attribute__((swift_name("init(key:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithKeyWords:(PAPIKotlinIntArray *)keyWords __attribute__((swift_name("init(keyWords:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIAESCompanion *companion __attribute__((swift_name("companion"))); +- (void)decryptBlockM:(PAPIKotlinIntArray *)M offset:(int32_t)offset __attribute__((swift_name("decryptBlock(M:offset:)"))); +- (void)encryptBlockM:(PAPIKotlinIntArray *)M offset:(int32_t)offset __attribute__((swift_name("encryptBlock(M:offset:)"))); +@property (readonly) PAPIKotlinIntArray *keyWords __attribute__((swift_name("keyWords"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AES.Companion"))) +@interface PAPIAESCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIAESCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIKotlinByteArray *)decryptAes128CbcData:(PAPIKotlinByteArray *)data key:(PAPIKotlinByteArray *)key iv:(PAPIKotlinByteArray *)iv padding:(PAPIPadding *)padding __attribute__((swift_name("decryptAes128Cbc(data:key:iv:padding:)"))); +- (PAPIKotlinByteArray *)decryptAesCbcData:(PAPIKotlinByteArray *)data key:(PAPIKotlinByteArray *)key iv:(PAPIKotlinByteArray *)iv padding:(PAPIPadding *)padding __attribute__((swift_name("decryptAesCbc(data:key:iv:padding:)"))); +- (PAPIKotlinByteArray *)decryptAesCfbData:(PAPIKotlinByteArray *)data key:(PAPIKotlinByteArray *)key iv:(PAPIKotlinByteArray *)iv padding:(PAPIPadding *)padding __attribute__((swift_name("decryptAesCfb(data:key:iv:padding:)"))); +- (PAPIKotlinByteArray *)decryptAesEcbData:(PAPIKotlinByteArray *)data key:(PAPIKotlinByteArray *)key padding:(PAPIPadding *)padding __attribute__((swift_name("decryptAesEcb(data:key:padding:)"))); +- (PAPIKotlinByteArray *)decryptAesOfbData:(PAPIKotlinByteArray *)data key:(PAPIKotlinByteArray *)key iv:(PAPIKotlinByteArray *)iv padding:(PAPIPadding *)padding __attribute__((swift_name("decryptAesOfb(data:key:iv:padding:)"))); +- (PAPIKotlinByteArray *)decryptAesPcbcData:(PAPIKotlinByteArray *)data key:(PAPIKotlinByteArray *)key iv:(PAPIKotlinByteArray *)iv padding:(PAPIPadding *)padding __attribute__((swift_name("decryptAesPcbc(data:key:iv:padding:)"))); +- (PAPIKotlinByteArray *)encryptAes128CbcData:(PAPIKotlinByteArray *)data key:(PAPIKotlinByteArray *)key iv:(PAPIKotlinByteArray *)iv padding:(PAPIPadding *)padding __attribute__((swift_name("encryptAes128Cbc(data:key:iv:padding:)"))); +- (PAPIKotlinByteArray *)encryptAesCbcData:(PAPIKotlinByteArray *)data key:(PAPIKotlinByteArray *)key iv:(PAPIKotlinByteArray *)iv padding:(PAPIPadding *)padding __attribute__((swift_name("encryptAesCbc(data:key:iv:padding:)"))); +- (PAPIKotlinByteArray *)encryptAesCfbData:(PAPIKotlinByteArray *)data key:(PAPIKotlinByteArray *)key iv:(PAPIKotlinByteArray *)iv padding:(PAPIPadding *)padding __attribute__((swift_name("encryptAesCfb(data:key:iv:padding:)"))); +- (PAPIKotlinByteArray *)encryptAesEcbData:(PAPIKotlinByteArray *)data key:(PAPIKotlinByteArray *)key padding:(PAPIPadding *)padding __attribute__((swift_name("encryptAesEcb(data:key:padding:)"))); +- (PAPIKotlinByteArray *)encryptAesOfbData:(PAPIKotlinByteArray *)data key:(PAPIKotlinByteArray *)key iv:(PAPIKotlinByteArray *)iv padding:(PAPIPadding *)padding __attribute__((swift_name("encryptAesOfb(data:key:iv:padding:)"))); +- (PAPIKotlinByteArray *)encryptAesPcbcData:(PAPIKotlinByteArray *)data key:(PAPIKotlinByteArray *)key iv:(PAPIKotlinByteArray *)iv padding:(PAPIPadding *)padding __attribute__((swift_name("encryptAesPcbc(data:key:iv:padding:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("HMAC"))) +@interface PAPIHMAC : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +@property (class, readonly, getter=companion) PAPIHMACCompanion *companion __attribute__((swift_name("companion"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("HMAC.Companion"))) +@interface PAPIHMACCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIHMACCompanion *shared __attribute__((swift_name("shared"))); +- (id)hmacMD5Key:(PAPIKotlinByteArray *)key data:(PAPIKotlinByteArray *)data __attribute__((swift_name("hmacMD5(key:data:)"))); +- (id)hmacSHA1Key:(PAPIKotlinByteArray *)key data:(PAPIKotlinByteArray *)data __attribute__((swift_name("hmacSHA1(key:data:)"))); +- (id)hmacSHA256Key:(PAPIKotlinByteArray *)key data:(PAPIKotlinByteArray *)data __attribute__((swift_name("hmacSHA256(key:data:)"))); +@end; + +__attribute__((swift_name("Hasher"))) +@interface PAPIHasher : PAPIBase +- (instancetype)initWithChunkSize:(int32_t)chunkSize digestSize:(int32_t)digestSize __attribute__((swift_name("init(chunkSize:digestSize:)"))) __attribute__((objc_designated_initializer)); +- (void)coreDigestOut:(PAPIKotlinByteArray *)out __attribute__((swift_name("coreDigest(out:)"))); +- (PAPIKotlinByteArray *)corePaddingTotalWritten:(int64_t)totalWritten __attribute__((swift_name("corePadding(totalWritten:)"))); +- (void)coreReset __attribute__((swift_name("coreReset()"))); +- (void)coreUpdateChunk:(PAPIKotlinByteArray *)chunk __attribute__((swift_name("coreUpdate(chunk:)"))); +- (id)digest __attribute__((swift_name("digest()"))); +- (void)digestOutOut:(PAPIKotlinByteArray *)out __attribute__((swift_name("digestOut(out:)"))); +- (PAPIHasher *)reset __attribute__((swift_name("reset()"))); +- (PAPIHasher *)updateData:(PAPIKotlinByteArray *)data __attribute__((swift_name("update(data:)"))); +- (PAPIHasher *)updateData:(PAPIKotlinByteArray *)data offset:(int32_t)offset count:(int32_t)count __attribute__((swift_name("update(data:offset:count:)"))); +@property (readonly) int32_t chunkSize __attribute__((swift_name("chunkSize"))); +@property (readonly) int32_t digestSize __attribute__((swift_name("digestSize"))); +@end; + +__attribute__((swift_name("HasherFactory"))) +@interface PAPIHasherFactory : PAPIBase +- (instancetype)initWithCreate:(PAPIHasher *(^)(void))create __attribute__((swift_name("init(create:)"))) __attribute__((objc_designated_initializer)); +- (id)digestData:(PAPIKotlinByteArray *)data __attribute__((swift_name("digest(data:)"))); +- (id)digestTemp:(PAPIKotlinByteArray *)temp readBytes:(PAPIInt *(^)(PAPIKotlinByteArray *))readBytes __attribute__((swift_name("digest(temp:readBytes:)"))); +@property (readonly) PAPIHasher *(^create)(void) __attribute__((swift_name("create"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MD4"))) +@interface PAPIMD4 : PAPIHasher +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (instancetype)initWithChunkSize:(int32_t)chunkSize digestSize:(int32_t)digestSize __attribute__((swift_name("init(chunkSize:digestSize:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@property (class, readonly, getter=companion) PAPIMD4Companion *companion __attribute__((swift_name("companion"))); +- (void)coreDigestOut:(PAPIKotlinByteArray *)out __attribute__((swift_name("coreDigest(out:)"))); +- (PAPIKotlinByteArray *)corePaddingTotalWritten:(int64_t)totalWritten __attribute__((swift_name("corePadding(totalWritten:)"))); +- (void)coreReset __attribute__((swift_name("coreReset()"))); +- (void)coreUpdateChunk:(PAPIKotlinByteArray *)chunk __attribute__((swift_name("coreUpdate(chunk:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MD4.Companion"))) +@interface PAPIMD4Companion : PAPIHasherFactory ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithCreate:(PAPIHasher *(^)(void))create __attribute__((swift_name("init(create:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIMD4Companion *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MD5"))) +@interface PAPIMD5 : PAPIHasher +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (instancetype)initWithChunkSize:(int32_t)chunkSize digestSize:(int32_t)digestSize __attribute__((swift_name("init(chunkSize:digestSize:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@property (class, readonly, getter=companion) PAPIMD5Companion *companion __attribute__((swift_name("companion"))); +- (void)coreDigestOut:(PAPIKotlinByteArray *)out __attribute__((swift_name("coreDigest(out:)"))); +- (PAPIKotlinByteArray *)corePaddingTotalWritten:(int64_t)totalWritten __attribute__((swift_name("corePadding(totalWritten:)"))); +- (void)coreReset __attribute__((swift_name("coreReset()"))); +- (void)coreUpdateChunk:(PAPIKotlinByteArray *)chunk __attribute__((swift_name("coreUpdate(chunk:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MD5.Companion"))) +@interface PAPIMD5Companion : PAPIHasherFactory ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithCreate:(PAPIHasher *(^)(void))create __attribute__((swift_name("init(create:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIMD5Companion *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PBKDF2"))) +@interface PAPIPBKDF2 : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +@property (class, readonly, getter=companion) PAPIPBKDF2Companion *companion __attribute__((swift_name("companion"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PBKDF2.Companion"))) +@interface PAPIPBKDF2Companion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIPBKDF2Companion *shared __attribute__((swift_name("shared"))); +- (PAPIKotlinByteArray *)pbkdf2WithHmacSHA1Password:(PAPIKotlinByteArray *)password salt:(PAPIKotlinByteArray *)salt iterationCount:(int32_t)iterationCount keySizeInBits:(int32_t)keySizeInBits __attribute__((swift_name("pbkdf2WithHmacSHA1(password:salt:iterationCount:keySizeInBits:)"))); +- (PAPIKotlinByteArray *)pbkdf2WithHmacSHA256Password:(PAPIKotlinByteArray *)password salt:(PAPIKotlinByteArray *)salt iterationCount:(int32_t)iterationCount keySizeInBits:(int32_t)keySizeInBits __attribute__((swift_name("pbkdf2WithHmacSHA256(password:salt:iterationCount:keySizeInBits:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Padding"))) +@interface PAPIPadding : PAPIKotlinEnum ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@property (class, readonly, getter=companion) PAPIPaddingCompanion *companion __attribute__((swift_name("companion"))); +@property (class, readonly) PAPIPadding *nopadding __attribute__((swift_name("nopadding"))); +@property (class, readonly) PAPIPadding *pkcs7padding __attribute__((swift_name("pkcs7padding"))); +@property (class, readonly) PAPIPadding *ansix923padding __attribute__((swift_name("ansix923padding"))); +@property (class, readonly) PAPIPadding *iso10126padding __attribute__((swift_name("iso10126padding"))); +@property (class, readonly) PAPIPadding *zeropadding __attribute__((swift_name("zeropadding"))); ++ (PAPIKotlinArray *)values __attribute__((swift_name("values()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Padding.Companion"))) +@interface PAPIPaddingCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIPaddingCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIKotlinByteArray *)paddingData:(PAPIKotlinByteArray *)data blockSize:(int32_t)blockSize padding:(PAPIPadding *)padding __attribute__((swift_name("padding(data:blockSize:padding:)"))); +- (PAPIKotlinByteArray *)removePaddingData:(PAPIKotlinByteArray *)data padding:(PAPIPadding *)padding __attribute__((swift_name("removePadding(data:padding:)"))); +@end; + +__attribute__((swift_name("SHA"))) +@interface PAPISHA : PAPIHasher +- (instancetype)initWithChunkSize:(int32_t)chunkSize digestSize:(int32_t)digestSize __attribute__((swift_name("init(chunkSize:digestSize:)"))) __attribute__((objc_designated_initializer)); +- (PAPIKotlinByteArray *)corePaddingTotalWritten:(int64_t)totalWritten __attribute__((swift_name("corePadding(totalWritten:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SHA1"))) +@interface PAPISHA1 : PAPISHA +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (instancetype)initWithChunkSize:(int32_t)chunkSize digestSize:(int32_t)digestSize __attribute__((swift_name("init(chunkSize:digestSize:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@property (class, readonly, getter=companion) PAPISHA1Companion *companion __attribute__((swift_name("companion"))); +- (void)coreDigestOut:(PAPIKotlinByteArray *)out __attribute__((swift_name("coreDigest(out:)"))); +- (void)coreReset __attribute__((swift_name("coreReset()"))); +- (void)coreUpdateChunk:(PAPIKotlinByteArray *)chunk __attribute__((swift_name("coreUpdate(chunk:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SHA1.Companion"))) +@interface PAPISHA1Companion : PAPIHasherFactory ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithCreate:(PAPIHasher *(^)(void))create __attribute__((swift_name("init(create:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPISHA1Companion *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SHA256"))) +@interface PAPISHA256 : PAPISHA +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (instancetype)initWithChunkSize:(int32_t)chunkSize digestSize:(int32_t)digestSize __attribute__((swift_name("init(chunkSize:digestSize:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@property (class, readonly, getter=companion) PAPISHA256Companion *companion __attribute__((swift_name("companion"))); +- (void)coreDigestOut:(PAPIKotlinByteArray *)out __attribute__((swift_name("coreDigest(out:)"))); +- (void)coreReset __attribute__((swift_name("coreReset()"))); +- (void)coreUpdateChunk:(PAPIKotlinByteArray *)chunk __attribute__((swift_name("coreUpdate(chunk:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SHA256.Companion"))) +@interface PAPISHA256Companion : PAPIHasherFactory ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithCreate:(PAPIHasher *(^)(void))create __attribute__((swift_name("init(create:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPISHA256Companion *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((swift_name("KotlinRandom"))) +@interface PAPIKotlinRandom : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +@property (class, readonly, getter=companion) PAPIKotlinRandomDefault *companion __attribute__((swift_name("companion"))); +- (int32_t)nextBitsBitCount:(int32_t)bitCount __attribute__((swift_name("nextBits(bitCount:)"))); +- (BOOL)nextBoolean __attribute__((swift_name("nextBoolean()"))); +- (PAPIKotlinByteArray *)nextBytesArray:(PAPIKotlinByteArray *)array __attribute__((swift_name("nextBytes(array:)"))); +- (PAPIKotlinByteArray *)nextBytesArray:(PAPIKotlinByteArray *)array fromIndex:(int32_t)fromIndex toIndex:(int32_t)toIndex __attribute__((swift_name("nextBytes(array:fromIndex:toIndex:)"))); +- (PAPIKotlinByteArray *)nextBytesSize:(int32_t)size __attribute__((swift_name("nextBytes(size:)"))); +- (double)nextDouble __attribute__((swift_name("nextDouble()"))); +- (double)nextDoubleUntil:(double)until __attribute__((swift_name("nextDouble(until:)"))); +- (double)nextDoubleFrom:(double)from until:(double)until __attribute__((swift_name("nextDouble(from:until:)"))); +- (float)nextFloat __attribute__((swift_name("nextFloat()"))); +- (int32_t)nextInt __attribute__((swift_name("nextInt()"))); +- (int32_t)nextIntUntil:(int32_t)until __attribute__((swift_name("nextInt(until:)"))); +- (int32_t)nextIntFrom:(int32_t)from until:(int32_t)until __attribute__((swift_name("nextInt(from:until:)"))); +- (int64_t)nextLong __attribute__((swift_name("nextLong()"))); +- (int64_t)nextLongUntil:(int64_t)until __attribute__((swift_name("nextLong(until:)"))); +- (int64_t)nextLongFrom:(int64_t)from until:(int64_t)until __attribute__((swift_name("nextLong(from:until:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SecureRandom"))) +@interface PAPISecureRandom : PAPIKotlinRandom ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)secureRandom __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPISecureRandom *shared __attribute__((swift_name("shared"))); +- (int32_t)nextBitsBitCount:(int32_t)bitCount __attribute__((swift_name("nextBits(bitCount:)"))); +- (PAPIKotlinByteArray *)nextBytesArray:(PAPIKotlinByteArray *)array fromIndex:(int32_t)fromIndex toIndex:(int32_t)toIndex __attribute__((swift_name("nextBytes(array:fromIndex:toIndex:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ASCII"))) +@interface PAPIASCII : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)aSCII __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIASCII *shared __attribute__((swift_name("shared"))); +- (NSString *)decodeData:(PAPIKotlinByteArray *)data __attribute__((swift_name("decode(data:)"))); +- (PAPIKotlinByteArray *)encodeStr:(NSString *)str __attribute__((swift_name("encode(str:)"))); +- (NSString *)invokeV:(PAPIKotlinByteArray *)v __attribute__((swift_name("invoke(v:)"))); +- (PAPIKotlinByteArray *)invokeV_:(NSString *)v __attribute__((swift_name("invoke(v_:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Base64"))) +@interface PAPIBase64 : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)base64 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIBase64 *shared __attribute__((swift_name("shared"))); +- (int32_t)decodeSrc:(PAPIKotlinByteArray *)src dst:(PAPIKotlinByteArray *)dst url:(BOOL)url __attribute__((swift_name("decode(src:dst:url:)"))); +- (PAPIKotlinByteArray *)decodeStr:(NSString *)str url:(BOOL)url __attribute__((swift_name("decode(str:url:)"))); +- (PAPIKotlinByteArray *)decodeIgnoringSpacesStr:(NSString *)str url:(BOOL)url __attribute__((swift_name("decodeIgnoringSpaces(str:url:)"))); +- (NSString *)encodeSrc:(PAPIKotlinByteArray *)src url:(BOOL)url doPadding:(BOOL)doPadding __attribute__((swift_name("encode(src:url:doPadding:)"))); +- (NSString *)invokeV:(PAPIKotlinByteArray *)v url:(BOOL)url __attribute__((swift_name("invoke(v:url:)"))); +- (PAPIKotlinByteArray *)invokeV:(NSString *)v url_:(BOOL)url __attribute__((swift_name("invoke(v:url_:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Hex"))) +@interface PAPIHex : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)hex __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIHex *shared __attribute__((swift_name("shared"))); +- (void)appendHexByteAppender:(id)appender value:(int32_t)value __attribute__((swift_name("appendHexByte(appender:value:)"))); +- (void)decodeStr:(NSString *)str out:(void (^)(PAPIInt *, PAPIByte *))out __attribute__((swift_name("decode(str:out:)"))); +- (PAPIKotlinByteArray *)decodeStr:(NSString *)str out_:(PAPIKotlinByteArray *)out __attribute__((swift_name("decode(str:out_:)"))); +- (int32_t)decodeCharC:(unichar)c __attribute__((swift_name("decodeChar(c:)"))); +- (int32_t)decodeHexDigitC:(unichar)c __attribute__((swift_name("decodeHexDigit(c:)"))); +- (NSString *)encodeSrc:(PAPIKotlinByteArray *)src __attribute__((swift_name("encode(src:)"))); +- (void)encodeSrc:(PAPIKotlinByteArray *)src dst:(id)dst __attribute__((swift_name("encode(src:dst:)"))); +- (unichar)encodeCharLowerV:(int32_t)v __attribute__((swift_name("encodeCharLower(v:)"))); +- (unichar)encodeCharUpperV:(int32_t)v __attribute__((swift_name("encodeCharUpper(v:)"))); +- (NSString *)encodeLowerSrc:(PAPIKotlinByteArray *)src __attribute__((swift_name("encodeLower(src:)"))); +- (void)encodeLowerSrc:(PAPIKotlinByteArray *)src dst:(id)dst __attribute__((swift_name("encodeLower(src:dst:)"))); +- (NSString *)encodeUpperSrc:(PAPIKotlinByteArray *)src __attribute__((swift_name("encodeUpper(src:)"))); +- (void)encodeUpperSrc:(PAPIKotlinByteArray *)src dst:(id)dst __attribute__((swift_name("encodeUpper(src:dst:)"))); +- (NSString *)invokeV:(PAPIKotlinByteArray *)v __attribute__((swift_name("invoke(v:)"))); +- (PAPIKotlinByteArray *)invokeV_:(NSString *)v __attribute__((swift_name("invoke(v_:)"))); +- (BOOL)isHexDigitC:(unichar)c __attribute__((swift_name("isHexDigit(c:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Base58"))) +@interface PAPIBase58 : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)base58 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIBase58 *shared __attribute__((swift_name("shared"))); +- (PAPIKotlinByteArray *)decodeInput:(NSString *)input __attribute__((swift_name("decode(input:)"))); +- (NSString *)encodeInput:(PAPIKotlinByteArray *)input __attribute__((swift_name("encode(input:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Base58.Prefix"))) +@interface PAPIBase58Prefix : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)prefix __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIBase58Prefix *shared __attribute__((swift_name("shared"))); +@property (readonly) int8_t PubkeyAddress __attribute__((swift_name("PubkeyAddress"))); +@property (readonly) int8_t PubkeyAddressSegnet __attribute__((swift_name("PubkeyAddressSegnet"))); +@property (readonly) int8_t PubkeyAddressTestnet __attribute__((swift_name("PubkeyAddressTestnet"))); +@property (readonly) int8_t ScriptAddress __attribute__((swift_name("ScriptAddress"))); +@property (readonly) int8_t ScriptAddressSegnet __attribute__((swift_name("ScriptAddressSegnet"))); +@property (readonly) int8_t ScriptAddressTestnet __attribute__((swift_name("ScriptAddressTestnet"))); +@property (readonly) int8_t SecretKey __attribute__((swift_name("SecretKey"))); +@property (readonly) int8_t SecretKeySegnet __attribute__((swift_name("SecretKeySegnet"))); +@property (readonly) int8_t SecretKeyTestnet __attribute__((swift_name("SecretKeyTestnet"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Base58Check"))) +@interface PAPIBase58Check : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)base58Check __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIBase58Check *shared __attribute__((swift_name("shared"))); +- (PAPIKotlinByteArray *)checksumData:(PAPIKotlinByteArray *)data __attribute__((swift_name("checksum(data:)"))); +- (PAPIKotlinPair *)decodeEncoded:(NSString *)encoded __attribute__((swift_name("decode(encoded:)"))); +- (PAPIKotlinPair *)decodeWithIntPrefixEncoded:(NSString *)encoded __attribute__((swift_name("decodeWithIntPrefix(encoded:)"))); +- (PAPIKotlinPair *)decodeWithPrefixLenEncoded:(NSString *)encoded prefixLen:(int32_t)prefixLen __attribute__((swift_name("decodeWithPrefixLen(encoded:prefixLen:)"))); +- (NSString *)encodePrefix:(int8_t)prefix data:(PAPIByteVector *)data __attribute__((swift_name("encode(prefix:data:)"))); +- (NSString *)encodePrefix:(int8_t)prefix data_:(PAPIKotlinByteArray *)data __attribute__((swift_name("encode(prefix:data_:)"))); +- (NSString *)encodePrefix:(PAPIKotlinByteArray *)prefix data__:(PAPIKotlinByteArray *)data __attribute__((swift_name("encode(prefix:data__:)"))); +- (NSString *)encodePrefix:(int32_t)prefix data___:(PAPIKotlinByteArray *)data __attribute__((swift_name("encode(prefix:data___:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Bech32"))) +@interface PAPIBech32 : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)bech32 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIBech32 *shared __attribute__((swift_name("shared"))); +- (PAPIKotlinPair *> *)decodeBech32:(NSString *)bech32 __attribute__((swift_name("decode(bech32:)"))); +- (PAPIKotlinTriple *)decodeWitnessAddressAddress:(NSString *)address __attribute__((swift_name("decodeWitnessAddress(address:)"))); +- (PAPIKotlinArray *)eight2fiveInput:(PAPIKotlinByteArray *)input __attribute__((swift_name("eight2five(input:)"))); +- (NSString *)encodeHrp:(NSString *)hrp int5s:(PAPIKotlinByteArray *)int5s __attribute__((swift_name("encode(hrp:int5s:)"))); +- (NSString *)encodeWitnessAddressHrp:(NSString *)hrp witnessVersion:(int8_t)witnessVersion data:(PAPIKotlinByteArray *)data __attribute__((swift_name("encodeWitnessAddress(hrp:witnessVersion:data:)"))); +- (PAPIKotlinByteArray *)five2eightInput:(PAPIKotlinArray *)input offset:(int32_t)offset __attribute__((swift_name("five2eight(input:offset:)"))); +@property (readonly) NSString *alphabet __attribute__((swift_name("alphabet"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Bitcoin"))) +@interface PAPIBitcoin : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)bitcoin __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIBitcoin *shared __attribute__((swift_name("shared"))); +- (NSString * _Nullable)addressFromPublicKeyScriptChainHash:(PAPIByteVector32 *)chainHash pubkeyScript:(PAPIKotlinByteArray *)pubkeyScript __attribute__((swift_name("addressFromPublicKeyScript(chainHash:pubkeyScript:)"))); +- (NSString * _Nullable)addressFromPublicKeyScriptChainHash:(PAPIByteVector32 *)chainHash pubkeyScript_:(NSArray *)pubkeyScript __attribute__((swift_name("addressFromPublicKeyScript(chainHash:pubkeyScript_:)"))); +- (NSString *)computeBIP44AddressPub:(PAPIPublicKey_ *)pub chainHash:(PAPIByteVector32 *)chainHash __attribute__((swift_name("computeBIP44Address(pub:chainHash:)"))); +- (NSString *)computeBIP49AddressPub:(PAPIPublicKey_ *)pub chainHash:(PAPIByteVector32 *)chainHash __attribute__((swift_name("computeBIP49Address(pub:chainHash:)"))); +- (NSString *)computeBIP84AddressPub:(PAPIPublicKey_ *)pub chainHash:(PAPIByteVector32 *)chainHash __attribute__((swift_name("computeBIP84Address(pub:chainHash:)"))); +- (NSString *)computeP2PkhAddressPub:(PAPIPublicKey_ *)pub chainHash:(PAPIByteVector32 *)chainHash __attribute__((swift_name("computeP2PkhAddress(pub:chainHash:)"))); +- (NSString *)computeP2ShOfP2WpkhAddressPub:(PAPIPublicKey_ *)pub chainHash:(PAPIByteVector32 *)chainHash __attribute__((swift_name("computeP2ShOfP2WpkhAddress(pub:chainHash:)"))); +- (NSString *)computeP2WpkhAddressPub:(PAPIPublicKey_ *)pub chainHash:(PAPIByteVector32 *)chainHash __attribute__((swift_name("computeP2WpkhAddress(pub:chainHash:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Block"))) +@interface PAPIBlock : PAPIBase +- (instancetype)initWithHeader:(PAPIBlockHeader *)header tx:(NSArray *)tx __attribute__((swift_name("init(header:tx:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIBlockCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIBlockHeader *)component1 __attribute__((swift_name("component1()"))); +- (NSArray *)component2 __attribute__((swift_name("component2()"))); +- (PAPIBlock *)doCopyHeader:(PAPIBlockHeader *)header tx:(NSArray *)tx __attribute__((swift_name("doCopy(header:tx:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIByteVector32 *blockId __attribute__((swift_name("blockId"))); +@property (readonly, getter=hash_) PAPIByteVector32 *hash __attribute__((swift_name("hash"))); +@property (readonly) PAPIBlockHeader *header __attribute__((swift_name("header"))); +@property (readonly) NSArray *tx __attribute__((swift_name("tx"))); +@end; + +__attribute__((swift_name("BtcSerializer"))) +@interface PAPIBtcSerializer : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +@property (class, readonly, getter=companion) PAPIBtcSerializerCompanion *companion __attribute__((swift_name("companion"))); +- (T _Nullable)readInput:(id)input __attribute__((swift_name("read(input:)"))); +- (T _Nullable)readInput:(id)input protocolVersion:(int64_t)protocolVersion __attribute__((swift_name("read(input:protocolVersion:)"))); +- (T _Nullable)readInput_:(PAPIKotlinByteArray *)input __attribute__((swift_name("read(input_:)"))); +- (T _Nullable)readInput:(PAPIKotlinByteArray *)input protocolVersion_:(int64_t)protocolVersion __attribute__((swift_name("read(input:protocolVersion_:)"))); +- (T _Nullable)readInput__:(NSString *)input __attribute__((swift_name("read(input__:)"))); +- (T _Nullable)readInput:(NSString *)input protocolVersion__:(int64_t)protocolVersion __attribute__((swift_name("read(input:protocolVersion__:)"))); +- (void)validateMessage:(T _Nullable)message __attribute__((swift_name("validate(message:)"))); +- (PAPIKotlinByteArray *)writeMessage:(T _Nullable)message __attribute__((swift_name("write(message:)"))); +- (void)writeMessage:(T _Nullable)message out:(id)out __attribute__((swift_name("write(message:out:)"))); +- (void)writeMessage:(T _Nullable)message out:(id)out protocolVersion:(int64_t)protocolVersion __attribute__((swift_name("write(message:out:protocolVersion:)"))); +- (PAPIKotlinByteArray *)writeMessage:(T _Nullable)message protocolVersion:(int64_t)protocolVersion __attribute__((swift_name("write(message:protocolVersion:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Block.Companion"))) +@interface PAPIBlockCompanion : PAPIBtcSerializer ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIBlockCompanion *shared __attribute__((swift_name("shared"))); +- (BOOL)checkProofOfWorkBlock:(PAPIBlock *)block __attribute__((swift_name("checkProofOfWork(block:)"))); +- (PAPIBlock *)readInput:(id)input protocolVersion:(int64_t)protocolVersion __attribute__((swift_name("read(input:protocolVersion:)"))); +- (PAPIBlock *)readInput_:(PAPIKotlinByteArray *)input __attribute__((swift_name("read(input_:)"))); +- (PAPIBlock *)readInput__:(NSString *)input __attribute__((swift_name("read(input__:)"))); +- (void)validateMessage:(PAPIBlock *)message __attribute__((swift_name("validate(message:)"))); +- (PAPIKotlinByteArray *)writeMessage:(PAPIBlock *)message __attribute__((swift_name("write(message:)"))); +- (void)writeMessage:(PAPIBlock *)message out:(id)out protocolVersion:(int64_t)protocolVersion __attribute__((swift_name("write(message:out:protocolVersion:)"))); +@property (readonly) PAPIBlock *LivenetGenesisBlock __attribute__((swift_name("LivenetGenesisBlock"))); +@property (readonly) PAPIBlock *RegtestGenesisBlock __attribute__((swift_name("RegtestGenesisBlock"))); +@property (readonly) PAPIBlock *SegnetGenesisBlock __attribute__((swift_name("SegnetGenesisBlock"))); +@property (readonly) PAPIBlock *TestnetGenesisBlock __attribute__((swift_name("TestnetGenesisBlock"))); +@end; + +__attribute__((swift_name("BtcSerializable"))) +@protocol PAPIBtcSerializable +@required +- (PAPIBtcSerializer *)serializer __attribute__((swift_name("serializer()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BlockHeader"))) +@interface PAPIBlockHeader : PAPIBase +- (instancetype)initWithVersion:(int64_t)version hashPreviousBlock:(PAPIByteVector32 *)hashPreviousBlock hashMerkleRoot:(PAPIByteVector32 *)hashMerkleRoot time:(int64_t)time bits:(int64_t)bits nonce:(int64_t)nonce __attribute__((swift_name("init(version:hashPreviousBlock:hashMerkleRoot:time:bits:nonce:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIBlockHeaderCompanion *companion __attribute__((swift_name("companion"))); +- (int64_t)component1 __attribute__((swift_name("component1()"))); +- (PAPIByteVector32 *)component2 __attribute__((swift_name("component2()"))); +- (PAPIByteVector32 *)component3 __attribute__((swift_name("component3()"))); +- (int64_t)component4 __attribute__((swift_name("component4()"))); +- (int64_t)component5 __attribute__((swift_name("component5()"))); +- (int64_t)component6 __attribute__((swift_name("component6()"))); +- (PAPIBlockHeader *)doCopyVersion:(int64_t)version hashPreviousBlock:(PAPIByteVector32 *)hashPreviousBlock hashMerkleRoot:(PAPIByteVector32 *)hashMerkleRoot time:(int64_t)time bits:(int64_t)bits nonce:(int64_t)nonce __attribute__((swift_name("doCopy(version:hashPreviousBlock:hashMerkleRoot:time:bits:nonce:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIBtcSerializer *)serializer __attribute__((swift_name("serializer()"))); +- (PAPIBlockHeader *)setBitsInput:(int64_t)input __attribute__((swift_name("setBits(input:)"))); +- (PAPIBlockHeader *)setHashMerkleRootInput:(PAPIByteVector32 *)input __attribute__((swift_name("setHashMerkleRoot(input:)"))); +- (PAPIBlockHeader *)setHashPreviousBlockInput:(PAPIByteVector32 *)input __attribute__((swift_name("setHashPreviousBlock(input:)"))); +- (PAPIBlockHeader *)setNonceInput:(int64_t)input __attribute__((swift_name("setNonce(input:)"))); +- (PAPIBlockHeader *)setTimeInput:(int64_t)input __attribute__((swift_name("setTime(input:)"))); +- (PAPIBlockHeader *)setVersionInput:(int64_t)input __attribute__((swift_name("setVersion(input:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) int64_t bits __attribute__((swift_name("bits"))); +@property (readonly) PAPIByteVector32 *blockId __attribute__((swift_name("blockId"))); +@property (readonly, getter=hash_) PAPIByteVector32 *hash __attribute__((swift_name("hash"))); +@property (readonly) PAPIByteVector32 *hashMerkleRoot __attribute__((swift_name("hashMerkleRoot"))); +@property (readonly) PAPIByteVector32 *hashPreviousBlock __attribute__((swift_name("hashPreviousBlock"))); +@property (readonly) int64_t nonce __attribute__((swift_name("nonce"))); +@property (readonly) int64_t time __attribute__((swift_name("time"))); +@property (readonly) int64_t version __attribute__((swift_name("version"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BlockHeader.Companion"))) +@interface PAPIBlockHeaderCompanion : PAPIBtcSerializer ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIBlockHeaderCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIUInt256 *)blockProofHeader:(PAPIBlockHeader *)header __attribute__((swift_name("blockProof(header:)"))); +- (PAPIUInt256 *)blockProofBits:(int64_t)bits __attribute__((swift_name("blockProof(bits:)"))); +- (int64_t)calculateNextWorkRequiredLastHeader:(PAPIBlockHeader *)lastHeader lastRetargetTime:(int64_t)lastRetargetTime __attribute__((swift_name("calculateNextWorkRequired(lastHeader:lastRetargetTime:)"))); +- (BOOL)checkProofOfWorkHeader:(PAPIBlockHeader *)header __attribute__((swift_name("checkProofOfWork(header:)"))); +- (PAPIUInt256 *)getDifficultyHeader:(PAPIBlockHeader *)header __attribute__((swift_name("getDifficulty(header:)"))); +- (PAPIBlockHeader *)readInput:(id)input protocolVersion:(int64_t)protocolVersion __attribute__((swift_name("read(input:protocolVersion:)"))); +- (PAPIBlockHeader *)readInput_:(PAPIKotlinByteArray *)input __attribute__((swift_name("read(input_:)"))); +- (PAPIBlockHeader *)readInput__:(NSString *)input __attribute__((swift_name("read(input__:)"))); +- (PAPIKotlinByteArray *)writeMessage:(PAPIBlockHeader *)message __attribute__((swift_name("write(message:)"))); +- (void)writeMessage:(PAPIBlockHeader *)message out:(id)output protocolVersion:(int64_t)protocolVersion __attribute__((swift_name("write(message:out:protocolVersion:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BtcSerializerCompanion"))) +@interface PAPIBtcSerializerCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIBtcSerializerCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIKotlinByteArray *)bytesInput:(id)input size:(int32_t)size __attribute__((swift_name("bytes(input:size:)"))); +- (PAPIKotlinByteArray *)bytesInput:(id)input size_:(int64_t)size __attribute__((swift_name("bytes(input:size_:)"))); +- (PAPIKotlinByteArray *)hashInput:(id)input __attribute__((swift_name("hash(input:)"))); +- (NSArray *)readCollectionInput:(id)input reader:(id _Nullable (^)(id, PAPILong *))reader maxElement:(PAPIInt * _Nullable)maxElement protocolVersion:(int64_t)protocolVersion __attribute__((swift_name("readCollection(input:reader:maxElement:protocolVersion:)"))); +- (NSArray *)readCollectionInput:(id)input reader:(PAPIBtcSerializer *)reader maxElement:(PAPIInt * _Nullable)maxElement protocolVersion_:(int64_t)protocolVersion __attribute__((swift_name("readCollection(input:reader:maxElement:protocolVersion_:)"))); +- (NSArray *)readCollectionInput:(id)input reader:(PAPIBtcSerializer *)reader protocolVersion:(int64_t)protocolVersion __attribute__((swift_name("readCollection(input:reader:protocolVersion:)"))); +- (PAPIKotlinByteArray *)scriptInput:(id)input __attribute__((swift_name("script(input:)"))); +- (uint16_t)uint16Input:(id)input __attribute__((swift_name("uint16(input:)"))); +- (uint16_t)uint16Input_:(PAPIKotlinByteArray *)input __attribute__((swift_name("uint16(input_:)"))); +- (uint32_t)uint32Input:(id)input __attribute__((swift_name("uint32(input:)"))); +- (uint32_t)uint32Input_:(PAPIKotlinByteArray *)input __attribute__((swift_name("uint32(input_:)"))); +- (uint64_t)uint64Input:(id)input __attribute__((swift_name("uint64(input:)"))); +- (uint64_t)uint64Input_:(PAPIKotlinByteArray *)input __attribute__((swift_name("uint64(input_:)"))); +- (uint8_t)uint8Input:(id)input __attribute__((swift_name("uint8(input:)"))); +- (uint64_t)varintInput:(id)input __attribute__((swift_name("varint(input:)"))); +- (uint64_t)varintBlob:(PAPIKotlinByteArray *)blob __attribute__((swift_name("varint(blob:)"))); +- (NSString *)varstringInput:(id)input __attribute__((swift_name("varstring(input:)"))); +- (void)writeBytesInput:(PAPIByteVector *)input out:(id)out __attribute__((swift_name("writeBytes(input:out:)"))); +- (void)writeBytesInput:(PAPIByteVector32 *)input out_:(id)out __attribute__((swift_name("writeBytes(input:out_:)"))); +- (void)writeBytesInput:(PAPIKotlinByteArray *)input out__:(id)out __attribute__((swift_name("writeBytes(input:out__:)"))); +- (void)writeCollectionSeq:(NSArray *)seq output:(id)output writer:(void (^)(id _Nullable, id, PAPILong *))writer protocolVersion:(int64_t)protocolVersion __attribute__((swift_name("writeCollection(seq:output:writer:protocolVersion:)"))); +- (void)writeCollectionSeq:(NSArray *)seq output:(id)output writer:(PAPIBtcSerializer *)writer protocolVersion_:(int64_t)protocolVersion __attribute__((swift_name("writeCollection(seq:output:writer:protocolVersion_:)"))); +- (void)writeScriptInput:(PAPIByteVector *)input out:(id)out __attribute__((swift_name("writeScript(input:out:)"))); +- (void)writeScriptInput:(PAPIKotlinByteArray *)input out_:(id)out __attribute__((swift_name("writeScript(input:out_:)"))); +- (PAPIKotlinByteArray *)writeUInt16Input:(uint16_t)input __attribute__((swift_name("writeUInt16(input:)"))); +- (void)writeUInt16Input:(uint16_t)input out:(id)out __attribute__((swift_name("writeUInt16(input:out:)"))); +- (PAPIKotlinByteArray *)writeUInt32Input:(uint32_t)input __attribute__((swift_name("writeUInt32(input:)"))); +- (void)writeUInt32Input:(uint32_t)input out:(id)out __attribute__((swift_name("writeUInt32(input:out:)"))); +- (PAPIKotlinByteArray *)writeUInt64Input:(uint64_t)input __attribute__((swift_name("writeUInt64(input:)"))); +- (void)writeUInt64Input:(uint64_t)input out:(id)out __attribute__((swift_name("writeUInt64(input:out:)"))); +- (void)writeUInt8Input:(uint8_t)input out:(id)out __attribute__((swift_name("writeUInt8(input:out:)"))); +- (void)writeVarintInput:(int32_t)input out:(id)out __attribute__((swift_name("writeVarint(input:out:)"))); +- (void)writeVarintInput:(uint64_t)input out_:(id)out __attribute__((swift_name("writeVarint(input:out_:)"))); +- (void)writeVarstringInput:(NSString *)input out:(id)out __attribute__((swift_name("writeVarstring(input:out:)"))); +@end; + +__attribute__((swift_name("ByteVector"))) +@interface PAPIByteVector : PAPIBase +- (instancetype)initWithBytes:(PAPIKotlinByteArray *)bytes __attribute__((swift_name("init(bytes:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithInput:(NSString *)input __attribute__((swift_name("init(input:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithBytes:(PAPIKotlinByteArray *)bytes offset:(int32_t)offset size:(int32_t)size __attribute__((swift_name("init(bytes:offset:size:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIByteVectorCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIByteVector *)concatOther:(PAPIByteVector *)other __attribute__((swift_name("concat(other:)"))); +- (PAPIByteVector *)concatValue:(int8_t)value __attribute__((swift_name("concat(value:)"))); +- (PAPIByteVector *)concatOther_:(PAPIKotlinByteArray *)other __attribute__((swift_name("concat(other_:)"))); +- (BOOL)contentEqualsInput:(PAPIKotlinByteArray *)input __attribute__((swift_name("contentEquals(input:)"))); +- (BOOL)contentEqualsInput:(PAPIKotlinByteArray *)input inputOffset:(int32_t)inputOffset inputSize:(int32_t)inputSize __attribute__((swift_name("contentEquals(input:inputOffset:inputSize:)"))); +- (PAPIByteVector *)dropN:(int32_t)n __attribute__((swift_name("drop(n:)"))); +- (PAPIByteVector *)dropRightN:(int32_t)n __attribute__((swift_name("dropRight(n:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (int8_t)getI:(int32_t)i __attribute__((swift_name("get(i:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (BOOL)isEmpty_ __attribute__((swift_name("isEmpty()"))); +- (id _Nullable)mapF:(id _Nullable (^)(PAPIKotlinByteArray *, PAPIInt *, PAPIInt *))f __attribute__((swift_name("map(f:)"))); +- (PAPIByteVector *)orOther_:(PAPIByteVector *)other __attribute__((swift_name("or(other_:)"))); +- (PAPIByteVector *)padLeftLength:(int32_t)length __attribute__((swift_name("padLeft(length:)"))); +- (PAPIByteVector *)padRightLength:(int32_t)length __attribute__((swift_name("padRight(length:)"))); +- (PAPIByteVector *)plusOther__:(PAPIByteVector *)other __attribute__((swift_name("plus(other__:)"))); +- (PAPIByteVector *)plusOther___:(PAPIKotlinByteArray *)other __attribute__((swift_name("plus(other___:)"))); +- (PAPIByteVector *)reversed __attribute__((swift_name("reversed()"))); +- (PAPIByteVector *)ripemd160 __attribute__((swift_name("ripemd160()"))); +- (PAPIByteVector32 *)sha256 __attribute__((swift_name("sha256()"))); +- (int32_t)size __attribute__((swift_name("size()"))); +- (PAPIByteVector *)sliceFrom:(int32_t)from to:(int32_t)to __attribute__((swift_name("slice(from:to:)"))); +- (PAPIByteVector *)takeN:(int32_t)n __attribute__((swift_name("take(n:)"))); +- (PAPIByteVector *)takeRightN:(int32_t)n __attribute__((swift_name("takeRight(n:)"))); +- (PAPIKotlinByteArray *)toByteArray __attribute__((swift_name("toByteArray()"))); +- (NSString *)toHex __attribute__((swift_name("toHex()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +- (PAPIByteVector *)updateI:(int32_t)i b:(int8_t)b __attribute__((swift_name("update(i:b:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ByteVector.Companion"))) +@interface PAPIByteVectorCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIByteVectorCompanion *shared __attribute__((swift_name("shared"))); +@property (readonly) PAPIByteVector *empty __attribute__((swift_name("empty"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ByteVector32"))) +@interface PAPIByteVector32 : PAPIByteVector +- (instancetype)initWithBytes:(PAPIKotlinByteArray *)bytes __attribute__((swift_name("init(bytes:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithInput:(NSString *)input __attribute__((swift_name("init(input:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithInput_:(PAPIByteVector *)input __attribute__((swift_name("init(input_:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithBytes:(PAPIKotlinByteArray *)bytes offset:(int32_t)offset __attribute__((swift_name("init(bytes:offset:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithBytes:(PAPIKotlinByteArray *)bytes offset:(int32_t)offset size:(int32_t)size __attribute__((swift_name("init(bytes:offset:size:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@property (class, readonly, getter=companion) PAPIByteVector32Companion *companion __attribute__((swift_name("companion"))); +- (PAPIByteVector32 *)reversed __attribute__((swift_name("reversed()"))); +- (PAPIByteVector32 *)updateI:(int32_t)i b:(int8_t)b __attribute__((swift_name("update(i:b:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ByteVector32.Companion"))) +@interface PAPIByteVector32Companion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIByteVector32Companion *shared __attribute__((swift_name("shared"))); +- (PAPIByteVector32 *)fromValidHexInput:(NSString *)input __attribute__((swift_name("fromValidHex(input:)"))); +@property (readonly) PAPIByteVector32 *One __attribute__((swift_name("One"))); +@property (readonly) PAPIByteVector32 *Zeroes __attribute__((swift_name("Zeroes"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ByteVector64"))) +@interface PAPIByteVector64 : PAPIByteVector +- (instancetype)initWithBytes:(PAPIKotlinByteArray *)bytes __attribute__((swift_name("init(bytes:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithInput:(NSString *)input __attribute__((swift_name("init(input:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithBytes:(PAPIKotlinByteArray *)bytes offset:(int32_t)offset __attribute__((swift_name("init(bytes:offset:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithBytes:(PAPIKotlinByteArray *)bytes offset:(int32_t)offset size:(int32_t)size __attribute__((swift_name("init(bytes:offset:size:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@property (class, readonly, getter=companion) PAPIByteVector64Companion *companion __attribute__((swift_name("companion"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ByteVector64.Companion"))) +@interface PAPIByteVector64Companion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIByteVector64Companion *shared __attribute__((swift_name("shared"))); +- (PAPIByteVector64 *)fromValidHexInput:(NSString *)input __attribute__((swift_name("fromValidHex(input:)"))); +@property (readonly) PAPIByteVector64 *Zeroes __attribute__((swift_name("Zeroes"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Crypto"))) +@interface PAPICrypto : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)crypto __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICrypto *shared __attribute__((swift_name("shared"))); +- (BOOL)checkPubKeyEncodingKey:(PAPIKotlinByteArray *)key flags:(int32_t)flags sigVersion:(int32_t)sigVersion __attribute__((swift_name("checkPubKeyEncoding(key:flags:sigVersion:)"))); +- (BOOL)checkSignatureEncodingSig:(PAPIKotlinByteArray *)sig flags:(int32_t)flags __attribute__((swift_name("checkSignatureEncoding(sig:flags:)"))); +- (PAPIByteVector *)compact2derSignature:(PAPIByteVector64 *)signature __attribute__((swift_name("compact2der(signature:)"))); +- (PAPIKotlinPair *)decodeSignatureLaxInput:(PAPIByteArrayInput *)input __attribute__((swift_name("decodeSignatureLax(input:)"))); +- (PAPIByteVector64 *)der2compactSignature:(PAPIKotlinByteArray *)signature __attribute__((swift_name("der2compact(signature:)"))); +- (PAPIKotlinByteArray *)ecdhPriv:(PAPIPrivateKey *)priv pub:(PAPIPublicKey_ *)pub __attribute__((swift_name("ecdh(priv:pub:)"))); +- (PAPIKotlinByteArray *)hash160Input:(PAPIByteVector *)input __attribute__((swift_name("hash160(input:)"))); +- (PAPIKotlinByteArray *)hash160Input_:(PAPIKotlinByteArray *)input __attribute__((swift_name("hash160(input_:)"))); +- (PAPIKotlinByteArray *)hash160Input:(PAPIKotlinByteArray *)input offset:(int32_t)offset len:(int32_t)len __attribute__((swift_name("hash160(input:offset:len:)"))); +- (PAPIKotlinByteArray *)hash256Input:(PAPIByteVector *)input __attribute__((swift_name("hash256(input:)"))); +- (PAPIKotlinByteArray *)hash256Input_:(PAPIKotlinByteArray *)input __attribute__((swift_name("hash256(input_:)"))); +- (PAPIKotlinByteArray *)hash256Input:(PAPIKotlinByteArray *)input offset:(int32_t)offset len:(int32_t)len __attribute__((swift_name("hash256(input:offset:len:)"))); +- (PAPIKotlinByteArray *)hmac512Key:(PAPIKotlinByteArray *)key data:(PAPIKotlinByteArray *)data __attribute__((swift_name("hmac512(key:data:)"))); +- (BOOL)isDERSignatureSig:(PAPIKotlinByteArray *)sig __attribute__((swift_name("isDERSignature(sig:)"))); +- (BOOL)isDefinedHashtypeSignatureSig:(PAPIKotlinByteArray *)sig __attribute__((swift_name("isDefinedHashtypeSignature(sig:)"))); +- (BOOL)isLowDERSignatureSig:(PAPIKotlinByteArray *)sig __attribute__((swift_name("isLowDERSignature(sig:)"))); +- (BOOL)isPubKeyCompressedKey:(PAPIKotlinByteArray *)key __attribute__((swift_name("isPubKeyCompressed(key:)"))); +- (BOOL)isPubKeyCompressedOrUncompressedKey:(PAPIKotlinByteArray *)key __attribute__((swift_name("isPubKeyCompressedOrUncompressed(key:)"))); +- (BOOL)isPubKeyValidKey:(PAPIKotlinByteArray *)key __attribute__((swift_name("isPubKeyValid(key:)"))); +- (PAPIKotlinPair *)normalizeSignature:(PAPIKotlinByteArray *)signature __attribute__((swift_name("normalize(signature:)"))); +- (PAPIKotlinPair *)recoverPublicKeySig:(PAPIByteVector64 *)sig message:(PAPIKotlinByteArray *)message __attribute__((swift_name("recoverPublicKey(sig:message:)"))); +- (PAPIPublicKey_ *)recoverPublicKeySig:(PAPIByteVector64 *)sig message:(PAPIKotlinByteArray *)message recid:(int32_t)recid __attribute__((swift_name("recoverPublicKey(sig:message:recid:)"))); +- (PAPIKotlinByteArray *)ripemd160Input:(PAPIByteVector *)input __attribute__((swift_name("ripemd160(input:)"))); +- (PAPIKotlinByteArray *)ripemd160Input_:(PAPIKotlinByteArray *)input __attribute__((swift_name("ripemd160(input_:)"))); +- (PAPIKotlinByteArray *)ripemd160Input:(PAPIKotlinByteArray *)input offset:(int32_t)offset len:(int32_t)len __attribute__((swift_name("ripemd160(input:offset:len:)"))); +- (PAPIKotlinByteArray *)sha1Input:(PAPIByteVector *)input __attribute__((swift_name("sha1(input:)"))); +- (PAPIKotlinByteArray *)sha256Input:(PAPIByteVector *)input __attribute__((swift_name("sha256(input:)"))); +- (PAPIKotlinByteArray *)sha256Input_:(PAPIKotlinByteArray *)input __attribute__((swift_name("sha256(input_:)"))); +- (PAPIKotlinByteArray *)sha256Input:(PAPIKotlinByteArray *)input offset:(int32_t)offset len:(int32_t)len __attribute__((swift_name("sha256(input:offset:len:)"))); +- (PAPIByteVector64 *)signData:(PAPIByteVector32 *)data privateKey:(PAPIPrivateKey *)privateKey __attribute__((swift_name("sign(data:privateKey:)"))); +- (PAPIByteVector64 *)signData:(PAPIKotlinByteArray *)data privateKey_:(PAPIPrivateKey *)privateKey __attribute__((swift_name("sign(data:privateKey_:)"))); +- (BOOL)verifySignatureData:(PAPIByteVector32 *)data signature:(PAPIByteVector64 *)signature publicKey:(PAPIPublicKey_ *)publicKey __attribute__((swift_name("verifySignature(data:signature:publicKey:)"))); +- (BOOL)verifySignatureData:(PAPIKotlinByteArray *)data signature:(PAPIByteVector64 *)signature publicKey_:(PAPIPublicKey_ *)publicKey __attribute__((swift_name("verifySignature(data:signature:publicKey_:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DeterministicWallet"))) +@interface PAPIDeterministicWallet : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)deterministicWallet __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDeterministicWallet *shared __attribute__((swift_name("shared"))); +- (PAPIDeterministicWalletExtendedPrivateKey *)derivePrivateKeyParent:(PAPIDeterministicWalletExtendedPrivateKey *)parent keyPath:(PAPIKeyPath *)keyPath __attribute__((swift_name("derivePrivateKey(parent:keyPath:)"))); +- (PAPIDeterministicWalletExtendedPrivateKey *)derivePrivateKeyParent:(PAPIDeterministicWalletExtendedPrivateKey *)parent index:(int64_t)index __attribute__((swift_name("derivePrivateKey(parent:index:)"))); +- (PAPIDeterministicWalletExtendedPrivateKey *)derivePrivateKeyParent:(PAPIDeterministicWalletExtendedPrivateKey *)parent keyPath_:(NSString *)keyPath __attribute__((swift_name("derivePrivateKey(parent:keyPath_:)"))); +- (PAPIDeterministicWalletExtendedPrivateKey *)derivePrivateKeyParent:(PAPIDeterministicWalletExtendedPrivateKey *)parent chain:(NSArray *)chain __attribute__((swift_name("derivePrivateKey(parent:chain:)"))); +- (PAPIDeterministicWalletExtendedPublicKey *)derivePublicKeyParent:(PAPIDeterministicWalletExtendedPublicKey *)parent keyPath:(PAPIKeyPath *)keyPath __attribute__((swift_name("derivePublicKey(parent:keyPath:)"))); +- (PAPIDeterministicWalletExtendedPublicKey *)derivePublicKeyParent:(PAPIDeterministicWalletExtendedPublicKey *)parent index:(int64_t)index __attribute__((swift_name("derivePublicKey(parent:index:)"))); +- (PAPIDeterministicWalletExtendedPublicKey *)derivePublicKeyParent:(PAPIDeterministicWalletExtendedPublicKey *)parent keyPath_:(NSString *)keyPath __attribute__((swift_name("derivePublicKey(parent:keyPath_:)"))); +- (PAPIDeterministicWalletExtendedPublicKey *)derivePublicKeyParent:(PAPIDeterministicWalletExtendedPublicKey *)parent chain:(NSArray *)chain __attribute__((swift_name("derivePublicKey(parent:chain:)"))); +- (NSString *)encodeInput:(PAPIDeterministicWalletExtendedPrivateKey *)input testnet:(BOOL)testnet __attribute__((swift_name("encode(input:testnet:)"))); +- (NSString *)encodeInput:(PAPIDeterministicWalletExtendedPrivateKey *)input prefix:(int32_t)prefix __attribute__((swift_name("encode(input:prefix:)"))); +- (NSString *)encodeInput:(PAPIDeterministicWalletExtendedPublicKey *)input testnet_:(BOOL)testnet __attribute__((swift_name("encode(input:testnet_:)"))); +- (NSString *)encodeInput:(PAPIDeterministicWalletExtendedPublicKey *)input prefix_:(int32_t)prefix __attribute__((swift_name("encode(input:prefix_:)"))); +- (int64_t)fingerprintInput:(PAPIDeterministicWalletExtendedPrivateKey *)input __attribute__((swift_name("fingerprint(input:)"))); +- (int64_t)fingerprintInput_:(PAPIDeterministicWalletExtendedPublicKey *)input __attribute__((swift_name("fingerprint(input_:)"))); +- (PAPIDeterministicWalletExtendedPrivateKey *)generateSeed:(PAPIByteVector *)seed __attribute__((swift_name("generate(seed:)"))); +- (PAPIDeterministicWalletExtendedPrivateKey *)generateSeed_:(PAPIKotlinByteArray *)seed __attribute__((swift_name("generate(seed_:)"))); +- (int64_t)hardenedIndex:(int64_t)index __attribute__((swift_name("hardened(index:)"))); +- (BOOL)isHardenedIndex:(int64_t)index __attribute__((swift_name("isHardened(index:)"))); +- (PAPIDeterministicWalletExtendedPublicKey *)publicKeyInput:(PAPIDeterministicWalletExtendedPrivateKey *)input __attribute__((swift_name("publicKey(input:)"))); +@property (readonly) int64_t hardenedKeyIndex __attribute__((swift_name("hardenedKeyIndex"))); +@property (readonly) int32_t tprv __attribute__((swift_name("tprv"))); +@property (readonly) int32_t tpub __attribute__((swift_name("tpub"))); +@property (readonly) int32_t uprv __attribute__((swift_name("uprv"))); +@property (readonly) int32_t upub __attribute__((swift_name("upub"))); +@property (readonly) int32_t vprv __attribute__((swift_name("vprv"))); +@property (readonly) int32_t vpub __attribute__((swift_name("vpub"))); +@property (readonly) int32_t xprv __attribute__((swift_name("xprv"))); +@property (readonly) int32_t xpub __attribute__((swift_name("xpub"))); +@property (readonly) int32_t yprv __attribute__((swift_name("yprv"))); +@property (readonly) int32_t ypub __attribute__((swift_name("ypub"))); +@property (readonly) int32_t zprv __attribute__((swift_name("zprv"))); +@property (readonly) int32_t zpub __attribute__((swift_name("zpub"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DeterministicWallet.ExtendedPrivateKey"))) +@interface PAPIDeterministicWalletExtendedPrivateKey : PAPIBase +- (instancetype)initWithSecretkeybytes:(PAPIByteVector32 *)secretkeybytes chaincode:(PAPIByteVector32 *)chaincode depth:(int32_t)depth path:(PAPIKeyPath *)path parent:(int64_t)parent __attribute__((swift_name("init(secretkeybytes:chaincode:depth:path:parent:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIDeterministicWalletExtendedPrivateKeyCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIByteVector32 *)component1 __attribute__((swift_name("component1()"))); +- (PAPIByteVector32 *)component2 __attribute__((swift_name("component2()"))); +- (int32_t)component3 __attribute__((swift_name("component3()"))); +- (PAPIKeyPath *)component4 __attribute__((swift_name("component4()"))); +- (int64_t)component5 __attribute__((swift_name("component5()"))); +- (PAPIDeterministicWalletExtendedPrivateKey *)doCopySecretkeybytes:(PAPIByteVector32 *)secretkeybytes chaincode:(PAPIByteVector32 *)chaincode depth:(int32_t)depth path:(PAPIKeyPath *)path parent:(int64_t)parent __attribute__((swift_name("doCopy(secretkeybytes:chaincode:depth:path:parent:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIByteVector32 *chaincode __attribute__((swift_name("chaincode"))); +@property (readonly) int32_t depth __attribute__((swift_name("depth"))); +@property (readonly) int64_t parent __attribute__((swift_name("parent"))); +@property (readonly) PAPIKeyPath *path __attribute__((swift_name("path"))); +@property (readonly) PAPIPrivateKey *privateKey __attribute__((swift_name("privateKey"))); +@property (readonly) PAPIPublicKey_ *publicKey __attribute__((swift_name("publicKey"))); +@property (readonly) PAPIByteVector32 *secretkeybytes __attribute__((swift_name("secretkeybytes"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DeterministicWallet.ExtendedPrivateKeyCompanion"))) +@interface PAPIDeterministicWalletExtendedPrivateKeyCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDeterministicWalletExtendedPrivateKeyCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIKotlinPair *)decodeInput:(NSString *)input parentPath:(PAPIKeyPath *)parentPath __attribute__((swift_name("decode(input:parentPath:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DeterministicWallet.ExtendedPublicKey"))) +@interface PAPIDeterministicWalletExtendedPublicKey : PAPIBase +- (instancetype)initWithPublickeybytes:(PAPIByteVector *)publickeybytes chaincode:(PAPIByteVector32 *)chaincode depth:(int32_t)depth path:(PAPIKeyPath *)path parent:(int64_t)parent __attribute__((swift_name("init(publickeybytes:chaincode:depth:path:parent:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIDeterministicWalletExtendedPublicKeyCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIByteVector *)component1 __attribute__((swift_name("component1()"))); +- (PAPIByteVector32 *)component2 __attribute__((swift_name("component2()"))); +- (int32_t)component3 __attribute__((swift_name("component3()"))); +- (PAPIKeyPath *)component4 __attribute__((swift_name("component4()"))); +- (int64_t)component5 __attribute__((swift_name("component5()"))); +- (PAPIDeterministicWalletExtendedPublicKey *)doCopyPublickeybytes:(PAPIByteVector *)publickeybytes chaincode:(PAPIByteVector32 *)chaincode depth:(int32_t)depth path:(PAPIKeyPath *)path parent:(int64_t)parent __attribute__((swift_name("doCopy(publickeybytes:chaincode:depth:path:parent:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIByteVector32 *chaincode __attribute__((swift_name("chaincode"))); +@property (readonly) int32_t depth __attribute__((swift_name("depth"))); +@property (readonly) int64_t parent __attribute__((swift_name("parent"))); +@property (readonly) PAPIKeyPath *path __attribute__((swift_name("path"))); +@property (readonly) PAPIPublicKey_ *publicKey __attribute__((swift_name("publicKey"))); +@property (readonly) PAPIByteVector *publickeybytes __attribute__((swift_name("publickeybytes"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DeterministicWallet.ExtendedPublicKeyCompanion"))) +@interface PAPIDeterministicWalletExtendedPublicKeyCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDeterministicWalletExtendedPublicKeyCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIKotlinPair *)decodeInput:(NSString *)input parentPath:(PAPIKeyPath *)parentPath __attribute__((swift_name("decode(input:parentPath:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KeyPath"))) +@interface PAPIKeyPath : PAPIBase +- (instancetype)initWithPath:(NSString *)path __attribute__((swift_name("init(path:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithPath_:(NSArray *)path __attribute__((swift_name("init(path_:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIKeyPathCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIKeyPath *)appendThat:(PAPIKeyPath *)that __attribute__((swift_name("append(that:)"))); +- (PAPIKeyPath *)appendIndex:(int64_t)index __attribute__((swift_name("append(index:)"))); +- (PAPIKeyPath *)appendIndexes:(NSArray *)indexes __attribute__((swift_name("append(indexes:)"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (PAPIKeyPath *)doCopyPath:(NSArray *)path __attribute__((swift_name("doCopy(path:)"))); +- (PAPIKeyPath *)deriveNumber:(int64_t)number __attribute__((swift_name("derive(number:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) int64_t lastChildNumber __attribute__((swift_name("lastChildNumber"))); +@property (readonly) NSArray *path __attribute__((swift_name("path"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KeyPath.Companion"))) +@interface PAPIKeyPathCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKeyPathCompanion *shared __attribute__((swift_name("shared"))); +- (NSString *)childNumberToStringChildNumber:(int64_t)childNumber __attribute__((swift_name("childNumberToString(childNumber:)"))); +- (NSArray *)computePathPath:(NSString *)path __attribute__((swift_name("computePath(path:)"))); +- (PAPIKeyPath *)fromPathPath:(NSString *)path __attribute__((swift_name("fromPath(path:)"))); +@property (readonly) PAPIKeyPath *empty __attribute__((swift_name("empty"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("LexicographicalOrdering"))) +@interface PAPILexicographicalOrdering : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)lexicographicalOrdering __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPILexicographicalOrdering *shared __attribute__((swift_name("shared"))); +- (int32_t)compareA:(PAPIOutPoint *)a b:(PAPIOutPoint *)b __attribute__((swift_name("compare(a:b:)"))); +- (int32_t)compareA:(PAPITxIn *)a b_:(PAPITxIn *)b __attribute__((swift_name("compare(a:b_:)"))); +- (int32_t)compareA:(PAPITxOut *)a b__:(PAPITxOut *)b __attribute__((swift_name("compare(a:b__:)"))); +- (BOOL)isLessThanA:(PAPIByteVector *)a b:(PAPIByteVector *)b __attribute__((swift_name("isLessThan(a:b:)"))); +- (BOOL)isLessThanA:(PAPIByteVector32 *)a b_:(PAPIByteVector32 *)b __attribute__((swift_name("isLessThan(a:b_:)"))); +- (BOOL)isLessThanA:(PAPIOutPoint *)a b__:(PAPIOutPoint *)b __attribute__((swift_name("isLessThan(a:b__:)"))); +- (BOOL)isLessThanA:(PAPIPublicKey_ *)a b___:(PAPIPublicKey_ *)b __attribute__((swift_name("isLessThan(a:b___:)"))); +- (BOOL)isLessThanA:(PAPITxIn *)a b____:(PAPITxIn *)b __attribute__((swift_name("isLessThan(a:b____:)"))); +- (BOOL)isLessThanA:(PAPITxOut *)a b_____:(PAPITxOut *)b __attribute__((swift_name("isLessThan(a:b_____:)"))); +- (BOOL)isLessThanA:(PAPIKotlinByteArray *)a b______:(PAPIKotlinByteArray *)b __attribute__((swift_name("isLessThan(a:b______:)"))); +- (PAPITransaction *)sortTx:(PAPITransaction *)tx __attribute__((swift_name("sort(tx:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MerkleTree"))) +@interface PAPIMerkleTree : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)merkleTree __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIMerkleTree *shared __attribute__((swift_name("shared"))); +- (PAPIByteVector32 *)computeRootTree:(NSArray *)tree __attribute__((swift_name("computeRoot(tree:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MnemonicCode_"))) +@interface PAPIMnemonicCode_ : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)mnemonicCode __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIMnemonicCode_ *shared __attribute__((swift_name("shared"))); +- (NSArray *)toMnemonicsEntropy:(PAPIKotlinByteArray *)entropy __attribute__((swift_name("toMnemonics(entropy:)"))); +- (NSArray *)toMnemonicsEntropy:(PAPIKotlinByteArray *)entropy wordlist:(NSArray *)wordlist __attribute__((swift_name("toMnemonics(entropy:wordlist:)"))); +- (PAPIKotlinByteArray *)toSeedMnemonics:(NSString *)mnemonics passphrase:(NSString *)passphrase __attribute__((swift_name("toSeed(mnemonics:passphrase:)"))); +- (PAPIKotlinByteArray *)toSeedMnemonics:(NSArray *)mnemonics passphrase_:(NSString *)passphrase __attribute__((swift_name("toSeed(mnemonics:passphrase_:)"))); +- (void)validateMnemonics:(NSString *)mnemonics __attribute__((swift_name("validate(mnemonics:)"))); +- (void)validateMnemonics:(NSArray *)mnemonics wordlist:(NSArray *)wordlist __attribute__((swift_name("validate(mnemonics:wordlist:)"))); +@property (readonly) NSArray *englishWordlist __attribute__((swift_name("englishWordlist"))); +@end; + +__attribute__((swift_name("ScriptElt"))) +@interface PAPIScriptElt : PAPIBase +@property (class, readonly, getter=companion) PAPIScriptEltCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isPush __attribute__((swift_name("isPush()"))); +- (BOOL)isPushSize:(int32_t)size __attribute__((swift_name("isPush(size:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_0"))) +@interface PAPIOP_0 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_0 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_0 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_0NOTEQUAL"))) +@interface PAPIOP_0NOTEQUAL : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_0NOTEQUAL __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_0NOTEQUAL *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_1"))) +@interface PAPIOP_1 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_1 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_1 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_10"))) +@interface PAPIOP_10 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_10 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_10 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_11"))) +@interface PAPIOP_11 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_11 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_11 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_12"))) +@interface PAPIOP_12 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_12 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_12 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_13"))) +@interface PAPIOP_13 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_13 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_13 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_14"))) +@interface PAPIOP_14 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_14 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_14 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_15"))) +@interface PAPIOP_15 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_15 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_15 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_16"))) +@interface PAPIOP_16 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_16 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_16 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_1ADD"))) +@interface PAPIOP_1ADD : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_1ADD __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_1ADD *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_1NEGATE"))) +@interface PAPIOP_1NEGATE : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_1NEGATE __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_1NEGATE *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_1SUB"))) +@interface PAPIOP_1SUB : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_1SUB __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_1SUB *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_2"))) +@interface PAPIOP_2 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_2 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_2 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_2DIV"))) +@interface PAPIOP_2DIV : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_2DIV __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_2DIV *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_2DROP"))) +@interface PAPIOP_2DROP : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_2DROP __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_2DROP *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_2DUP"))) +@interface PAPIOP_2DUP : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_2DUP __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_2DUP *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_2MUL"))) +@interface PAPIOP_2MUL : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_2MUL __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_2MUL *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_2OVER"))) +@interface PAPIOP_2OVER : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_2OVER __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_2OVER *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_2ROT"))) +@interface PAPIOP_2ROT : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_2ROT __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_2ROT *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_2SWAP"))) +@interface PAPIOP_2SWAP : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_2SWAP __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_2SWAP *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_3"))) +@interface PAPIOP_3 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_3 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_3 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_3DUP"))) +@interface PAPIOP_3DUP : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_3DUP __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_3DUP *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_4"))) +@interface PAPIOP_4 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_4 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_4 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_5"))) +@interface PAPIOP_5 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_5 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_5 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_6"))) +@interface PAPIOP_6 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_6 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_6 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_7"))) +@interface PAPIOP_7 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_7 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_7 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_8"))) +@interface PAPIOP_8 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_8 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_8 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_9"))) +@interface PAPIOP_9 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_9 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_9 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_ABS"))) +@interface PAPIOP_ABS : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_ABS __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_ABS *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_ADD"))) +@interface PAPIOP_ADD : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_ADD __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_ADD *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_AND"))) +@interface PAPIOP_AND : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_AND __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_AND *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_BOOLAND"))) +@interface PAPIOP_BOOLAND : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_BOOLAND __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_BOOLAND *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_BOOLOR"))) +@interface PAPIOP_BOOLOR : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_BOOLOR __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_BOOLOR *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_CAT"))) +@interface PAPIOP_CAT : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_CAT __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_CAT *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_CHECKLOCKTIMEVERIFY"))) +@interface PAPIOP_CHECKLOCKTIMEVERIFY : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_CHECKLOCKTIMEVERIFY __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_CHECKLOCKTIMEVERIFY *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_CHECKMULTISIG"))) +@interface PAPIOP_CHECKMULTISIG : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_CHECKMULTISIG __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_CHECKMULTISIG *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_CHECKMULTISIGVERIFY"))) +@interface PAPIOP_CHECKMULTISIGVERIFY : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_CHECKMULTISIGVERIFY __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_CHECKMULTISIGVERIFY *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_CHECKSEQUENCEVERIFY"))) +@interface PAPIOP_CHECKSEQUENCEVERIFY : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_CHECKSEQUENCEVERIFY __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_CHECKSEQUENCEVERIFY *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_CHECKSIG"))) +@interface PAPIOP_CHECKSIG : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_CHECKSIG __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_CHECKSIG *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_CHECKSIGVERIFY"))) +@interface PAPIOP_CHECKSIGVERIFY : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_CHECKSIGVERIFY __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_CHECKSIGVERIFY *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_CODESEPARATOR"))) +@interface PAPIOP_CODESEPARATOR : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_CODESEPARATOR __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_CODESEPARATOR *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_DEPTH"))) +@interface PAPIOP_DEPTH : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_DEPTH __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_DEPTH *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_DIV"))) +@interface PAPIOP_DIV : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_DIV __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_DIV *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_DROP"))) +@interface PAPIOP_DROP : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_DROP __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_DROP *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_DUP"))) +@interface PAPIOP_DUP : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_DUP __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_DUP *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_ELSE"))) +@interface PAPIOP_ELSE : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_ELSE __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_ELSE *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_ENDIF"))) +@interface PAPIOP_ENDIF : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_ENDIF __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_ENDIF *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_EQUAL"))) +@interface PAPIOP_EQUAL : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_EQUAL __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_EQUAL *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_EQUALVERIFY"))) +@interface PAPIOP_EQUALVERIFY : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_EQUALVERIFY __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_EQUALVERIFY *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_FROMALTSTACK"))) +@interface PAPIOP_FROMALTSTACK : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_FROMALTSTACK __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_FROMALTSTACK *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_GREATERTHAN"))) +@interface PAPIOP_GREATERTHAN : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_GREATERTHAN __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_GREATERTHAN *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_GREATERTHANOREQUAL"))) +@interface PAPIOP_GREATERTHANOREQUAL : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_GREATERTHANOREQUAL __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_GREATERTHANOREQUAL *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_HASH160"))) +@interface PAPIOP_HASH160 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_HASH160 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_HASH160 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_HASH256"))) +@interface PAPIOP_HASH256 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_HASH256 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_HASH256 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_IF"))) +@interface PAPIOP_IF : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_IF __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_IF *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_IFDUP"))) +@interface PAPIOP_IFDUP : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_IFDUP __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_IFDUP *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_INVALID"))) +@interface PAPIOP_INVALID : PAPIScriptElt +- (instancetype)initWithCode:(int32_t)code __attribute__((swift_name("init(code:)"))) __attribute__((objc_designated_initializer)); +- (int32_t)component1 __attribute__((swift_name("component1()"))); +- (PAPIOP_INVALID *)doCopyCode:(int32_t)code __attribute__((swift_name("doCopy(code:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) int32_t code __attribute__((swift_name("code"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_INVALIDOPCODE"))) +@interface PAPIOP_INVALIDOPCODE : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_INVALIDOPCODE __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_INVALIDOPCODE *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_INVERT"))) +@interface PAPIOP_INVERT : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_INVERT __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_INVERT *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_LEFT"))) +@interface PAPIOP_LEFT : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_LEFT __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_LEFT *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_LESSTHAN"))) +@interface PAPIOP_LESSTHAN : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_LESSTHAN __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_LESSTHAN *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_LESSTHANOREQUAL"))) +@interface PAPIOP_LESSTHANOREQUAL : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_LESSTHANOREQUAL __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_LESSTHANOREQUAL *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_LSHIFT"))) +@interface PAPIOP_LSHIFT : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_LSHIFT __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_LSHIFT *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_MAX"))) +@interface PAPIOP_MAX : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_MAX __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_MAX *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_MIN"))) +@interface PAPIOP_MIN : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_MIN __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_MIN *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_MOD"))) +@interface PAPIOP_MOD : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_MOD __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_MOD *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_MUL"))) +@interface PAPIOP_MUL : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_MUL __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_MUL *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_NEGATE"))) +@interface PAPIOP_NEGATE : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_NEGATE __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_NEGATE *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_NIP"))) +@interface PAPIOP_NIP : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_NIP __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_NIP *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_NOP"))) +@interface PAPIOP_NOP : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_NOP __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_NOP *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_NOP1"))) +@interface PAPIOP_NOP1 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_NOP1 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_NOP1 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_NOP10"))) +@interface PAPIOP_NOP10 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_NOP10 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_NOP10 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_NOP4"))) +@interface PAPIOP_NOP4 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_NOP4 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_NOP4 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_NOP5"))) +@interface PAPIOP_NOP5 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_NOP5 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_NOP5 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_NOP6"))) +@interface PAPIOP_NOP6 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_NOP6 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_NOP6 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_NOP7"))) +@interface PAPIOP_NOP7 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_NOP7 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_NOP7 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_NOP8"))) +@interface PAPIOP_NOP8 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_NOP8 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_NOP8 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_NOP9"))) +@interface PAPIOP_NOP9 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_NOP9 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_NOP9 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_NOT"))) +@interface PAPIOP_NOT : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_NOT __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_NOT *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_NOTIF"))) +@interface PAPIOP_NOTIF : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_NOTIF __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_NOTIF *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_NUMEQUAL"))) +@interface PAPIOP_NUMEQUAL : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_NUMEQUAL __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_NUMEQUAL *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_NUMEQUALVERIFY"))) +@interface PAPIOP_NUMEQUALVERIFY : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_NUMEQUALVERIFY __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_NUMEQUALVERIFY *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_NUMNOTEQUAL"))) +@interface PAPIOP_NUMNOTEQUAL : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_NUMNOTEQUAL __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_NUMNOTEQUAL *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_OR"))) +@interface PAPIOP_OR : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_OR __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_OR *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_OVER"))) +@interface PAPIOP_OVER : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_OVER __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_OVER *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_PICK"))) +@interface PAPIOP_PICK : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_PICK __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_PICK *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_PUSHDATA"))) +@interface PAPIOP_PUSHDATA : PAPIScriptElt +- (instancetype)initWithData:(PAPIKotlinByteArray *)data code:(int32_t)code __attribute__((swift_name("init(data:code:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithData:(PAPIKotlinByteArray *)data __attribute__((swift_name("init(data:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithData_:(PAPIByteVector *)data __attribute__((swift_name("init(data_:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithData__:(PAPIByteVector32 *)data __attribute__((swift_name("init(data__:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithPublicKey:(PAPIPublicKey_ *)publicKey __attribute__((swift_name("init(publicKey:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithData:(PAPIByteVector *)data code_:(int32_t)code __attribute__((swift_name("init(data:code_:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIOP_PUSHDATACompanion *companion __attribute__((swift_name("companion"))); +- (PAPIByteVector *)component1 __attribute__((swift_name("component1()"))); +- (int32_t)component2 __attribute__((swift_name("component2()"))); +- (PAPIOP_PUSHDATA *)doCopyData:(PAPIByteVector *)data code:(int32_t)code __attribute__((swift_name("doCopy(data:code:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) int32_t code __attribute__((swift_name("code"))); +@property (readonly) PAPIByteVector *data __attribute__((swift_name("data"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_PUSHDATA.Companion"))) +@interface PAPIOP_PUSHDATACompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_PUSHDATACompanion *shared __attribute__((swift_name("shared"))); +- (int32_t)codeFromDataLengthLength:(int32_t)length __attribute__((swift_name("codeFromDataLength(length:)"))); +- (BOOL)isMinimalData:(PAPIKotlinByteArray *)data code:(int32_t)code __attribute__((swift_name("isMinimal(data:code:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_PUSHDATA1"))) +@interface PAPIOP_PUSHDATA1 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_PUSHDATA1 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_PUSHDATA1 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_PUSHDATA2"))) +@interface PAPIOP_PUSHDATA2 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_PUSHDATA2 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_PUSHDATA2 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_PUSHDATA4"))) +@interface PAPIOP_PUSHDATA4 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_PUSHDATA4 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_PUSHDATA4 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_RESERVED"))) +@interface PAPIOP_RESERVED : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_RESERVED __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_RESERVED *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_RESERVED1"))) +@interface PAPIOP_RESERVED1 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_RESERVED1 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_RESERVED1 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_RESERVED2"))) +@interface PAPIOP_RESERVED2 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_RESERVED2 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_RESERVED2 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_RETURN"))) +@interface PAPIOP_RETURN : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_RETURN __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_RETURN *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_RIGHT"))) +@interface PAPIOP_RIGHT : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_RIGHT __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_RIGHT *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_RIPEMD160"))) +@interface PAPIOP_RIPEMD160 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_RIPEMD160 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_RIPEMD160 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_ROLL"))) +@interface PAPIOP_ROLL : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_ROLL __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_ROLL *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_ROT"))) +@interface PAPIOP_ROT : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_ROT __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_ROT *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_RSHIFT"))) +@interface PAPIOP_RSHIFT : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_RSHIFT __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_RSHIFT *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_SHA1"))) +@interface PAPIOP_SHA1 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_SHA1 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_SHA1 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_SHA256"))) +@interface PAPIOP_SHA256 : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_SHA256 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_SHA256 *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_SIZE"))) +@interface PAPIOP_SIZE : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_SIZE __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_SIZE *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_SMALLINTEGER"))) +@interface PAPIOP_SMALLINTEGER : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_SMALLINTEGER __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_SMALLINTEGER *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_SUB"))) +@interface PAPIOP_SUB : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_SUB __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_SUB *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_SUBSTR"))) +@interface PAPIOP_SUBSTR : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_SUBSTR __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_SUBSTR *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_SWAP"))) +@interface PAPIOP_SWAP : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_SWAP __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_SWAP *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_TOALTSTACK"))) +@interface PAPIOP_TOALTSTACK : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_TOALTSTACK __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_TOALTSTACK *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_TUCK"))) +@interface PAPIOP_TUCK : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_TUCK __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_TUCK *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_VER"))) +@interface PAPIOP_VER : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_VER __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_VER *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_VERIF"))) +@interface PAPIOP_VERIF : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_VERIF __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_VERIF *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_VERIFY"))) +@interface PAPIOP_VERIFY : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_VERIFY __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_VERIFY *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_VERNOTIF"))) +@interface PAPIOP_VERNOTIF : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_VERNOTIF __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_VERNOTIF *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_WITHIN"))) +@interface PAPIOP_WITHIN : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_WITHIN __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_WITHIN *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OP_XOR"))) +@interface PAPIOP_XOR : PAPIScriptElt ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)oP_XOR __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOP_XOR *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OutPoint"))) +@interface PAPIOutPoint : PAPIBase +- (instancetype)initWithHash:(PAPIKotlinByteArray *)hash index:(int64_t)index __attribute__((swift_name("init(hash:index:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithTx:(PAPITransaction *)tx index:(int64_t)index __attribute__((swift_name("init(tx:index:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithHash:(PAPIByteVector32 *)hash index_:(int64_t)index __attribute__((swift_name("init(hash:index_:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIOutPointCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIByteVector32 *)component1 __attribute__((swift_name("component1()"))); +- (int64_t)component2 __attribute__((swift_name("component2()"))); +- (PAPIOutPoint *)doCopyHash:(PAPIByteVector32 *)hash index:(int64_t)index __attribute__((swift_name("doCopy(hash:index:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIBtcSerializer *)serializer __attribute__((swift_name("serializer()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly, getter=hash_) PAPIByteVector32 *hash __attribute__((swift_name("hash"))); +@property (readonly) int64_t index __attribute__((swift_name("index"))); +@property (readonly) BOOL isCoinbase __attribute__((swift_name("isCoinbase"))); +@property (readonly) PAPIByteVector32 *txid __attribute__((swift_name("txid"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OutPoint.Companion"))) +@interface PAPIOutPointCompanion : PAPIBtcSerializer ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIOutPointCompanion *shared __attribute__((swift_name("shared"))); +- (BOOL)isCoinbaseInput:(PAPIOutPoint *)input __attribute__((swift_name("isCoinbase(input:)"))); +- (BOOL)isNullInput:(PAPIOutPoint *)input __attribute__((swift_name("isNull(input:)"))); +- (PAPIOutPoint *)readInput:(id)input protocolVersion:(int64_t)protocolVersion __attribute__((swift_name("read(input:protocolVersion:)"))); +- (PAPIOutPoint *)readInput_:(PAPIKotlinByteArray *)input __attribute__((swift_name("read(input_:)"))); +- (PAPIKotlinByteArray *)writeMessage:(PAPIOutPoint *)message __attribute__((swift_name("write(message:)"))); +- (void)writeMessage:(PAPIOutPoint *)message out:(id)out protocolVersion:(int64_t)protocolVersion __attribute__((swift_name("write(message:out:protocolVersion:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PrivateKey"))) +@interface PAPIPrivateKey : PAPIBase +- (instancetype)initWithData:(PAPIKotlinByteArray *)data __attribute__((swift_name("init(data:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithData_:(PAPIByteVector *)data __attribute__((swift_name("init(data_:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(PAPIByteVector32 *)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIPrivateKeyCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIByteVector32 *)component1 __attribute__((swift_name("component1()"))); +- (PAPIPrivateKey *)doCopyValue:(PAPIByteVector32 *)value __attribute__((swift_name("doCopy(value:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIPrivateKey *)minusThat:(PAPIPrivateKey *)that __attribute__((swift_name("minus(that:)"))); +- (PAPIPrivateKey *)plusThat:(PAPIPrivateKey *)that __attribute__((swift_name("plus(that:)"))); +- (PAPIPublicKey_ *)publicKey __attribute__((swift_name("publicKey()"))); +- (PAPIPrivateKey *)timesThat:(PAPIPrivateKey *)that __attribute__((swift_name("times(that:)"))); +- (NSString *)toBase58Prefix:(int8_t)prefix __attribute__((swift_name("toBase58(prefix:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIByteVector32 *value __attribute__((swift_name("value"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PrivateKey.Companion"))) +@interface PAPIPrivateKeyCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIPrivateKeyCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIKotlinPair *)fromBase58Value:(NSString *)value prefix:(int8_t)prefix __attribute__((swift_name("fromBase58(value:prefix:)"))); +- (PAPIPrivateKey *)fromHexHex:(NSString *)hex __attribute__((swift_name("fromHex(hex:)"))); +- (BOOL)isCompressedData:(PAPIKotlinByteArray *)data __attribute__((swift_name("isCompressed(data:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Protocol"))) +@interface PAPIProtocol : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)protocol __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIProtocol *shared __attribute__((swift_name("shared"))); +@property (readonly) int64_t PROTOCOL_VERSION __attribute__((swift_name("PROTOCOL_VERSION"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PublicKey_"))) +@interface PAPIPublicKey_ : PAPIBase +- (instancetype)initWithData:(PAPIKotlinByteArray *)data __attribute__((swift_name("init(data:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(PAPIByteVector *)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIPublicKey_Companion *companion __attribute__((swift_name("companion"))); +- (PAPIByteVector *)component1 __attribute__((swift_name("component1()"))); +- (PAPIPublicKey_ *)doCopyValue:(PAPIByteVector *)value __attribute__((swift_name("doCopy(value:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (PAPIKotlinByteArray *)hash160 __attribute__((swift_name("hash160()"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)p2pkhAddressChainHash:(PAPIByteVector32 *)chainHash __attribute__((swift_name("p2pkhAddress(chainHash:)"))); +- (NSString *)p2shOfP2wpkhAddressChainHash:(PAPIByteVector32 *)chainHash __attribute__((swift_name("p2shOfP2wpkhAddress(chainHash:)"))); +- (NSString *)p2wpkhAddressChainHash:(PAPIByteVector32 *)chainHash __attribute__((swift_name("p2wpkhAddress(chainHash:)"))); +- (PAPIPublicKey_ *)plusThat:(PAPIPublicKey_ *)that __attribute__((swift_name("plus(that:)"))); +- (PAPIPublicKey_ *)timesThat:(PAPIPrivateKey *)that __attribute__((swift_name("times(that:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +- (PAPIKotlinByteArray *)toUncompressedBin __attribute__((swift_name("toUncompressedBin()"))); +@property (readonly) PAPIByteVector *value __attribute__((swift_name("value"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PublicKey_.Companion"))) +@interface PAPIPublicKey_Companion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIPublicKey_Companion *shared __attribute__((swift_name("shared"))); +- (PAPIKotlinByteArray *)compressPub:(PAPIKotlinByteArray *)pub __attribute__((swift_name("compress(pub:)"))); +- (PAPIPublicKey_ *)fromHexHex:(NSString *)hex __attribute__((swift_name("fromHex(hex:)"))); +@property (readonly) PAPIPublicKey_ *Generator __attribute__((swift_name("Generator"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Satoshi"))) +@interface PAPISatoshi : PAPIBase +- (instancetype)initWithSat:(int64_t)sat __attribute__((swift_name("init(sat:)"))) __attribute__((objc_designated_initializer)); +- (int32_t)compareToOther:(PAPISatoshi *)other __attribute__((swift_name("compareTo(other:)"))); +- (int64_t)component1 __attribute__((swift_name("component1()"))); +- (PAPISatoshi *)doCopySat:(int64_t)sat __attribute__((swift_name("doCopy(sat:)"))); +- (PAPISatoshi *)divD:(int64_t)d __attribute__((swift_name("div(d:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPISatoshi *)maxOther:(PAPISatoshi *)other __attribute__((swift_name("max(other:)"))); +- (PAPISatoshi *)minOther:(PAPISatoshi *)other __attribute__((swift_name("min(other:)"))); +- (PAPISatoshi *)minusOther:(PAPISatoshi *)other __attribute__((swift_name("minus(other:)"))); +- (PAPISatoshi *)plusOther:(PAPISatoshi *)other __attribute__((swift_name("plus(other:)"))); +- (PAPISatoshi *)timesM:(double)m __attribute__((swift_name("times(m:)"))); +- (PAPISatoshi *)timesM_:(int64_t)m __attribute__((swift_name("times(m_:)"))); +- (int64_t)toLong __attribute__((swift_name("toLong()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +- (uint64_t)toULong __attribute__((swift_name("toULong()"))); +- (PAPISatoshi *)unaryMinus __attribute__((swift_name("unaryMinus()"))); +@property (readonly) int64_t sat __attribute__((swift_name("sat"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Script"))) +@interface PAPIScript : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)script __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIScript *shared __attribute__((swift_name("shared"))); +- (BOOL)checkLockTimeLockTime:(int64_t)lockTime tx:(PAPITransaction *)tx inputIndex:(int32_t)inputIndex __attribute__((swift_name("checkLockTime(lockTime:tx:inputIndex:)"))); +- (BOOL)checkSequenceSequence:(int64_t)sequence tx:(PAPITransaction *)tx inputIndex:(int32_t)inputIndex __attribute__((swift_name("checkSequence(sequence:tx:inputIndex:)"))); +- (int32_t)costOp:(PAPIScriptElt *)op __attribute__((swift_name("cost(op:)"))); +- (NSArray *)createMultiSigMofNM:(int32_t)m pubkeys:(NSArray *)pubkeys __attribute__((swift_name("createMultiSigMofN(m:pubkeys:)"))); +- (int64_t)decodeNumberInput:(PAPIByteVector *)input checkMinimalEncoding:(BOOL)checkMinimalEncoding maximumSize:(int32_t)maximumSize __attribute__((swift_name("decodeNumber(input:checkMinimalEncoding:maximumSize:)"))); +- (int64_t)decodeNumberInput:(PAPIKotlinByteArray *)input checkMinimalEncoding:(BOOL)checkMinimalEncoding maximumSize_:(int32_t)maximumSize __attribute__((swift_name("decodeNumber(input:checkMinimalEncoding:maximumSize_:)"))); +- (PAPIByteVector *)encodeNumberValue:(int32_t)value __attribute__((swift_name("encodeNumber(value:)"))); +- (PAPIByteVector *)encodeNumberValue_:(int64_t)value __attribute__((swift_name("encodeNumber(value_:)"))); +- (PAPIScriptElt *)fromSimpleValueValue:(int8_t)value __attribute__((swift_name("fromSimpleValue(value:)"))); +- (BOOL)isDisabledOp:(PAPIScriptElt *)op __attribute__((swift_name("isDisabled(op:)"))); +- (BOOL)isPay2pkhScript:(PAPIKotlinByteArray *)script __attribute__((swift_name("isPay2pkh(script:)"))); +- (BOOL)isPay2pkhScript_:(NSArray *)script __attribute__((swift_name("isPay2pkh(script_:)"))); +- (BOOL)isPay2shScript:(PAPIKotlinByteArray *)script __attribute__((swift_name("isPay2sh(script:)"))); +- (BOOL)isPay2shScript_:(NSArray *)script __attribute__((swift_name("isPay2sh(script_:)"))); +- (BOOL)isPay2wpkhScript:(PAPIKotlinByteArray *)script __attribute__((swift_name("isPay2wpkh(script:)"))); +- (BOOL)isPay2wpkhScript_:(NSArray *)script __attribute__((swift_name("isPay2wpkh(script_:)"))); +- (BOOL)isPay2wshScript:(PAPIKotlinByteArray *)script __attribute__((swift_name("isPay2wsh(script:)"))); +- (BOOL)isPay2wshScript_:(NSArray *)script __attribute__((swift_name("isPay2wsh(script_:)"))); +- (BOOL)isPayToScriptScript:(PAPIKotlinByteArray *)script __attribute__((swift_name("isPayToScript(script:)"))); +- (BOOL)isPushOnlyScript:(NSArray *)script __attribute__((swift_name("isPushOnly(script:)"))); +- (BOOL)isSimpleValueOp:(PAPIScriptElt *)op __attribute__((swift_name("isSimpleValue(op:)"))); +- (BOOL)isUpgradableNopOp:(PAPIScriptElt *)op __attribute__((swift_name("isUpgradableNop(op:)"))); +- (NSArray *)parseBlob:(PAPIByteVector *)blob __attribute__((swift_name("parse(blob:)"))); +- (NSArray *)parseInput:(id)input stack:(NSArray *)stack __attribute__((swift_name("parse(input:stack:)"))); +- (NSArray *)parseBlob_:(PAPIKotlinByteArray *)blob __attribute__((swift_name("parse(blob_:)"))); +- (NSArray *)parseHex:(NSString *)hex __attribute__((swift_name("parse(hex:)"))); +- (NSArray *)pay2pkhPubKey:(PAPIPublicKey_ *)pubKey __attribute__((swift_name("pay2pkh(pubKey:)"))); +- (NSArray *)pay2pkhPubKeyHash:(PAPIKotlinByteArray *)pubKeyHash __attribute__((swift_name("pay2pkh(pubKeyHash:)"))); +- (NSArray *)pay2shScript:(PAPIKotlinByteArray *)script __attribute__((swift_name("pay2sh(script:)"))); +- (NSArray *)pay2shScript_:(NSArray *)script __attribute__((swift_name("pay2sh(script_:)"))); +- (NSArray *)pay2wpkhPubKey:(PAPIPublicKey_ *)pubKey __attribute__((swift_name("pay2wpkh(pubKey:)"))); +- (NSArray *)pay2wpkhPubKeyHash:(PAPIKotlinByteArray *)pubKeyHash __attribute__((swift_name("pay2wpkh(pubKeyHash:)"))); +- (NSArray *)pay2wshScript:(PAPIByteVector *)script __attribute__((swift_name("pay2wsh(script:)"))); +- (NSArray *)pay2wshScript_:(PAPIKotlinByteArray *)script __attribute__((swift_name("pay2wsh(script_:)"))); +- (NSArray *)pay2wshScript__:(NSArray *)script __attribute__((swift_name("pay2wsh(script__:)"))); +- (NSArray *)removeSignatureScript:(NSArray *)script signature:(PAPIByteVector *)signature __attribute__((swift_name("removeSignature(script:signature:)"))); +- (NSArray *)removeSignaturesScript:(NSArray *)script sigs:(NSArray *)sigs __attribute__((swift_name("removeSignatures(script:sigs:)"))); +- (int8_t)simpleValueOp:(PAPIScriptElt *)op __attribute__((swift_name("simpleValue(op:)"))); +- (PAPIKotlinByteArray *)writeScript:(NSArray *)script __attribute__((swift_name("write(script:)"))); +- (void)writeScript:(NSArray *)script out:(id)out __attribute__((swift_name("write(script:out:)"))); +- (NSArray *)dropCheck:(NSArray *)receiver n:(int32_t)n __attribute__((swift_name("dropCheck(_:n:)"))); +- (NSArray *)tail:(NSArray *)receiver __attribute__((swift_name("tail(_:)"))); +@property (readonly) PAPIByteVector *False __attribute__((swift_name("False"))); +@property (readonly) int64_t LockTimeThreshold __attribute__((swift_name("LockTimeThreshold"))); +@property (readonly) int32_t MaxScriptElementSize __attribute__((swift_name("MaxScriptElementSize"))); +@property (readonly) PAPIByteVector *True __attribute__((swift_name("True"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Script.Context"))) +@interface PAPIScriptContext : PAPIBase +- (instancetype)initWithTx:(PAPITransaction *)tx inputIndex:(int32_t)inputIndex amount:(PAPISatoshi *)amount __attribute__((swift_name("init(tx:inputIndex:amount:)"))) __attribute__((objc_designated_initializer)); +- (PAPITransaction *)component1 __attribute__((swift_name("component1()"))); +- (int32_t)component2 __attribute__((swift_name("component2()"))); +- (PAPISatoshi *)component3 __attribute__((swift_name("component3()"))); +- (PAPIScriptContext *)doCopyTx:(PAPITransaction *)tx inputIndex:(int32_t)inputIndex amount:(PAPISatoshi *)amount __attribute__((swift_name("doCopy(tx:inputIndex:amount:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPISatoshi *amount __attribute__((swift_name("amount"))); +@property (readonly) int32_t inputIndex __attribute__((swift_name("inputIndex"))); +@property (readonly) PAPITransaction *tx __attribute__((swift_name("tx"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Script.Runner"))) +@interface PAPIScriptRunner : PAPIBase +- (instancetype)initWithContext:(PAPIScriptContext *)context scriptFlag:(int32_t)scriptFlag callback:(PAPIBoolean *(^ _Nullable)(NSArray *, NSArray *, PAPIScriptRunnerCompanionState *))callback __attribute__((swift_name("init(context:scriptFlag:callback:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIScriptRunnerCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)checkMinimalEncoding __attribute__((swift_name("checkMinimalEncoding()"))); +- (BOOL)checkSignaturePubKey:(PAPIByteVector *)pubKey sigBytes:(PAPIByteVector *)sigBytes scriptCode:(PAPIByteVector *)scriptCode signatureVersion:(int32_t)signatureVersion __attribute__((swift_name("checkSignature(pubKey:sigBytes:scriptCode:signatureVersion:)"))); +- (BOOL)checkSignaturePubKey:(PAPIKotlinByteArray *)pubKey sigBytes:(PAPIKotlinByteArray *)sigBytes scriptCode:(PAPIKotlinByteArray *)scriptCode signatureVersion_:(int32_t)signatureVersion __attribute__((swift_name("checkSignature(pubKey:sigBytes:scriptCode:signatureVersion_:)"))); +- (BOOL)checkSignaturesPubKeys:(NSArray *)pubKeys sigs:(NSArray *)sigs scriptCode:(PAPIByteVector *)scriptCode signatureVersion:(int32_t)signatureVersion __attribute__((swift_name("checkSignatures(pubKeys:sigs:scriptCode:signatureVersion:)"))); +- (int64_t)decodeNumberInput:(PAPIByteVector *)input maximumSize:(int32_t)maximumSize __attribute__((swift_name("decodeNumber(input:maximumSize:)"))); +- (int64_t)decodeNumberInput:(PAPIKotlinByteArray *)input maximumSize_:(int32_t)maximumSize __attribute__((swift_name("decodeNumber(input:maximumSize_:)"))); +- (NSArray *)runScript:(PAPIByteVector *)script stack:(NSArray *)stack signatureVersion:(int32_t)signatureVersion __attribute__((swift_name("run(script:stack:signatureVersion:)"))); +- (NSArray *)runScript:(PAPIKotlinByteArray *)script signatureVersion:(int32_t)signatureVersion __attribute__((swift_name("run(script:signatureVersion:)"))); +- (NSArray *)runScript:(PAPIKotlinByteArray *)script stack:(NSArray *)stack signatureVersion_:(int32_t)signatureVersion __attribute__((swift_name("run(script:stack:signatureVersion_:)"))); +- (NSArray *)runScript:(NSArray *)script signatureVersion_:(int32_t)signatureVersion __attribute__((swift_name("run(script:signatureVersion_:)"))); +- (NSArray *)runScript:(NSArray *)script stack:(NSArray *)stack state:(PAPIScriptRunnerCompanionState *)state signatureVersion:(int32_t)signatureVersion __attribute__((swift_name("run(script:stack:state:signatureVersion:)"))); +- (NSArray *)runScript:(NSArray *)script stack:(NSArray *)stack signatureVersion__:(int32_t)signatureVersion __attribute__((swift_name("run(script:stack:signatureVersion__:)"))); +- (BOOL)verifyScriptsScriptSig:(PAPIByteVector *)scriptSig scriptPubKey:(PAPIByteVector *)scriptPubKey witness:(PAPIScriptWitness *)witness __attribute__((swift_name("verifyScripts(scriptSig:scriptPubKey:witness:)"))); +- (BOOL)verifyScriptsScriptSig:(PAPIKotlinByteArray *)scriptSig scriptPubKey:(PAPIKotlinByteArray *)scriptPubKey __attribute__((swift_name("verifyScripts(scriptSig:scriptPubKey:)"))); +- (BOOL)verifyScriptsScriptSig:(PAPIKotlinByteArray *)scriptSig scriptPubKey:(PAPIKotlinByteArray *)scriptPubKey witness_:(PAPIScriptWitness *)witness __attribute__((swift_name("verifyScripts(scriptSig:scriptPubKey:witness_:)"))); +- (void)verifyWitnessProgramWitness:(PAPIScriptWitness *)witness witnessVersion:(int64_t)witnessVersion program:(PAPIKotlinByteArray *)program __attribute__((swift_name("verifyWitnessProgram(witness:witnessVersion:program:)"))); +@property (readonly) PAPIBoolean *(^ _Nullable callback)(NSArray *, NSArray *, PAPIScriptRunnerCompanionState *) __attribute__((swift_name("callback"))); +@property (readonly) PAPIScriptContext *context __attribute__((swift_name("context"))); +@property (readonly) int32_t scriptFlag __attribute__((swift_name("scriptFlag"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Script.RunnerCompanion"))) +@interface PAPIScriptRunnerCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIScriptRunnerCompanion *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Script.RunnerCompanionState"))) +@interface PAPIScriptRunnerCompanionState : PAPIBase +- (instancetype)initWithConditions:(NSArray *)conditions altstack:(NSArray *)altstack opCount:(int32_t)opCount scriptCode:(NSArray *)scriptCode __attribute__((swift_name("init(conditions:altstack:opCount:scriptCode:)"))) __attribute__((objc_designated_initializer)); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (NSArray *)component2 __attribute__((swift_name("component2()"))); +- (int32_t)component3 __attribute__((swift_name("component3()"))); +- (NSArray *)component4 __attribute__((swift_name("component4()"))); +- (PAPIScriptRunnerCompanionState *)doCopyConditions:(NSArray *)conditions altstack:(NSArray *)altstack opCount:(int32_t)opCount scriptCode:(NSArray *)scriptCode __attribute__((swift_name("doCopy(conditions:altstack:opCount:scriptCode:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSArray *altstack __attribute__((swift_name("altstack"))); +@property (readonly) NSArray *conditions __attribute__((swift_name("conditions"))); +@property (readonly) int32_t opCount __attribute__((swift_name("opCount"))); +@property (readonly) NSArray *scriptCode __attribute__((swift_name("scriptCode"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ScriptElt.Companion"))) +@interface PAPIScriptEltCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIScriptEltCompanion *shared __attribute__((swift_name("shared"))); +- (BOOL)isPushOp:(PAPIScriptElt *)op __attribute__((swift_name("isPush(op:)"))); +- (BOOL)isPushOp:(PAPIScriptElt *)op size:(int32_t)size __attribute__((swift_name("isPush(op:size:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ScriptEltMapping"))) +@interface PAPIScriptEltMapping : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)scriptEltMapping __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIScriptEltMapping *shared __attribute__((swift_name("shared"))); +- (NSString *)nameElt:(PAPIScriptElt *)elt __attribute__((swift_name("name(elt:)"))); +@property (readonly) PAPIMutableDictionary *code2elt __attribute__((swift_name("code2elt"))); +@property (readonly) NSDictionary *elt2code __attribute__((swift_name("elt2code"))); +@property (readonly) NSDictionary *name2code __attribute__((swift_name("name2code"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ScriptFlags"))) +@interface PAPIScriptFlags : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)scriptFlags __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIScriptFlags *shared __attribute__((swift_name("shared"))); +@property (readonly) int32_t MANDATORY_SCRIPT_VERIFY_FLAGS __attribute__((swift_name("MANDATORY_SCRIPT_VERIFY_FLAGS"))); +@property (readonly) int32_t SCRIPT_VERIFY_CHECKLOCKTIMEVERIFY __attribute__((swift_name("SCRIPT_VERIFY_CHECKLOCKTIMEVERIFY"))); +@property (readonly) int32_t SCRIPT_VERIFY_CHECKSEQUENCEVERIFY __attribute__((swift_name("SCRIPT_VERIFY_CHECKSEQUENCEVERIFY"))); +@property (readonly) int32_t SCRIPT_VERIFY_CLEANSTACK __attribute__((swift_name("SCRIPT_VERIFY_CLEANSTACK"))); +@property (readonly) int32_t SCRIPT_VERIFY_CONST_SCRIPTCODE __attribute__((swift_name("SCRIPT_VERIFY_CONST_SCRIPTCODE"))); +@property (readonly) int32_t SCRIPT_VERIFY_DERSIG __attribute__((swift_name("SCRIPT_VERIFY_DERSIG"))); +@property (readonly) int32_t SCRIPT_VERIFY_DISCOURAGE_UPGRADABLE_NOPS __attribute__((swift_name("SCRIPT_VERIFY_DISCOURAGE_UPGRADABLE_NOPS"))); +@property (readonly) int32_t SCRIPT_VERIFY_DISCOURAGE_UPGRADABLE_WITNESS_PROGRAM __attribute__((swift_name("SCRIPT_VERIFY_DISCOURAGE_UPGRADABLE_WITNESS_PROGRAM"))); +@property (readonly) int32_t SCRIPT_VERIFY_LOW_S __attribute__((swift_name("SCRIPT_VERIFY_LOW_S"))); +@property (readonly) int32_t SCRIPT_VERIFY_MINIMALDATA __attribute__((swift_name("SCRIPT_VERIFY_MINIMALDATA"))); +@property (readonly) int32_t SCRIPT_VERIFY_MINIMALIF __attribute__((swift_name("SCRIPT_VERIFY_MINIMALIF"))); +@property (readonly) int32_t SCRIPT_VERIFY_NONE __attribute__((swift_name("SCRIPT_VERIFY_NONE"))); +@property (readonly) int32_t SCRIPT_VERIFY_NULLDUMMY __attribute__((swift_name("SCRIPT_VERIFY_NULLDUMMY"))); +@property (readonly) int32_t SCRIPT_VERIFY_NULLFAIL __attribute__((swift_name("SCRIPT_VERIFY_NULLFAIL"))); +@property (readonly) int32_t SCRIPT_VERIFY_P2SH __attribute__((swift_name("SCRIPT_VERIFY_P2SH"))); +@property (readonly) int32_t SCRIPT_VERIFY_SIGPUSHONLY __attribute__((swift_name("SCRIPT_VERIFY_SIGPUSHONLY"))); +@property (readonly) int32_t SCRIPT_VERIFY_STRICTENC __attribute__((swift_name("SCRIPT_VERIFY_STRICTENC"))); +@property (readonly) int32_t SCRIPT_VERIFY_WITNESS __attribute__((swift_name("SCRIPT_VERIFY_WITNESS"))); +@property (readonly) int32_t SCRIPT_VERIFY_WITNESS_PUBKEYTYPE __attribute__((swift_name("SCRIPT_VERIFY_WITNESS_PUBKEYTYPE"))); +@property (readonly) int32_t STANDARD_NOT_MANDATORY_VERIFY_FLAGS __attribute__((swift_name("STANDARD_NOT_MANDATORY_VERIFY_FLAGS"))); +@property (readonly) int32_t STANDARD_SCRIPT_VERIFY_FLAGS __attribute__((swift_name("STANDARD_SCRIPT_VERIFY_FLAGS"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ScriptWitness"))) +@interface PAPIScriptWitness : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (instancetype)initWithStack:(NSArray *)stack __attribute__((swift_name("init(stack:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIScriptWitnessCompanion *companion __attribute__((swift_name("companion"))); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (PAPIScriptWitness *)doCopyStack:(NSArray *)stack __attribute__((swift_name("doCopy(stack:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (BOOL)isNotNull __attribute__((swift_name("isNotNull()"))); +- (BOOL)isNull __attribute__((swift_name("isNull()"))); +- (PAPIByteVector *)last __attribute__((swift_name("last()"))); +- (PAPIScriptWitness *)pushItem:(PAPIByteVector *)item __attribute__((swift_name("push(item:)"))); +- (PAPIScriptWitness *)pushItem_:(PAPIKotlinByteArray *)item __attribute__((swift_name("push(item_:)"))); +- (PAPIScriptWitness *)pushScript:(NSArray *)script __attribute__((swift_name("push(script:)"))); +- (PAPIBtcSerializer *)serializer __attribute__((swift_name("serializer()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSArray *stack __attribute__((swift_name("stack"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ScriptWitness.Companion"))) +@interface PAPIScriptWitnessCompanion : PAPIBtcSerializer ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIScriptWitnessCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIScriptWitness *)readInput:(id)input protocolVersion:(int64_t)protocolVersion __attribute__((swift_name("read(input:protocolVersion:)"))); +- (void)writeMessage:(PAPIScriptWitness *)t out:(id)out protocolVersion:(int64_t)protocolVersion __attribute__((swift_name("write(message:out:protocolVersion:)"))); +@property (readonly) PAPIScriptWitness *empty __attribute__((swift_name("empty"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SigHash"))) +@interface PAPISigHash : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)sigHash __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPISigHash *shared __attribute__((swift_name("shared"))); +- (BOOL)isAnyoneCanPaySighashType:(int32_t)sighashType __attribute__((swift_name("isAnyoneCanPay(sighashType:)"))); +- (BOOL)isHashNoneSighashType:(int32_t)sighashType __attribute__((swift_name("isHashNone(sighashType:)"))); +- (BOOL)isHashSingleSighashType:(int32_t)sighashType __attribute__((swift_name("isHashSingle(sighashType:)"))); +@property (readonly) int32_t SIGHASH_ALL __attribute__((swift_name("SIGHASH_ALL"))); +@property (readonly) int32_t SIGHASH_ANYONECANPAY __attribute__((swift_name("SIGHASH_ANYONECANPAY"))); +@property (readonly) int32_t SIGHASH_NONE __attribute__((swift_name("SIGHASH_NONE"))); +@property (readonly) int32_t SIGHASH_SINGLE __attribute__((swift_name("SIGHASH_SINGLE"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SigVersion"))) +@interface PAPISigVersion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)sigVersion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPISigVersion *shared __attribute__((swift_name("shared"))); +@property (readonly) int32_t SIGVERSION_BASE __attribute__((swift_name("SIGVERSION_BASE"))); +@property (readonly) int32_t SIGVERSION_WITNESS_V0 __attribute__((swift_name("SIGVERSION_WITNESS_V0"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Transaction"))) +@interface PAPITransaction : PAPIBase +- (instancetype)initWithVersion:(int64_t)version txIn:(NSArray *)txIn txOut:(NSArray *)txOut lockTime:(int64_t)lockTime __attribute__((swift_name("init(version:txIn:txOut:lockTime:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPITransactionCompanion *companion __attribute__((swift_name("companion"))); +- (PAPITransaction *)addInputInput:(PAPITxIn *)input __attribute__((swift_name("addInput(input:)"))); +- (PAPITransaction *)addOutputOutput:(PAPITxOut *)output __attribute__((swift_name("addOutput(output:)"))); +- (int64_t)component1 __attribute__((swift_name("component1()"))); +- (NSArray *)component2 __attribute__((swift_name("component2()"))); +- (NSArray *)component3 __attribute__((swift_name("component3()"))); +- (int64_t)component4 __attribute__((swift_name("component4()"))); +- (PAPITransaction *)doCopyVersion:(int64_t)version txIn:(NSArray *)txIn txOut:(NSArray *)txOut lockTime:(int64_t)lockTime __attribute__((swift_name("doCopy(version:txIn:txOut:lockTime:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIBtcSerializer *)serializer __attribute__((swift_name("serializer()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +- (PAPITransaction *)updateInputsInputs:(NSArray *)inputs __attribute__((swift_name("updateInputs(inputs:)"))); +- (PAPITransaction *)updateOutputsOutputs:(NSArray *)outputs __attribute__((swift_name("updateOutputs(outputs:)"))); +- (PAPITransaction *)updateSigScriptI:(int32_t)i sigScript:(PAPIKotlinByteArray *)sigScript __attribute__((swift_name("updateSigScript(i:sigScript:)"))); +- (PAPITransaction *)updateSigScriptI:(int32_t)i sigScript_:(NSArray *)sigScript __attribute__((swift_name("updateSigScript(i:sigScript_:)"))); +- (PAPITransaction *)updateWitnessI:(int32_t)i witness:(PAPIScriptWitness *)witness __attribute__((swift_name("updateWitness(i:witness:)"))); +- (PAPITransaction *)updateWitnessesWitnesses:(NSArray *)witnesses __attribute__((swift_name("updateWitnesses(witnesses:)"))); +- (int32_t)weight __attribute__((swift_name("weight()"))); +@property (readonly) BOOL hasWitness __attribute__((swift_name("hasWitness"))); +@property (readonly, getter=hash_) PAPIByteVector32 *hash __attribute__((swift_name("hash"))); +@property (readonly) int64_t lockTime __attribute__((swift_name("lockTime"))); +@property (readonly) NSArray *txIn __attribute__((swift_name("txIn"))); +@property (readonly) NSArray *txOut __attribute__((swift_name("txOut"))); +@property (readonly) PAPIByteVector32 *txid __attribute__((swift_name("txid"))); +@property (readonly) int64_t version __attribute__((swift_name("version"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Transaction.Companion"))) +@interface PAPITransactionCompanion : PAPIBtcSerializer ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPITransactionCompanion *shared __attribute__((swift_name("shared"))); +- (int32_t)baseSizeTx:(PAPITransaction *)tx protocolVersion:(int64_t)protocolVersion __attribute__((swift_name("baseSize(tx:protocolVersion:)"))); +- (void)correctlySpendsTx:(PAPITransaction *)tx parent:(PAPITransaction *)parent scriptFlags:(int32_t)scriptFlags __attribute__((swift_name("correctlySpends(tx:parent:scriptFlags:)"))); +- (void)correctlySpendsTx:(PAPITransaction *)tx parent:(PAPITransaction *)parent scriptFlags:(int32_t)scriptFlags callback:(PAPIBoolean *(^ _Nullable)(NSArray *, NSArray *, PAPIScriptRunnerCompanionState *))callback __attribute__((swift_name("correctlySpends(tx:parent:scriptFlags:callback:)"))); +- (void)correctlySpendsTx:(PAPITransaction *)tx inputs:(NSArray *)inputs scriptFlags:(int32_t)scriptFlags __attribute__((swift_name("correctlySpends(tx:inputs:scriptFlags:)"))); +- (void)correctlySpendsTx:(PAPITransaction *)tx inputs:(NSArray *)inputs scriptFlags:(int32_t)scriptFlags callback:(PAPIBoolean *(^ _Nullable)(NSArray *, NSArray *, PAPIScriptRunnerCompanionState *))callback __attribute__((swift_name("correctlySpends(tx:inputs:scriptFlags:callback:)"))); +- (void)correctlySpendsTx:(PAPITransaction *)tx previousOutputs:(NSDictionary *)previousOutputs scriptFlags:(int32_t)scriptFlags __attribute__((swift_name("correctlySpends(tx:previousOutputs:scriptFlags:)"))); +- (void)correctlySpendsTx:(PAPITransaction *)tx previousOutputs:(NSDictionary *)previousOutputs scriptFlags:(int32_t)scriptFlags callback:(PAPIBoolean *(^ _Nullable)(NSArray *, NSArray *, PAPIScriptRunnerCompanionState *))callback __attribute__((swift_name("correctlySpends(tx:previousOutputs:scriptFlags:callback:)"))); +- (PAPIKotlinByteArray *)hashForSigningTx:(PAPITransaction *)tx inputIndex:(int32_t)inputIndex previousOutputScript:(PAPIKotlinByteArray *)previousOutputScript sighashType:(int32_t)sighashType __attribute__((swift_name("hashForSigning(tx:inputIndex:previousOutputScript:sighashType:)"))); +- (PAPIKotlinByteArray *)hashForSigningTx:(PAPITransaction *)tx inputIndex:(int32_t)inputIndex previousOutputScript:(PAPIKotlinByteArray *)previousOutputScript sighashType:(int32_t)sighashType amount:(PAPISatoshi *)amount signatureVersion:(int32_t)signatureVersion __attribute__((swift_name("hashForSigning(tx:inputIndex:previousOutputScript:sighashType:amount:signatureVersion:)"))); +- (PAPIKotlinByteArray *)hashForSigningTx:(PAPITransaction *)tx inputIndex:(int32_t)inputIndex previousOutputScript:(NSArray *)previousOutputScript sighashType:(int32_t)sighashType amount:(PAPISatoshi *)amount signatureVersion_:(int32_t)signatureVersion __attribute__((swift_name("hashForSigning(tx:inputIndex:previousOutputScript:sighashType:amount:signatureVersion_:)"))); +- (BOOL)isCoinbaseInput:(PAPITransaction *)input __attribute__((swift_name("isCoinbase(input:)"))); +- (PAPITransaction *)prepareForSigningTx:(PAPITransaction *)tx inputIndex:(int32_t)inputIndex previousOutputScript:(PAPIKotlinByteArray *)previousOutputScript sighashType:(int32_t)sighashType __attribute__((swift_name("prepareForSigning(tx:inputIndex:previousOutputScript:sighashType:)"))); +- (PAPITransaction *)readInput:(id)input protocolVersion:(int64_t)protocolVersion __attribute__((swift_name("read(input:protocolVersion:)"))); +- (PAPITransaction *)readInput_:(PAPIKotlinByteArray *)input __attribute__((swift_name("read(input_:)"))); +- (PAPITransaction *)readInput__:(NSString *)input __attribute__((swift_name("read(input__:)"))); +- (BOOL)serializeTxWitnessVersion:(int64_t)version __attribute__((swift_name("serializeTxWitness(version:)"))); +- (PAPIKotlinByteArray *)signInputTx:(PAPITransaction *)tx inputIndex:(int32_t)inputIndex previousOutputScript:(PAPIByteVector *)previousOutputScript sighashType:(int32_t)sighashType privateKey:(PAPIPrivateKey *)privateKey __attribute__((swift_name("signInput(tx:inputIndex:previousOutputScript:sighashType:privateKey:)"))); +- (PAPIKotlinByteArray *)signInputTx:(PAPITransaction *)tx inputIndex:(int32_t)inputIndex previousOutputScript:(PAPIByteVector *)previousOutputScript sighashType:(int32_t)sighashType amount:(PAPISatoshi *)amount signatureVersion:(int32_t)signatureVersion privateKey:(PAPIPrivateKey *)privateKey __attribute__((swift_name("signInput(tx:inputIndex:previousOutputScript:sighashType:amount:signatureVersion:privateKey:)"))); +- (PAPIKotlinByteArray *)signInputTx:(PAPITransaction *)tx inputIndex:(int32_t)inputIndex previousOutputScript:(PAPIKotlinByteArray *)previousOutputScript sighashType:(int32_t)sighashType privateKey_:(PAPIPrivateKey *)privateKey __attribute__((swift_name("signInput(tx:inputIndex:previousOutputScript:sighashType:privateKey_:)"))); +- (PAPIKotlinByteArray *)signInputTx:(PAPITransaction *)tx inputIndex:(int32_t)inputIndex previousOutputScript:(PAPIKotlinByteArray *)previousOutputScript sighashType:(int32_t)sighashType amount:(PAPISatoshi *)amount signatureVersion:(int32_t)signatureVersion privateKey_:(PAPIPrivateKey *)privateKey __attribute__((swift_name("signInput(tx:inputIndex:previousOutputScript:sighashType:amount:signatureVersion:privateKey_:)"))); +- (PAPIKotlinByteArray *)signInputTx:(PAPITransaction *)tx inputIndex:(int32_t)inputIndex previousOutputScript:(NSArray *)previousOutputScript sighashType:(int32_t)sighashType privateKey__:(PAPIPrivateKey *)privateKey __attribute__((swift_name("signInput(tx:inputIndex:previousOutputScript:sighashType:privateKey__:)"))); +- (PAPIKotlinByteArray *)signInputTx:(PAPITransaction *)tx inputIndex:(int32_t)inputIndex previousOutputScript:(NSArray *)previousOutputScript sighashType:(int32_t)sighashType amount:(PAPISatoshi *)amount signatureVersion:(int32_t)signatureVersion privateKey__:(PAPIPrivateKey *)privateKey __attribute__((swift_name("signInput(tx:inputIndex:previousOutputScript:sighashType:amount:signatureVersion:privateKey__:)"))); +- (int32_t)totalSizeTx:(PAPITransaction *)tx protocolVersion:(int64_t)protocolVersion __attribute__((swift_name("totalSize(tx:protocolVersion:)"))); +- (void)validateMessage:(PAPITransaction *)input __attribute__((swift_name("validate(message:)"))); +- (int32_t)weightTx:(PAPITransaction *)tx __attribute__((swift_name("weight(tx:)"))); +- (int32_t)weightTx:(PAPITransaction *)tx protocolVersion:(int64_t)protocolVersion __attribute__((swift_name("weight(tx:protocolVersion:)"))); +- (PAPIKotlinByteArray *)writeMessage:(PAPITransaction *)message __attribute__((swift_name("write(message:)"))); +- (void)writeMessage:(PAPITransaction *)tx out:(id)out protocolVersion:(int64_t)protocolVersion __attribute__((swift_name("write(message:out:protocolVersion:)"))); +@property (readonly) int64_t LOCKTIME_THRESHOLD __attribute__((swift_name("LOCKTIME_THRESHOLD"))); +@property (readonly) int64_t SERIALIZE_TRANSACTION_NO_WITNESS __attribute__((swift_name("SERIALIZE_TRANSACTION_NO_WITNESS"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("TxIn"))) +@interface PAPITxIn : PAPIBase +- (instancetype)initWithOutPoint:(PAPIOutPoint *)outPoint signatureScript:(PAPIKotlinByteArray *)signatureScript sequence:(int64_t)sequence __attribute__((swift_name("init(outPoint:signatureScript:sequence:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithOutPoint:(PAPIOutPoint *)outPoint sequence:(int64_t)sequence __attribute__((swift_name("init(outPoint:sequence:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithOutPoint:(PAPIOutPoint *)outPoint signatureScript:(NSArray *)signatureScript sequence_:(int64_t)sequence __attribute__((swift_name("init(outPoint:signatureScript:sequence_:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithOutPoint:(PAPIOutPoint *)outPoint signatureScript:(PAPIByteVector *)signatureScript sequence:(int64_t)sequence witness:(PAPIScriptWitness *)witness __attribute__((swift_name("init(outPoint:signatureScript:sequence:witness:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPITxInCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIOutPoint *)component1 __attribute__((swift_name("component1()"))); +- (PAPIByteVector *)component2 __attribute__((swift_name("component2()"))); +- (int64_t)component3 __attribute__((swift_name("component3()"))); +- (PAPIScriptWitness *)component4 __attribute__((swift_name("component4()"))); +- (PAPITxIn *)doCopyOutPoint:(PAPIOutPoint *)outPoint signatureScript:(PAPIByteVector *)signatureScript sequence:(int64_t)sequence witness:(PAPIScriptWitness *)witness __attribute__((swift_name("doCopy(outPoint:signatureScript:sequence:witness:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIBtcSerializer *)serializer __attribute__((swift_name("serializer()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +- (PAPITxIn *)updateSignatureScriptSignatureScript:(PAPIByteVector *)signatureScript __attribute__((swift_name("updateSignatureScript(signatureScript:)"))); +- (PAPITxIn *)updateSignatureScriptSignatureScript_:(PAPIKotlinByteArray *)signatureScript __attribute__((swift_name("updateSignatureScript(signatureScript_:)"))); +- (PAPITxIn *)updateWitnessWitness:(PAPIScriptWitness *)witness __attribute__((swift_name("updateWitness(witness:)"))); +@property (readonly) BOOL hasWitness __attribute__((swift_name("hasWitness"))); +@property (readonly) BOOL isFinal __attribute__((swift_name("isFinal"))); +@property (readonly) PAPIOutPoint *outPoint __attribute__((swift_name("outPoint"))); +@property (readonly) int64_t sequence __attribute__((swift_name("sequence"))); +@property (readonly) PAPIByteVector *signatureScript __attribute__((swift_name("signatureScript"))); +@property (readonly) PAPIScriptWitness *witness __attribute__((swift_name("witness"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("TxIn.Companion"))) +@interface PAPITxInCompanion : PAPIBtcSerializer ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPITxInCompanion *shared __attribute__((swift_name("shared"))); +- (PAPITxIn *)coinbaseScript:(PAPIKotlinByteArray *)script __attribute__((swift_name("coinbase(script:)"))); +- (PAPITxIn *)coinbaseScript_:(NSArray *)script __attribute__((swift_name("coinbase(script_:)"))); +- (PAPITxIn *)readInput:(id)input protocolVersion:(int64_t)protocolVersion __attribute__((swift_name("read(input:protocolVersion:)"))); +- (void)validateMessage:(PAPITxIn *)input __attribute__((swift_name("validate(message:)"))); +- (void)writeMessage:(PAPITxIn *)message out:(id)out protocolVersion:(int64_t)protocolVersion __attribute__((swift_name("write(message:out:protocolVersion:)"))); +@property (readonly) int64_t SEQUENCE_FINAL __attribute__((swift_name("SEQUENCE_FINAL"))); +@property (readonly) int64_t SEQUENCE_LOCKTIME_DISABLE_FLAG __attribute__((swift_name("SEQUENCE_LOCKTIME_DISABLE_FLAG"))); +@property (readonly) int64_t SEQUENCE_LOCKTIME_GRANULARITY __attribute__((swift_name("SEQUENCE_LOCKTIME_GRANULARITY"))); +@property (readonly) int64_t SEQUENCE_LOCKTIME_MASK __attribute__((swift_name("SEQUENCE_LOCKTIME_MASK"))); +@property (readonly) int64_t SEQUENCE_LOCKTIME_TYPE_FLAG __attribute__((swift_name("SEQUENCE_LOCKTIME_TYPE_FLAG"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("TxOut"))) +@interface PAPITxOut : PAPIBase +- (instancetype)initWithAmount:(PAPISatoshi *)amount publicKeyScript:(PAPIKotlinByteArray *)publicKeyScript __attribute__((swift_name("init(amount:publicKeyScript:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithAmount:(PAPISatoshi *)amount publicKeyScript_:(NSArray *)publicKeyScript __attribute__((swift_name("init(amount:publicKeyScript_:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithAmount:(PAPISatoshi *)amount publicKeyScript__:(PAPIByteVector *)publicKeyScript __attribute__((swift_name("init(amount:publicKeyScript__:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPITxOutCompanion *companion __attribute__((swift_name("companion"))); +- (PAPISatoshi *)component1 __attribute__((swift_name("component1()"))); +- (PAPIByteVector *)component2 __attribute__((swift_name("component2()"))); +- (PAPITxOut *)doCopyAmount:(PAPISatoshi *)amount publicKeyScript:(PAPIByteVector *)publicKeyScript __attribute__((swift_name("doCopy(amount:publicKeyScript:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIBtcSerializer *)serializer __attribute__((swift_name("serializer()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +- (PAPITxOut *)updateAmountNewAmount:(PAPISatoshi *)newAmount __attribute__((swift_name("updateAmount(newAmount:)"))); +- (PAPITxOut *)updatePublicKeyScriptInput:(PAPIByteVector *)input __attribute__((swift_name("updatePublicKeyScript(input:)"))); +- (PAPITxOut *)updatePublicKeyScriptInput_:(PAPIKotlinByteArray *)input __attribute__((swift_name("updatePublicKeyScript(input_:)"))); +- (PAPITxOut *)updatePublicKeyScriptInput__:(NSArray *)input __attribute__((swift_name("updatePublicKeyScript(input__:)"))); +@property (readonly) PAPISatoshi *amount __attribute__((swift_name("amount"))); +@property (readonly) PAPIByteVector *publicKeyScript __attribute__((swift_name("publicKeyScript"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("TxOut.Companion"))) +@interface PAPITxOutCompanion : PAPIBtcSerializer ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPITxOutCompanion *shared __attribute__((swift_name("shared"))); +- (PAPITxOut *)readInput:(id)input protocolVersion:(int64_t)protocolVersion __attribute__((swift_name("read(input:protocolVersion:)"))); +- (PAPITxOut *)readInput_:(PAPIKotlinByteArray *)input __attribute__((swift_name("read(input_:)"))); +- (void)validateMessage:(PAPITxOut *)t __attribute__((swift_name("validate(message:)"))); +- (PAPIKotlinByteArray *)writeMessage:(PAPITxOut *)message __attribute__((swift_name("write(message:)"))); +- (void)writeMessage:(PAPITxOut *)t out:(id)out protocolVersion:(int64_t)protocolVersion __attribute__((swift_name("write(message:out:protocolVersion:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UInt256"))) +@interface PAPIUInt256 : PAPIBase +- (instancetype)initWithRhs:(PAPIUInt256 *)rhs __attribute__((swift_name("init(rhs:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue:(int64_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithValue_:(PAPIKotlinByteArray *)value __attribute__((swift_name("init(value_:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +@property (class, readonly, getter=companion) PAPIUInt256Companion *companion __attribute__((swift_name("companion"))); +- (int32_t)bits __attribute__((swift_name("bits()"))); +- (int32_t)compareToOther:(PAPIUInt256 *)other __attribute__((swift_name("compareTo(other:)"))); +- (void)divAssignOther:(PAPIUInt256 *)other __attribute__((swift_name("divAssign(other:)"))); +- (int64_t)endodeCompactFNegative:(BOOL)fNegative __attribute__((swift_name("endodeCompact(fNegative:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (int64_t)getLow64 __attribute__((swift_name("getLow64()"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (PAPIUInt256 *)inc __attribute__((swift_name("inc()"))); +- (PAPIUInt256 *)inv __attribute__((swift_name("inv()"))); +- (void)minusAssignOther:(PAPIUInt256 *)other __attribute__((swift_name("minusAssign(other:)"))); +- (void)plusAssignOther:(PAPIUInt256 *)other __attribute__((swift_name("plusAssign(other:)"))); +- (void)setUInt64Value:(int64_t)value __attribute__((swift_name("setUInt64(value:)"))); +- (PAPIUInt256 *)shlBitCount:(int32_t)bitCount __attribute__((swift_name("shl(bitCount:)"))); +- (PAPIUInt256 *)shrBitCount:(int32_t)bitCount __attribute__((swift_name("shr(bitCount:)"))); +- (void)timesAssignOther:(PAPIUInt256 *)other __attribute__((swift_name("timesAssign(other:)"))); +- (double)toDouble __attribute__((swift_name("toDouble()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +- (PAPIUInt256 *)unaryMinus __attribute__((swift_name("unaryMinus()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UInt256.Companion"))) +@interface PAPIUInt256Companion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIUInt256Companion *shared __attribute__((swift_name("shared"))); +- (PAPIKotlinTriple *)decodeCompactNCompact:(int64_t)nCompact __attribute__((swift_name("decodeCompact(nCompact:)"))); +@property (readonly) PAPIUInt256 *Zero __attribute__((swift_name("Zero"))); +@end; + +__attribute__((swift_name("Digest"))) +@protocol PAPIDigest +@required +- (int32_t)doFinalOut:(PAPIKotlinByteArray *)out outOffset:(int32_t)outOffset __attribute__((swift_name("doFinal(out:outOffset:)"))); +- (NSString *)getAlgorithmName __attribute__((swift_name("getAlgorithmName()"))); +- (int32_t)getDigestSize __attribute__((swift_name("getDigestSize()"))); +- (PAPIKotlinByteArray *)hashInput:(PAPIKotlinByteArray *)input __attribute__((swift_name("hash(input:)"))); +- (PAPIKotlinByteArray *)hashInput:(PAPIKotlinByteArray *)input inputOffset:(int32_t)inputOffset len:(int32_t)len __attribute__((swift_name("hash(input:inputOffset:len:)"))); +- (void)reset_ __attribute__((swift_name("reset_()"))); +- (void)updateInput_:(int8_t)input __attribute__((swift_name("update(input_:)"))); +- (void)updateInput:(PAPIKotlinByteArray *)input inputOffset:(int32_t)inputOffset len:(int32_t)len __attribute__((swift_name("update(input:inputOffset:len:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DigestCompanion"))) +@interface PAPIDigestCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDigestCompanion *shared __attribute__((swift_name("shared"))); +- (id)ripemd160 __attribute__((swift_name("ripemd160()"))); +- (id)sha1 __attribute__((swift_name("sha1()"))); +- (id)sha256 __attribute__((swift_name("sha256()"))); +- (id)sha512 __attribute__((swift_name("sha512()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Pack"))) +@interface PAPIPack : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)pack __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIPack *shared __attribute__((swift_name("shared"))); +- (int16_t)int16BEInput:(id)input __attribute__((swift_name("int16BE(input:)"))); +- (int16_t)int16BEBs:(PAPIKotlinByteArray *)bs off:(int32_t)off __attribute__((swift_name("int16BE(bs:off:)"))); +- (int16_t)int16LEInput:(id)input __attribute__((swift_name("int16LE(input:)"))); +- (int16_t)int16LEBs:(PAPIKotlinByteArray *)bs off:(int32_t)off __attribute__((swift_name("int16LE(bs:off:)"))); +- (int32_t)int32BEInput:(id)input __attribute__((swift_name("int32BE(input:)"))); +- (int32_t)int32BEBs:(PAPIKotlinByteArray *)bs off:(int32_t)off __attribute__((swift_name("int32BE(bs:off:)"))); +- (int32_t)int32LEInput:(id)input __attribute__((swift_name("int32LE(input:)"))); +- (int32_t)int32LEBs:(PAPIKotlinByteArray *)bs off:(int32_t)off __attribute__((swift_name("int32LE(bs:off:)"))); +- (int64_t)int64BEInput:(id)input __attribute__((swift_name("int64BE(input:)"))); +- (int64_t)int64BEBs:(PAPIKotlinByteArray *)bs off:(int32_t)off __attribute__((swift_name("int64BE(bs:off:)"))); +- (int64_t)int64LEInput:(id)input __attribute__((swift_name("int64LE(input:)"))); +- (int64_t)int64LEBs:(PAPIKotlinByteArray *)bs off:(int32_t)off __attribute__((swift_name("int64LE(bs:off:)"))); +- (PAPIKotlinByteArray *)writeInt16BEN:(int16_t)n __attribute__((swift_name("writeInt16BE(n:)"))); +- (void)writeInt16BEN:(int16_t)n output:(id)output __attribute__((swift_name("writeInt16BE(n:output:)"))); +- (void)writeInt16BEN:(int16_t)n bs:(PAPIKotlinByteArray *)bs off:(int32_t)off __attribute__((swift_name("writeInt16BE(n:bs:off:)"))); +- (PAPIKotlinByteArray *)writeInt16LEN:(int16_t)n __attribute__((swift_name("writeInt16LE(n:)"))); +- (void)writeInt16LEN:(int16_t)n output:(id)output __attribute__((swift_name("writeInt16LE(n:output:)"))); +- (void)writeInt16LEN:(int16_t)n bs:(PAPIKotlinByteArray *)bs off:(int32_t)off __attribute__((swift_name("writeInt16LE(n:bs:off:)"))); +- (PAPIKotlinByteArray *)writeInt32BEN:(int32_t)n __attribute__((swift_name("writeInt32BE(n:)"))); +- (void)writeInt32BEN:(int32_t)n output:(id)output __attribute__((swift_name("writeInt32BE(n:output:)"))); +- (void)writeInt32BEN:(int32_t)n bs:(PAPIKotlinByteArray *)bs off:(int32_t)off __attribute__((swift_name("writeInt32BE(n:bs:off:)"))); +- (PAPIKotlinByteArray *)writeInt32LEN:(int32_t)n __attribute__((swift_name("writeInt32LE(n:)"))); +- (void)writeInt32LEN:(int32_t)n output:(id)output __attribute__((swift_name("writeInt32LE(n:output:)"))); +- (void)writeInt32LEN:(int32_t)n bs:(PAPIKotlinByteArray *)bs off:(int32_t)off __attribute__((swift_name("writeInt32LE(n:bs:off:)"))); +- (PAPIKotlinByteArray *)writeInt64BEN:(int64_t)n __attribute__((swift_name("writeInt64BE(n:)"))); +- (void)writeInt64BEN:(int64_t)n output:(id)output __attribute__((swift_name("writeInt64BE(n:output:)"))); +- (void)writeInt64BEN:(int64_t)n bs:(PAPIKotlinByteArray *)bs off:(int32_t)off __attribute__((swift_name("writeInt64BE(n:bs:off:)"))); +- (PAPIKotlinByteArray *)writeInt64LEN:(int64_t)n __attribute__((swift_name("writeInt64LE(n:)"))); +- (void)writeInt64LEN:(int64_t)n output:(id)output __attribute__((swift_name("writeInt64LE(n:output:)"))); +- (void)writeInt64LEN:(int64_t)n bs:(PAPIKotlinByteArray *)bs off:(int32_t)off __attribute__((swift_name("writeInt64LE(n:bs:off:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Pbkdf2"))) +@interface PAPIPbkdf2 : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)pbkdf2 __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIPbkdf2 *shared __attribute__((swift_name("shared"))); +- (PAPIKotlinByteArray *)withHmacSha512Password:(PAPIKotlinByteArray *)password salt:(PAPIKotlinByteArray *)salt count:(int32_t)count dkLen:(int32_t)dkLen __attribute__((swift_name("withHmacSha512(password:salt:count:dkLen:)"))); +@end; + +__attribute__((swift_name("Input_"))) +@protocol PAPIInput_ +@required +- (int32_t)read __attribute__((swift_name("read()"))); +- (int32_t)readB:(PAPIKotlinByteArray *)b offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("read(b:offset:length:)"))); +@property (readonly) int32_t availableBytes __attribute__((swift_name("availableBytes"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ByteArrayInput"))) +@interface PAPIByteArrayInput : PAPIBase +- (instancetype)initWithArray:(PAPIKotlinByteArray *)array __attribute__((swift_name("init(array:)"))) __attribute__((objc_designated_initializer)); +- (int32_t)read __attribute__((swift_name("read()"))); +- (int32_t)readB:(PAPIKotlinByteArray *)b offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("read(b:offset:length:)"))); +@property (readonly) int32_t availableBytes __attribute__((swift_name("availableBytes"))); +@end; + +__attribute__((swift_name("Output_"))) +@protocol PAPIOutput_ +@required +- (void)writeBuffer:(PAPIKotlinByteArray *)buffer offset:(int32_t)offset count:(int32_t)count __attribute__((swift_name("write(buffer:offset:count:)"))); +- (void)writeByteValue_:(int32_t)byteValue __attribute__((swift_name("write(byteValue:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ByteArrayOutput"))) +@interface PAPIByteArrayOutput : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (PAPIKotlinByteArray *)toByteArray __attribute__((swift_name("toByteArray()"))); +- (void)writeBuffer:(PAPIKotlinByteArray *)buffer offset:(int32_t)offset count:(int32_t)count __attribute__((swift_name("write(buffer:offset:count:)"))); +- (void)writeByteValue_:(int32_t)byteValue __attribute__((swift_name("write(byteValue:)"))); +@end; + +__attribute__((swift_name("BinaryFormat"))) +@protocol PAPIBinaryFormat +@required +- (id _Nullable)decodeFromByteArrayDeserializer:(id)deserializer bytes:(PAPIKotlinByteArray *)bytes __attribute__((swift_name("decodeFromByteArray(deserializer:bytes:)"))); +- (PAPIKotlinByteArray *)encodeToByteArraySerializer:(id)serializer value:(id _Nullable)value __attribute__((swift_name("encodeToByteArray(serializer:value:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ContextualSerializer"))) +@interface PAPIContextualSerializer : PAPIBase +- (instancetype)initWithSerializableClass:(id)serializableClass __attribute__((swift_name("init(serializableClass:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithSerializableClass:(id)serializableClass fallbackSerializer:(id _Nullable)fallbackSerializer typeArgumentsSerializers:(PAPIKotlinArray> *)typeArgumentsSerializers __attribute__((swift_name("init(serializableClass:fallbackSerializer:typeArgumentsSerializers:)"))) __attribute__((objc_designated_initializer)); +- (T)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); +- (void)serializeEncoder:(id)encoder value:(T)value __attribute__((swift_name("serialize(encoder:value:)"))); +@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PolymorphicSerializer"))) +@interface PAPIPolymorphicSerializer : PAPIAbstractPolymorphicSerializer +- (instancetype)initWithBaseClass:(id)baseClass __attribute__((swift_name("init(baseClass:)"))) __attribute__((objc_designated_initializer)); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) id baseClass __attribute__((swift_name("baseClass"))); +@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SealedClassSerializer"))) +@interface PAPISealedClassSerializer : PAPIAbstractPolymorphicSerializer +- (instancetype)initWithSerialName:(NSString *)serialName baseClass:(id)baseClass subclasses:(PAPIKotlinArray> *)subclasses subclassSerializers:(PAPIKotlinArray> *)subclassSerializers __attribute__((swift_name("init(serialName:baseClass:subclasses:subclassSerializers:)"))) __attribute__((objc_designated_initializer)); +- (id _Nullable)findPolymorphicSerializerOrNullDecoder:(id)decoder klassName:(NSString * _Nullable)klassName __attribute__((swift_name("findPolymorphicSerializerOrNull(decoder:klassName:)"))); +- (id _Nullable)findPolymorphicSerializerOrNullEncoder:(id)encoder value:(T)value __attribute__((swift_name("findPolymorphicSerializerOrNull(encoder:value:)"))); +@property (readonly) id baseClass __attribute__((swift_name("baseClass"))); +@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("SerializationException"))) +@interface PAPISerializationException : PAPIKotlinIllegalArgumentException +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)); +@end; + +__attribute__((swift_name("AbstractCollectionSerializer"))) +@interface PAPIAbstractCollectionSerializer : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (Builder _Nullable)builder __attribute__((swift_name("builder()"))); +- (Collection _Nullable)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); +- (Collection _Nullable)mergeDecoder:(id)decoder previous:(Collection _Nullable)previous __attribute__((swift_name("merge(decoder:previous:)"))); +- (void)readAllDecoder:(id)decoder builder:(Builder _Nullable)builder startIndex:(int32_t)startIndex size:(int32_t)size __attribute__((swift_name("readAll(decoder:builder:startIndex:size:)"))); +- (void)readElementDecoder:(id)decoder index:(int32_t)index builder:(Builder _Nullable)builder checkIndex:(BOOL)checkIndex __attribute__((swift_name("readElement(decoder:index:builder:checkIndex:)"))); +- (void)serializeEncoder:(id)encoder value:(Collection _Nullable)value __attribute__((swift_name("serialize(encoder:value:)"))); +- (int32_t)builderSize:(Builder _Nullable)receiver __attribute__((swift_name("builderSize(_:)"))); +- (void)checkCapacity:(Builder _Nullable)receiver size:(int32_t)size __attribute__((swift_name("checkCapacity(_:size:)"))); +- (id)collectionIterator:(Collection _Nullable)receiver __attribute__((swift_name("collectionIterator(_:)"))); +- (int32_t)collectionSize:(Collection _Nullable)receiver __attribute__((swift_name("collectionSize(_:)"))); +- (Builder _Nullable)toBuilder:(Collection _Nullable)receiver __attribute__((swift_name("toBuilder(_:)"))); +- (Collection _Nullable)toResult:(Builder _Nullable)receiver __attribute__((swift_name("toResult(_:)"))); +@end; + +__attribute__((swift_name("GeneratedSerializer"))) +@protocol PAPIGeneratedSerializer +@required +- (PAPIKotlinArray> *)childSerializers __attribute__((swift_name("childSerializers()"))); +- (PAPIKotlinArray> *)typeParametersSerializers __attribute__((swift_name("typeParametersSerializers()"))); +@end; + +__attribute__((swift_name("MapLikeSerializer"))) +@interface PAPIMapLikeSerializer : PAPIAbstractCollectionSerializer, Collection, PAPIMutableDictionary *> +- (instancetype)initWithKeySerializer:(id)keySerializer valueSerializer:(id)valueSerializer __attribute__((swift_name("init(keySerializer:valueSerializer:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (void)readAllDecoder:(id)decoder builder:(PAPIMutableDictionary *)builder startIndex:(int32_t)startIndex size:(int32_t)size __attribute__((swift_name("readAll(decoder:builder:startIndex:size:)"))); +- (void)readElementDecoder:(id)decoder index:(int32_t)index builder:(PAPIMutableDictionary *)builder checkIndex:(BOOL)checkIndex __attribute__((swift_name("readElement(decoder:index:builder:checkIndex:)"))); +- (void)serializeEncoder:(id)encoder value:(Collection _Nullable)value __attribute__((swift_name("serialize(encoder:value:)"))); +- (void)insertKeyValuePair:(PAPIMutableDictionary *)receiver index:(int32_t)index key:(Key _Nullable)key value:(Value _Nullable)value __attribute__((swift_name("insertKeyValuePair(_:index:key:value:)"))); +@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); +@property (readonly) id keySerializer __attribute__((swift_name("keySerializer"))); +@property (readonly) id valueSerializer __attribute__((swift_name("valueSerializer"))); +@end; + +__attribute__((swift_name("TaggedDecoder"))) +@interface PAPITaggedDecoder : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (id)beginStructureDescriptor:(id)descriptor __attribute__((swift_name("beginStructure(descriptor:)"))); +- (void)doCopyTagsToOther:(PAPITaggedDecoder *)other __attribute__((swift_name("doCopyTagsTo(other:)"))); +- (BOOL)decodeBoolean __attribute__((swift_name("decodeBoolean()"))); +- (BOOL)decodeBooleanElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeBooleanElement(descriptor:index:)"))); +- (int8_t)decodeByte __attribute__((swift_name("decodeByte()"))); +- (int8_t)decodeByteElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeByteElement(descriptor:index:)"))); +- (unichar)decodeChar __attribute__((swift_name("decodeChar()"))); +- (unichar)decodeCharElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeCharElement(descriptor:index:)"))); +- (double)decodeDouble __attribute__((swift_name("decodeDouble()"))); +- (double)decodeDoubleElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeDoubleElement(descriptor:index:)"))); +- (int32_t)decodeEnumEnumDescriptor:(id)enumDescriptor __attribute__((swift_name("decodeEnum(enumDescriptor:)"))); +- (float)decodeFloat __attribute__((swift_name("decodeFloat()"))); +- (float)decodeFloatElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeFloatElement(descriptor:index:)"))); +- (id)decodeInlineInlineDescriptor:(id)inlineDescriptor __attribute__((swift_name("decodeInline(inlineDescriptor:)"))); +- (id)decodeInlineElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeInlineElement(descriptor:index:)"))); +- (int32_t)decodeInt __attribute__((swift_name("decodeInt()"))); +- (int32_t)decodeIntElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeIntElement(descriptor:index:)"))); +- (int64_t)decodeLong __attribute__((swift_name("decodeLong()"))); +- (int64_t)decodeLongElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeLongElement(descriptor:index:)"))); +- (BOOL)decodeNotNullMark __attribute__((swift_name("decodeNotNullMark()"))); +- (PAPIKotlinNothing * _Nullable)decodeNull __attribute__((swift_name("decodeNull()"))); +- (id _Nullable)decodeNullableSerializableElementDescriptor:(id)descriptor index:(int32_t)index deserializer:(id)deserializer previousValue:(id _Nullable)previousValue __attribute__((swift_name("decodeNullableSerializableElement(descriptor:index:deserializer:previousValue:)"))); +- (id _Nullable)decodeSerializableElementDescriptor:(id)descriptor index:(int32_t)index deserializer:(id)deserializer previousValue:(id _Nullable)previousValue __attribute__((swift_name("decodeSerializableElement(descriptor:index:deserializer:previousValue:)"))); +- (id _Nullable)decodeSerializableValueDeserializer:(id)deserializer previousValue:(id _Nullable)previousValue __attribute__((swift_name("decodeSerializableValue(deserializer:previousValue:)"))); +- (int16_t)decodeShort __attribute__((swift_name("decodeShort()"))); +- (int16_t)decodeShortElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeShortElement(descriptor:index:)"))); +- (NSString *)decodeString __attribute__((swift_name("decodeString()"))); +- (NSString *)decodeStringElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeStringElement(descriptor:index:)"))); +- (BOOL)decodeTaggedBooleanTag:(Tag _Nullable)tag __attribute__((swift_name("decodeTaggedBoolean(tag:)"))); +- (int8_t)decodeTaggedByteTag:(Tag _Nullable)tag __attribute__((swift_name("decodeTaggedByte(tag:)"))); +- (unichar)decodeTaggedCharTag:(Tag _Nullable)tag __attribute__((swift_name("decodeTaggedChar(tag:)"))); +- (double)decodeTaggedDoubleTag:(Tag _Nullable)tag __attribute__((swift_name("decodeTaggedDouble(tag:)"))); +- (int32_t)decodeTaggedEnumTag:(Tag _Nullable)tag enumDescriptor:(id)enumDescriptor __attribute__((swift_name("decodeTaggedEnum(tag:enumDescriptor:)"))); +- (float)decodeTaggedFloatTag:(Tag _Nullable)tag __attribute__((swift_name("decodeTaggedFloat(tag:)"))); +- (id)decodeTaggedInlineTag:(Tag _Nullable)tag inlineDescriptor:(id)inlineDescriptor __attribute__((swift_name("decodeTaggedInline(tag:inlineDescriptor:)"))); +- (int32_t)decodeTaggedIntTag:(Tag _Nullable)tag __attribute__((swift_name("decodeTaggedInt(tag:)"))); +- (int64_t)decodeTaggedLongTag:(Tag _Nullable)tag __attribute__((swift_name("decodeTaggedLong(tag:)"))); +- (BOOL)decodeTaggedNotNullMarkTag:(Tag _Nullable)tag __attribute__((swift_name("decodeTaggedNotNullMark(tag:)"))); +- (PAPIKotlinNothing * _Nullable)decodeTaggedNullTag:(Tag _Nullable)tag __attribute__((swift_name("decodeTaggedNull(tag:)"))); +- (int16_t)decodeTaggedShortTag:(Tag _Nullable)tag __attribute__((swift_name("decodeTaggedShort(tag:)"))); +- (NSString *)decodeTaggedStringTag:(Tag _Nullable)tag __attribute__((swift_name("decodeTaggedString(tag:)"))); +- (id)decodeTaggedValueTag:(Tag _Nullable)tag __attribute__((swift_name("decodeTaggedValue(tag:)"))); +- (void)endStructureDescriptor:(id)descriptor __attribute__((swift_name("endStructure(descriptor:)"))); +- (Tag _Nullable)popTag __attribute__((swift_name("popTag()"))); +- (void)pushTagName:(Tag _Nullable)name __attribute__((swift_name("pushTag(name:)"))); +- (Tag _Nullable)getTag:(id)receiver index:(int32_t)index __attribute__((swift_name("getTag(_:index:)"))); +@property (readonly) Tag _Nullable currentTag __attribute__((swift_name("currentTag"))); +@property (readonly) Tag _Nullable currentTagOrNull __attribute__((swift_name("currentTagOrNull"))); +@property (readonly) PAPISerializersModule *serializersModule __attribute__((swift_name("serializersModule"))); +@end; + +__attribute__((swift_name("NamedValueDecoder"))) +@interface PAPINamedValueDecoder : PAPITaggedDecoder +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (NSString *)composeNameParentName:(NSString *)parentName childName:(NSString *)childName __attribute__((swift_name("composeName(parentName:childName:)"))); +- (NSString *)elementNameDesc:(id)desc index:(int32_t)index __attribute__((swift_name("elementName(desc:index:)"))); +- (NSString *)nestedNestedName:(NSString *)nestedName __attribute__((swift_name("nested(nestedName:)"))); +- (NSString *)getTag:(id)receiver index:(int32_t)index __attribute__((swift_name("getTag(_:index:)"))); +@end; + +__attribute__((swift_name("TaggedEncoder"))) +@interface PAPITaggedEncoder : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (id)beginStructureDescriptor:(id)descriptor __attribute__((swift_name("beginStructure(descriptor:)"))); +- (void)encodeBooleanValue:(BOOL)value __attribute__((swift_name("encodeBoolean(value:)"))); +- (void)encodeBooleanElementDescriptor:(id)descriptor index:(int32_t)index value:(BOOL)value __attribute__((swift_name("encodeBooleanElement(descriptor:index:value:)"))); +- (void)encodeByteValue:(int8_t)value __attribute__((swift_name("encodeByte(value:)"))); +- (void)encodeByteElementDescriptor:(id)descriptor index:(int32_t)index value:(int8_t)value __attribute__((swift_name("encodeByteElement(descriptor:index:value:)"))); +- (void)encodeCharValue:(unichar)value __attribute__((swift_name("encodeChar(value:)"))); +- (void)encodeCharElementDescriptor:(id)descriptor index:(int32_t)index value:(unichar)value __attribute__((swift_name("encodeCharElement(descriptor:index:value:)"))); +- (void)encodeDoubleValue:(double)value __attribute__((swift_name("encodeDouble(value:)"))); +- (void)encodeDoubleElementDescriptor:(id)descriptor index:(int32_t)index value:(double)value __attribute__((swift_name("encodeDoubleElement(descriptor:index:value:)"))); +- (void)encodeEnumEnumDescriptor:(id)enumDescriptor index:(int32_t)index __attribute__((swift_name("encodeEnum(enumDescriptor:index:)"))); +- (void)encodeFloatValue:(float)value __attribute__((swift_name("encodeFloat(value:)"))); +- (void)encodeFloatElementDescriptor:(id)descriptor index:(int32_t)index value:(float)value __attribute__((swift_name("encodeFloatElement(descriptor:index:value:)"))); +- (id)encodeInlineInlineDescriptor:(id)inlineDescriptor __attribute__((swift_name("encodeInline(inlineDescriptor:)"))); +- (id)encodeInlineElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("encodeInlineElement(descriptor:index:)"))); +- (void)encodeIntValue:(int32_t)value __attribute__((swift_name("encodeInt(value:)"))); +- (void)encodeIntElementDescriptor:(id)descriptor index:(int32_t)index value:(int32_t)value __attribute__((swift_name("encodeIntElement(descriptor:index:value:)"))); +- (void)encodeLongValue:(int64_t)value __attribute__((swift_name("encodeLong(value:)"))); +- (void)encodeLongElementDescriptor:(id)descriptor index:(int32_t)index value:(int64_t)value __attribute__((swift_name("encodeLongElement(descriptor:index:value:)"))); +- (void)encodeNotNullMark __attribute__((swift_name("encodeNotNullMark()"))); +- (void)encodeNull __attribute__((swift_name("encodeNull()"))); +- (void)encodeNullableSerializableElementDescriptor:(id)descriptor index:(int32_t)index serializer:(id)serializer value:(id _Nullable)value __attribute__((swift_name("encodeNullableSerializableElement(descriptor:index:serializer:value:)"))); +- (void)encodeSerializableElementDescriptor:(id)descriptor index:(int32_t)index serializer:(id)serializer value:(id _Nullable)value __attribute__((swift_name("encodeSerializableElement(descriptor:index:serializer:value:)"))); +- (void)encodeShortValue:(int16_t)value __attribute__((swift_name("encodeShort(value:)"))); +- (void)encodeShortElementDescriptor:(id)descriptor index:(int32_t)index value:(int16_t)value __attribute__((swift_name("encodeShortElement(descriptor:index:value:)"))); +- (void)encodeStringValue:(NSString *)value __attribute__((swift_name("encodeString(value:)"))); +- (void)encodeStringElementDescriptor:(id)descriptor index:(int32_t)index value:(NSString *)value __attribute__((swift_name("encodeStringElement(descriptor:index:value:)"))); +- (void)encodeTaggedBooleanTag:(Tag _Nullable)tag value:(BOOL)value __attribute__((swift_name("encodeTaggedBoolean(tag:value:)"))); +- (void)encodeTaggedByteTag:(Tag _Nullable)tag value:(int8_t)value __attribute__((swift_name("encodeTaggedByte(tag:value:)"))); +- (void)encodeTaggedCharTag:(Tag _Nullable)tag value:(unichar)value __attribute__((swift_name("encodeTaggedChar(tag:value:)"))); +- (void)encodeTaggedDoubleTag:(Tag _Nullable)tag value:(double)value __attribute__((swift_name("encodeTaggedDouble(tag:value:)"))); +- (void)encodeTaggedEnumTag:(Tag _Nullable)tag enumDescriptor:(id)enumDescriptor ordinal:(int32_t)ordinal __attribute__((swift_name("encodeTaggedEnum(tag:enumDescriptor:ordinal:)"))); +- (void)encodeTaggedFloatTag:(Tag _Nullable)tag value:(float)value __attribute__((swift_name("encodeTaggedFloat(tag:value:)"))); +- (id)encodeTaggedInlineTag:(Tag _Nullable)tag inlineDescriptor:(id)inlineDescriptor __attribute__((swift_name("encodeTaggedInline(tag:inlineDescriptor:)"))); +- (void)encodeTaggedIntTag:(Tag _Nullable)tag value:(int32_t)value __attribute__((swift_name("encodeTaggedInt(tag:value:)"))); +- (void)encodeTaggedLongTag:(Tag _Nullable)tag value:(int64_t)value __attribute__((swift_name("encodeTaggedLong(tag:value:)"))); +- (void)encodeTaggedNullTag:(Tag _Nullable)tag __attribute__((swift_name("encodeTaggedNull(tag:)"))); +- (void)encodeTaggedShortTag:(Tag _Nullable)tag value:(int16_t)value __attribute__((swift_name("encodeTaggedShort(tag:value:)"))); +- (void)encodeTaggedStringTag:(Tag _Nullable)tag value:(NSString *)value __attribute__((swift_name("encodeTaggedString(tag:value:)"))); +- (void)encodeTaggedValueTag:(Tag _Nullable)tag value:(id)value __attribute__((swift_name("encodeTaggedValue(tag:value:)"))); +- (void)endEncodeDescriptor:(id)descriptor __attribute__((swift_name("endEncode(descriptor:)"))); +- (void)endStructureDescriptor:(id)descriptor __attribute__((swift_name("endStructure(descriptor:)"))); +- (Tag _Nullable)popTag __attribute__((swift_name("popTag()"))); +- (void)pushTagName:(Tag _Nullable)name __attribute__((swift_name("pushTag(name:)"))); +- (Tag _Nullable)getTag:(id)receiver index:(int32_t)index __attribute__((swift_name("getTag(_:index:)"))); +@property (readonly) Tag _Nullable currentTag __attribute__((swift_name("currentTag"))); +@property (readonly) Tag _Nullable currentTagOrNull __attribute__((swift_name("currentTagOrNull"))); +@property (readonly) PAPISerializersModule *serializersModule __attribute__((swift_name("serializersModule"))); +@end; + +__attribute__((swift_name("NamedValueEncoder"))) +@interface PAPINamedValueEncoder : PAPITaggedEncoder +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (NSString *)composeNameParentName:(NSString *)parentName childName:(NSString *)childName __attribute__((swift_name("composeName(parentName:childName:)"))); +- (NSString *)elementNameDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("elementName(descriptor:index:)"))); +- (NSString *)nestedNestedName:(NSString *)nestedName __attribute__((swift_name("nested(nestedName:)"))); +- (NSString *)getTag:(id)receiver index:(int32_t)index __attribute__((swift_name("getTag(_:index:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PolymorphicModuleBuilder"))) +@interface PAPIPolymorphicModuleBuilder<__contravariant Base> : PAPIBase +- (void)defaultDefaultSerializerProvider:(id _Nullable (^)(NSString * _Nullable))defaultSerializerProvider __attribute__((swift_name("default(defaultSerializerProvider:)"))); +- (void)subclassSubclass:(id)subclass serializer:(id)serializer __attribute__((swift_name("subclass(subclass:serializer:)"))); +@end; + +__attribute__((swift_name("SerializersModule"))) +@interface PAPISerializersModule : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (void)dumpToCollector:(id)collector __attribute__((swift_name("dumpTo(collector:)"))); +- (id _Nullable)getContextualKClass:(id)kClass typeArgumentsSerializers:(NSArray> *)typeArgumentsSerializers __attribute__((swift_name("getContextual(kClass:typeArgumentsSerializers:)"))); +- (id _Nullable)getPolymorphicBaseClass:(id)baseClass value:(id)value __attribute__((swift_name("getPolymorphic(baseClass:value:)"))); +- (id _Nullable)getPolymorphicBaseClass:(id)baseClass serializedClassName:(NSString * _Nullable)serializedClassName __attribute__((swift_name("getPolymorphic(baseClass:serializedClassName:)"))); +@end; + +__attribute__((swift_name("SerializersModuleCollector"))) +@protocol PAPISerializersModuleCollector +@required +- (void)contextualKClass:(id)kClass provider:(id (^)(NSArray> *))provider __attribute__((swift_name("contextual(kClass:provider:)"))); +- (void)contextualKClass:(id)kClass serializer:(id)serializer __attribute__((swift_name("contextual(kClass:serializer:)"))); +- (void)polymorphicBaseClass:(id)baseClass actualClass:(id)actualClass actualSerializer:(id)actualSerializer __attribute__((swift_name("polymorphic(baseClass:actualClass:actualSerializer:)"))); +- (void)polymorphicDefaultBaseClass:(id)baseClass defaultSerializerProvider:(id _Nullable (^)(NSString * _Nullable))defaultSerializerProvider __attribute__((swift_name("polymorphicDefault(baseClass:defaultSerializerProvider:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SerializersModuleBuilder"))) +@interface PAPISerializersModuleBuilder : PAPIBase +- (void)contextualKClass:(id)kClass provider:(id (^)(NSArray> *))provider __attribute__((swift_name("contextual(kClass:provider:)"))); +- (void)contextualKClass:(id)kClass serializer:(id)serializer __attribute__((swift_name("contextual(kClass:serializer:)"))); +- (void)includeModule:(PAPISerializersModule *)module __attribute__((swift_name("include(module:)"))); +- (void)polymorphicBaseClass:(id)baseClass actualClass:(id)actualClass actualSerializer:(id)actualSerializer __attribute__((swift_name("polymorphic(baseClass:actualClass:actualSerializer:)"))); +- (void)polymorphicDefaultBaseClass:(id)baseClass defaultSerializerProvider:(id _Nullable (^)(NSString * _Nullable))defaultSerializerProvider __attribute__((swift_name("polymorphicDefault(baseClass:defaultSerializerProvider:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ClassSerialDescriptorBuilder"))) +@interface PAPIClassSerialDescriptorBuilder : PAPIBase +- (void)elementElementName:(NSString *)elementName descriptor:(id)descriptor annotations:(NSArray> *)annotations isOptional:(BOOL)isOptional __attribute__((swift_name("element(elementName:descriptor:annotations:isOptional:)"))); +@property NSArray> *annotations __attribute__((swift_name("annotations"))); +@property BOOL isNullable __attribute__((swift_name("isNullable"))); +@property (readonly) NSString *serialName __attribute__((swift_name("serialName"))); +@end; + +__attribute__((swift_name("SerialKind"))) +@interface PAPISerialKind : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@end; + +__attribute__((swift_name("PolymorphicKind"))) +@interface PAPIPolymorphicKind : PAPISerialKind +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PolymorphicKind.OPEN"))) +@interface PAPIPolymorphicKindOPEN : PAPIPolymorphicKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)oPEN __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIPolymorphicKindOPEN *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PolymorphicKind.SEALED"))) +@interface PAPIPolymorphicKindSEALED : PAPIPolymorphicKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)sEALED __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIPolymorphicKindSEALED *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((swift_name("PrimitiveKind"))) +@interface PAPIPrimitiveKind : PAPISerialKind +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PrimitiveKind.BOOLEAN"))) +@interface PAPIPrimitiveKindBOOLEAN : PAPIPrimitiveKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)bOOLEAN __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIPrimitiveKindBOOLEAN *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PrimitiveKind.BYTE"))) +@interface PAPIPrimitiveKindBYTE : PAPIPrimitiveKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)bYTE __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIPrimitiveKindBYTE *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PrimitiveKind.CHAR"))) +@interface PAPIPrimitiveKindCHAR : PAPIPrimitiveKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)cHAR __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIPrimitiveKindCHAR *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PrimitiveKind.DOUBLE"))) +@interface PAPIPrimitiveKindDOUBLE : PAPIPrimitiveKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)dOUBLE __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIPrimitiveKindDOUBLE *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PrimitiveKind.FLOAT"))) +@interface PAPIPrimitiveKindFLOAT : PAPIPrimitiveKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)fLOAT __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIPrimitiveKindFLOAT *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PrimitiveKind.INT"))) +@interface PAPIPrimitiveKindINT : PAPIPrimitiveKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)iNT __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIPrimitiveKindINT *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PrimitiveKind.LONG"))) +@interface PAPIPrimitiveKindLONG : PAPIPrimitiveKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)lONG __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIPrimitiveKindLONG *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PrimitiveKind.SHORT"))) +@interface PAPIPrimitiveKindSHORT : PAPIPrimitiveKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)sHORT __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIPrimitiveKindSHORT *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PrimitiveKind.STRING"))) +@interface PAPIPrimitiveKindSTRING : PAPIPrimitiveKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)sTRING __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIPrimitiveKindSTRING *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((swift_name("SerialDescriptor"))) +@protocol PAPISerialDescriptor +@required +- (NSArray> *)getElementAnnotationsIndex:(int32_t)index __attribute__((swift_name("getElementAnnotations(index:)"))); +- (id)getElementDescriptorIndex:(int32_t)index __attribute__((swift_name("getElementDescriptor(index:)"))); +- (int32_t)getElementIndexName:(NSString *)name __attribute__((swift_name("getElementIndex(name:)"))); +- (NSString *)getElementNameIndex:(int32_t)index __attribute__((swift_name("getElementName(index:)"))); +- (BOOL)isElementOptionalIndex:(int32_t)index __attribute__((swift_name("isElementOptional(index:)"))); +@property (readonly) NSArray> *annotations __attribute__((swift_name("annotations"))); +@property (readonly) int32_t elementsCount __attribute__((swift_name("elementsCount"))); +@property (readonly) BOOL isInline __attribute__((swift_name("isInline"))); +@property (readonly) BOOL isNullable __attribute__((swift_name("isNullable"))); +@property (readonly) PAPISerialKind *kind __attribute__((swift_name("kind"))); +@property (readonly) NSString *serialName __attribute__((swift_name("serialName"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SerialKind.CONTEXTUAL"))) +@interface PAPISerialKindCONTEXTUAL : PAPISerialKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)cONTEXTUAL __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPISerialKindCONTEXTUAL *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SerialKind.ENUM"))) +@interface PAPISerialKindENUM : PAPISerialKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)eNUM __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPISerialKindENUM *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((swift_name("StructureKind"))) +@interface PAPIStructureKind : PAPISerialKind +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("StructureKind.CLASS"))) +@interface PAPIStructureKindCLASS : PAPIStructureKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)cLASS __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIStructureKindCLASS *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("StructureKind.LIST"))) +@interface PAPIStructureKindLIST : PAPIStructureKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)lIST __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIStructureKindLIST *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("StructureKind.MAP"))) +@interface PAPIStructureKindMAP : PAPIStructureKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)mAP __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIStructureKindMAP *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("StructureKind.OBJECT"))) +@interface PAPIStructureKindOBJECT : PAPIStructureKind ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)oBJECT __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIStructureKindOBJECT *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("LongAsStringSerializer"))) +@interface PAPILongAsStringSerializer : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)longAsStringSerializer __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPILongAsStringSerializer *shared __attribute__((swift_name("shared"))); +- (PAPILong *)deserializeDecoder:(id)decoder __attribute__((swift_name("deserialize(decoder:)"))); +- (void)serializeEncoder:(id)encoder value:(PAPILong *)value __attribute__((swift_name("serialize(encoder:value:)"))); +@property (readonly) id descriptor __attribute__((swift_name("descriptor"))); +@end; + +__attribute__((swift_name("AbstractDecoder"))) +@interface PAPIAbstractDecoder : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (id)beginStructureDescriptor:(id)descriptor __attribute__((swift_name("beginStructure(descriptor:)"))); +- (BOOL)decodeBoolean __attribute__((swift_name("decodeBoolean()"))); +- (BOOL)decodeBooleanElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeBooleanElement(descriptor:index:)"))); +- (int8_t)decodeByte __attribute__((swift_name("decodeByte()"))); +- (int8_t)decodeByteElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeByteElement(descriptor:index:)"))); +- (unichar)decodeChar __attribute__((swift_name("decodeChar()"))); +- (unichar)decodeCharElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeCharElement(descriptor:index:)"))); +- (double)decodeDouble __attribute__((swift_name("decodeDouble()"))); +- (double)decodeDoubleElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeDoubleElement(descriptor:index:)"))); +- (int32_t)decodeEnumEnumDescriptor:(id)enumDescriptor __attribute__((swift_name("decodeEnum(enumDescriptor:)"))); +- (float)decodeFloat __attribute__((swift_name("decodeFloat()"))); +- (float)decodeFloatElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeFloatElement(descriptor:index:)"))); +- (id)decodeInlineInlineDescriptor:(id)inlineDescriptor __attribute__((swift_name("decodeInline(inlineDescriptor:)"))); +- (id)decodeInlineElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeInlineElement(descriptor:index:)"))); +- (int32_t)decodeInt __attribute__((swift_name("decodeInt()"))); +- (int32_t)decodeIntElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeIntElement(descriptor:index:)"))); +- (int64_t)decodeLong __attribute__((swift_name("decodeLong()"))); +- (int64_t)decodeLongElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeLongElement(descriptor:index:)"))); +- (BOOL)decodeNotNullMark __attribute__((swift_name("decodeNotNullMark()"))); +- (PAPIKotlinNothing * _Nullable)decodeNull __attribute__((swift_name("decodeNull()"))); +- (id _Nullable)decodeNullableSerializableElementDescriptor:(id)descriptor index:(int32_t)index deserializer:(id)deserializer previousValue:(id _Nullable)previousValue __attribute__((swift_name("decodeNullableSerializableElement(descriptor:index:deserializer:previousValue:)"))); +- (id _Nullable)decodeSerializableElementDescriptor:(id)descriptor index:(int32_t)index deserializer:(id)deserializer previousValue:(id _Nullable)previousValue __attribute__((swift_name("decodeSerializableElement(descriptor:index:deserializer:previousValue:)"))); +- (id _Nullable)decodeSerializableValueDeserializer:(id)deserializer previousValue:(id _Nullable)previousValue __attribute__((swift_name("decodeSerializableValue(deserializer:previousValue:)"))); +- (int16_t)decodeShort __attribute__((swift_name("decodeShort()"))); +- (int16_t)decodeShortElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeShortElement(descriptor:index:)"))); +- (NSString *)decodeString __attribute__((swift_name("decodeString()"))); +- (NSString *)decodeStringElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("decodeStringElement(descriptor:index:)"))); +- (id)decodeValue __attribute__((swift_name("decodeValue()"))); +- (void)endStructureDescriptor:(id)descriptor __attribute__((swift_name("endStructure(descriptor:)"))); +@end; + +__attribute__((swift_name("AbstractEncoder"))) +@interface PAPIAbstractEncoder : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (id)beginStructureDescriptor:(id)descriptor __attribute__((swift_name("beginStructure(descriptor:)"))); +- (void)encodeBooleanValue:(BOOL)value __attribute__((swift_name("encodeBoolean(value:)"))); +- (void)encodeBooleanElementDescriptor:(id)descriptor index:(int32_t)index value:(BOOL)value __attribute__((swift_name("encodeBooleanElement(descriptor:index:value:)"))); +- (void)encodeByteValue:(int8_t)value __attribute__((swift_name("encodeByte(value:)"))); +- (void)encodeByteElementDescriptor:(id)descriptor index:(int32_t)index value:(int8_t)value __attribute__((swift_name("encodeByteElement(descriptor:index:value:)"))); +- (void)encodeCharValue:(unichar)value __attribute__((swift_name("encodeChar(value:)"))); +- (void)encodeCharElementDescriptor:(id)descriptor index:(int32_t)index value:(unichar)value __attribute__((swift_name("encodeCharElement(descriptor:index:value:)"))); +- (void)encodeDoubleValue:(double)value __attribute__((swift_name("encodeDouble(value:)"))); +- (void)encodeDoubleElementDescriptor:(id)descriptor index:(int32_t)index value:(double)value __attribute__((swift_name("encodeDoubleElement(descriptor:index:value:)"))); +- (BOOL)encodeElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("encodeElement(descriptor:index:)"))); +- (void)encodeEnumEnumDescriptor:(id)enumDescriptor index:(int32_t)index __attribute__((swift_name("encodeEnum(enumDescriptor:index:)"))); +- (void)encodeFloatValue:(float)value __attribute__((swift_name("encodeFloat(value:)"))); +- (void)encodeFloatElementDescriptor:(id)descriptor index:(int32_t)index value:(float)value __attribute__((swift_name("encodeFloatElement(descriptor:index:value:)"))); +- (id)encodeInlineInlineDescriptor:(id)inlineDescriptor __attribute__((swift_name("encodeInline(inlineDescriptor:)"))); +- (id)encodeInlineElementDescriptor:(id)descriptor index:(int32_t)index __attribute__((swift_name("encodeInlineElement(descriptor:index:)"))); +- (void)encodeIntValue:(int32_t)value __attribute__((swift_name("encodeInt(value:)"))); +- (void)encodeIntElementDescriptor:(id)descriptor index:(int32_t)index value:(int32_t)value __attribute__((swift_name("encodeIntElement(descriptor:index:value:)"))); +- (void)encodeLongValue:(int64_t)value __attribute__((swift_name("encodeLong(value:)"))); +- (void)encodeLongElementDescriptor:(id)descriptor index:(int32_t)index value:(int64_t)value __attribute__((swift_name("encodeLongElement(descriptor:index:value:)"))); +- (void)encodeNull __attribute__((swift_name("encodeNull()"))); +- (void)encodeNullableSerializableElementDescriptor:(id)descriptor index:(int32_t)index serializer:(id)serializer value:(id _Nullable)value __attribute__((swift_name("encodeNullableSerializableElement(descriptor:index:serializer:value:)"))); +- (void)encodeSerializableElementDescriptor:(id)descriptor index:(int32_t)index serializer:(id)serializer value:(id _Nullable)value __attribute__((swift_name("encodeSerializableElement(descriptor:index:serializer:value:)"))); +- (void)encodeShortValue:(int16_t)value __attribute__((swift_name("encodeShort(value:)"))); +- (void)encodeShortElementDescriptor:(id)descriptor index:(int32_t)index value:(int16_t)value __attribute__((swift_name("encodeShortElement(descriptor:index:value:)"))); +- (void)encodeStringValue:(NSString *)value __attribute__((swift_name("encodeString(value:)"))); +- (void)encodeStringElementDescriptor:(id)descriptor index:(int32_t)index value:(NSString *)value __attribute__((swift_name("encodeStringElement(descriptor:index:value:)"))); +- (void)encodeValueValue:(id)value __attribute__((swift_name("encodeValue(value:)"))); +- (void)endStructureDescriptor:(id)descriptor __attribute__((swift_name("endStructure(descriptor:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CompositeDecoderCompanion"))) +@interface PAPICompositeDecoderCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICompositeDecoderCompanion *shared __attribute__((swift_name("shared"))); +@property (readonly) int32_t DECODE_DONE __attribute__((swift_name("DECODE_DONE"))); +@property (readonly) int32_t UNKNOWN_NAME __attribute__((swift_name("UNKNOWN_NAME"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtomicArray"))) +@interface PAPIAtomicArray : PAPIBase +- (id)getIndex:(int32_t)index __attribute__((swift_name("get(index:)"))); +@property (readonly) int32_t size __attribute__((swift_name("size"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtomicBooleanArray"))) +@interface PAPIAtomicBooleanArray : PAPIBase +- (instancetype)initWithSize:(int32_t)size __attribute__((swift_name("init(size:)"))) __attribute__((objc_designated_initializer)); +- (id)getIndex:(int32_t)index __attribute__((swift_name("get(index:)"))); +@property (readonly) int32_t size __attribute__((swift_name("size"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtomicIntArray"))) +@interface PAPIAtomicIntArray : PAPIBase +- (instancetype)initWithSize:(int32_t)size __attribute__((swift_name("init(size:)"))) __attribute__((objc_designated_initializer)); +- (id)getIndex:(int32_t)index __attribute__((swift_name("get(index:)"))); +@property (readonly) int32_t size __attribute__((swift_name("size"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtomicLongArray"))) +@interface PAPIAtomicLongArray : PAPIBase +- (instancetype)initWithSize:(int32_t)size __attribute__((swift_name("init(size:)"))) __attribute__((objc_designated_initializer)); +- (id)getIndex:(int32_t)index __attribute__((swift_name("get(index:)"))); +@property (readonly) int32_t size __attribute__((swift_name("size"))); +@end; + +__attribute__((swift_name("TraceBase"))) +@interface PAPITraceBase : PAPIBase +- (void)appendEvent:(id)event __attribute__((swift_name("append(event:)"))); +- (void)appendEvent1:(id)event1 event2:(id)event2 __attribute__((swift_name("append(event1:event2:)"))); +- (void)appendEvent1:(id)event1 event2:(id)event2 event3:(id)event3 __attribute__((swift_name("append(event1:event2:event3:)"))); +- (void)appendEvent1:(id)event1 event2:(id)event2 event3:(id)event3 event4:(id)event4 __attribute__((swift_name("append(event1:event2:event3:event4:)"))); +- (void)invokeEvent:(id (^)(void))event __attribute__((swift_name("invoke(event:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("TraceBase.None"))) +@interface PAPITraceBaseNone : PAPITraceBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)none __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPITraceBaseNone *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((swift_name("TraceFormat"))) +@interface PAPITraceFormat : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (NSString *)formatIndex:(int32_t)index event:(id)event __attribute__((swift_name("format(index:event:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MutexPool"))) +@interface PAPIMutexPool : PAPIBase +- (instancetype)initWithCapacity:(int32_t)capacity __attribute__((swift_name("init(capacity:)"))) __attribute__((objc_designated_initializer)); +- (void *)allocate __attribute__((swift_name("allocate()"))); +- (void)releaseMutexNode:(void *)mutexNode __attribute__((swift_name("release(mutexNode:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SynchronizedObject.LockState"))) +@interface PAPISynchronizedObjectLockState : PAPIBase +- (instancetype)initWithStatus:(PAPISynchronizedObjectStatus *)status nestedLocks:(int32_t)nestedLocks waiters:(int32_t)waiters ownerThreadId:(void * _Nullable)ownerThreadId mutex:(void * _Nullable)mutex __attribute__((swift_name("init(status:nestedLocks:waiters:ownerThreadId:mutex:)"))) __attribute__((objc_designated_initializer)); +@property (readonly) void * _Nullable mutex __attribute__((swift_name("mutex"))); +@property (readonly) int32_t nestedLocks __attribute__((swift_name("nestedLocks"))); +@property (readonly) void * _Nullable ownerThreadId __attribute__((swift_name("ownerThreadId"))); +@property (readonly) PAPISynchronizedObjectStatus *status __attribute__((swift_name("status"))); +@property (readonly) int32_t waiters __attribute__((swift_name("waiters"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SynchronizedObject.Status"))) +@interface PAPISynchronizedObjectStatus : PAPIKotlinEnum ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@property (class, readonly) PAPISynchronizedObjectStatus *unlocked __attribute__((swift_name("unlocked"))); +@property (class, readonly) PAPISynchronizedObjectStatus *thin __attribute__((swift_name("thin"))); +@property (class, readonly) PAPISynchronizedObjectStatus *fat __attribute__((swift_name("fat"))); ++ (PAPIKotlinArray *)values __attribute__((swift_name("values()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Hex_"))) +@interface PAPIHex_ : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)hex __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIHex_ *shared __attribute__((swift_name("shared"))); +- (PAPIKotlinByteArray *)decodeHex:(NSString *)hex __attribute__((swift_name("decode(hex:)"))); +- (NSString *)encodeInput:(PAPIKotlinByteArray *)input __attribute__((swift_name("encode(input:)"))); +- (NSString *)encodeInput:(PAPIKotlinByteArray *)input offset:(int32_t)offset len:(int32_t)len __attribute__((swift_name("encode(input:offset:len:)"))); +@end; + +__attribute__((swift_name("Secp256k1"))) +@protocol PAPISecp256k1 +@required +- (void)cleanup __attribute__((swift_name("cleanup()"))); +- (PAPIKotlinByteArray *)compact2derSig:(PAPIKotlinByteArray *)sig __attribute__((swift_name("compact2der(sig:)"))); +- (PAPIKotlinByteArray *)ecdhSeckey:(PAPIKotlinByteArray *)seckey pubkey:(PAPIKotlinByteArray *)pubkey __attribute__((swift_name("ecdh(seckey:pubkey:)"))); +- (PAPIKotlinByteArray *)ecdsaRecoverSig:(PAPIKotlinByteArray *)sig message:(PAPIKotlinByteArray *)message recid:(int32_t)recid __attribute__((swift_name("ecdsaRecover(sig:message:recid:)"))); +- (PAPIKotlinByteArray *)privKeyNegatePrivkey:(PAPIKotlinByteArray *)privkey __attribute__((swift_name("privKeyNegate(privkey:)"))); +- (PAPIKotlinByteArray *)privKeyTweakAddPrivkey:(PAPIKotlinByteArray *)privkey tweak:(PAPIKotlinByteArray *)tweak __attribute__((swift_name("privKeyTweakAdd(privkey:tweak:)"))); +- (PAPIKotlinByteArray *)privKeyTweakMulPrivkey:(PAPIKotlinByteArray *)privkey tweak:(PAPIKotlinByteArray *)tweak __attribute__((swift_name("privKeyTweakMul(privkey:tweak:)"))); +- (PAPIKotlinByteArray *)pubKeyAddPubkey1:(PAPIKotlinByteArray *)pubkey1 pubkey2:(PAPIKotlinByteArray *)pubkey2 __attribute__((swift_name("pubKeyAdd(pubkey1:pubkey2:)"))); +- (PAPIKotlinByteArray *)pubKeyCompressPubkey:(PAPIKotlinByteArray *)pubkey __attribute__((swift_name("pubKeyCompress(pubkey:)"))); +- (PAPIKotlinByteArray *)pubKeyNegatePubkey:(PAPIKotlinByteArray *)pubkey __attribute__((swift_name("pubKeyNegate(pubkey:)"))); +- (PAPIKotlinByteArray *)pubKeyTweakAddPubkey:(PAPIKotlinByteArray *)pubkey tweak:(PAPIKotlinByteArray *)tweak __attribute__((swift_name("pubKeyTweakAdd(pubkey:tweak:)"))); +- (PAPIKotlinByteArray *)pubKeyTweakMulPubkey:(PAPIKotlinByteArray *)pubkey tweak:(PAPIKotlinByteArray *)tweak __attribute__((swift_name("pubKeyTweakMul(pubkey:tweak:)"))); +- (PAPIKotlinByteArray *)pubkeyCreateSeckey:(PAPIKotlinByteArray *)seckey __attribute__((swift_name("pubkeyCreate(seckey:)"))); +- (PAPIKotlinByteArray *)pubkeyParsePubkey:(PAPIKotlinByteArray *)pubkey __attribute__((swift_name("pubkeyParse(pubkey:)"))); +- (BOOL)secKeyVerifySeckey:(PAPIKotlinByteArray *)seckey __attribute__((swift_name("secKeyVerify(seckey:)"))); +- (PAPIKotlinByteArray *)signData:(PAPIKotlinByteArray *)data sec:(PAPIKotlinByteArray *)sec __attribute__((swift_name("sign(data:sec:)"))); +- (PAPIKotlinPair *)signatureNormalizeSig:(PAPIKotlinByteArray *)sig __attribute__((swift_name("signatureNormalize(sig:)"))); +- (BOOL)verifySignature:(PAPIKotlinByteArray *)signature data:(PAPIKotlinByteArray *)data pub:(PAPIKotlinByteArray *)pub __attribute__((swift_name("verify(signature:data:pub:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Secp256k1Companion"))) +@interface PAPISecp256k1Companion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPISecp256k1Companion *shared __attribute__((swift_name("shared"))); +- (void)cleanup __attribute__((swift_name("cleanup()"))); +- (PAPIKotlinByteArray *)compact2derSig:(PAPIKotlinByteArray *)sig __attribute__((swift_name("compact2der(sig:)"))); +- (PAPIKotlinByteArray *)ecdhSeckey:(PAPIKotlinByteArray *)seckey pubkey:(PAPIKotlinByteArray *)pubkey __attribute__((swift_name("ecdh(seckey:pubkey:)"))); +- (PAPIKotlinByteArray *)ecdsaRecoverSig:(PAPIKotlinByteArray *)sig message:(PAPIKotlinByteArray *)message recid:(int32_t)recid __attribute__((swift_name("ecdsaRecover(sig:message:recid:)"))); +- (id)get __attribute__((swift_name("get()"))); +- (PAPIKotlinByteArray *)privKeyNegatePrivkey:(PAPIKotlinByteArray *)privkey __attribute__((swift_name("privKeyNegate(privkey:)"))); +- (PAPIKotlinByteArray *)privKeyTweakAddPrivkey:(PAPIKotlinByteArray *)privkey tweak:(PAPIKotlinByteArray *)tweak __attribute__((swift_name("privKeyTweakAdd(privkey:tweak:)"))); +- (PAPIKotlinByteArray *)privKeyTweakMulPrivkey:(PAPIKotlinByteArray *)privkey tweak:(PAPIKotlinByteArray *)tweak __attribute__((swift_name("privKeyTweakMul(privkey:tweak:)"))); +- (PAPIKotlinByteArray *)pubKeyAddPubkey1:(PAPIKotlinByteArray *)pubkey1 pubkey2:(PAPIKotlinByteArray *)pubkey2 __attribute__((swift_name("pubKeyAdd(pubkey1:pubkey2:)"))); +- (PAPIKotlinByteArray *)pubKeyCompressPubkey:(PAPIKotlinByteArray *)pubkey __attribute__((swift_name("pubKeyCompress(pubkey:)"))); +- (PAPIKotlinByteArray *)pubKeyNegatePubkey:(PAPIKotlinByteArray *)pubkey __attribute__((swift_name("pubKeyNegate(pubkey:)"))); +- (PAPIKotlinByteArray *)pubKeyTweakAddPubkey:(PAPIKotlinByteArray *)pubkey tweak:(PAPIKotlinByteArray *)tweak __attribute__((swift_name("pubKeyTweakAdd(pubkey:tweak:)"))); +- (PAPIKotlinByteArray *)pubKeyTweakMulPubkey:(PAPIKotlinByteArray *)pubkey tweak:(PAPIKotlinByteArray *)tweak __attribute__((swift_name("pubKeyTweakMul(pubkey:tweak:)"))); +- (PAPIKotlinByteArray *)pubkeyCreateSeckey:(PAPIKotlinByteArray *)seckey __attribute__((swift_name("pubkeyCreate(seckey:)"))); +- (PAPIKotlinByteArray *)pubkeyParsePubkey:(PAPIKotlinByteArray *)pubkey __attribute__((swift_name("pubkeyParse(pubkey:)"))); +- (BOOL)secKeyVerifySeckey:(PAPIKotlinByteArray *)seckey __attribute__((swift_name("secKeyVerify(seckey:)"))); +- (PAPIKotlinByteArray *)signData:(PAPIKotlinByteArray *)data sec:(PAPIKotlinByteArray *)sec __attribute__((swift_name("sign(data:sec:)"))); +- (PAPIKotlinPair *)signatureNormalizeSig:(PAPIKotlinByteArray *)sig __attribute__((swift_name("signatureNormalize(sig:)"))); +- (BOOL)verifySignature:(PAPIKotlinByteArray *)signature data:(PAPIKotlinByteArray *)data pub:(PAPIKotlinByteArray *)pub __attribute__((swift_name("verify(signature:data:pub:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Secp256k1Exception"))) +@interface PAPISecp256k1Exception : PAPIKotlinRuntimeException +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (instancetype)initWithMessage:(NSString * _Nullable)message __attribute__((swift_name("init(message:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithMessage:(NSString * _Nullable)message cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (instancetype)initWithCause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(cause:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Secp256k1Native"))) +@interface PAPISecp256k1Native : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)secp256k1Native __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPISecp256k1Native *shared __attribute__((swift_name("shared"))); +- (void)cleanup __attribute__((swift_name("cleanup()"))); +- (PAPIKotlinByteArray *)compact2derSig:(PAPIKotlinByteArray *)sig __attribute__((swift_name("compact2der(sig:)"))); +- (PAPIKotlinByteArray *)ecdhSeckey:(PAPIKotlinByteArray *)seckey pubkey:(PAPIKotlinByteArray *)pubkey __attribute__((swift_name("ecdh(seckey:pubkey:)"))); +- (PAPIKotlinByteArray *)ecdsaRecoverSig:(PAPIKotlinByteArray *)sig message:(PAPIKotlinByteArray *)message recid:(int32_t)recid __attribute__((swift_name("ecdsaRecover(sig:message:recid:)"))); +- (PAPIKotlinByteArray *)privKeyNegatePrivkey:(PAPIKotlinByteArray *)privkey __attribute__((swift_name("privKeyNegate(privkey:)"))); +- (PAPIKotlinByteArray *)privKeyTweakAddPrivkey:(PAPIKotlinByteArray *)privkey tweak:(PAPIKotlinByteArray *)tweak __attribute__((swift_name("privKeyTweakAdd(privkey:tweak:)"))); +- (PAPIKotlinByteArray *)privKeyTweakMulPrivkey:(PAPIKotlinByteArray *)privkey tweak:(PAPIKotlinByteArray *)tweak __attribute__((swift_name("privKeyTweakMul(privkey:tweak:)"))); +- (PAPIKotlinByteArray *)pubKeyAddPubkey1:(PAPIKotlinByteArray *)pubkey1 pubkey2:(PAPIKotlinByteArray *)pubkey2 __attribute__((swift_name("pubKeyAdd(pubkey1:pubkey2:)"))); +- (PAPIKotlinByteArray *)pubKeyNegatePubkey:(PAPIKotlinByteArray *)pubkey __attribute__((swift_name("pubKeyNegate(pubkey:)"))); +- (PAPIKotlinByteArray *)pubKeyTweakAddPubkey:(PAPIKotlinByteArray *)pubkey tweak:(PAPIKotlinByteArray *)tweak __attribute__((swift_name("pubKeyTweakAdd(pubkey:tweak:)"))); +- (PAPIKotlinByteArray *)pubKeyTweakMulPubkey:(PAPIKotlinByteArray *)pubkey tweak:(PAPIKotlinByteArray *)tweak __attribute__((swift_name("pubKeyTweakMul(pubkey:tweak:)"))); +- (PAPIKotlinByteArray *)pubkeyCreateSeckey:(PAPIKotlinByteArray *)seckey __attribute__((swift_name("pubkeyCreate(seckey:)"))); +- (PAPIKotlinByteArray *)pubkeyParsePubkey:(PAPIKotlinByteArray *)pubkey __attribute__((swift_name("pubkeyParse(pubkey:)"))); +- (BOOL)secKeyVerifySeckey:(PAPIKotlinByteArray *)seckey __attribute__((swift_name("secKeyVerify(seckey:)"))); +- (PAPIKotlinByteArray *)signData:(PAPIKotlinByteArray *)data sec:(PAPIKotlinByteArray *)sec __attribute__((swift_name("sign(data:sec:)"))); +- (PAPIKotlinPair *)signatureNormalizeSig:(PAPIKotlinByteArray *)sig __attribute__((swift_name("signatureNormalize(sig:)"))); +- (BOOL)verifySignature:(PAPIKotlinByteArray *)signature data:(PAPIKotlinByteArray *)data pub:(PAPIKotlinByteArray *)pub __attribute__((swift_name("verify(signature:data:pub:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialBatch"))) +@interface PAPICredentialBatch : PAPIBase +- (instancetype)initWithRoot:(PAPIMerkleRoot *)root proofs:(NSArray *)proofs __attribute__((swift_name("init(root:proofs:)"))) __attribute__((objc_designated_initializer)); +- (PAPIMerkleRoot *)component1 __attribute__((swift_name("component1()"))); +- (NSArray *)component2 __attribute__((swift_name("component2()"))); +- (PAPICredentialBatch *)doCopyRoot:(PAPIMerkleRoot *)root proofs:(NSArray *)proofs __attribute__((swift_name("doCopy(root:proofs:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSArray *proofs __attribute__((swift_name("proofs"))); +@property (readonly) PAPIMerkleRoot *root __attribute__((swift_name("root"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialBatches"))) +@interface PAPICredentialBatches : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)credentialBatches __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPICredentialBatches *shared __attribute__((swift_name("shared"))); +- (PAPICredentialBatch *)batchSignedCredentials:(NSArray *)signedCredentials __attribute__((swift_name("batch(signedCredentials:)"))); +- (PAPICredentialBatchId *)computeCredentialBatchIdDid:(PAPIPrismDid *)did merkleRoot:(PAPIMerkleRoot *)merkleRoot __attribute__((swift_name("computeCredentialBatchId(did:merkleRoot:)"))); +- (BOOL)verifyInclusionSignedCredential:(PAPIPrismCredential *)signedCredential merkleRoot:(PAPIMerkleRoot *)merkleRoot inclusionProof:(PAPIMerkleInclusionProof *)inclusionProof __attribute__((swift_name("verifyInclusion(signedCredential:merkleRoot:inclusionProof:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialClaim"))) +@interface PAPICredentialClaim : PAPIBase +- (instancetype)initWithSubjectDid:(PAPIPrismDid *)subjectDid content:(NSDictionary *)content __attribute__((swift_name("init(subjectDid:content:)"))) __attribute__((objc_designated_initializer)); +- (PAPIPrismDid *)component1 __attribute__((swift_name("component1()"))); +- (NSDictionary *)component2 __attribute__((swift_name("component2()"))); +- (PAPICredentialClaim *)doCopySubjectDid:(PAPIPrismDid *)subjectDid content:(NSDictionary *)content __attribute__((swift_name("doCopy(subjectDid:content:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSDictionary *content __attribute__((swift_name("content"))); +@property (readonly) PAPIPrismDid *subjectDid __attribute__((swift_name("subjectDid"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialInfo"))) +@interface PAPICredentialInfo : PAPIBase +- (instancetype)initWithSignedCredential:(PAPIPrismCredential *)signedCredential inclusionProof:(PAPIMerkleInclusionProof *)inclusionProof __attribute__((swift_name("init(signedCredential:inclusionProof:)"))) __attribute__((objc_designated_initializer)); +- (PAPIPrismCredential *)component1 __attribute__((swift_name("component1()"))); +- (PAPIMerkleInclusionProof *)component2 __attribute__((swift_name("component2()"))); +- (PAPICredentialInfo *)doCopySignedCredential:(PAPIPrismCredential *)signedCredential inclusionProof:(PAPIMerkleInclusionProof *)inclusionProof __attribute__((swift_name("doCopy(signedCredential:inclusionProof:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMerkleInclusionProof *inclusionProof __attribute__((swift_name("inclusionProof"))); +@property (readonly) PAPIPrismCredential *signedCredential __attribute__((swift_name("signedCredential"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CredentialVerificationService"))) +@interface PAPICredentialVerificationService : PAPIBase +- (instancetype)initWithNodeService:(id)nodeService __attribute__((swift_name("init(nodeService:)"))) __attribute__((objc_designated_initializer)); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)verifySignedCredential:(PAPIPrismCredential *)signedCredential merkleInclusionProof:(PAPIMerkleInclusionProof *)merkleInclusionProof completionHandler:(void (^)(PAPIVerificationResult * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("verify(signedCredential:merkleInclusionProof:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KeyGenerator"))) +@interface PAPIKeyGenerator : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)keyGenerator __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKeyGenerator *shared __attribute__((swift_name("shared"))); +- (PAPIECKeyPair *)deriveKeyFromFullPathSeed:(PAPIKotlinByteArray *)seed didIndex:(int32_t)didIndex keyType:(PAPIPublicKeyUsage *)keyType keyIndex:(int32_t)keyIndex __attribute__((swift_name("deriveKeyFromFullPath(seed:didIndex:keyType:keyIndex:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PrismDidDocument"))) +@interface PAPIPrismDidDocument : PAPIBase +- (instancetype)initWithDidData:(PAPIDIDData *)didData __attribute__((swift_name("init(didData:)"))) __attribute__((objc_designated_initializer)); +- (PAPIDIDData *)component1 __attribute__((swift_name("component1()"))); +- (PAPIPrismDidDocument *)doCopyDidData:(PAPIDIDData *)didData __attribute__((swift_name("doCopy(didData:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (PAPIPublicKey * _Nullable)getPublicKeyIssuingKeyId:(NSString *)issuingKeyId __attribute__((swift_name("getPublicKey(issuingKeyId:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIDIDData *didData __attribute__((swift_name("didData"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PrismPayload"))) +@interface PAPIPrismPayload : PAPIBase +- (instancetype)initWithValue:(PAPIKotlinByteArray *)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +@property (readonly) PAPIKotlinByteArray *value __attribute__((swift_name("value"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ProtoUtils"))) +@interface PAPIProtoUtils : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)protoUtils __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIProtoUtils *shared __attribute__((swift_name("shared"))); +- (PAPIAtalaOperation *)issueCredentialBatchOperationData:(PAPICredentialBatchData *)data __attribute__((swift_name("issueCredentialBatchOperation(data:)"))); +- (PAPISignedAtalaOperation *)protocolUpdateSignedOperationMasterKeyId:(NSString *)masterKeyId masterKey:(PAPIECPrivateKey *)masterKey did:(PAPICanonicalPrismDid *)did versionName:(NSString * _Nullable)versionName protocolVersion:(PAPIProtocolVersion *)protocolVersion effectiveSinceBlockIndex:(int32_t)effectiveSinceBlockIndex __attribute__((swift_name("protocolUpdateSignedOperation(masterKeyId:masterKey:did:versionName:protocolVersion:effectiveSinceBlockIndex:)"))); +- (PAPIAtalaOperation *)revokeCredentialsOperationBatchOperationHash:(PAPISha256Digest *)batchOperationHash batchId:(PAPICredentialBatchId *)batchId credentials:(NSArray *)credentials __attribute__((swift_name("revokeCredentialsOperation(batchOperationHash:batchId:credentials:)"))); +- (PAPISignedAtalaOperation *)revokeCredentialsSignedOperationRevocationKKeyId:(NSString *)revocationKKeyId revocationKey:(PAPIECPrivateKey *)revocationKey issuanceOperationHash:(PAPISha256Digest *)issuanceOperationHash batchId:(NSString *)batchId credentialsToRevoke:(NSArray *)credentialsToRevoke __attribute__((swift_name("revokeCredentialsSignedOperation(revocationKKeyId:revocationKey:issuanceOperationHash:batchId:credentialsToRevoke:)"))); +- (PAPISignedAtalaOperation *)signedAtalaOperationPrivateKey:(PAPIECPrivateKey *)privateKey signedWith:(NSString *)signedWith atalaOperation:(PAPIAtalaOperation *)atalaOperation __attribute__((swift_name("signedAtalaOperation(privateKey:signedWith:atalaOperation:)"))); +- (PAPISignedAtalaOperation *)signedAtalaOperationDecodeEncodedOperation:(NSString *)encodedOperation __attribute__((swift_name("signedAtalaOperationDecode(encodedOperation:)"))); +- (NSString *)signedAtalaOperationEncodeSignedAtalaOperation:(PAPISignedAtalaOperation *)signedAtalaOperation __attribute__((swift_name("signedAtalaOperationEncode(signedAtalaOperation:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RequestUtils"))) +@interface PAPIRequestUtils : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)requestUtils __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIRequestUtils *shared __attribute__((swift_name("shared"))); +- (PAPIPrismMetadata *)generateBytesMetadataDid:(NSString *)did didPrivateKey:(PAPIECPrivateKey *)didPrivateKey bytes:(PAPIKotlinByteArray *)bytes nonce:(PAPIKotlinByteArray * _Nullable)nonce __attribute__((swift_name("generateBytesMetadata(did:didPrivateKey:bytes:nonce:)"))); +- (PAPIPrismMetadata *)generateRequestMetadataDid:(NSString *)did didPrivateKey:(PAPIECPrivateKey *)didPrivateKey request:(id)request nonce:(PAPIKotlinByteArray * _Nullable)nonce __attribute__((swift_name("generateRequestMetadata(did:didPrivateKey:request:nonce:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("VerifiableCredential"))) +@interface PAPIVerifiableCredential : PAPIBase +- (instancetype)initWithSignedCredential:(PAPIPrismCredential *)signedCredential merkleInclusionProof:(PAPIMerkleInclusionProof *)merkleInclusionProof __attribute__((swift_name("init(signedCredential:merkleInclusionProof:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIVerifiableCredentialCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIPrismCredential *)component1 __attribute__((swift_name("component1()"))); +- (PAPIMerkleInclusionProof *)component2 __attribute__((swift_name("component2()"))); +- (PAPIVerifiableCredential *)doCopySignedCredential:(PAPIPrismCredential *)signedCredential merkleInclusionProof:(PAPIMerkleInclusionProof *)merkleInclusionProof __attribute__((swift_name("doCopy(signedCredential:merkleInclusionProof:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSString *)export __attribute__((swift_name("export()"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIMerkleInclusionProof *merkleInclusionProof __attribute__((swift_name("merkleInclusionProof"))); +@property (readonly) PAPIPrismCredential *signedCredential __attribute__((swift_name("signedCredential"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("VerifiableCredential.Companion"))) +@interface PAPIVerifiableCredentialCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIVerifiableCredentialCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIVerifiableCredential *)importExportedVerifiableCredential:(NSString *)exportedVerifiableCredential __attribute__((swift_name("import(exportedVerifiableCredential:)"))); +@end; + +__attribute__((swift_name("VerificationError"))) +@interface PAPIVerificationError : PAPIBase +- (instancetype)initWithErrorMessage:(NSString *)errorMessage __attribute__((swift_name("init(errorMessage:)"))) __attribute__((objc_designated_initializer)); +@property (readonly) NSString *errorMessage __attribute__((swift_name("errorMessage"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("VerificationError.BatchNotFoundOnChain"))) +@interface PAPIVerificationErrorBatchNotFoundOnChain : PAPIVerificationError +- (instancetype)initWithBatchId:(NSString *)batchId __attribute__((swift_name("init(batchId:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithErrorMessage:(NSString *)errorMessage __attribute__((swift_name("init(errorMessage:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIVerificationErrorBatchNotFoundOnChain *)doCopyBatchId:(NSString *)batchId __attribute__((swift_name("doCopy(batchId:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *batchId __attribute__((swift_name("batchId"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("VerificationError.BatchPublicationTimestampNotFoundOnChain"))) +@interface PAPIVerificationErrorBatchPublicationTimestampNotFoundOnChain : PAPIVerificationError +- (instancetype)initWithBatchId:(NSString *)batchId __attribute__((swift_name("init(batchId:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithErrorMessage:(NSString *)errorMessage __attribute__((swift_name("init(errorMessage:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIVerificationErrorBatchPublicationTimestampNotFoundOnChain *)doCopyBatchId:(NSString *)batchId __attribute__((swift_name("doCopy(batchId:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *batchId __attribute__((swift_name("batchId"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("VerificationError.BatchWasRevokedOn"))) +@interface PAPIVerificationErrorBatchWasRevokedOn : PAPIVerificationError +- (instancetype)initWithTimestamp:(PAPITimestampInfo_ *)timestamp __attribute__((swift_name("init(timestamp:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithErrorMessage:(NSString *)errorMessage __attribute__((swift_name("init(errorMessage:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (PAPITimestampInfo_ *)component1 __attribute__((swift_name("component1()"))); +- (PAPIVerificationErrorBatchWasRevokedOn *)doCopyTimestamp:(PAPITimestampInfo_ *)timestamp __attribute__((swift_name("doCopy(timestamp:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPITimestampInfo_ *timestamp __attribute__((swift_name("timestamp"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("VerificationError.CredentialWasRevokedOn"))) +@interface PAPIVerificationErrorCredentialWasRevokedOn : PAPIVerificationError +- (instancetype)initWithTimestamp:(PAPITimestampInfo_ *)timestamp __attribute__((swift_name("init(timestamp:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithErrorMessage:(NSString *)errorMessage __attribute__((swift_name("init(errorMessage:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (PAPITimestampInfo_ *)component1 __attribute__((swift_name("component1()"))); +- (PAPIVerificationErrorCredentialWasRevokedOn *)doCopyTimestamp:(PAPITimestampInfo_ *)timestamp __attribute__((swift_name("doCopy(timestamp:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPITimestampInfo_ *timestamp __attribute__((swift_name("timestamp"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("VerificationError.InvalidMerkleProof"))) +@interface PAPIVerificationErrorInvalidMerkleProof : PAPIVerificationError ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithErrorMessage:(NSString *)errorMessage __attribute__((swift_name("init(errorMessage:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)invalidMerkleProof __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIVerificationErrorInvalidMerkleProof *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("VerificationError.InvalidSignature"))) +@interface PAPIVerificationErrorInvalidSignature : PAPIVerificationError +- (instancetype)initWithSignedCredential:(PAPIPrismCredential *)signedCredential publicKey:(PAPIECPublicKey *)publicKey __attribute__((swift_name("init(signedCredential:publicKey:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithErrorMessage:(NSString *)errorMessage __attribute__((swift_name("init(errorMessage:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (PAPIPrismCredential *)component1 __attribute__((swift_name("component1()"))); +- (PAPIECPublicKey *)component2 __attribute__((swift_name("component2()"))); +- (PAPIVerificationErrorInvalidSignature *)doCopySignedCredential:(PAPIPrismCredential *)signedCredential publicKey:(PAPIECPublicKey *)publicKey __attribute__((swift_name("doCopy(signedCredential:publicKey:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIECPublicKey *publicKey __attribute__((swift_name("publicKey"))); +@property (readonly) PAPIPrismCredential *signedCredential __attribute__((swift_name("signedCredential"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("VerificationError.IssuanceKeyPublicationTimestampNotFoundOnChain"))) +@interface PAPIVerificationErrorIssuanceKeyPublicationTimestampNotFoundOnChain : PAPIVerificationError +- (instancetype)initWithIssuerKeyId:(NSString *)issuerKeyId publicKey:(PAPIPublicKey *)publicKey __attribute__((swift_name("init(issuerKeyId:publicKey:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithErrorMessage:(NSString *)errorMessage __attribute__((swift_name("init(errorMessage:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIPublicKey *)component2 __attribute__((swift_name("component2()"))); +- (PAPIVerificationErrorIssuanceKeyPublicationTimestampNotFoundOnChain *)doCopyIssuerKeyId:(NSString *)issuerKeyId publicKey:(PAPIPublicKey *)publicKey __attribute__((swift_name("doCopy(issuerKeyId:publicKey:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *issuerKeyId __attribute__((swift_name("issuerKeyId"))); +@property (readonly) PAPIPublicKey *publicKey __attribute__((swift_name("publicKey"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("VerificationError.IssuerDidDocumentNotFoundOnChain"))) +@interface PAPIVerificationErrorIssuerDidDocumentNotFoundOnChain : PAPIVerificationError +- (instancetype)initWithDid:(PAPIPrismDid *)did __attribute__((swift_name("init(did:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithErrorMessage:(NSString *)errorMessage __attribute__((swift_name("init(errorMessage:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (PAPIPrismDid *)component1 __attribute__((swift_name("component1()"))); +- (PAPIVerificationErrorIssuerDidDocumentNotFoundOnChain *)doCopyDid:(PAPIPrismDid *)did __attribute__((swift_name("doCopy(did:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIPrismDid *did __attribute__((swift_name("did"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("VerificationError.IssuerDidNotFoundInCredential"))) +@interface PAPIVerificationErrorIssuerDidNotFoundInCredential : PAPIVerificationError ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithErrorMessage:(NSString *)errorMessage __attribute__((swift_name("init(errorMessage:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)issuerDidNotFoundInCredential __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIVerificationErrorIssuerDidNotFoundInCredential *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("VerificationError.IssuerKeyNotFoundInCredential"))) +@interface PAPIVerificationErrorIssuerKeyNotFoundInCredential : PAPIVerificationError ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithErrorMessage:(NSString *)errorMessage __attribute__((swift_name("init(errorMessage:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)issuerKeyNotFoundInCredential __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIVerificationErrorIssuerKeyNotFoundInCredential *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("VerificationError.IssuingKeyIdNotFoundOnChain"))) +@interface PAPIVerificationErrorIssuingKeyIdNotFoundOnChain : PAPIVerificationError +- (instancetype)initWithIssuerKeyId:(NSString *)issuerKeyId didDocument:(PAPIPrismDidDocument *)didDocument __attribute__((swift_name("init(issuerKeyId:didDocument:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithErrorMessage:(NSString *)errorMessage __attribute__((swift_name("init(errorMessage:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIPrismDidDocument *)component2 __attribute__((swift_name("component2()"))); +- (PAPIVerificationErrorIssuingKeyIdNotFoundOnChain *)doCopyIssuerKeyId:(NSString *)issuerKeyId didDocument:(PAPIPrismDidDocument *)didDocument __attribute__((swift_name("doCopy(issuerKeyId:didDocument:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIPrismDidDocument *didDocument __attribute__((swift_name("didDocument"))); +@property (readonly) NSString *issuerKeyId __attribute__((swift_name("issuerKeyId"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("VerificationError.KeyAddedAfterIssuance"))) +@interface PAPIVerificationErrorKeyAddedAfterIssuance : PAPIVerificationError +- (instancetype)initWithKeyAddedOn:(PAPITimestampInfo_ *)keyAddedOn batchIssuedOn:(PAPITimestampInfo_ *)batchIssuedOn __attribute__((swift_name("init(keyAddedOn:batchIssuedOn:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithErrorMessage:(NSString *)errorMessage __attribute__((swift_name("init(errorMessage:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (PAPITimestampInfo_ *)component1 __attribute__((swift_name("component1()"))); +- (PAPITimestampInfo_ *)component2 __attribute__((swift_name("component2()"))); +- (PAPIVerificationErrorKeyAddedAfterIssuance *)doCopyKeyAddedOn:(PAPITimestampInfo_ *)keyAddedOn batchIssuedOn:(PAPITimestampInfo_ *)batchIssuedOn __attribute__((swift_name("doCopy(keyAddedOn:batchIssuedOn:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPITimestampInfo_ *batchIssuedOn __attribute__((swift_name("batchIssuedOn"))); +@property (readonly) PAPITimestampInfo_ *keyAddedOn __attribute__((swift_name("keyAddedOn"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("VerificationError.KeyAddedTimestampEqualsIssuance"))) +@interface PAPIVerificationErrorKeyAddedTimestampEqualsIssuance : PAPIVerificationError +- (instancetype)initWithKeyAddedOn:(PAPITimestampInfo_ *)keyAddedOn batchIssuedOn:(PAPITimestampInfo_ *)batchIssuedOn __attribute__((swift_name("init(keyAddedOn:batchIssuedOn:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithErrorMessage:(NSString *)errorMessage __attribute__((swift_name("init(errorMessage:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (PAPITimestampInfo_ *)component1 __attribute__((swift_name("component1()"))); +- (PAPITimestampInfo_ *)component2 __attribute__((swift_name("component2()"))); +- (PAPIVerificationErrorKeyAddedTimestampEqualsIssuance *)doCopyKeyAddedOn:(PAPITimestampInfo_ *)keyAddedOn batchIssuedOn:(PAPITimestampInfo_ *)batchIssuedOn __attribute__((swift_name("doCopy(keyAddedOn:batchIssuedOn:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPITimestampInfo_ *batchIssuedOn __attribute__((swift_name("batchIssuedOn"))); +@property (readonly) PAPITimestampInfo_ *keyAddedOn __attribute__((swift_name("keyAddedOn"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("VerificationError.KeyRevokedTimestampEqualsIssuance"))) +@interface PAPIVerificationErrorKeyRevokedTimestampEqualsIssuance : PAPIVerificationError +- (instancetype)initWithKeyRevokedOn:(PAPITimestampInfo_ *)keyRevokedOn batchIssuedOn:(PAPITimestampInfo_ *)batchIssuedOn __attribute__((swift_name("init(keyRevokedOn:batchIssuedOn:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithErrorMessage:(NSString *)errorMessage __attribute__((swift_name("init(errorMessage:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (PAPITimestampInfo_ *)component1 __attribute__((swift_name("component1()"))); +- (PAPITimestampInfo_ *)component2 __attribute__((swift_name("component2()"))); +- (PAPIVerificationErrorKeyRevokedTimestampEqualsIssuance *)doCopyKeyRevokedOn:(PAPITimestampInfo_ *)keyRevokedOn batchIssuedOn:(PAPITimestampInfo_ *)batchIssuedOn __attribute__((swift_name("doCopy(keyRevokedOn:batchIssuedOn:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPITimestampInfo_ *batchIssuedOn __attribute__((swift_name("batchIssuedOn"))); +@property (readonly) PAPITimestampInfo_ *keyRevokedOn __attribute__((swift_name("keyRevokedOn"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("VerificationError.KeyWasRevoked"))) +@interface PAPIVerificationErrorKeyWasRevoked : PAPIVerificationError +- (instancetype)initWithKeyRevokedOn:(PAPITimestampInfo_ *)keyRevokedOn batchIssuedOn:(PAPITimestampInfo_ *)batchIssuedOn __attribute__((swift_name("init(keyRevokedOn:batchIssuedOn:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithErrorMessage:(NSString *)errorMessage __attribute__((swift_name("init(errorMessage:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (PAPITimestampInfo_ *)component1 __attribute__((swift_name("component1()"))); +- (PAPITimestampInfo_ *)component2 __attribute__((swift_name("component2()"))); +- (PAPIVerificationErrorKeyWasRevoked *)doCopyKeyRevokedOn:(PAPITimestampInfo_ *)keyRevokedOn batchIssuedOn:(PAPITimestampInfo_ *)batchIssuedOn __attribute__((swift_name("doCopy(keyRevokedOn:batchIssuedOn:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPITimestampInfo_ *batchIssuedOn __attribute__((swift_name("batchIssuedOn"))); +@property (readonly) PAPITimestampInfo_ *keyRevokedOn __attribute__((swift_name("keyRevokedOn"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("VerificationError.OnChainIssuingKeyCannotBeParsed"))) +@interface PAPIVerificationErrorOnChainIssuingKeyCannotBeParsed : PAPIVerificationError +- (instancetype)initWithIssuerKeyId:(NSString *)issuerKeyId publicKey:(PAPIPublicKey *)publicKey __attribute__((swift_name("init(issuerKeyId:publicKey:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithErrorMessage:(NSString *)errorMessage __attribute__((swift_name("init(errorMessage:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIPublicKey *)component2 __attribute__((swift_name("component2()"))); +- (PAPIVerificationErrorOnChainIssuingKeyCannotBeParsed *)doCopyIssuerKeyId:(NSString *)issuerKeyId publicKey:(PAPIPublicKey *)publicKey __attribute__((swift_name("doCopy(issuerKeyId:publicKey:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *issuerKeyId __attribute__((swift_name("issuerKeyId"))); +@property (readonly) PAPIPublicKey *publicKey __attribute__((swift_name("publicKey"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("VerificationResult"))) +@interface PAPIVerificationResult : PAPIBase +- (instancetype)initWithVerificationErrors:(NSArray *)verificationErrors lastSyncBlockTimestamp:(PAPITimestamp * _Nullable)lastSyncBlockTimestamp __attribute__((swift_name("init(verificationErrors:lastSyncBlockTimestamp:)"))) __attribute__((objc_designated_initializer)); +- (NSArray *)component1 __attribute__((swift_name("component1()"))); +- (PAPITimestamp * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (PAPIVerificationResult *)doCopyVerificationErrors:(NSArray *)verificationErrors lastSyncBlockTimestamp:(PAPITimestamp * _Nullable)lastSyncBlockTimestamp __attribute__((swift_name("doCopy(verificationErrors:lastSyncBlockTimestamp:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPITimestamp * _Nullable lastSyncBlockTimestamp __attribute__((swift_name("lastSyncBlockTimestamp"))); +@property (readonly) NSArray *verificationErrors __attribute__((swift_name("verificationErrors"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BatchState"))) +@interface PAPIBatchState : PAPIBase +- (instancetype)initWithIssuerDid:(NSString *)issuerDid merkleRoot:(PAPISha256Digest *)merkleRoot publicationLedgerData:(PAPILedgerData *)publicationLedgerData revocationLedgerData:(PAPILedgerData * _Nullable)revocationLedgerData issuanceHash:(PAPISha256Digest *)issuanceHash lastSyncedBlockTimestamp:(PAPITimestamp *)lastSyncedBlockTimestamp __attribute__((swift_name("init(issuerDid:merkleRoot:publicationLedgerData:revocationLedgerData:issuanceHash:lastSyncedBlockTimestamp:)"))) __attribute__((objc_designated_initializer)); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPISha256Digest *)component2 __attribute__((swift_name("component2()"))); +- (PAPILedgerData *)component3 __attribute__((swift_name("component3()"))); +- (PAPILedgerData * _Nullable)component4 __attribute__((swift_name("component4()"))); +- (PAPISha256Digest *)component5 __attribute__((swift_name("component5()"))); +- (PAPITimestamp *)component6 __attribute__((swift_name("component6()"))); +- (PAPIBatchState *)doCopyIssuerDid:(NSString *)issuerDid merkleRoot:(PAPISha256Digest *)merkleRoot publicationLedgerData:(PAPILedgerData *)publicationLedgerData revocationLedgerData:(PAPILedgerData * _Nullable)revocationLedgerData issuanceHash:(PAPISha256Digest *)issuanceHash lastSyncedBlockTimestamp:(PAPITimestamp *)lastSyncedBlockTimestamp __attribute__((swift_name("doCopy(issuerDid:merkleRoot:publicationLedgerData:revocationLedgerData:issuanceHash:lastSyncedBlockTimestamp:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPISha256Digest *issuanceHash __attribute__((swift_name("issuanceHash"))); +@property (readonly) NSString *issuerDid __attribute__((swift_name("issuerDid"))); +@property (readonly) PAPITimestamp *lastSyncedBlockTimestamp __attribute__((swift_name("lastSyncedBlockTimestamp"))); +@property (readonly) PAPISha256Digest *merkleRoot __attribute__((swift_name("merkleRoot"))); +@property (readonly) PAPILedgerData *publicationLedgerData __attribute__((swift_name("publicationLedgerData"))); +@property (readonly) PAPILedgerData * _Nullable revocationLedgerData __attribute__((swift_name("revocationLedgerData"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CreateDidInfo"))) +@interface PAPICreateDidInfo : PAPIBase +- (instancetype)initWithPayload:(PAPIPrismPayload *)payload operationHash:(PAPISha256Digest *)operationHash __attribute__((swift_name("init(payload:operationHash:)"))) __attribute__((objc_designated_initializer)); +- (PAPIPrismPayload *)component1 __attribute__((swift_name("component1()"))); +- (PAPISha256Digest *)component2 __attribute__((swift_name("component2()"))); +- (PAPICreateDidInfo *)doCopyPayload:(PAPIPrismPayload *)payload operationHash:(PAPISha256Digest *)operationHash __attribute__((swift_name("doCopy(payload:operationHash:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPISha256Digest *operationHash __attribute__((swift_name("operationHash"))); +@property (readonly) PAPIPrismPayload *payload __attribute__((swift_name("payload"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GetCredentialRevocationTimeResult"))) +@interface PAPIGetCredentialRevocationTimeResult : PAPIBase +- (instancetype)initWithLedgerData:(PAPILedgerData * _Nullable)ledgerData lastSyncedBlockTimestamp:(PAPITimestamp *)lastSyncedBlockTimestamp __attribute__((swift_name("init(ledgerData:lastSyncedBlockTimestamp:)"))) __attribute__((objc_designated_initializer)); +- (PAPILedgerData * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (PAPITimestamp *)component2 __attribute__((swift_name("component2()"))); +- (PAPIGetCredentialRevocationTimeResult *)doCopyLedgerData:(PAPILedgerData * _Nullable)ledgerData lastSyncedBlockTimestamp:(PAPITimestamp *)lastSyncedBlockTimestamp __attribute__((swift_name("doCopy(ledgerData:lastSyncedBlockTimestamp:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPITimestamp *lastSyncedBlockTimestamp __attribute__((swift_name("lastSyncedBlockTimestamp"))); +@property (readonly) PAPILedgerData * _Nullable ledgerData __attribute__((swift_name("ledgerData"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("IssueCredentialsInfo"))) +@interface PAPIIssueCredentialsInfo : PAPIBase +- (instancetype)initWithPayload:(PAPIPrismPayload *)payload batchId:(PAPICredentialBatchId *)batchId operationHash:(PAPISha256Digest *)operationHash credentialsAndProofs:(PAPIKotlinArray *)credentialsAndProofs merkleRoot:(PAPIMerkleRoot *)merkleRoot __attribute__((swift_name("init(payload:batchId:operationHash:credentialsAndProofs:merkleRoot:)"))) __attribute__((objc_designated_initializer)); +- (PAPIPrismPayload *)component1 __attribute__((swift_name("component1()"))); +- (PAPICredentialBatchId *)component2 __attribute__((swift_name("component2()"))); +- (PAPISha256Digest *)component3 __attribute__((swift_name("component3()"))); +- (PAPIKotlinArray *)component4 __attribute__((swift_name("component4()"))); +- (PAPIMerkleRoot *)component5 __attribute__((swift_name("component5()"))); +- (PAPIIssueCredentialsInfo *)doCopyPayload:(PAPIPrismPayload *)payload batchId:(PAPICredentialBatchId *)batchId operationHash:(PAPISha256Digest *)operationHash credentialsAndProofs:(PAPIKotlinArray *)credentialsAndProofs merkleRoot:(PAPIMerkleRoot *)merkleRoot __attribute__((swift_name("doCopy(payload:batchId:operationHash:credentialsAndProofs:merkleRoot:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPICredentialBatchId *batchId __attribute__((swift_name("batchId"))); +@property (readonly) PAPIKotlinArray *credentialsAndProofs __attribute__((swift_name("credentialsAndProofs"))); +@property (readonly) PAPIMerkleRoot *merkleRoot __attribute__((swift_name("merkleRoot"))); +@property (readonly) PAPISha256Digest *operationHash __attribute__((swift_name("operationHash"))); +@property (readonly) PAPIPrismPayload *payload __attribute__((swift_name("payload"))); +@end; + +__attribute__((swift_name("NodePublicApi"))) +@protocol PAPINodePublicApi +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)getBatchStateBatchId:(NSString *)batchId completionHandler:(void (^)(PAPIBatchState * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getBatchState(batchId:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)getCredentialRevocationTimeBatchId:(NSString *)batchId credentialHash:(PAPISha256Digest *)credentialHash completionHandler:(void (^)(PAPIGetCredentialRevocationTimeResult * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getCredentialRevocationTime(batchId:credentialHash:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)getDidDocumentDid:(PAPIPrismDid *)did completionHandler:(void (^)(PAPIPrismDidState * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getDidDocument(did:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)getOperationInfoOperationId:(PAPIAtalaOperationId *)operationId completionHandler:(void (^)(PAPIAtalaOperationInfo * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getOperationInfo(operationId:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)getOperationStatusOperationId:(PAPIAtalaOperationId *)operationId completionHandler:(void (^)(PAPIInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getOperationStatus(operationId:completionHandler:)"))) __attribute__((deprecated("Deprecated since 1.3.0. Use [getOperationInfo] instead"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)healthCheckWithCompletionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("healthCheck(completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)verifySignedCredential:(PAPIPrismCredential *)signedCredential merkleInclusionProof:(PAPIMerkleInclusionProof *)merkleInclusionProof completionHandler:(void (^)(PAPIVerificationResult * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("verify(signedCredential:merkleInclusionProof:completionHandler:)"))); +@end; + +__attribute__((swift_name("NodeAuthApi"))) +@protocol PAPINodeAuthApi +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)createDidPayload:(PAPIPrismPayload *)payload did:(PAPILongFormPrismDid * _Nullable)did masterKeyId:(NSString * _Nullable)masterKeyId completionHandler:(void (^)(PAPIAtalaOperationId * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("createDid(payload:did:masterKeyId:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)issueCredentialsPayload:(PAPIPrismPayload *)payload did:(PAPICanonicalPrismDid * _Nullable)did issuingKeyId:(NSString * _Nullable)issuingKeyId merkleRoot:(PAPIMerkleRoot * _Nullable)merkleRoot completionHandler:(void (^)(PAPIAtalaOperationId * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("issueCredentials(payload:did:issuingKeyId:merkleRoot:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)protocolVersionUpdatePayload:(PAPIPrismPayload *)payload did:(PAPICanonicalPrismDid * _Nullable)did masterKeyId:(NSString * _Nullable)masterKeyId versionName:(NSString * _Nullable)versionName protocolVersion:(PAPIProtocolVersion * _Nullable)protocolVersion effectiveSinceBlockIndex:(PAPIInt * _Nullable)effectiveSinceBlockIndex completionHandler:(void (^)(PAPIAtalaOperationId * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("protocolVersionUpdate(payload:did:masterKeyId:versionName:protocolVersion:effectiveSinceBlockIndex:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)revokeCredentialsPayload:(PAPIPrismPayload *)payload did:(PAPICanonicalPrismDid * _Nullable)did revocationKeyId:(NSString * _Nullable)revocationKeyId previousOperationHash:(PAPISha256Digest * _Nullable)previousOperationHash batchId:(NSString * _Nullable)batchId credentialsToRevoke:(PAPIKotlinArray * _Nullable)credentialsToRevoke completionHandler:(void (^)(PAPIAtalaOperationId * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("revokeCredentials(payload:did:revocationKeyId:previousOperationHash:batchId:credentialsToRevoke:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)updateDidPayload:(PAPIPrismPayload *)payload did:(PAPICanonicalPrismDid * _Nullable)did masterKeyId:(NSString * _Nullable)masterKeyId previousOperationHash:(PAPISha256Digest * _Nullable)previousOperationHash keysToAdd:(PAPIKotlinArray * _Nullable)keysToAdd keysToRevoke:(PAPIKotlinArray * _Nullable)keysToRevoke completionHandler:(void (^)(PAPIAtalaOperationId * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("updateDid(payload:did:masterKeyId:previousOperationHash:keysToAdd:keysToRevoke:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("NodeAuthApiImpl"))) +@interface PAPINodeAuthApiImpl : PAPIBase +- (instancetype)initWithOptions:(PAPIGrpcOptions *)options __attribute__((swift_name("init(options:)"))) __attribute__((objc_designated_initializer)); +- (void)close __attribute__((swift_name("close()"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)createDidPayload:(PAPIPrismPayload *)payload did:(PAPILongFormPrismDid * _Nullable)did masterKeyId:(NSString * _Nullable)masterKeyId completionHandler:(void (^)(PAPIAtalaOperationId * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("createDid(payload:did:masterKeyId:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)getBatchStateBatchId:(NSString *)batchId completionHandler:(void (^)(PAPIBatchState * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getBatchState(batchId:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)getCredentialRevocationTimeBatchId:(NSString *)batchId credentialHash:(PAPISha256Digest *)credentialHash completionHandler:(void (^)(PAPIGetCredentialRevocationTimeResult * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getCredentialRevocationTime(batchId:credentialHash:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)getDidDocumentDid:(PAPIPrismDid *)did completionHandler:(void (^)(PAPIPrismDidState * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getDidDocument(did:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)getOperationInfoOperationId:(PAPIAtalaOperationId *)operationId completionHandler:(void (^)(PAPIAtalaOperationInfo * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getOperationInfo(operationId:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)getOperationStatusOperationId:(PAPIAtalaOperationId *)operationId completionHandler:(void (^)(PAPIInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getOperationStatus(operationId:completionHandler:)"))) __attribute__((deprecated("Deprecated since 1.3.0. Use [getOperationInfo] instead"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)healthCheckWithCompletionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("healthCheck(completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)issueCredentialsPayload:(PAPIPrismPayload *)payload did:(PAPICanonicalPrismDid * _Nullable)did issuingKeyId:(NSString * _Nullable)issuingKeyId merkleRoot:(PAPIMerkleRoot * _Nullable)merkleRoot completionHandler:(void (^)(PAPIAtalaOperationId * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("issueCredentials(payload:did:issuingKeyId:merkleRoot:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)protocolVersionUpdatePayload:(PAPIPrismPayload *)payload did:(PAPICanonicalPrismDid * _Nullable)did masterKeyId:(NSString * _Nullable)masterKeyId versionName:(NSString * _Nullable)versionName protocolVersion:(PAPIProtocolVersion * _Nullable)protocolVersion effectiveSinceBlockIndex:(PAPIInt * _Nullable)effectiveSinceBlockIndex completionHandler:(void (^)(PAPIAtalaOperationId * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("protocolVersionUpdate(payload:did:masterKeyId:versionName:protocolVersion:effectiveSinceBlockIndex:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)revokeCredentialsPayload:(PAPIPrismPayload *)payload did:(PAPICanonicalPrismDid * _Nullable)did revocationKeyId:(NSString * _Nullable)revocationKeyId previousOperationHash:(PAPISha256Digest * _Nullable)previousOperationHash batchId:(NSString * _Nullable)batchId credentialsToRevoke:(PAPIKotlinArray * _Nullable)credentialsToRevoke completionHandler:(void (^)(PAPIAtalaOperationId * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("revokeCredentials(payload:did:revocationKeyId:previousOperationHash:batchId:credentialsToRevoke:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)updateDidPayload:(PAPIPrismPayload *)payload did:(PAPICanonicalPrismDid * _Nullable)did masterKeyId:(NSString * _Nullable)masterKeyId previousOperationHash:(PAPISha256Digest * _Nullable)previousOperationHash keysToAdd:(PAPIKotlinArray * _Nullable)keysToAdd keysToRevoke:(PAPIKotlinArray * _Nullable)keysToRevoke completionHandler:(void (^)(PAPIAtalaOperationId * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("updateDid(payload:did:masterKeyId:previousOperationHash:keysToAdd:keysToRevoke:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)verifySignedCredential:(PAPIPrismCredential *)signedCredential merkleInclusionProof:(PAPIMerkleInclusionProof *)merkleInclusionProof completionHandler:(void (^)(PAPIVerificationResult * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("verify(signedCredential:merkleInclusionProof:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("NodePayloadGenerator"))) +@interface PAPINodePayloadGenerator : PAPIBase +- (instancetype)initWithDid:(PAPILongFormPrismDid *)did keys:(NSDictionary *)keys __attribute__((swift_name("init(did:keys:)"))) __attribute__((objc_designated_initializer)); +- (PAPICreateDidInfo *)createDidMasterKeyId:(NSString *)masterKeyId __attribute__((swift_name("createDid(masterKeyId:)"))); +- (PAPIIssueCredentialsInfo *)issueCredentialsIssuingKeyId:(NSString *)issuingKeyId credentialsClaims:(PAPIKotlinArray *)credentialsClaims __attribute__((swift_name("issueCredentials(issuingKeyId:credentialsClaims:)"))); +- (PAPIProtocolVersionUpdateInfo *)protocolVersionUpdateMasterKeyId:(NSString *)masterKeyId versionName:(NSString * _Nullable)versionName protocolVersion:(PAPIProtocolVersion *)protocolVersion effectiveSinceBlockIndex:(int32_t)effectiveSinceBlockIndex __attribute__((swift_name("protocolVersionUpdate(masterKeyId:versionName:protocolVersion:effectiveSinceBlockIndex:)"))); +- (PAPIRevokeCredentialsInfo *)revokeCredentialsRevocationKeyId:(NSString *)revocationKeyId previousOperationHash:(PAPISha256Digest *)previousOperationHash batchId:(NSString *)batchId credentialsToRevoke:(PAPIKotlinArray *)credentialsToRevoke __attribute__((swift_name("revokeCredentials(revocationKeyId:previousOperationHash:batchId:credentialsToRevoke:)"))); +- (PAPIUpdateDidInfo *)updateDidPreviousHash:(PAPISha256Digest *)previousHash masterKeyId:(NSString *)masterKeyId keysToAdd:(PAPIKotlinArray *)keysToAdd keysToRevoke:(PAPIKotlinArray *)keysToRevoke __attribute__((swift_name("updateDid(previousHash:masterKeyId:keysToAdd:keysToRevoke:)"))); +@property (readonly) PAPILongFormPrismDid *did __attribute__((swift_name("did"))); +@property (readonly) NSDictionary *keys __attribute__((swift_name("keys"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("NodePublicApiImpl"))) +@interface PAPINodePublicApiImpl : PAPIBase +- (instancetype)initWithOptions:(PAPIGrpcOptions *)options __attribute__((swift_name("init(options:)"))) __attribute__((objc_designated_initializer)); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)getBatchStateBatchId:(NSString *)batchId completionHandler:(void (^)(PAPIBatchState * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getBatchState(batchId:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)getCredentialRevocationTimeBatchId:(NSString *)batchId credentialHash:(PAPISha256Digest *)credentialHash completionHandler:(void (^)(PAPIGetCredentialRevocationTimeResult * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getCredentialRevocationTime(batchId:credentialHash:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)getDidDocumentDid:(PAPIPrismDid *)did completionHandler:(void (^)(PAPIPrismDidState * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getDidDocument(did:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)getOperationInfoOperationId:(PAPIAtalaOperationId *)operationId completionHandler:(void (^)(PAPIAtalaOperationInfo * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getOperationInfo(operationId:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)getOperationStatusOperationId:(PAPIAtalaOperationId *)operationId completionHandler:(void (^)(PAPIInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getOperationStatus(operationId:completionHandler:)"))) __attribute__((deprecated("Overrides deprecated member in 'io.iohk.atala.prism.api.node.NodePublicApi'. Deprecated since 1.3.0. Use [getOperationInfo] instead"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)healthCheckWithCompletionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("healthCheck(completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)verifySignedCredential:(PAPIPrismCredential *)signedCredential merkleInclusionProof:(PAPIMerkleInclusionProof *)merkleInclusionProof completionHandler:(void (^)(PAPIVerificationResult * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("verify(signedCredential:merkleInclusionProof:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PrismDidState"))) +@interface PAPIPrismDidState : PAPIBase +- (instancetype)initWithDidData:(PAPIPrismDidDataModel *)didData lastUpdateOperation:(PAPISha256Digest * _Nullable)lastUpdateOperation lastSyncedBlockTimestamp:(PAPITimestamp * _Nullable)lastSyncedBlockTimestamp __attribute__((swift_name("init(didData:lastUpdateOperation:lastSyncedBlockTimestamp:)"))) __attribute__((objc_designated_initializer)); +- (PAPIPrismDidDataModel *)component1 __attribute__((swift_name("component1()"))); +- (PAPISha256Digest * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (PAPITimestamp * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (PAPIPrismDidState *)doCopyDidData:(PAPIPrismDidDataModel *)didData lastUpdateOperation:(PAPISha256Digest * _Nullable)lastUpdateOperation lastSyncedBlockTimestamp:(PAPITimestamp * _Nullable)lastSyncedBlockTimestamp __attribute__((swift_name("doCopy(didData:lastUpdateOperation:lastSyncedBlockTimestamp:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIPrismDidDataModel *didData __attribute__((swift_name("didData"))); +@property (readonly) PAPITimestamp * _Nullable lastSyncedBlockTimestamp __attribute__((swift_name("lastSyncedBlockTimestamp"))); +@property (readonly) PAPISha256Digest * _Nullable lastUpdateOperation __attribute__((swift_name("lastUpdateOperation"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ProtocolVersionUpdateInfo"))) +@interface PAPIProtocolVersionUpdateInfo : PAPIBase +- (instancetype)initWithPayload:(PAPIPrismPayload *)payload operationHash:(PAPISha256Digest *)operationHash __attribute__((swift_name("init(payload:operationHash:)"))) __attribute__((objc_designated_initializer)); +- (PAPIPrismPayload *)component1 __attribute__((swift_name("component1()"))); +- (PAPISha256Digest *)component2 __attribute__((swift_name("component2()"))); +- (PAPIProtocolVersionUpdateInfo *)doCopyPayload:(PAPIPrismPayload *)payload operationHash:(PAPISha256Digest *)operationHash __attribute__((swift_name("doCopy(payload:operationHash:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPISha256Digest *operationHash __attribute__((swift_name("operationHash"))); +@property (readonly) PAPIPrismPayload *payload __attribute__((swift_name("payload"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RevokeCredentialsInfo"))) +@interface PAPIRevokeCredentialsInfo : PAPIBase +- (instancetype)initWithPayload:(PAPIPrismPayload *)payload operationHash:(PAPISha256Digest *)operationHash __attribute__((swift_name("init(payload:operationHash:)"))) __attribute__((objc_designated_initializer)); +- (PAPIPrismPayload *)component1 __attribute__((swift_name("component1()"))); +- (PAPISha256Digest *)component2 __attribute__((swift_name("component2()"))); +- (PAPIRevokeCredentialsInfo *)doCopyPayload:(PAPIPrismPayload *)payload operationHash:(PAPISha256Digest *)operationHash __attribute__((swift_name("doCopy(payload:operationHash:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPISha256Digest *operationHash __attribute__((swift_name("operationHash"))); +@property (readonly) PAPIPrismPayload *payload __attribute__((swift_name("payload"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UpdateDidInfo"))) +@interface PAPIUpdateDidInfo : PAPIBase +- (instancetype)initWithPayload:(PAPIPrismPayload *)payload operationHash:(PAPISha256Digest *)operationHash __attribute__((swift_name("init(payload:operationHash:)"))) __attribute__((objc_designated_initializer)); +- (PAPIPrismPayload *)component1 __attribute__((swift_name("component1()"))); +- (PAPISha256Digest *)component2 __attribute__((swift_name("component2()"))); +- (PAPIUpdateDidInfo *)doCopyPayload:(PAPIPrismPayload *)payload operationHash:(PAPISha256Digest *)operationHash __attribute__((swift_name("doCopy(payload:operationHash:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPISha256Digest *operationHash __attribute__((swift_name("operationHash"))); +@property (readonly) PAPIPrismPayload *payload __attribute__((swift_name("payload"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtalaOperationId"))) +@interface PAPIAtalaOperationId : PAPIBase +- (instancetype)initWithDigest:(PAPISha256Digest *)digest __attribute__((swift_name("init(digest:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIAtalaOperationIdCompanion *companion __attribute__((swift_name("companion"))); +- (PAPISha256Digest *)component1 __attribute__((swift_name("component1()"))); +- (PAPIAtalaOperationId *)doCopyDigest:(PAPISha256Digest *)digest __attribute__((swift_name("doCopy(digest:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)hexValue __attribute__((swift_name("hexValue()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +- (PAPIKotlinByteArray *)value __attribute__((swift_name("value()"))); +@property (readonly) PAPISha256Digest *digest __attribute__((swift_name("digest"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtalaOperationId.Companion"))) +@interface PAPIAtalaOperationIdCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIAtalaOperationIdCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIAtalaOperationId *)fromBytesBytes:(PAPIKotlinByteArray *)bytes __attribute__((swift_name("fromBytes(bytes:)"))); +- (PAPIAtalaOperationId *)fromHexHex:(NSString *)hex __attribute__((swift_name("fromHex(hex:)"))); +- (PAPIAtalaOperationId *)ofAtalaOperation:(PAPISignedAtalaOperation *)atalaOperation __attribute__((swift_name("of(atalaOperation:)"))); +- (PAPIAtalaOperationId *)random __attribute__((swift_name("random()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtalaOperationInfo"))) +@interface PAPIAtalaOperationInfo : PAPIBase +- (instancetype)initWithStatus:(int32_t)status statusDetails:(NSString * _Nullable)statusDetails transactionId:(NSString * _Nullable)transactionId lastSyncedBlockTimestamp:(PAPITimestamp * _Nullable)lastSyncedBlockTimestamp __attribute__((swift_name("init(status:statusDetails:transactionId:lastSyncedBlockTimestamp:)"))) __attribute__((objc_designated_initializer)); +- (int32_t)component1 __attribute__((swift_name("component1()"))); +- (NSString * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (NSString * _Nullable)component3 __attribute__((swift_name("component3()"))); +- (PAPITimestamp * _Nullable)component4 __attribute__((swift_name("component4()"))); +- (PAPIAtalaOperationInfo *)doCopyStatus:(int32_t)status statusDetails:(NSString * _Nullable)statusDetails transactionId:(NSString * _Nullable)transactionId lastSyncedBlockTimestamp:(PAPITimestamp * _Nullable)lastSyncedBlockTimestamp __attribute__((swift_name("doCopy(status:statusDetails:transactionId:lastSyncedBlockTimestamp:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPITimestamp * _Nullable lastSyncedBlockTimestamp __attribute__((swift_name("lastSyncedBlockTimestamp"))); +@property (readonly) int32_t status __attribute__((swift_name("status"))); +@property (readonly) NSString * _Nullable statusDetails __attribute__((swift_name("statusDetails"))); +@property (readonly) NSString * _Nullable transactionId __attribute__((swift_name("transactionId"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtalaOperationStatus"))) +@interface PAPIAtalaOperationStatus : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)atalaOperationStatus __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIAtalaOperationStatus *shared __attribute__((swift_name("shared"))); +- (NSString *)asStringKey:(int32_t)key __attribute__((swift_name("asString(key:)"))); +- (PAPIInt * _Nullable)fromStringString:(NSString *)string __attribute__((swift_name("fromString(string:)"))); +@property (readonly) int32_t AWAIT_CONFIRMATION __attribute__((swift_name("AWAIT_CONFIRMATION"))); +@property (readonly) int32_t CONFIRMED_AND_APPLIED __attribute__((swift_name("CONFIRMED_AND_APPLIED"))); +@property (readonly) int32_t CONFIRMED_AND_REJECTED __attribute__((swift_name("CONFIRMED_AND_REJECTED"))); +@property (readonly) int32_t PENDING_SUBMISSION __attribute__((swift_name("PENDING_SUBMISSION"))); +@property (readonly) int32_t UNKNOWN_OPERATION __attribute__((swift_name("UNKNOWN_OPERATION"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ProtocolVersion"))) +@interface PAPIProtocolVersion : PAPIBase +- (instancetype)initWithMajorVersion:(int32_t)majorVersion minorVersion:(int32_t)minorVersion __attribute__((swift_name("init(majorVersion:minorVersion:)"))) __attribute__((objc_designated_initializer)); +- (int32_t)component1 __attribute__((swift_name("component1()"))); +- (int32_t)component2 __attribute__((swift_name("component2()"))); +- (PAPIProtocolVersion *)doCopyMajorVersion:(int32_t)majorVersion minorVersion:(int32_t)minorVersion __attribute__((swift_name("doCopy(majorVersion:minorVersion:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) int32_t majorVersion __attribute__((swift_name("majorVersion"))); +@property (readonly) int32_t minorVersion __attribute__((swift_name("minorVersion"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DidValidation"))) +@interface PAPIDidValidation : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)didValidation __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIDidValidation *shared __attribute__((swift_name("shared"))); +- (PAPISignedAtalaOperation *)verifyPayloadDid:(PAPILongFormPrismDid * _Nullable)did masterKeyId:(NSString * _Nullable)masterKeyId payload:(PAPIPrismPayload *)payload __attribute__((swift_name("verifyPayload(did:masterKeyId:payload:)"))); +@end; + +__attribute__((swift_name("Validated"))) +@interface PAPIValidated<__covariant R, E> : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (PAPIValidated *)flatMapMap:(PAPIValidated *(^)(R _Nullable))map __attribute__((swift_name("flatMap(map:)"))); +- (PAPIValidated *)mapMap:(id _Nullable (^)(R _Nullable))map __attribute__((swift_name("map(map:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)suspendableFlatMapMap:(id)map completionHandler:(void (^)(PAPIValidated * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("suspendableFlatMap(map:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)suspendableMapMap:(id)map completionHandler:(void (^)(PAPIValidated * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("suspendableMap(map:completionHandler:)"))); +- (PAPIKotlinPair *)toTuple __attribute__((swift_name("toTuple()"))); +@property (readonly) E _Nullable error __attribute__((swift_name("error"))); +@property (readonly) R _Nullable result __attribute__((swift_name("result"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ValidatedApplicative"))) +@interface PAPIValidatedApplicative : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)applicative __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIValidatedApplicative *shared __attribute__((swift_name("shared"))); +- (PAPIValidated *)applyValidated1:(PAPIValidated *)validated1 validated2:(PAPIValidated *)validated2 apply:(PAPIValidated *(^)(id _Nullable, id _Nullable))apply __attribute__((swift_name("apply(validated1:validated2:apply:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ValidatedInvalid"))) +@interface PAPIValidatedInvalid<__covariant R, E> : PAPIValidated +- (instancetype)initWithError:(E _Nullable)error __attribute__((swift_name("init(error:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (E _Nullable)component1 __attribute__((swift_name("component1()"))); +- (PAPIValidatedInvalid *)doCopyError:(E _Nullable)error __attribute__((swift_name("doCopy(error:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) E _Nullable error __attribute__((swift_name("error"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ValidatedValid"))) +@interface PAPIValidatedValid<__covariant R, E> : PAPIValidated +- (instancetype)initWithResult:(R _Nullable)result __attribute__((swift_name("init(result:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +- (R _Nullable)component1 __attribute__((swift_name("component1()"))); +- (PAPIValidatedValid *)doCopyResult:(R _Nullable)result __attribute__((swift_name("doCopy(result:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) R _Nullable result __attribute__((swift_name("result"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AuthDetails"))) +@interface PAPIAuthDetails : PAPIBase +- (instancetype)initWithDid:(PAPILongFormPrismDid *)did masterKeyId:(NSString *)masterKeyId privateKey:(PAPIECPrivateKey *)privateKey __attribute__((swift_name("init(did:masterKeyId:privateKey:)"))) __attribute__((objc_designated_initializer)); +- (PAPILongFormPrismDid *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (PAPIECPrivateKey *)component3 __attribute__((swift_name("component3()"))); +- (PAPIAuthDetails *)doCopyDid:(PAPILongFormPrismDid *)did masterKeyId:(NSString *)masterKeyId privateKey:(PAPIECPrivateKey *)privateKey __attribute__((swift_name("doCopy(did:masterKeyId:privateKey:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPILongFormPrismDid *did __attribute__((swift_name("did"))); +@property (readonly) NSString *masterKeyId __attribute__((swift_name("masterKeyId"))); +@property (readonly) PAPIECPrivateKey *privateKey __attribute__((swift_name("privateKey"))); +@end; + +__attribute__((swift_name("ConnectorAuthApi"))) +@protocol PAPIConnectorAuthApi +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)addConnectionFromTokenToken:(NSString *)token publicKey:(PAPIECPublicKey *)publicKey authDetails:(PAPIAuthDetails *)authDetails completionHandler:(void (^)(PAPIConnectorConnectionInfo * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("addConnectionFromToken(token:publicKey:authDetails:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)generateConnectionTokenCount:(int32_t)count authDetails:(PAPIAuthDetails *)authDetails completionHandler:(void (^)(NSArray * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("generateConnectionToken(count:authDetails:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)getConnectionByTokenToken:(NSString *)token authDetails:(PAPIAuthDetails *)authDetails completionHandler:(void (^)(PAPIConnectorConnectionReference * _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("getConnectionByToken(token:authDetails:completionHandler:)"))); +@end; + +__attribute__((swift_name("ConnectorPublicApi"))) +@protocol PAPIConnectorPublicApi +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)getConnectionTokenInfoToken:(NSString *)token completionHandler:(void (^)(PAPIConnectorTokenInfo * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getConnectionTokenInfo(token:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)healthCheckWithCompletionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("healthCheck(completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)registerExistingDidDid:(PAPIPrismDid *)did name:(NSString *)name role:(PAPIRole *)role completionHandler:(void (^)(PAPIAtalaOperationId * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("registerExistingDid(did:name:role:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)registerNewDidPayload:(PAPIPrismPayload *)payload did:(PAPILongFormPrismDid * _Nullable)did masterKeyId:(NSString * _Nullable)masterKeyId name:(NSString *)name role:(PAPIRole *)role completionHandler:(void (^)(PAPIAtalaOperationId * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("registerNewDid(payload:did:masterKeyId:name:role:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ConnectorAuthApiImpl"))) +@interface PAPIConnectorAuthApiImpl : PAPIBase +- (instancetype)initWithOptions:(PAPIGrpcOptions *)options __attribute__((swift_name("init(options:)"))) __attribute__((objc_designated_initializer)); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)addConnectionFromTokenToken:(NSString *)token publicKey:(PAPIECPublicKey *)publicKey authDetails:(PAPIAuthDetails *)authDetails completionHandler:(void (^)(PAPIConnectorConnectionInfo * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("addConnectionFromToken(token:publicKey:authDetails:completionHandler:)"))); +- (void)close __attribute__((swift_name("close()"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)generateConnectionTokenCount:(int32_t)count authDetails:(PAPIAuthDetails *)authDetails completionHandler:(void (^)(NSArray * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("generateConnectionToken(count:authDetails:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)getConnectionByTokenToken:(NSString *)token authDetails:(PAPIAuthDetails *)authDetails completionHandler:(void (^)(PAPIConnectorConnectionReference * _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("getConnectionByToken(token:authDetails:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)getConnectionTokenInfoToken:(NSString *)token completionHandler:(void (^)(PAPIConnectorTokenInfo * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getConnectionTokenInfo(token:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)healthCheckWithCompletionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("healthCheck(completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)registerExistingDidDid:(PAPIPrismDid *)did name:(NSString *)name role:(PAPIRole *)role completionHandler:(void (^)(PAPIAtalaOperationId * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("registerExistingDid(did:name:role:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)registerNewDidPayload:(PAPIPrismPayload *)payload did:(PAPILongFormPrismDid * _Nullable)did masterKeyId:(NSString * _Nullable)masterKeyId name:(NSString *)name role:(PAPIRole *)role completionHandler:(void (^)(PAPIAtalaOperationId * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("registerNewDid(payload:did:masterKeyId:name:role:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ConnectorConnectionInfo"))) +@interface PAPIConnectorConnectionInfo : PAPIBase +- (instancetype)initWithConnectionReference:(PAPIConnectorConnectionReference *)connectionReference created:(PAPITimestamp * _Nullable)created participantInfo:(PAPIConnectorParticipantInfo *)participantInfo __attribute__((swift_name("init(connectionReference:created:participantInfo:)"))) __attribute__((objc_designated_initializer)); +- (PAPIConnectorConnectionReference *)component1 __attribute__((swift_name("component1()"))); +- (PAPITimestamp * _Nullable)component2 __attribute__((swift_name("component2()"))); +- (PAPIConnectorParticipantInfo *)component3 __attribute__((swift_name("component3()"))); +- (PAPIConnectorConnectionInfo *)doCopyConnectionReference:(PAPIConnectorConnectionReference *)connectionReference created:(PAPITimestamp * _Nullable)created participantInfo:(PAPIConnectorParticipantInfo *)participantInfo __attribute__((swift_name("doCopy(connectionReference:created:participantInfo:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIConnectorConnectionReference *connectionReference __attribute__((swift_name("connectionReference"))); +@property (readonly) PAPITimestamp * _Nullable created __attribute__((swift_name("created"))); +@property (readonly) PAPIConnectorParticipantInfo *participantInfo __attribute__((swift_name("participantInfo"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ConnectorConnectionReference"))) +@interface PAPIConnectorConnectionReference : PAPIBase +- (instancetype)initWithId:(NSString *)id token:(NSString *)token __attribute__((swift_name("init(id:token:)"))) __attribute__((objc_designated_initializer)); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (PAPIConnectorConnectionReference *)doCopyId:(NSString *)id token:(NSString *)token __attribute__((swift_name("doCopy(id:token:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSString *id __attribute__((swift_name("id"))); +@property (readonly) NSString *token __attribute__((swift_name("token"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ConnectorParticipantInfo"))) +@interface PAPIConnectorParticipantInfo : PAPIBase +- (instancetype)initWithName:(NSString *)name did:(PAPIPrismDid *)did logo:(PAPIKotlinByteArray *)logo __attribute__((swift_name("init(name:did:logo:)"))) __attribute__((objc_designated_initializer)); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIPrismDid *)component2 __attribute__((swift_name("component2()"))); +- (PAPIKotlinByteArray *)component3 __attribute__((swift_name("component3()"))); +- (PAPIConnectorParticipantInfo *)doCopyName:(NSString *)name did:(PAPIPrismDid *)did logo:(PAPIKotlinByteArray *)logo __attribute__((swift_name("doCopy(name:did:logo:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIPrismDid *did __attribute__((swift_name("did"))); +@property (readonly) PAPIKotlinByteArray *logo __attribute__((swift_name("logo"))); +@property (readonly) NSString *name __attribute__((swift_name("name"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ConnectorPublicApiImpl"))) +@interface PAPIConnectorPublicApiImpl : PAPIBase +- (instancetype)initWithOptions:(PAPIGrpcOptions *)options __attribute__((swift_name("init(options:)"))) __attribute__((objc_designated_initializer)); +- (void)close __attribute__((swift_name("close()"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)getConnectionTokenInfoToken:(NSString *)token completionHandler:(void (^)(PAPIConnectorTokenInfo * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("getConnectionTokenInfo(token:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)healthCheckWithCompletionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("healthCheck(completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)registerExistingDidDid:(PAPIPrismDid *)did name:(NSString *)name role:(PAPIRole *)role completionHandler:(void (^)(PAPIAtalaOperationId * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("registerExistingDid(did:name:role:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)registerNewDidPayload:(PAPIPrismPayload *)payload did:(PAPILongFormPrismDid * _Nullable)did masterKeyId:(NSString * _Nullable)masterKeyId name:(NSString *)name role:(PAPIRole *)role completionHandler:(void (^)(PAPIAtalaOperationId * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("registerNewDid(payload:did:masterKeyId:name:role:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ConnectorTokenInfo"))) +@interface PAPIConnectorTokenInfo : PAPIBase +- (instancetype)initWithCreatorInfo:(PAPIConnectorParticipantInfo *)creatorInfo __attribute__((swift_name("init(creatorInfo:)"))) __attribute__((objc_designated_initializer)); +- (PAPIConnectorParticipantInfo *)component1 __attribute__((swift_name("component1()"))); +- (PAPIConnectorTokenInfo *)doCopyCreatorInfo:(PAPIConnectorParticipantInfo *)creatorInfo __attribute__((swift_name("doCopy(creatorInfo:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIConnectorParticipantInfo *creatorInfo __attribute__((swift_name("creatorInfo"))); +@end; + +__attribute__((swift_name("Role"))) +@interface PAPIRole : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Role.ISSUER"))) +@interface PAPIRoleISSUER : PAPIRole ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)iSSUER __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIRoleISSUER *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Role.UNRECOGNIZED"))) +@interface PAPIRoleUNRECOGNIZED : PAPIRole +- (instancetype)initWithValue:(int32_t)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); +@property (readonly) int32_t value __attribute__((swift_name("value"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Role.VERIFIER"))) +@interface PAPIRoleVERIFIER : PAPIRole ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)vERIFIER __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIRoleVERIFIER *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinArray"))) +@interface PAPIKotlinArray : PAPIBase ++ (instancetype)arrayWithSize:(int32_t)size init:(T _Nullable (^)(PAPIInt *))init __attribute__((swift_name("init(size:init:)"))); ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (T _Nullable)getIndex:(int32_t)index __attribute__((swift_name("get(index:)"))); +- (id)iterator __attribute__((swift_name("iterator()"))); +- (void)setIndex:(int32_t)index value:(T _Nullable)value __attribute__((swift_name("set(index:value:)"))); +@property (readonly) int32_t size __attribute__((swift_name("size"))); +@end; + +@interface PAPIKotlinArray (Extensions) +- (PAPIPrismKeyInformation * _Nullable)findPublicKeyKeyId:(NSString *)keyId __attribute__((swift_name("findPublicKey(keyId:)"))); +- (id)asFlow __attribute__((swift_name("asFlow()"))); +- (void)hexColumsPrintChunk:(int32_t)chunk __attribute__((swift_name("hexColumsPrint(chunk:)"))); +@end; + +@interface PAPILongFormPrismDid (Extensions) +- (PAPIDIDData *)toDidDataProto __attribute__((swift_name("toDidDataProto()"))); +@end; + +@interface PAPICreateDIDOperationDIDCreationData (Extensions) +- (PAPIPrismDidDataModel * _Nullable)toModelDid:(PAPICanonicalPrismDid *)did __attribute__((swift_name("toModel(did:)"))); +- (PAPICreateDIDOperationDIDCreationData *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIPublicKey (Extensions) +- (PAPIPrismKeyInformation * _Nullable)toModel __attribute__((swift_name("toModel()"))); +- (PAPIPublicKey *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIPrismDidDataModel (Extensions) +- (PAPIDIDData *)toProto __attribute__((swift_name("toProto()"))); +@end; + +@interface PAPIPrismKeyInformation (Extensions) +- (PAPIPublicKey *)toProto __attribute__((swift_name("toProto()"))); +@end; + +@interface PAPICompressedECKeyData (Extensions) +- (PAPIECPublicKey *)toModel __attribute__((swift_name("toModel()"))); +- (PAPICompressedECKeyData *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIECPublicKey (Extensions) +- (PAPICompressedECKeyData *)toProto __attribute__((swift_name("toProto()"))); +@end; + +@interface PAPIAddConnectionFromTokenRequest (Extensions) +- (PAPIAddConnectionFromTokenRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIAddConnectionFromTokenResponse (Extensions) +- (PAPIAddConnectionFromTokenResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIAddKeyAction (Extensions) +- (PAPIAddKeyAction *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIArchiveCredentialTypeCategoryRequest (Extensions) +- (PAPIArchiveCredentialTypeCategoryRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIArchiveCredentialTypeCategoryResponse (Extensions) +- (PAPIArchiveCredentialTypeCategoryResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIAtalaBlock (Extensions) +- (PAPIAtalaBlock *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIAtalaErrorMessage (Extensions) +- (PAPIAtalaErrorMessage *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIAtalaMessage (Extensions) +- (PAPIAtalaMessage *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIAtalaObject (Extensions) +- (PAPIAtalaObject *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIAtalaOperation (Extensions) +- (PAPIAtalaOperation *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIBlockInfo (Extensions) +- (PAPIBlockInfo *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICManagerGenericCredential (Extensions) +- (PAPICManagerGenericCredential *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIConnection (Extensions) +- (PAPIConnection *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIConnectionInfo (Extensions) +- (PAPIConnectionInfo *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIConnectionKey (Extensions) +- (PAPIConnectionKey *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIConnectionsStatusRequest (Extensions) +- (PAPIConnectionsStatusRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIConnectionsStatusResponse (Extensions) +- (PAPIConnectionsStatusResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIConnectorPublicKey (Extensions) +- (PAPIConnectorPublicKey *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIConnectorRequestMetadata (Extensions) +- (PAPIConnectorRequestMetadata *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIConsoleUpdateProfileRequest (Extensions) +- (PAPIConsoleUpdateProfileRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIConsoleUpdateProfileResponse (Extensions) +- (PAPIConsoleUpdateProfileResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIContact (Extensions) +- (PAPIContact *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIContactConnection (Extensions) +- (PAPIContactConnection *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICopyGroupRequest (Extensions) +- (PAPICopyGroupRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICopyGroupResponse (Extensions) +- (PAPICopyGroupResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICreateContactRequest (Extensions) +- (PAPICreateContactRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICreateContactResponse (Extensions) +- (PAPICreateContactResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICreateContactsRequestContact (Extensions) +- (PAPICreateContactsRequestContact *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICreateContactsRequest (Extensions) +- (PAPICreateContactsRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICreateContactsResponse (Extensions) +- (PAPICreateContactsResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICreateCredentialIssuanceRequest (Extensions) +- (PAPICreateCredentialIssuanceRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICreateCredentialIssuanceResponse (Extensions) +- (PAPICreateCredentialIssuanceResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICreateCredentialType (Extensions) +- (PAPICreateCredentialType *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICreateCredentialTypeCategory (Extensions) +- (PAPICreateCredentialTypeCategory *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICreateCredentialTypeCategoryRequest (Extensions) +- (PAPICreateCredentialTypeCategoryRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICreateCredentialTypeCategoryResponse (Extensions) +- (PAPICreateCredentialTypeCategoryResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICreateCredentialTypeField (Extensions) +- (PAPICreateCredentialTypeField *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICreateCredentialTypeRequest (Extensions) +- (PAPICreateCredentialTypeRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICreateCredentialTypeResponse (Extensions) +- (PAPICreateCredentialTypeResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICreateDIDOperation (Extensions) +- (PAPICreateDIDOperation *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICreateDIDOutput (Extensions) +- (PAPICreateDIDOutput *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICreateGenericCredentialBulkRequest (Extensions) +- (PAPICreateGenericCredentialBulkRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICreateGenericCredentialBulkResponse (Extensions) +- (PAPICreateGenericCredentialBulkResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICreateGenericCredentialRequest (Extensions) +- (PAPICreateGenericCredentialRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICreateGenericCredentialResponse (Extensions) +- (PAPICreateGenericCredentialResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICreateGroupRequest (Extensions) +- (PAPICreateGroupRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICreateGroupResponse (Extensions) +- (PAPICreateGroupResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICredentialBatchData (Extensions) +- (PAPICredentialBatchData *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICredentialIssuanceContact (Extensions) +- (PAPICredentialIssuanceContact *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICredentialRevoked (Extensions) +- (PAPICredentialRevoked *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICredentialType (Extensions) +- (PAPICredentialType *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICredentialTypeCategory (Extensions) +- (PAPICredentialTypeCategory *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICredentialTypeField (Extensions) +- (PAPICredentialTypeField *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPICredentialTypeWithRequiredFields (Extensions) +- (PAPICredentialTypeWithRequiredFields *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIDIDData (Extensions) +- (PAPIDIDData *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIDate (Extensions) +- (PAPIDate *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIDeleteContactRequest (Extensions) +- (PAPIDeleteContactRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIDeleteContactResponse (Extensions) +- (PAPIDeleteContactResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIDeleteCredentialsRequest (Extensions) +- (PAPIDeleteCredentialsRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIDeleteCredentialsResponse (Extensions) +- (PAPIDeleteCredentialsResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIDeleteGroupRequest (Extensions) +- (PAPIDeleteGroupRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIDeleteGroupResponse (Extensions) +- (PAPIDeleteGroupResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIECKeyData (Extensions) +- (PAPIECKeyData *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIEncodedPublicKey (Extensions) +- (PAPIEncodedPublicKey *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIEncryptedMessage (Extensions) +- (PAPIEncryptedMessage *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGenerateConnectionTokenForContactRequest (Extensions) +- (PAPIGenerateConnectionTokenForContactRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGenerateConnectionTokenForContactResponse (Extensions) +- (PAPIGenerateConnectionTokenForContactResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGenerateConnectionTokenRequest (Extensions) +- (PAPIGenerateConnectionTokenRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGenerateConnectionTokenResponse (Extensions) +- (PAPIGenerateConnectionTokenResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetBatchStateRequest (Extensions) +- (PAPIGetBatchStateRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetBatchStateResponse (Extensions) +- (PAPIGetBatchStateResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetBlockchainDataRequest (Extensions) +- (PAPIGetBlockchainDataRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetBlockchainDataResponse (Extensions) +- (PAPIGetBlockchainDataResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetBuildInfoRequest (Extensions) +- (PAPIGetBuildInfoRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetBuildInfoResponse (Extensions) +- (PAPIGetBuildInfoResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetConnectionByIdRequest (Extensions) +- (PAPIGetConnectionByIdRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetConnectionByIdResponse (Extensions) +- (PAPIGetConnectionByIdResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetConnectionByTokenRequest (Extensions) +- (PAPIGetConnectionByTokenRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetConnectionByTokenResponse (Extensions) +- (PAPIGetConnectionByTokenResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetConnectionCommunicationKeysRequest (Extensions) +- (PAPIGetConnectionCommunicationKeysRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetConnectionCommunicationKeysResponse (Extensions) +- (PAPIGetConnectionCommunicationKeysResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetConnectionTokenInfoRequest (Extensions) +- (PAPIGetConnectionTokenInfoRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetConnectionTokenInfoResponse (Extensions) +- (PAPIGetConnectionTokenInfoResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetConnectionsPaginatedRequest (Extensions) +- (PAPIGetConnectionsPaginatedRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetConnectionsPaginatedResponse (Extensions) +- (PAPIGetConnectionsPaginatedResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetConsoleCurrentUserRequest (Extensions) +- (PAPIGetConsoleCurrentUserRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetConsoleCurrentUserResponse (Extensions) +- (PAPIGetConsoleCurrentUserResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetContactCredentialsRequest (Extensions) +- (PAPIGetContactCredentialsRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetContactCredentialsResponse (Extensions) +- (PAPIGetContactCredentialsResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetContactRequest (Extensions) +- (PAPIGetContactRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetContactResponse (Extensions) +- (PAPIGetContactResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetContactsRequestFilterBy (Extensions) +- (PAPIGetContactsRequestFilterBy *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetContactsRequestSortBy (Extensions) +- (PAPIGetContactsRequestSortBy *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetContactsRequest (Extensions) +- (PAPIGetContactsRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetContactsResponseContactDetails (Extensions) +- (PAPIGetContactsResponseContactDetails *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetContactsResponse (Extensions) +- (PAPIGetContactsResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetCredentialIssuanceRequest (Extensions) +- (PAPIGetCredentialIssuanceRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetCredentialIssuanceResponse (Extensions) +- (PAPIGetCredentialIssuanceResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetCredentialRevocationTimeRequest (Extensions) +- (PAPIGetCredentialRevocationTimeRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetCredentialRevocationTimeResponse (Extensions) +- (PAPIGetCredentialRevocationTimeResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetCredentialTypeCategoriesRequest (Extensions) +- (PAPIGetCredentialTypeCategoriesRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetCredentialTypeCategoriesResponse (Extensions) +- (PAPIGetCredentialTypeCategoriesResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetCredentialTypeRequest (Extensions) +- (PAPIGetCredentialTypeRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetCredentialTypeResponse (Extensions) +- (PAPIGetCredentialTypeResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetCredentialTypesRequest (Extensions) +- (PAPIGetCredentialTypesRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetCredentialTypesResponse (Extensions) +- (PAPIGetCredentialTypesResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetCurrentUserRequest (Extensions) +- (PAPIGetCurrentUserRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetCurrentUserResponse (Extensions) +- (PAPIGetCurrentUserResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetDidDocumentRequest (Extensions) +- (PAPIGetDidDocumentRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetDidDocumentResponse (Extensions) +- (PAPIGetDidDocumentResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetGenericCredentialsRequestFilterBy (Extensions) +- (PAPIGetGenericCredentialsRequestFilterBy *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetGenericCredentialsRequestSortBy (Extensions) +- (PAPIGetGenericCredentialsRequestSortBy *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetGenericCredentialsRequest (Extensions) +- (PAPIGetGenericCredentialsRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetGenericCredentialsResponse (Extensions) +- (PAPIGetGenericCredentialsResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetGroupsRequestFilterBy (Extensions) +- (PAPIGetGroupsRequestFilterBy *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetGroupsRequestSortBy (Extensions) +- (PAPIGetGroupsRequestSortBy *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetGroupsRequest (Extensions) +- (PAPIGetGroupsRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetGroupsResponse (Extensions) +- (PAPIGetGroupsResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetLastSyncedBlockTimestampRequest (Extensions) +- (PAPIGetLastSyncedBlockTimestampRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetLastSyncedBlockTimestampResponse (Extensions) +- (PAPIGetLastSyncedBlockTimestampResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetLatestCredentialExternalIdRequest (Extensions) +- (PAPIGetLatestCredentialExternalIdRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetLatestCredentialExternalIdResponse (Extensions) +- (PAPIGetLatestCredentialExternalIdResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetLedgerDataRequest (Extensions) +- (PAPIGetLedgerDataRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetLedgerDataResponse (Extensions) +- (PAPIGetLedgerDataResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetMessageStreamRequest (Extensions) +- (PAPIGetMessageStreamRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetMessageStreamResponse (Extensions) +- (PAPIGetMessageStreamResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetMessagesForConnectionRequest (Extensions) +- (PAPIGetMessagesForConnectionRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetMessagesForConnectionResponse (Extensions) +- (PAPIGetMessagesForConnectionResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetMessagesPaginatedRequest (Extensions) +- (PAPIGetMessagesPaginatedRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetMessagesPaginatedResponse (Extensions) +- (PAPIGetMessagesPaginatedResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetNodeBuildInfoRequest (Extensions) +- (PAPIGetNodeBuildInfoRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetNodeBuildInfoResponse (Extensions) +- (PAPIGetNodeBuildInfoResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetOperationInfoRequest (Extensions) +- (PAPIGetOperationInfoRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetOperationInfoResponse (Extensions) +- (PAPIGetOperationInfoResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetStatisticsRequest (Extensions) +- (PAPIGetStatisticsRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetStatisticsResponse (Extensions) +- (PAPIGetStatisticsResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetStoredCredentialsForRequest (Extensions) +- (PAPIGetStoredCredentialsForRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGetStoredCredentialsForResponse (Extensions) +- (PAPIGetStoredCredentialsForResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGroup (Extensions) +- (PAPIGroup *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIHealthCheckRequest (Extensions) +- (PAPIHealthCheckRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIHealthCheckResponse (Extensions) +- (PAPIHealthCheckResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIIssueCredentialBatchOperation (Extensions) +- (PAPIIssueCredentialBatchOperation *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIIssueCredentialBatchOutput (Extensions) +- (PAPIIssueCredentialBatchOutput *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPILedgerData_ (Extensions) +- (PAPILedgerData_ *)orDefault __attribute__((swift_name("orDefault()"))); +- (PAPILedgerData *)toModel __attribute__((swift_name("toModel()"))); +@end; + +@interface PAPIMarkAsArchivedCredentialTypeRequest (Extensions) +- (PAPIMarkAsArchivedCredentialTypeRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIMarkAsArchivedCredentialTypeResponse (Extensions) +- (PAPIMarkAsArchivedCredentialTypeResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIMarkAsReadyCredentialTypeRequest (Extensions) +- (PAPIMarkAsReadyCredentialTypeRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIMarkAsReadyCredentialTypeResponse (Extensions) +- (PAPIMarkAsReadyCredentialTypeResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIMessageToSendByConnectionToken (Extensions) +- (PAPIMessageToSendByConnectionToken *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIOperationOutput (Extensions) +- (PAPIOperationOutput *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIPlainTextCredential (Extensions) +- (PAPIPlainTextCredential *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIProofRequest (Extensions) +- (PAPIProofRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIProtocolVersionInfo (Extensions) +- (PAPIProtocolVersionInfo *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIProtocolVersionUpdateOperation (Extensions) +- (PAPIProtocolVersionUpdateOperation *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIProtocolVersionUpdateOutput (Extensions) +- (PAPIProtocolVersionUpdateOutput *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIPublishBatchRequest (Extensions) +- (PAPIPublishBatchRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIPublishBatchResponse (Extensions) +- (PAPIPublishBatchResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIReceivedMessage (Extensions) +- (PAPIReceivedMessage *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIRegisterConsoleDIDRequest (Extensions) +- (PAPIRegisterConsoleDIDRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIRegisterConsoleDIDResponse (Extensions) +- (PAPIRegisterConsoleDIDResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIRegisterDIDRequest (Extensions) +- (PAPIRegisterDIDRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIRegisterDIDResponse (Extensions) +- (PAPIRegisterDIDResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIRemoveKeyAction (Extensions) +- (PAPIRemoveKeyAction *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIRevokeConnectionRequest (Extensions) +- (PAPIRevokeConnectionRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIRevokeConnectionResponse (Extensions) +- (PAPIRevokeConnectionResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIRevokeCredentialsOperation (Extensions) +- (PAPIRevokeCredentialsOperation *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIRevokeCredentialsOutput (Extensions) +- (PAPIRevokeCredentialsOutput *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIRevokePublishedCredentialRequest (Extensions) +- (PAPIRevokePublishedCredentialRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIRevokePublishedCredentialResponse (Extensions) +- (PAPIRevokePublishedCredentialResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIScheduleOperationsRequest (Extensions) +- (PAPIScheduleOperationsRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIScheduleOperationsResponse (Extensions) +- (PAPIScheduleOperationsResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPISendMessageRequest (Extensions) +- (PAPISendMessageRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPISendMessageResponse (Extensions) +- (PAPISendMessageResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPISendMessagesRequest (Extensions) +- (PAPISendMessagesRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPISendMessagesResponse (Extensions) +- (PAPISendMessagesResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIShareCredentialRequest (Extensions) +- (PAPIShareCredentialRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIShareCredentialResponse (Extensions) +- (PAPIShareCredentialResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIShareCredentialsRequest (Extensions) +- (PAPIShareCredentialsRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIShareCredentialsResponse (Extensions) +- (PAPIShareCredentialsResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPISignedAtalaOperation (Extensions) +- (PAPISignedAtalaOperation *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIStatus (Extensions) +- (PAPIStatus *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIStoreCredentialRequest (Extensions) +- (PAPIStoreCredentialRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIStoreCredentialResponse (Extensions) +- (PAPIStoreCredentialResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIStorePublishedCredentialRequest (Extensions) +- (PAPIStorePublishedCredentialRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIStorePublishedCredentialResponse (Extensions) +- (PAPIStorePublishedCredentialResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIStoredSignedCredential (Extensions) +- (PAPIStoredSignedCredential *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPITimeInterval (Extensions) +- (PAPITimeInterval *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPITimestampInfo (Extensions) +- (PAPITimestampInfo *)orDefault __attribute__((swift_name("orDefault()"))); +- (PAPITimestampInfo_ *)toModel __attribute__((swift_name("toModel()"))); +@end; + +@interface PAPITransactionInfo (Extensions) +- (PAPITransactionInfo *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIUnArchiveCredentialTypeCategoryRequest (Extensions) +- (PAPIUnArchiveCredentialTypeCategoryRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIUnArchiveCredentialTypeCategoryResponse (Extensions) +- (PAPIUnArchiveCredentialTypeCategoryResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIUpdateContactRequest (Extensions) +- (PAPIUpdateContactRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIUpdateContactResponse (Extensions) +- (PAPIUpdateContactResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIUpdateCredentialType (Extensions) +- (PAPIUpdateCredentialType *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIUpdateCredentialTypeRequest (Extensions) +- (PAPIUpdateCredentialTypeRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIUpdateCredentialTypeResponse (Extensions) +- (PAPIUpdateCredentialTypeResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIUpdateDIDAction (Extensions) +- (PAPIUpdateDIDAction *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIUpdateDIDOperation (Extensions) +- (PAPIUpdateDIDOperation *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIUpdateDIDOutput (Extensions) +- (PAPIUpdateDIDOutput *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIUpdateGroupRequest (Extensions) +- (PAPIUpdateGroupRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIUpdateGroupResponse (Extensions) +- (PAPIUpdateGroupResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIUpdateProfileRequest (Extensions) +- (PAPIUpdateProfileRequest *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIUpdateProfileResponse (Extensions) +- (PAPIUpdateProfileResponse *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPILedger (Extensions) +- (int32_t)toModel __attribute__((swift_name("toModel()"))); +@end; + +@interface PAPILedgerData (Extensions) +- (PAPILedgerData_ *)toProto __attribute__((swift_name("toProto()"))); +@end; + +@interface PAPITimestampInfo_ (Extensions) +- (PAPITimestampInfo *)toProto __attribute__((swift_name("toProto()"))); +@end; + +@interface PAPIAny (Extensions) +- (PAPIAny *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIApi (Extensions) +- (PAPIApi *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIBoolValue (Extensions) +- (PAPIBoolValue *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIBytesValue (Extensions) +- (PAPIBytesValue *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIDescriptorProtoExtensionRange (Extensions) +- (PAPIDescriptorProtoExtensionRange *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIDescriptorProtoReservedRange (Extensions) +- (PAPIDescriptorProtoReservedRange *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIDescriptorProto (Extensions) +- (PAPIDescriptorProto *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIDoubleValue (Extensions) +- (PAPIDoubleValue *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIDuration (Extensions) +- (PAPIDuration *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIEmpty (Extensions) +- (PAPIEmpty *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIEnum (Extensions) +- (PAPIEnum *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIEnumDescriptorProtoEnumReservedRange (Extensions) +- (PAPIEnumDescriptorProtoEnumReservedRange *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIEnumDescriptorProto (Extensions) +- (PAPIEnumDescriptorProto *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIEnumOptions (Extensions) +- (PAPIEnumOptions *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIEnumValue (Extensions) +- (PAPIEnumValue *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIEnumValueDescriptorProto (Extensions) +- (PAPIEnumValueDescriptorProto *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIEnumValueOptions (Extensions) +- (PAPIEnumValueOptions *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIExtensionRangeOptions (Extensions) +- (PAPIExtensionRangeOptions *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIField (Extensions) +- (PAPIField *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIFieldDescriptorProto (Extensions) +- (PAPIFieldDescriptorProto *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIFieldMask (Extensions) +- (PAPIFieldMask *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIFieldOptions (Extensions) +- (PAPIFieldOptions *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIFileDescriptorProto (Extensions) +- (PAPIFileDescriptorProto *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIFileDescriptorSet (Extensions) +- (PAPIFileDescriptorSet *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIFileOptions (Extensions) +- (PAPIFileOptions *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIFloatValue (Extensions) +- (PAPIFloatValue *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGeneratedCodeInfoAnnotation (Extensions) +- (PAPIGeneratedCodeInfoAnnotation *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIGeneratedCodeInfo (Extensions) +- (PAPIGeneratedCodeInfo *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIInt32Value (Extensions) +- (PAPIInt32Value *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIInt64Value (Extensions) +- (PAPIInt64Value *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIListValue (Extensions) +- (PAPIListValue *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIMessageOptions (Extensions) +- (PAPIMessageOptions *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIMethod (Extensions) +- (PAPIMethod *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIMethodDescriptorProto (Extensions) +- (PAPIMethodDescriptorProto *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIMethodOptions (Extensions) +- (PAPIMethodOptions *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIMixin (Extensions) +- (PAPIMixin *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIOneofDescriptorProto (Extensions) +- (PAPIOneofDescriptorProto *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIOneofOptions (Extensions) +- (PAPIOneofOptions *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIOption (Extensions) +- (PAPIOption *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIServiceDescriptorProto (Extensions) +- (PAPIServiceDescriptorProto *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIServiceOptions (Extensions) +- (PAPIServiceOptions *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPISourceCodeInfoLocation (Extensions) +- (PAPISourceCodeInfoLocation *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPISourceCodeInfo (Extensions) +- (PAPISourceCodeInfo *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPISourceContext (Extensions) +- (PAPISourceContext *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIStringValue (Extensions) +- (PAPIStringValue *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIStructFieldsEntry (Extensions) +- (PAPIStructFieldsEntry *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIStruct (Extensions) +- (PAPIStruct *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPITimestamp (Extensions) +- (PAPITimestamp *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIType (Extensions) +- (PAPIType *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIUInt32Value (Extensions) +- (PAPIUInt32Value *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIUInt64Value (Extensions) +- (PAPIUInt64Value *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIUninterpretedOptionNamePart (Extensions) +- (PAPIUninterpretedOptionNamePart *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIUninterpretedOption (Extensions) +- (PAPIUninterpretedOption *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIValue (Extensions) +- (PAPIValue *)orDefault __attribute__((swift_name("orDefault()"))); +@end; + +@interface PAPIInstant (Extensions) +- (int32_t)daysUntilOther:(PAPIInstant *)other timeZone:(PAPITimeZone *)timeZone __attribute__((swift_name("daysUntil(other:timeZone:)"))); +- (PAPIInstant *)minusValue:(int32_t)value unit:(PAPIDateTimeUnit *)unit timeZone:(PAPITimeZone *)timeZone __attribute__((swift_name("minus(value:unit:timeZone:)"))); +- (PAPIInstant *)minusValue:(int32_t)value unit:(PAPIDateTimeUnitTimeBased *)unit __attribute__((swift_name("minus(value:unit:)"))); +- (PAPIInstant *)minusValue:(int64_t)value unit:(PAPIDateTimeUnit *)unit timeZone_:(PAPITimeZone *)timeZone __attribute__((swift_name("minus(value:unit:timeZone_:)"))); +- (PAPIInstant *)minusValue:(int64_t)value unit_:(PAPIDateTimeUnitTimeBased *)unit __attribute__((swift_name("minus(value:unit_:)"))); +- (PAPIInstant *)minusPeriod:(PAPIDateTimePeriod *)period timeZone:(PAPITimeZone *)timeZone __attribute__((swift_name("minus(period:timeZone:)"))); +- (PAPIInstant *)minusUnit:(PAPIDateTimeUnit *)unit timeZone:(PAPITimeZone *)timeZone __attribute__((swift_name("minus(unit:timeZone:)"))); +- (PAPIInstant *)minusUnit:(PAPIDateTimeUnitTimeBased *)unit __attribute__((swift_name("minus(unit:)"))); +- (int64_t)minusOther:(PAPIInstant *)other unit:(PAPIDateTimeUnit *)unit timeZone:(PAPITimeZone *)timeZone __attribute__((swift_name("minus(other:unit:timeZone:)"))); +- (int64_t)minusOther:(PAPIInstant *)other unit:(PAPIDateTimeUnitTimeBased *)unit __attribute__((swift_name("minus(other:unit:)"))); +- (PAPIDateTimePeriod *)minusOther:(PAPIInstant *)other timeZone:(PAPITimeZone *)timeZone __attribute__((swift_name("minus(other:timeZone:)"))); +- (int32_t)monthsUntilOther:(PAPIInstant *)other timeZone:(PAPITimeZone *)timeZone __attribute__((swift_name("monthsUntil(other:timeZone:)"))); +- (PAPIZoneOffset *)offsetInTimeZone:(PAPITimeZone *)timeZone __attribute__((swift_name("offsetIn(timeZone:)"))); +- (PAPIDateTimePeriod *)periodUntilOther:(PAPIInstant *)other timeZone:(PAPITimeZone *)timeZone __attribute__((swift_name("periodUntil(other:timeZone:)"))); +- (PAPIInstant *)plusValue:(int32_t)value unit:(PAPIDateTimeUnit *)unit timeZone:(PAPITimeZone *)timeZone __attribute__((swift_name("plus(value:unit:timeZone:)"))); +- (PAPIInstant *)plusValue:(int32_t)value unit:(PAPIDateTimeUnitTimeBased *)unit __attribute__((swift_name("plus(value:unit:)"))); +- (PAPIInstant *)plusValue:(int64_t)value unit:(PAPIDateTimeUnit *)unit timeZone_:(PAPITimeZone *)timeZone __attribute__((swift_name("plus(value:unit:timeZone_:)"))); +- (PAPIInstant *)plusValue:(int64_t)value unit_:(PAPIDateTimeUnitTimeBased *)unit __attribute__((swift_name("plus(value:unit_:)"))); +- (PAPIInstant *)plusPeriod:(PAPIDateTimePeriod *)period timeZone:(PAPITimeZone *)timeZone __attribute__((swift_name("plus(period:timeZone:)"))); +- (PAPIInstant *)plusUnit:(PAPIDateTimeUnit *)unit timeZone:(PAPITimeZone *)timeZone __attribute__((swift_name("plus(unit:timeZone:)"))); +- (PAPIInstant *)plusUnit:(PAPIDateTimeUnitTimeBased *)unit __attribute__((swift_name("plus(unit:)"))); +- (PAPILocalDateTime *)toLocalDateTimeTimeZone:(PAPITimeZone *)timeZone __attribute__((swift_name("toLocalDateTime(timeZone:)"))); +- (NSDate *)toNSDate __attribute__((swift_name("toNSDate()"))); +- (int64_t)untilOther:(PAPIInstant *)other unit:(PAPIDateTimeUnit *)unit timeZone:(PAPITimeZone *)timeZone __attribute__((swift_name("until(other:unit:timeZone:)"))); +- (int64_t)untilOther:(PAPIInstant *)other unit:(PAPIDateTimeUnitTimeBased *)unit __attribute__((swift_name("until(other:unit:)"))); +- (int32_t)yearsUntilOther:(PAPIInstant *)other timeZone:(PAPITimeZone *)timeZone __attribute__((swift_name("yearsUntil(other:timeZone:)"))); +@property (readonly) BOOL isDistantFuture __attribute__((swift_name("isDistantFuture"))); +@property (readonly) BOOL isDistantPast __attribute__((swift_name("isDistantPast"))); +@end; + +@interface PAPIDayOfWeek (Extensions) +@property (readonly) int32_t isoDayNumber __attribute__((swift_name("isoDayNumber"))); +@end; + +@interface PAPIMonth (Extensions) +@property (readonly) int32_t number __attribute__((swift_name("number"))); +@end; + +@interface PAPILocalDate (Extensions) +- (PAPIInstant *)atStartOfDayInTimeZone:(PAPITimeZone *)timeZone __attribute__((swift_name("atStartOfDayIn(timeZone:)"))); +- (PAPILocalDateTime *)atTimeHour:(int32_t)hour minute:(int32_t)minute second:(int32_t)second nanosecond:(int32_t)nanosecond __attribute__((swift_name("atTime(hour:minute:second:nanosecond:)"))); +- (int32_t)daysUntilOther:(PAPILocalDate *)other __attribute__((swift_name("daysUntil(other:)"))); +- (PAPILocalDate *)minusValue:(int32_t)value unit:(PAPIDateTimeUnitDateBased *)unit __attribute__((swift_name("minus(value:unit:)"))); +- (PAPILocalDate *)minusValue:(int64_t)value unit_:(PAPIDateTimeUnitDateBased *)unit __attribute__((swift_name("minus(value:unit_:)"))); +- (PAPILocalDate *)minusPeriod:(PAPIDatePeriod *)period __attribute__((swift_name("minus(period:)"))); +- (PAPILocalDate *)minusUnit:(PAPIDateTimeUnitDateBased *)unit __attribute__((swift_name("minus(unit:)"))); +- (PAPIDatePeriod *)minusOther:(PAPILocalDate *)other __attribute__((swift_name("minus(other:)"))); +- (int32_t)monthsUntilOther:(PAPILocalDate *)other __attribute__((swift_name("monthsUntil(other:)"))); +- (PAPIDatePeriod *)periodUntilOther:(PAPILocalDate *)other __attribute__((swift_name("periodUntil(other:)"))); +- (PAPILocalDate *)plusValue:(int32_t)value unit:(PAPIDateTimeUnitDateBased *)unit __attribute__((swift_name("plus(value:unit:)"))); +- (PAPILocalDate *)plusValue:(int64_t)value unit_:(PAPIDateTimeUnitDateBased *)unit __attribute__((swift_name("plus(value:unit_:)"))); +- (PAPILocalDate *)plusPeriod:(PAPIDatePeriod *)period __attribute__((swift_name("plus(period:)"))); +- (PAPILocalDate *)plusUnit:(PAPIDateTimeUnitDateBased *)unit __attribute__((swift_name("plus(unit:)"))); +- (NSDateComponents *)toNSDateComponents __attribute__((swift_name("toNSDateComponents()"))); +- (int32_t)untilOther:(PAPILocalDate *)other unit:(PAPIDateTimeUnitDateBased *)unit __attribute__((swift_name("until(other:unit:)"))); +- (int32_t)yearsUntilOther:(PAPILocalDate *)other __attribute__((swift_name("yearsUntil(other:)"))); +@end; + +@interface PAPITimeZone (Extensions) +- (PAPIZoneOffset *)offsetAtInstant:(PAPIInstant *)instant __attribute__((swift_name("offsetAt(instant:)"))); +- (NSTimeZone *)toNSTimeZone __attribute__((swift_name("toNSTimeZone()"))); +@end; + +@interface PAPIDatePeriod (Extensions) +- (PAPIDatePeriod *)plusOther:(PAPIDatePeriod *)other __attribute__((swift_name("plus(other:)"))); +@end; + +@interface PAPIDateTimePeriod (Extensions) +- (PAPIDateTimePeriod *)plusOther__:(PAPIDateTimePeriod *)other __attribute__((swift_name("plus(other__:)"))); +@end; + +@interface PAPILocalDateTime (Extensions) +- (PAPIInstant *)toInstantTimeZone:(PAPITimeZone *)timeZone __attribute__((swift_name("toInstant(timeZone:)"))); +- (NSDateComponents *)toNSDateComponents __attribute__((swift_name("toNSDateComponents()"))); +@end; + +@interface PAPIUuid (Extensions) +@property (readonly) PAPIKotlinByteArray *bytes __attribute__((swift_name("bytes"))); +@property (readonly) PAPIKotlinByteArray *uuid __attribute__((swift_name("uuid"))) __attribute__((deprecated("Use uuidFrom() instead. This will be removed in the next release."))); +@property (readonly) int32_t variant __attribute__((swift_name("variant"))); +@property (readonly) int32_t version __attribute__((swift_name("version"))); +@end; + +@interface PAPIJsonPrimitive (Extensions) +@property (readonly) BOOL boolean __attribute__((swift_name("boolean"))); +@property (readonly) PAPIBoolean * _Nullable booleanOrNull __attribute__((swift_name("booleanOrNull"))); +@property (readonly) NSString * _Nullable contentOrNull __attribute__((swift_name("contentOrNull"))); +@property (readonly, getter=double) double double_ __attribute__((swift_name("double_"))); +@property (readonly) PAPIDouble * _Nullable doubleOrNull __attribute__((swift_name("doubleOrNull"))); +@property (readonly, getter=float) float float_ __attribute__((swift_name("float_"))); +@property (readonly) PAPIFloat * _Nullable floatOrNull __attribute__((swift_name("floatOrNull"))); +@property (readonly, getter=int) int32_t int_ __attribute__((swift_name("int_"))); +@property (readonly) PAPIInt * _Nullable intOrNull __attribute__((swift_name("intOrNull"))); +@property (readonly, getter=long) int64_t long_ __attribute__((swift_name("long_"))); +@property (readonly) PAPILong * _Nullable longOrNull __attribute__((swift_name("longOrNull"))); +@end; + +@interface PAPIJsonElement (Extensions) +@property (readonly) NSArray *jsonArray __attribute__((swift_name("jsonArray"))); +@property (readonly) PAPIJsonNull *jsonNull __attribute__((swift_name("jsonNull"))); +@property (readonly) NSDictionary *jsonObject __attribute__((swift_name("jsonObject"))); +@property (readonly) PAPIJsonPrimitive *jsonPrimitive __attribute__((swift_name("jsonPrimitive"))); +@end; + +@interface PAPIJsonArrayBuilder (Extensions) +- (BOOL)addValue:(PAPIBoolean * _Nullable)value __attribute__((swift_name("add(value:)"))); +- (BOOL)addValue_:(id _Nullable)value __attribute__((swift_name("add(value_:)"))); +- (BOOL)addValue__:(NSString * _Nullable)value __attribute__((swift_name("add(value__:)"))); +- (BOOL)addJsonArrayBuilderAction:(void (^)(PAPIJsonArrayBuilder *))builderAction __attribute__((swift_name("addJsonArray(builderAction:)"))); +- (BOOL)addJsonObjectBuilderAction:(void (^)(PAPIJsonObjectBuilder *))builderAction __attribute__((swift_name("addJsonObject(builderAction:)"))); +@end; + +@interface PAPIJson (Extensions) +- (id _Nullable)decodeFromJsonElementJson:(PAPIJsonElement *)json __attribute__((swift_name("decodeFromJsonElement(json:)"))); +- (PAPIJsonElement *)encodeToJsonElementValue:(id _Nullable)value __attribute__((swift_name("encodeToJsonElement(value:)"))); +@end; + +@interface PAPIJsonObjectBuilder (Extensions) +- (PAPIJsonElement * _Nullable)putKey:(NSString *)key value:(PAPIBoolean * _Nullable)value __attribute__((swift_name("put(key:value:)"))); +- (PAPIJsonElement * _Nullable)putKey:(NSString *)key value_:(id _Nullable)value __attribute__((swift_name("put(key:value_:)"))); +- (PAPIJsonElement * _Nullable)putKey:(NSString *)key value__:(NSString * _Nullable)value __attribute__((swift_name("put(key:value__:)"))); +- (PAPIJsonElement * _Nullable)putJsonArrayKey:(NSString *)key builderAction:(void (^)(PAPIJsonArrayBuilder *))builderAction __attribute__((swift_name("putJsonArray(key:builderAction:)"))); +- (PAPIJsonElement * _Nullable)putJsonObjectKey:(NSString *)key builderAction:(void (^)(PAPIJsonObjectBuilder *))builderAction __attribute__((swift_name("putJsonObject(key:builderAction:)"))); +@end; + +@interface PAPIByteChannelSequentialBase (Extensions) + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)doCopyToDst:(PAPIByteChannelSequentialBase *)dst limit:(int64_t)limit completionHandler:(void (^)(PAPILong * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("doCopyTo(dst:limit:completionHandler:)"))) __attribute__((unavailable("This is going to become internal. Use ByteReadChannel receiver instead."))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)joinToDst:(PAPIByteChannelSequentialBase *)dst closeOnEnd:(BOOL)closeOnEnd completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("joinTo(dst:closeOnEnd:completionHandler:)"))) __attribute__((unavailable("This is going to become internal. Use ByteReadChannel receiver instead."))); +@end; + +@interface PAPIKotlinThrowable (Extensions) +- (void)printStack __attribute__((swift_name("printStack()"))); +@end; + +@interface PAPIMemory (Extensions) +- (void)doCopyToDestination:(PAPIKotlinByteArray *)destination offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("doCopyTo(destination:offset:length:)"))); +- (void)doCopyToDestination:(PAPIKotlinByteArray *)destination offset:(int32_t)offset length:(int32_t)length destinationOffset__:(int32_t)destinationOffset __attribute__((swift_name("doCopyTo(destination:offset:length:destinationOffset__:)"))); +- (void)doCopyToDestination:(PAPIKotlinByteArray *)destination offset:(int64_t)offset length_:(int32_t)length __attribute__((swift_name("doCopyTo(destination:offset:length_:)"))); +- (void)doCopyToDestination:(PAPIKotlinByteArray *)destination offset:(int64_t)offset length:(int32_t)length destinationOffset___:(int32_t)destinationOffset __attribute__((swift_name("doCopyTo(destination:offset:length:destinationOffset___:)"))); +- (void)doCopyToDestination:(void *)destination offset:(int32_t)offset length:(int32_t)length destinationOffset____:(int32_t)destinationOffset __attribute__((swift_name("doCopyTo(destination:offset:length:destinationOffset____:)"))); +- (void)doCopyToDestination:(void *)destination offset:(int64_t)offset length:(int64_t)length destinationOffset_____:(int64_t)destinationOffset __attribute__((swift_name("doCopyTo(destination:offset:length:destinationOffset_____:)"))); +- (void)fillOffset:(int32_t)offset count:(int32_t)count value:(int8_t)value __attribute__((swift_name("fill(offset:count:value:)"))); +- (void)fillOffset:(int64_t)offset count:(int64_t)count value_:(int8_t)value __attribute__((swift_name("fill(offset:count:value_:)"))); +- (int8_t)getIndex:(int32_t)index __attribute__((swift_name("get(index:)"))); +- (int8_t)getIndex_:(int64_t)index __attribute__((swift_name("get(index_:)"))); +- (void)loadByteArrayOffset:(int32_t)offset destination:(PAPIKotlinByteArray *)destination destinationOffset:(int32_t)destinationOffset count:(int32_t)count __attribute__((swift_name("loadByteArray(offset:destination:destinationOffset:count:)"))); +- (void)loadByteArrayOffset:(int64_t)offset destination:(PAPIKotlinByteArray *)destination destinationOffset:(int32_t)destinationOffset count_:(int32_t)count __attribute__((swift_name("loadByteArray(offset:destination:destinationOffset:count_:)"))); +- (void)loadDoubleArrayOffset:(int32_t)offset destination:(PAPIKotlinDoubleArray *)destination destinationOffset:(int32_t)destinationOffset count:(int32_t)count __attribute__((swift_name("loadDoubleArray(offset:destination:destinationOffset:count:)"))); +- (void)loadDoubleArrayOffset:(int64_t)offset destination:(PAPIKotlinDoubleArray *)destination destinationOffset:(int32_t)destinationOffset count_:(int32_t)count __attribute__((swift_name("loadDoubleArray(offset:destination:destinationOffset:count_:)"))); +- (double)loadDoubleAtOffset:(int32_t)offset __attribute__((swift_name("loadDoubleAt(offset:)"))); +- (double)loadDoubleAtOffset_:(int64_t)offset __attribute__((swift_name("loadDoubleAt(offset_:)"))); +- (void)loadFloatArrayOffset:(int32_t)offset destination:(PAPIKotlinFloatArray *)destination destinationOffset:(int32_t)destinationOffset count:(int32_t)count __attribute__((swift_name("loadFloatArray(offset:destination:destinationOffset:count:)"))); +- (void)loadFloatArrayOffset:(int64_t)offset destination:(PAPIKotlinFloatArray *)destination destinationOffset:(int32_t)destinationOffset count_:(int32_t)count __attribute__((swift_name("loadFloatArray(offset:destination:destinationOffset:count_:)"))); +- (float)loadFloatAtOffset:(int32_t)offset __attribute__((swift_name("loadFloatAt(offset:)"))); +- (float)loadFloatAtOffset_:(int64_t)offset __attribute__((swift_name("loadFloatAt(offset_:)"))); +- (void)loadIntArrayOffset:(int32_t)offset destination:(PAPIKotlinIntArray *)destination destinationOffset:(int32_t)destinationOffset count:(int32_t)count __attribute__((swift_name("loadIntArray(offset:destination:destinationOffset:count:)"))); +- (void)loadIntArrayOffset:(int64_t)offset destination:(PAPIKotlinIntArray *)destination destinationOffset:(int32_t)destinationOffset count_:(int32_t)count __attribute__((swift_name("loadIntArray(offset:destination:destinationOffset:count_:)"))); +- (int32_t)loadIntAtOffset:(int32_t)offset __attribute__((swift_name("loadIntAt(offset:)"))); +- (int32_t)loadIntAtOffset_:(int64_t)offset __attribute__((swift_name("loadIntAt(offset_:)"))); +- (void)loadLongArrayOffset:(int32_t)offset destination:(PAPIKotlinLongArray *)destination destinationOffset:(int32_t)destinationOffset count:(int32_t)count __attribute__((swift_name("loadLongArray(offset:destination:destinationOffset:count:)"))); +- (void)loadLongArrayOffset:(int64_t)offset destination:(PAPIKotlinLongArray *)destination destinationOffset:(int32_t)destinationOffset count_:(int32_t)count __attribute__((swift_name("loadLongArray(offset:destination:destinationOffset:count_:)"))); +- (int64_t)loadLongAtOffset:(int32_t)offset __attribute__((swift_name("loadLongAt(offset:)"))); +- (int64_t)loadLongAtOffset_:(int64_t)offset __attribute__((swift_name("loadLongAt(offset_:)"))); +- (void)loadShortArrayOffset:(int32_t)offset destination:(PAPIKotlinShortArray *)destination destinationOffset:(int32_t)destinationOffset count:(int32_t)count __attribute__((swift_name("loadShortArray(offset:destination:destinationOffset:count:)"))); +- (void)loadShortArrayOffset:(int64_t)offset destination:(PAPIKotlinShortArray *)destination destinationOffset:(int32_t)destinationOffset count_:(int32_t)count __attribute__((swift_name("loadShortArray(offset:destination:destinationOffset:count_:)"))); +- (int16_t)loadShortAtOffset:(int32_t)offset __attribute__((swift_name("loadShortAt(offset:)"))); +- (int16_t)loadShortAtOffset_:(int64_t)offset __attribute__((swift_name("loadShortAt(offset_:)"))); +- (void)loadUByteArrayOffset:(int32_t)offset destination:(id)destination destinationOffset:(int32_t)destinationOffset count:(int32_t)count __attribute__((swift_name("loadUByteArray(offset:destination:destinationOffset:count:)"))); +- (void)loadUByteArrayOffset:(int64_t)offset destination:(id)destination destinationOffset:(int32_t)destinationOffset count_:(int32_t)count __attribute__((swift_name("loadUByteArray(offset:destination:destinationOffset:count_:)"))); +- (void)loadUIntArrayOffset:(int32_t)offset destination:(id)destination destinationOffset:(int32_t)destinationOffset count:(int32_t)count __attribute__((swift_name("loadUIntArray(offset:destination:destinationOffset:count:)"))); +- (void)loadUIntArrayOffset:(int64_t)offset destination:(id)destination destinationOffset:(int32_t)destinationOffset count_:(int32_t)count __attribute__((swift_name("loadUIntArray(offset:destination:destinationOffset:count_:)"))); +- (uint32_t)loadUIntAtOffset:(int32_t)offset __attribute__((swift_name("loadUIntAt(offset:)"))); +- (uint32_t)loadUIntAtOffset_:(int64_t)offset __attribute__((swift_name("loadUIntAt(offset_:)"))); +- (void)loadULongArrayOffset:(int32_t)offset destination:(id)destination destinationOffset:(int32_t)destinationOffset count:(int32_t)count __attribute__((swift_name("loadULongArray(offset:destination:destinationOffset:count:)"))); +- (void)loadULongArrayOffset:(int64_t)offset destination:(id)destination destinationOffset:(int32_t)destinationOffset count_:(int32_t)count __attribute__((swift_name("loadULongArray(offset:destination:destinationOffset:count_:)"))); +- (uint64_t)loadULongAtOffset:(int32_t)offset __attribute__((swift_name("loadULongAt(offset:)"))); +- (uint64_t)loadULongAtOffset_:(int64_t)offset __attribute__((swift_name("loadULongAt(offset_:)"))); +- (void)loadUShortArrayOffset:(int32_t)offset destination:(id)destination destinationOffset:(int32_t)destinationOffset count:(int32_t)count __attribute__((swift_name("loadUShortArray(offset:destination:destinationOffset:count:)"))); +- (void)loadUShortArrayOffset:(int64_t)offset destination:(id)destination destinationOffset:(int32_t)destinationOffset count_:(int32_t)count __attribute__((swift_name("loadUShortArray(offset:destination:destinationOffset:count_:)"))); +- (uint16_t)loadUShortAtOffset:(int32_t)offset __attribute__((swift_name("loadUShortAt(offset:)"))); +- (uint16_t)loadUShortAtOffset_:(int64_t)offset __attribute__((swift_name("loadUShortAt(offset_:)"))); +- (void)setIndex:(int32_t)index value:(int8_t)value __attribute__((swift_name("set(index:value:)"))); +- (void)setIndex:(int64_t)index value_:(int8_t)value __attribute__((swift_name("set(index:value_:)"))); +- (void)storeAtIndex:(int32_t)index value__:(uint8_t)value __attribute__((swift_name("storeAt(index:value__:)"))); +- (void)storeAtIndex:(int64_t)index value___:(uint8_t)value __attribute__((swift_name("storeAt(index:value___:)"))); +- (void)storeByteArrayOffset:(int32_t)offset source:(PAPIKotlinByteArray *)source sourceOffset:(int32_t)sourceOffset count:(int32_t)count __attribute__((swift_name("storeByteArray(offset:source:sourceOffset:count:)"))); +- (void)storeByteArrayOffset:(int64_t)offset source:(PAPIKotlinByteArray *)source sourceOffset:(int32_t)sourceOffset count_:(int32_t)count __attribute__((swift_name("storeByteArray(offset:source:sourceOffset:count_:)"))); +- (void)storeDoubleArrayOffset:(int32_t)offset source:(PAPIKotlinDoubleArray *)source sourceOffset:(int32_t)sourceOffset count:(int32_t)count __attribute__((swift_name("storeDoubleArray(offset:source:sourceOffset:count:)"))); +- (void)storeDoubleArrayOffset:(int64_t)offset source:(PAPIKotlinDoubleArray *)source sourceOffset:(int32_t)sourceOffset count_:(int32_t)count __attribute__((swift_name("storeDoubleArray(offset:source:sourceOffset:count_:)"))); +- (void)storeDoubleAtOffset:(int32_t)offset value:(double)value __attribute__((swift_name("storeDoubleAt(offset:value:)"))); +- (void)storeDoubleAtOffset:(int64_t)offset value_:(double)value __attribute__((swift_name("storeDoubleAt(offset:value_:)"))); +- (void)storeFloatArrayOffset:(int32_t)offset source:(PAPIKotlinFloatArray *)source sourceOffset:(int32_t)sourceOffset count:(int32_t)count __attribute__((swift_name("storeFloatArray(offset:source:sourceOffset:count:)"))); +- (void)storeFloatArrayOffset:(int64_t)offset source:(PAPIKotlinFloatArray *)source sourceOffset:(int32_t)sourceOffset count_:(int32_t)count __attribute__((swift_name("storeFloatArray(offset:source:sourceOffset:count_:)"))); +- (void)storeFloatAtOffset:(int32_t)offset value:(float)value __attribute__((swift_name("storeFloatAt(offset:value:)"))); +- (void)storeFloatAtOffset:(int64_t)offset value_:(float)value __attribute__((swift_name("storeFloatAt(offset:value_:)"))); +- (void)storeIntArrayOffset:(int32_t)offset source:(PAPIKotlinIntArray *)source sourceOffset:(int32_t)sourceOffset count:(int32_t)count __attribute__((swift_name("storeIntArray(offset:source:sourceOffset:count:)"))); +- (void)storeIntArrayOffset:(int64_t)offset source:(PAPIKotlinIntArray *)source sourceOffset:(int32_t)sourceOffset count_:(int32_t)count __attribute__((swift_name("storeIntArray(offset:source:sourceOffset:count_:)"))); +- (void)storeIntAtOffset:(int32_t)offset value:(int32_t)value __attribute__((swift_name("storeIntAt(offset:value:)"))); +- (void)storeIntAtOffset:(int64_t)offset value_:(int32_t)value __attribute__((swift_name("storeIntAt(offset:value_:)"))); +- (void)storeLongArrayOffset:(int32_t)offset source:(PAPIKotlinLongArray *)source sourceOffset:(int32_t)sourceOffset count:(int32_t)count __attribute__((swift_name("storeLongArray(offset:source:sourceOffset:count:)"))); +- (void)storeLongArrayOffset:(int64_t)offset source:(PAPIKotlinLongArray *)source sourceOffset:(int32_t)sourceOffset count_:(int32_t)count __attribute__((swift_name("storeLongArray(offset:source:sourceOffset:count_:)"))); +- (void)storeLongAtOffset:(int32_t)offset value:(int64_t)value __attribute__((swift_name("storeLongAt(offset:value:)"))); +- (void)storeLongAtOffset:(int64_t)offset value_:(int64_t)value __attribute__((swift_name("storeLongAt(offset:value_:)"))); +- (void)storeShortArrayOffset:(int32_t)offset source:(PAPIKotlinShortArray *)source sourceOffset:(int32_t)sourceOffset count:(int32_t)count __attribute__((swift_name("storeShortArray(offset:source:sourceOffset:count:)"))); +- (void)storeShortArrayOffset:(int64_t)offset source:(PAPIKotlinShortArray *)source sourceOffset:(int32_t)sourceOffset count_:(int32_t)count __attribute__((swift_name("storeShortArray(offset:source:sourceOffset:count_:)"))); +- (void)storeShortAtOffset:(int32_t)offset value:(int16_t)value __attribute__((swift_name("storeShortAt(offset:value:)"))); +- (void)storeShortAtOffset:(int64_t)offset value_:(int16_t)value __attribute__((swift_name("storeShortAt(offset:value_:)"))); +- (void)storeUByteArrayOffset:(int32_t)offset source:(id)source sourceOffset:(int32_t)sourceOffset count:(int32_t)count __attribute__((swift_name("storeUByteArray(offset:source:sourceOffset:count:)"))); +- (void)storeUByteArrayOffset:(int64_t)offset source:(id)source sourceOffset:(int32_t)sourceOffset count_:(int32_t)count __attribute__((swift_name("storeUByteArray(offset:source:sourceOffset:count_:)"))); +- (void)storeUIntArrayOffset:(int32_t)offset source:(id)source sourceOffset:(int32_t)sourceOffset count:(int32_t)count __attribute__((swift_name("storeUIntArray(offset:source:sourceOffset:count:)"))); +- (void)storeUIntArrayOffset:(int64_t)offset source:(id)source sourceOffset:(int32_t)sourceOffset count_:(int32_t)count __attribute__((swift_name("storeUIntArray(offset:source:sourceOffset:count_:)"))); +- (void)storeUIntAtOffset:(int32_t)offset value:(uint32_t)value __attribute__((swift_name("storeUIntAt(offset:value:)"))); +- (void)storeUIntAtOffset:(int64_t)offset value_:(uint32_t)value __attribute__((swift_name("storeUIntAt(offset:value_:)"))); +- (void)storeULongArrayOffset:(int32_t)offset source:(id)source sourceOffset:(int32_t)sourceOffset count:(int32_t)count __attribute__((swift_name("storeULongArray(offset:source:sourceOffset:count:)"))); +- (void)storeULongArrayOffset:(int64_t)offset source:(id)source sourceOffset:(int32_t)sourceOffset count_:(int32_t)count __attribute__((swift_name("storeULongArray(offset:source:sourceOffset:count_:)"))); +- (void)storeULongAtOffset:(int32_t)offset value:(uint64_t)value __attribute__((swift_name("storeULongAt(offset:value:)"))); +- (void)storeULongAtOffset:(int64_t)offset value_:(uint64_t)value __attribute__((swift_name("storeULongAt(offset:value_:)"))); +- (void)storeUShortArrayOffset:(int32_t)offset source:(id)source sourceOffset:(int32_t)sourceOffset count:(int32_t)count __attribute__((swift_name("storeUShortArray(offset:source:sourceOffset:count:)"))); +- (void)storeUShortArrayOffset:(int64_t)offset source:(id)source sourceOffset:(int32_t)sourceOffset count_:(int32_t)count __attribute__((swift_name("storeUShortArray(offset:source:sourceOffset:count_:)"))); +- (void)storeUShortAtOffset:(int32_t)offset value:(uint16_t)value __attribute__((swift_name("storeUShortAt(offset:value:)"))); +- (void)storeUShortAtOffset:(int64_t)offset value_:(uint16_t)value __attribute__((swift_name("storeUShortAt(offset:value_:)"))); +@end; + +@interface PAPIMemoryCompanion (Extensions) +- (PAPIMemory *)ofPointer:(void *)pointer size:(int32_t)size __attribute__((swift_name("of(pointer:size:)"))); +- (PAPIMemory *)ofPointer:(void *)pointer size_:(int64_t)size __attribute__((swift_name("of(pointer:size_:)"))); +- (PAPIMemory *)ofPointer:(void *)pointer size__:(uint64_t)size __attribute__((swift_name("of(pointer:size__:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinByteArray"))) +@interface PAPIKotlinByteArray : PAPIBase ++ (instancetype)arrayWithSize:(int32_t)size __attribute__((swift_name("init(size:)"))); ++ (instancetype)arrayWithSize:(int32_t)size init:(PAPIByte *(^)(PAPIInt *))init __attribute__((swift_name("init(size:init:)"))); ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (int8_t)getIndex:(int32_t)index __attribute__((swift_name("get(index:)"))); +- (PAPIKotlinByteIterator *)iterator __attribute__((swift_name("iterator()"))); +- (void)setIndex:(int32_t)index value:(int8_t)value __attribute__((swift_name("set(index:value:)"))); +@property (readonly) int32_t size __attribute__((swift_name("size"))); +@end; + +@interface PAPIKotlinByteArray (Extensions) +- (id _Nullable)useMemoryOffset:(int32_t)offset length:(int32_t)length block:(id _Nullable (^)(PAPIMemory *))block __attribute__((swift_name("useMemory(offset:length:block:)"))); +- (id)hashAlgo:(PAPIHasherFactory *)algo __attribute__((swift_name("hash(algo:)"))); +- (id)md4 __attribute__((swift_name("md4()"))); +- (id)md5 __attribute__((swift_name("md5()"))); +- (id)sha1 __attribute__((swift_name("sha1()"))); +- (id)sha256 __attribute__((swift_name("sha256()"))); +- (NSString *)toBase64Url:(BOOL)url doPadding:(BOOL)doPadding __attribute__((swift_name("toBase64(url:doPadding:)"))); +- (PAPIByteVector *)byteVector __attribute__((swift_name("byteVector()"))); +- (PAPIByteVector32 *)byteVector32 __attribute__((swift_name("byteVector32()"))); +- (PAPIByteVector64 *)byteVector64 __attribute__((swift_name("byteVector64()"))); +@property (readonly) NSString *ascii __attribute__((swift_name("ascii"))); +@property (readonly) NSString *base64 __attribute__((swift_name("base64"))); +@property (readonly) NSString *base64Url __attribute__((swift_name("base64Url"))); +@property (readonly) NSString *hex __attribute__((swift_name("hex"))); +@property (readonly) NSString *hexLower __attribute__((swift_name("hexLower"))); +@property (readonly) NSString *hexUpper __attribute__((swift_name("hexUpper"))); +@end; + +@interface PAPIBuffer (Extensions) +- (PAPIBuffer *)appendC:(unichar)c __attribute__((swift_name("append(c:)"))) __attribute__((deprecated("This is no longer supported. Use a packet builder to append characters instead."))); +- (PAPIBuffer *)appendCsq:(PAPIKotlinCharArray *)csq start:(int32_t)start end_:(int32_t)end __attribute__((swift_name("append(csq:start:end_:)"))) __attribute__((deprecated("This is no longer supported. Use a packet builder to append characters instead."))); +- (PAPIBuffer *)appendCsq:(id _Nullable)csq __attribute__((swift_name("append(csq:)"))) __attribute__((deprecated("This is no longer supported. Use a packet builder to append characters instead."))); +- (PAPIBuffer *)appendCsq:(id _Nullable)csq start:(int32_t)start end__:(int32_t)end __attribute__((swift_name("append(csq:start:end__:)"))) __attribute__((deprecated("This is no longer supported. Use a packet builder to append characters instead."))); +- (BOOL)canRead __attribute__((swift_name("canRead()"))); +- (BOOL)canWrite __attribute__((swift_name("canWrite()"))); +- (void)fillTimes:(int32_t)times value:(int8_t)value __attribute__((swift_name("fill(times:value:)"))); +- (void)fillTimes:(int32_t)times value_:(uint8_t)value __attribute__((swift_name("fill(times:value_:)"))); +- (void)fillN:(int64_t)n v:(int8_t)v __attribute__((swift_name("fill(n:v:)"))) __attribute__((deprecated("Use fill with n with type Int"))); +- (void)flush_ __attribute__((swift_name("flush_()"))) __attribute__((deprecated("Does nothing."))); +- (void)forEachBlock:(void (^)(PAPIByte *))block __attribute__((swift_name("forEach(block:)"))); +- (PAPIBuffer *)makeView_ __attribute__((swift_name("makeView_()"))) __attribute__((deprecated("Use duplicate instead"))); +- (void)pushBackN:(int32_t)n __attribute__((swift_name("pushBack(n:)"))) __attribute__((deprecated("Use rewind instead"))); +- (int32_t)readBlock:(PAPIInt *(^)(PAPIMemory *, PAPIInt *, PAPIInt *))block __attribute__((swift_name("read(block:)"))); +- (int32_t)readAvailableDst:(PAPIBuffer *)dst length:(int32_t)length __attribute__((swift_name("readAvailable(dst:length:)"))); +- (int32_t)readAvailableDestination:(PAPIKotlinByteArray *)destination offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("readAvailable(destination:offset:length:)"))); +- (int32_t)readAvailableDestination:(PAPIKotlinDoubleArray *)destination offset:(int32_t)offset length_:(int32_t)length __attribute__((swift_name("readAvailable(destination:offset:length_:)"))); +- (int32_t)readAvailableDestination:(PAPIKotlinFloatArray *)destination offset:(int32_t)offset length__:(int32_t)length __attribute__((swift_name("readAvailable(destination:offset:length__:)"))); +- (int32_t)readAvailableDestination:(PAPIKotlinIntArray *)destination offset:(int32_t)offset length___:(int32_t)length __attribute__((swift_name("readAvailable(destination:offset:length___:)"))); +- (int32_t)readAvailableDestination:(PAPIKotlinLongArray *)destination offset:(int32_t)offset length____:(int32_t)length __attribute__((swift_name("readAvailable(destination:offset:length____:)"))); +- (int32_t)readAvailableDestination:(PAPIKotlinShortArray *)destination offset:(int32_t)offset length_____:(int32_t)length __attribute__((swift_name("readAvailable(destination:offset:length_____:)"))); +- (int32_t)readAvailableDestination:(id)destination offset:(int32_t)offset length______:(int32_t)length __attribute__((swift_name("readAvailable(destination:offset:length______:)"))); +- (int32_t)readAvailableDestination:(id)destination offset:(int32_t)offset length_______:(int32_t)length __attribute__((swift_name("readAvailable(destination:offset:length_______:)"))); +- (int32_t)readAvailableDestination:(id)destination offset:(int32_t)offset length________:(int32_t)length __attribute__((swift_name("readAvailable(destination:offset:length________:)"))); +- (int32_t)readAvailableDestination:(id)destination offset:(int32_t)offset length_________:(int32_t)length __attribute__((swift_name("readAvailable(destination:offset:length_________:)"))); +- (int32_t)readAvailablePointer:(void *)pointer offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("readAvailable(pointer:offset:length:)"))); +- (int32_t)readAvailablePointer:(void *)pointer offset:(int64_t)offset length_:(int32_t)length __attribute__((swift_name("readAvailable(pointer:offset:length_:)"))); +- (int32_t)readAvailableLittleEndianDst:(PAPIKotlinDoubleArray *)dst offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("readAvailableLittleEndian(dst:offset:length:)"))); +- (int32_t)readAvailableLittleEndianDst:(PAPIKotlinFloatArray *)dst offset:(int32_t)offset length_:(int32_t)length __attribute__((swift_name("readAvailableLittleEndian(dst:offset:length_:)"))); +- (int32_t)readAvailableLittleEndianDst:(PAPIKotlinIntArray *)dst offset:(int32_t)offset length__:(int32_t)length __attribute__((swift_name("readAvailableLittleEndian(dst:offset:length__:)"))); +- (int32_t)readAvailableLittleEndianDst:(PAPIKotlinLongArray *)dst offset:(int32_t)offset length___:(int32_t)length __attribute__((swift_name("readAvailableLittleEndian(dst:offset:length___:)"))); +- (int32_t)readAvailableLittleEndianDst:(PAPIKotlinShortArray *)dst offset:(int32_t)offset length____:(int32_t)length __attribute__((swift_name("readAvailableLittleEndian(dst:offset:length____:)"))); +- (int32_t)readAvailableLittleEndianDst:(id)dst offset:(int32_t)offset length_____:(int32_t)length __attribute__((swift_name("readAvailableLittleEndian(dst:offset:length_____:)"))); +- (int32_t)readAvailableLittleEndianDst:(id)dst offset:(int32_t)offset length______:(int32_t)length __attribute__((swift_name("readAvailableLittleEndian(dst:offset:length______:)"))); +- (int32_t)readAvailableLittleEndianDst:(id)dst offset:(int32_t)offset length_______:(int32_t)length __attribute__((swift_name("readAvailableLittleEndian(dst:offset:length_______:)"))); +- (PAPIKotlinByteArray *)readBytesCount:(int32_t)count __attribute__((swift_name("readBytes(count:)"))); +- (int32_t)readDirectBlock_:(PAPIInt *(^)(id))block __attribute__((swift_name("readDirect(block_:)"))); +- (double)readDouble __attribute__((swift_name("readDouble()"))); +- (double)readDoubleLittleEndian __attribute__((swift_name("readDoubleLittleEndian()"))); +- (float)readFloat __attribute__((swift_name("readFloat()"))); +- (float)readFloatLittleEndian __attribute__((swift_name("readFloatLittleEndian()"))); +- (int32_t)readFullyDst:(PAPIBuffer *)dst length:(int32_t)length __attribute__((swift_name("readFully(dst:length:)"))); +- (void)readFullyDst:(PAPIKotlinArray *)dst offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("readFully(dst:offset:length:)"))); +- (void)readFullyDestination:(PAPIKotlinByteArray *)destination offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("readFully(destination:offset:length:)"))); +- (void)readFullyDestination:(PAPIKotlinDoubleArray *)destination offset:(int32_t)offset length_:(int32_t)length __attribute__((swift_name("readFully(destination:offset:length_:)"))); +- (void)readFullyDestination:(PAPIKotlinFloatArray *)destination offset:(int32_t)offset length__:(int32_t)length __attribute__((swift_name("readFully(destination:offset:length__:)"))); +- (void)readFullyDestination:(PAPIKotlinIntArray *)destination offset:(int32_t)offset length___:(int32_t)length __attribute__((swift_name("readFully(destination:offset:length___:)"))); +- (void)readFullyDestination:(PAPIKotlinLongArray *)destination offset:(int32_t)offset length____:(int32_t)length __attribute__((swift_name("readFully(destination:offset:length____:)"))); +- (void)readFullyDestination:(PAPIKotlinShortArray *)destination offset:(int32_t)offset length_____:(int32_t)length __attribute__((swift_name("readFully(destination:offset:length_____:)"))); +- (void)readFullyDestination:(id)destination offset:(int32_t)offset length______:(int32_t)length __attribute__((swift_name("readFully(destination:offset:length______:)"))); +- (void)readFullyDestination:(id)destination offset:(int32_t)offset length_______:(int32_t)length __attribute__((swift_name("readFully(destination:offset:length_______:)"))); +- (void)readFullyDestination:(id)destination offset:(int32_t)offset length________:(int32_t)length __attribute__((swift_name("readFully(destination:offset:length________:)"))); +- (void)readFullyDestination:(id)destination offset:(int32_t)offset length_________:(int32_t)length __attribute__((swift_name("readFully(destination:offset:length_________:)"))); +- (void)readFullyPointer:(void *)pointer offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("readFully(pointer:offset:length:)"))); +- (void)readFullyPointer:(void *)pointer offset:(int64_t)offset length_:(int32_t)length __attribute__((swift_name("readFully(pointer:offset:length_:)"))); +- (void)readFullyLittleEndianDst:(PAPIKotlinDoubleArray *)dst offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("readFullyLittleEndian(dst:offset:length:)"))); +- (void)readFullyLittleEndianDst:(PAPIKotlinFloatArray *)dst offset:(int32_t)offset length_:(int32_t)length __attribute__((swift_name("readFullyLittleEndian(dst:offset:length_:)"))); +- (void)readFullyLittleEndianDst:(PAPIKotlinIntArray *)dst offset:(int32_t)offset length__:(int32_t)length __attribute__((swift_name("readFullyLittleEndian(dst:offset:length__:)"))); +- (void)readFullyLittleEndianDst:(PAPIKotlinLongArray *)dst offset:(int32_t)offset length___:(int32_t)length __attribute__((swift_name("readFullyLittleEndian(dst:offset:length___:)"))); +- (void)readFullyLittleEndianDst:(PAPIKotlinShortArray *)dst offset:(int32_t)offset length____:(int32_t)length __attribute__((swift_name("readFullyLittleEndian(dst:offset:length____:)"))); +- (void)readFullyLittleEndianDst:(id)dst offset:(int32_t)offset length_____:(int32_t)length __attribute__((swift_name("readFullyLittleEndian(dst:offset:length_____:)"))); +- (void)readFullyLittleEndianDst:(id)dst offset:(int32_t)offset length______:(int32_t)length __attribute__((swift_name("readFullyLittleEndian(dst:offset:length______:)"))); +- (void)readFullyLittleEndianDst:(id)dst offset:(int32_t)offset length_______:(int32_t)length __attribute__((swift_name("readFullyLittleEndian(dst:offset:length_______:)"))); +- (int32_t)readInt __attribute__((swift_name("readInt()"))); +- (int32_t)readIntLittleEndian __attribute__((swift_name("readIntLittleEndian()"))); +- (int64_t)readLong __attribute__((swift_name("readLong()"))); +- (int64_t)readLongLittleEndian __attribute__((swift_name("readLongLittleEndian()"))); +- (int16_t)readShort __attribute__((swift_name("readShort()"))); +- (int16_t)readShortLittleEndian __attribute__((swift_name("readShortLittleEndian()"))); +- (NSString *)readTextCharset:(PAPICharset *)charset max:(int32_t)max __attribute__((swift_name("readText(charset:max:)"))); +- (int32_t)readTextDecoder:(PAPICharsetDecoder *)decoder out:(id)out lastBuffer:(BOOL)lastBuffer max:(int32_t)max __attribute__((swift_name("readText(decoder:out:lastBuffer:max:)"))) __attribute__((deprecated("This is no longer supported. Read from a packet instead."))); +- (uint8_t)readUByte __attribute__((swift_name("readUByte()"))); +- (uint32_t)readUInt __attribute__((swift_name("readUInt()"))); +- (uint64_t)readULong __attribute__((swift_name("readULong()"))); +- (uint16_t)readUShort __attribute__((swift_name("readUShort()"))); +- (int32_t)tryPeek_ __attribute__((swift_name("tryPeek_()"))) __attribute__((deprecated("Use tryPeekByte instead"))); +- (int32_t)writeBlock:(PAPIInt *(^)(PAPIMemory *, PAPIInt *, PAPIInt *))block __attribute__((swift_name("write(block:)"))); +- (int32_t)writeDirectBlock_:(PAPIInt *(^)(id))block __attribute__((swift_name("writeDirect(block_:)"))); +- (void)writeDoubleValue:(double)value __attribute__((swift_name("writeDouble(value:)"))); +- (void)writeDoubleLittleEndianValue:(double)value __attribute__((swift_name("writeDoubleLittleEndian(value:)"))); +- (void)writeFloatValue:(float)value __attribute__((swift_name("writeFloat(value:)"))); +- (void)writeFloatLittleEndianValue:(float)value __attribute__((swift_name("writeFloatLittleEndian(value:)"))); +- (void)writeFullySrc:(PAPIBuffer *)src __attribute__((swift_name("writeFully(src:)"))); +- (void)writeFullySrc:(PAPIBuffer *)src length:(int32_t)length __attribute__((swift_name("writeFully(src:length:)"))); +- (void)writeFullySource:(PAPIKotlinByteArray *)source offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("writeFully(source:offset:length:)"))); +- (void)writeFullySource:(PAPIKotlinDoubleArray *)source offset:(int32_t)offset length_:(int32_t)length __attribute__((swift_name("writeFully(source:offset:length_:)"))); +- (void)writeFullySource:(PAPIKotlinFloatArray *)source offset:(int32_t)offset length__:(int32_t)length __attribute__((swift_name("writeFully(source:offset:length__:)"))); +- (void)writeFullySource:(PAPIKotlinIntArray *)source offset:(int32_t)offset length___:(int32_t)length __attribute__((swift_name("writeFully(source:offset:length___:)"))); +- (void)writeFullySource:(PAPIKotlinLongArray *)source offset:(int32_t)offset length____:(int32_t)length __attribute__((swift_name("writeFully(source:offset:length____:)"))); +- (void)writeFullySource:(PAPIKotlinShortArray *)source offset:(int32_t)offset length_____:(int32_t)length __attribute__((swift_name("writeFully(source:offset:length_____:)"))); +- (void)writeFullySource:(id)source offset:(int32_t)offset length______:(int32_t)length __attribute__((swift_name("writeFully(source:offset:length______:)"))); +- (void)writeFullySource:(id)source offset:(int32_t)offset length_______:(int32_t)length __attribute__((swift_name("writeFully(source:offset:length_______:)"))); +- (void)writeFullySource:(id)source offset:(int32_t)offset length________:(int32_t)length __attribute__((swift_name("writeFully(source:offset:length________:)"))); +- (void)writeFullySource:(id)source offset:(int32_t)offset length_________:(int32_t)length __attribute__((swift_name("writeFully(source:offset:length_________:)"))); +- (void)writeFullyPointer:(void *)pointer offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("writeFully(pointer:offset:length:)"))); +- (void)writeFullyPointer:(void *)pointer offset:(int64_t)offset length_:(int32_t)length __attribute__((swift_name("writeFully(pointer:offset:length_:)"))); +- (void)writeFullyLittleEndianSource:(PAPIKotlinDoubleArray *)source offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("writeFullyLittleEndian(source:offset:length:)"))); +- (void)writeFullyLittleEndianSource:(PAPIKotlinFloatArray *)source offset:(int32_t)offset length_:(int32_t)length __attribute__((swift_name("writeFullyLittleEndian(source:offset:length_:)"))); +- (void)writeFullyLittleEndianSource:(PAPIKotlinIntArray *)source offset:(int32_t)offset length__:(int32_t)length __attribute__((swift_name("writeFullyLittleEndian(source:offset:length__:)"))); +- (void)writeFullyLittleEndianSource:(PAPIKotlinLongArray *)source offset:(int32_t)offset length___:(int32_t)length __attribute__((swift_name("writeFullyLittleEndian(source:offset:length___:)"))); +- (void)writeFullyLittleEndianSource:(PAPIKotlinShortArray *)source offset:(int32_t)offset length____:(int32_t)length __attribute__((swift_name("writeFullyLittleEndian(source:offset:length____:)"))); +- (void)writeFullyLittleEndianSource:(id)source offset:(int32_t)offset length_____:(int32_t)length __attribute__((swift_name("writeFullyLittleEndian(source:offset:length_____:)"))); +- (void)writeFullyLittleEndianSource:(id)source offset:(int32_t)offset length______:(int32_t)length __attribute__((swift_name("writeFullyLittleEndian(source:offset:length______:)"))); +- (void)writeFullyLittleEndianSource:(id)source offset:(int32_t)offset length_______:(int32_t)length __attribute__((swift_name("writeFullyLittleEndian(source:offset:length_______:)"))); +- (void)writeIntValue:(int32_t)value __attribute__((swift_name("writeInt(value:)"))); +- (void)writeIntLittleEndianValue:(int32_t)value __attribute__((swift_name("writeIntLittleEndian(value:)"))); +- (void)writeLongValue:(int64_t)value __attribute__((swift_name("writeLong(value:)"))); +- (void)writeLongLittleEndianValue:(int64_t)value __attribute__((swift_name("writeLongLittleEndian(value:)"))); +- (void)writeShortValue:(int16_t)value __attribute__((swift_name("writeShort(value:)"))); +- (void)writeShortLittleEndianValue:(int16_t)value __attribute__((swift_name("writeShortLittleEndian(value:)"))); +- (void)writeUByteValue:(uint8_t)value __attribute__((swift_name("writeUByte(value:)"))); +- (void)writeUIntValue:(uint32_t)value __attribute__((swift_name("writeUInt(value:)"))); +- (void)writeULongValue:(uint64_t)value __attribute__((swift_name("writeULong(value:)"))); +- (void)writeUShortValue:(uint16_t)value __attribute__((swift_name("writeUShort(value:)"))); +- (int32_t)decodeUTF8Consumer:(PAPIBoolean *(^)(id))consumer __attribute__((swift_name("decodeUTF8(consumer:)"))); +@property PAPIByteOrder *byteOrder_ __attribute__((swift_name("byteOrder_"))) __attribute__((unavailable("This is no longer supported. All operations are big endian by default. Use readXXXLittleEndian to read primitives in little endian"))); +@end; + +@interface PAPIByteReadPacket (Extensions) +- (int32_t)readAvailableDst:(void *)dst limit:(int32_t)limit __attribute__((swift_name("readAvailable(dst:limit:)"))); +- (int64_t)readAvailableDst:(void *)dst limit_:(int64_t)limit __attribute__((swift_name("readAvailable(dst:limit_:)"))); +- (PAPIKotlinByteArray *)readBytesN:(int32_t)n __attribute__((swift_name("readBytes(n:)"))); +- (int32_t)readFullyDst:(void *)dst size:(int32_t)size __attribute__((swift_name("readFully(dst:size:)"))); +- (int64_t)readFullyDst:(void *)dst size_:(int64_t)size __attribute__((swift_name("readFully(dst:size_:)"))); +- (NSString * _Nullable)readUTF8LineEstimate:(int32_t)estimate limit:(int32_t)limit __attribute__((swift_name("readUTF8Line(estimate:limit:)"))); +- (void)_unsafeAppend_Builder:(PAPIBytePacketBuilder *)builder __attribute__((swift_name("_unsafeAppend_(builder:)"))); +@property (readonly) BOOL isEmpty __attribute__((swift_name("isEmpty"))); +@property (readonly) BOOL isNotEmpty __attribute__((swift_name("isNotEmpty"))); +@end; + +@interface PAPIChunkBuffer (Extensions) +- (PAPIChunkBuffer *)makeView__ __attribute__((swift_name("makeView__()"))) __attribute__((deprecated("Use duplicate instead"))); +- (int64_t)remainingAll __attribute__((swift_name("remainingAll()"))); +@end; + +@interface PAPIBytePacketBuilder (Extensions) +- (id _Nullable)previewBlock:(id _Nullable (^)(PAPIByteReadPacket *))block __attribute__((swift_name("preview(block:)"))); +- (void)reset __attribute__((swift_name("reset()"))); +- (void)writeFullySrc:(void *)src size:(int32_t)size __attribute__((swift_name("writeFully(src:size:)"))); +@end; + +@interface PAPIIoBuffer (Extensions) +- (int32_t)readAvailableDestination:(PAPIKotlinByteArray *)destination offset:(int32_t)offset length__________:(int32_t)length __attribute__((swift_name("readAvailable(destination:offset:length__________:)"))) __attribute__((deprecated("IoBuffer is deprecated. Use Memory or Input instead."))); +- (double)readDouble_ __attribute__((swift_name("readDouble_()"))) __attribute__((deprecated("IoBuffer is deprecated. Use Memory or Input instead."))); +- (float)readFloat_ __attribute__((swift_name("readFloat_()"))) __attribute__((deprecated("IoBuffer is deprecated. Use Memory or Input instead."))); +- (void)readFullyDestination:(PAPIKotlinByteArray *)destination offset:(int32_t)offset length__________:(int32_t)length __attribute__((swift_name("readFully(destination:offset:length__________:)"))) __attribute__((deprecated("IoBuffer is deprecated. Use Memory or Input instead."))); +- (int32_t)readInt_ __attribute__((swift_name("readInt_()"))) __attribute__((deprecated("IoBuffer is deprecated. Use Memory or Input instead."))); +- (int64_t)readLong_ __attribute__((swift_name("readLong_()"))) __attribute__((deprecated("IoBuffer is deprecated. Use Memory or Input instead."))); +- (int16_t)readShort_ __attribute__((swift_name("readShort_()"))) __attribute__((deprecated("IoBuffer is deprecated. Use Memory or Input instead."))); +- (uint8_t)readUByte_ __attribute__((swift_name("readUByte_()"))) __attribute__((deprecated("IoBuffer is deprecated. Use Memory or Input instead."))); +- (uint32_t)readUInt_ __attribute__((swift_name("readUInt_()"))) __attribute__((deprecated("IoBuffer is deprecated. Use Memory or Input instead."))); +- (uint64_t)readULong_ __attribute__((swift_name("readULong_()"))) __attribute__((deprecated("IoBuffer is deprecated. Use Memory or Input instead."))); +- (uint16_t)readUShort_ __attribute__((swift_name("readUShort_()"))) __attribute__((deprecated("IoBuffer is deprecated. Use Memory or Input instead."))); +- (void)releasePool__:(id)pool __attribute__((swift_name("release(pool__:)"))); +- (void)writeDoubleValue_:(double)value __attribute__((swift_name("writeDouble(value_:)"))) __attribute__((deprecated("IoBuffer is deprecated. Use Memory or Output instead."))); +- (void)writeFloatValue_:(float)value __attribute__((swift_name("writeFloat(value_:)"))) __attribute__((deprecated("IoBuffer is deprecated. Use Memory or Output instead."))); +- (void)writeFullySource:(PAPIKotlinByteArray *)source offset:(int32_t)offset length__________:(int32_t)length __attribute__((swift_name("writeFully(source:offset:length__________:)"))) __attribute__((deprecated("IoBuffer is deprecated. Use Memory or Output instead."))); +- (void)writeIntValue_:(int32_t)value __attribute__((swift_name("writeInt(value_:)"))) __attribute__((deprecated("IoBuffer is deprecated. Use Memory or Output instead."))); +- (void)writeLongValue_:(int64_t)value __attribute__((swift_name("writeLong(value_:)"))) __attribute__((deprecated("IoBuffer is deprecated. Use Memory or Output instead."))); +- (void)writeShortValue_:(int16_t)value __attribute__((swift_name("writeShort(value_:)"))) __attribute__((deprecated("IoBuffer is deprecated. Use Memory or Output instead."))); +- (void)writeUByteValue_:(uint8_t)value __attribute__((swift_name("writeUByte(value_:)"))) __attribute__((deprecated("IoBuffer is deprecated. Use Memory or Output instead."))); +- (void)writeUIntValue_:(uint32_t)value __attribute__((swift_name("writeUInt(value_:)"))) __attribute__((deprecated("IoBuffer is deprecated. Use Memory or Output instead."))); +- (void)writeULongValue_:(uint64_t)value __attribute__((swift_name("writeULong(value_:)"))) __attribute__((deprecated("IoBuffer is deprecated. Use Memory or Output instead."))); +- (void)writeUShortValue_:(uint16_t)value __attribute__((swift_name("writeUShort(value_:)"))) __attribute__((deprecated("IoBuffer is deprecated. Use Memory or Output instead."))); +@end; + +@interface PAPICharsetDecoder (Extensions) +- (NSString *)decodeInput:(id)input max:(int32_t)max __attribute__((swift_name("decode(input:max:)"))); +- (int32_t)decodeInput:(id)input dst:(id)dst max:(int32_t)max __attribute__((swift_name("decode(input:dst:max:)"))); +- (NSString *)decodeExactBytesInput:(id)input inputLength:(int32_t)inputLength __attribute__((swift_name("decodeExactBytes(input:inputLength:)"))); +@property (readonly) PAPICharset *charset __attribute__((swift_name("charset"))); +@end; + +@interface PAPICharsetEncoder (Extensions) +- (void)encodeInput:(PAPIKotlinCharArray *)input fromIndex:(int32_t)fromIndex toIndex:(int32_t)toIndex dst:(id)dst __attribute__((swift_name("encode(input:fromIndex:toIndex:dst:)"))); +- (PAPIByteReadPacket *)encodeInput:(id)input fromIndex:(int32_t)fromIndex toIndex:(int32_t)toIndex __attribute__((swift_name("encode(input:fromIndex:toIndex:)"))); +- (void)encodeInput:(id)input fromIndex:(int32_t)fromIndex toIndex:(int32_t)toIndex dst_:(id)dst __attribute__((swift_name("encode(input:fromIndex:toIndex:dst_:)"))) __attribute__((deprecated("Use writeText on Output instead."))); +- (PAPIKotlinByteArray *)encodeToByteArrayInput:(id)input fromIndex:(int32_t)fromIndex toIndex:(int32_t)toIndex __attribute__((swift_name("encodeToByteArray(input:fromIndex:toIndex:)"))); +- (PAPIKotlinByteArray *)encodeToByteArrayImplInput:(id)input fromIndex:(int32_t)fromIndex toIndex:(int32_t)toIndex __attribute__((swift_name("encodeToByteArrayImpl(input:fromIndex:toIndex:)"))) __attribute__((deprecated("Internal API. Will be hidden in future releases. Use encodeToByteArray instead."))); +- (PAPIByteReadPacket *)encodeUTF8Input:(PAPIByteReadPacket *)input __attribute__((swift_name("encodeUTF8(input:)"))); +- (void)encodeUTF8Input:(PAPIByteReadPacket *)input dst:(id)dst __attribute__((swift_name("encodeUTF8(input:dst:)"))); +@property (readonly) PAPICharset *charset __attribute__((swift_name("charset"))); +@end; + +@interface PAPICharset (Extensions) +@property (readonly, getter=name) NSString *name_ __attribute__((swift_name("name_"))); +@end; + +@interface PAPISyntaxTree (Extensions) +- (PAPISyntaxTree *)flattenStructureParsers:(NSSet> *)structureParsers __attribute__((swift_name("flatten(structureParsers:)"))); +- (PAPISyntaxTree *)flattenForGrammarGrammar:(PAPIGrammar *)grammar __attribute__((swift_name("flattenForGrammar(grammar:)"))); +@end; + +@interface PAPIGrammar (Extensions) +- (PAPIGrammar *> *)liftToSyntaxTreeGrammarLiftOptions:(PAPILiftToSyntaxTreeOptions *)liftOptions structureParsers:(NSSet> * _Nullable)structureParsers transformer:(id _Nullable)transformer __attribute__((swift_name("liftToSyntaxTreeGrammar(liftOptions:structureParsers:transformer:)"))); +- (id _Nullable)parseToEndInput:(NSString *)input __attribute__((swift_name("parseToEnd(input:)"))); +- (PAPIParseResult *)tryParseToEndInput:(NSString *)input __attribute__((swift_name("tryParseToEnd(input:)"))); +@end; + +@interface PAPITuple10 (Extensions) +@property (readonly) NSArray *components __attribute__((swift_name("components"))); +@end; + +@interface PAPITuple11 (Extensions) +@property (readonly) NSArray *components __attribute__((swift_name("components"))); +@end; + +@interface PAPITuple12 (Extensions) +@property (readonly) NSArray *components __attribute__((swift_name("components"))); +@end; + +@interface PAPITuple13 (Extensions) +@property (readonly) NSArray *components __attribute__((swift_name("components"))); +@end; + +@interface PAPITuple14 (Extensions) +@property (readonly) NSArray *components __attribute__((swift_name("components"))); +@end; + +@interface PAPITuple15 (Extensions) +@property (readonly) NSArray *components __attribute__((swift_name("components"))); +@end; + +@interface PAPITuple16 (Extensions) +@property (readonly) NSArray *components __attribute__((swift_name("components"))); +@end; + +@interface PAPITuple1 (Extensions) +@property (readonly) NSArray *components __attribute__((swift_name("components"))); +@end; + +@interface PAPITuple2 (Extensions) +@property (readonly) NSArray *components __attribute__((swift_name("components"))); +@end; + +@interface PAPITuple3 (Extensions) +@property (readonly) NSArray *components __attribute__((swift_name("components"))); +@end; + +@interface PAPITuple4 (Extensions) +@property (readonly) NSArray *components __attribute__((swift_name("components"))); +@end; + +@interface PAPITuple5 (Extensions) +@property (readonly) NSArray *components __attribute__((swift_name("components"))); +@end; + +@interface PAPITuple6 (Extensions) +@property (readonly) NSArray *components __attribute__((swift_name("components"))); +@end; + +@interface PAPITuple7 (Extensions) +@property (readonly) NSArray *components __attribute__((swift_name("components"))); +@end; + +@interface PAPITuple8 (Extensions) +@property (readonly) NSArray *components __attribute__((swift_name("components"))); +@end; + +@interface PAPITuple9 (Extensions) +@property (readonly) NSArray *components __attribute__((swift_name("components"))); +@end; + +@interface PAPIParseResult (Extensions) +- (PAPIParsed *)toParsedOrThrow __attribute__((swift_name("toParsedOrThrow()"))); +@end; + +@interface PAPIAndCombinator (Extensions) +- (PAPIAndCombinator *> *)andOther:(id)other __attribute__((swift_name("and(other:)"))); +- (PAPIAndCombinator> *)andOther_:(PAPISkipParser *)other __attribute__((swift_name("and(other_:)"))); +- (PAPIAndCombinator *> *)andP11:(id)p11 __attribute__((swift_name("and(p11:)"))); +- (PAPIAndCombinator *> *)andP12:(id)p12 __attribute__((swift_name("and(p12:)"))); +- (PAPIAndCombinator *> *)andP13:(id)p13 __attribute__((swift_name("and(p13:)"))); +- (PAPIAndCombinator *> *)andP14:(id)p14 __attribute__((swift_name("and(p14:)"))); +- (PAPIAndCombinator *> *)andP15:(id)p15 __attribute__((swift_name("and(p15:)"))); +- (PAPIAndCombinator *> *)andP16:(id)p16 __attribute__((swift_name("and(p16:)"))); +- (PAPIAndCombinator *> *)andP3:(id)p3 __attribute__((swift_name("and(p3:)"))); +- (PAPIAndCombinator *> *)andP4:(id)p4 __attribute__((swift_name("and(p4:)"))); +- (PAPIAndCombinator *> *)andP5:(id)p5 __attribute__((swift_name("and(p5:)"))); +- (PAPIAndCombinator *> *)andP6:(id)p6 __attribute__((swift_name("and(p6:)"))); +- (PAPIAndCombinator *> *)andP7:(id)p7 __attribute__((swift_name("and(p7:)"))); +- (PAPIAndCombinator *> *)andP8:(id)p8 __attribute__((swift_name("and(p8:)"))); +- (PAPIAndCombinator *> *)andP9:(id)p9 __attribute__((swift_name("and(p9:)"))); +- (PAPIAndCombinator *> *)andP10:(id)p10 __attribute__((swift_name("and(p10:)"))); +- (PAPIAndCombinator *> *)timesOther:(id)other __attribute__((swift_name("times(other:)"))); +- (PAPIAndCombinator> *)timesOther_:(PAPISkipParser *)other __attribute__((swift_name("times(other_:)"))); +- (PAPIAndCombinator *> *)timesP11:(id)p11 __attribute__((swift_name("times(p11:)"))); +- (PAPIAndCombinator *> *)timesP12:(id)p12 __attribute__((swift_name("times(p12:)"))); +- (PAPIAndCombinator *> *)timesP13:(id)p13 __attribute__((swift_name("times(p13:)"))); +- (PAPIAndCombinator *> *)timesP14:(id)p14 __attribute__((swift_name("times(p14:)"))); +- (PAPIAndCombinator *> *)timesP15:(id)p15 __attribute__((swift_name("times(p15:)"))); +- (PAPIAndCombinator *> *)timesP16:(id)p16 __attribute__((swift_name("times(p16:)"))); +- (PAPIAndCombinator *> *)timesP3:(id)p3 __attribute__((swift_name("times(p3:)"))); +- (PAPIAndCombinator *> *)timesP4:(id)p4 __attribute__((swift_name("times(p4:)"))); +- (PAPIAndCombinator *> *)timesP5:(id)p5 __attribute__((swift_name("times(p5:)"))); +- (PAPIAndCombinator *> *)timesP6:(id)p6 __attribute__((swift_name("times(p6:)"))); +- (PAPIAndCombinator *> *)timesP7:(id)p7 __attribute__((swift_name("times(p7:)"))); +- (PAPIAndCombinator *> *)timesP8:(id)p8 __attribute__((swift_name("times(p8:)"))); +- (PAPIAndCombinator *> *)timesP9:(id)p9 __attribute__((swift_name("times(p9:)"))); +- (PAPIAndCombinator *> *)timesP10:(id)p10 __attribute__((swift_name("times(p10:)"))); +@end; + +@interface PAPISkipParser (Extensions) +- (PAPISkipParser *)andOther:(PAPISkipParser *)other __attribute__((swift_name("and(other:)"))); +- (PAPIAndCombinator *)andOther_:(id)other __attribute__((swift_name("and(other_:)"))); +- (PAPISkipParser *)timesOther:(PAPISkipParser *)other __attribute__((swift_name("times(other:)"))); +- (PAPIAndCombinator *)timesOther_:(id)other __attribute__((swift_name("times(other_:)"))); +@end; + +__attribute__((swift_name("KotlinIntProgression"))) +@interface PAPIKotlinIntProgression : PAPIBase +@property (class, readonly, getter=companion) PAPIKotlinIntProgressionCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (BOOL)isEmpty_ __attribute__((swift_name("isEmpty()"))); +- (PAPIKotlinIntIterator *)iterator __attribute__((swift_name("iterator()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) int32_t first __attribute__((swift_name("first"))); +@property (readonly) int32_t last __attribute__((swift_name("last"))); +@property (readonly) int32_t step __attribute__((swift_name("step"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinIntRange"))) +@interface PAPIKotlinIntRange : PAPIKotlinIntProgression +- (instancetype)initWithStart:(int32_t)start endInclusive:(int32_t)endInclusive __attribute__((swift_name("init(start:endInclusive:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIKotlinIntRangeCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)containsValue:(PAPIInt *)value __attribute__((swift_name("contains(value:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (BOOL)isEmpty_ __attribute__((swift_name("isEmpty()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIInt *endInclusive __attribute__((swift_name("endInclusive"))); +@property (readonly, getter=start_) PAPIInt *start __attribute__((swift_name("start"))); +@end; + +@interface PAPIKotlinIntRange (Extensions) +- (id)timesParser:(id)parser __attribute__((swift_name("times(parser:)"))); +- (id)asFlow __attribute__((swift_name("asFlow()"))); +@end; + +@interface PAPICoroutineDispatcher (Extensions) + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)invokeBlock:(id)block completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("invoke(block:completionHandler:)"))); +@end; + +@interface PAPISharingStartedCompanion (Extensions) +- (id)WhileSubscribedStopTimeout:(int64_t)stopTimeout replayExpiration:(int64_t)replayExpiration __attribute__((swift_name("WhileSubscribed(stopTimeout:replayExpiration:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinIntArray"))) +@interface PAPIKotlinIntArray : PAPIBase ++ (instancetype)arrayWithSize:(int32_t)size __attribute__((swift_name("init(size:)"))); ++ (instancetype)arrayWithSize:(int32_t)size init:(PAPIInt *(^)(PAPIInt *))init __attribute__((swift_name("init(size:init:)"))); ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (int32_t)getIndex:(int32_t)index __attribute__((swift_name("get(index:)"))); +- (PAPIKotlinIntIterator *)iterator __attribute__((swift_name("iterator()"))); +- (void)setIndex:(int32_t)index value:(int32_t)value __attribute__((swift_name("set(index:value:)"))); +@property (readonly) int32_t size __attribute__((swift_name("size"))); +@end; + +@interface PAPIKotlinIntArray (Extensions) +- (id)asFlow __attribute__((swift_name("asFlow()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinLongArray"))) +@interface PAPIKotlinLongArray : PAPIBase ++ (instancetype)arrayWithSize:(int32_t)size __attribute__((swift_name("init(size:)"))); ++ (instancetype)arrayWithSize:(int32_t)size init:(PAPILong *(^)(PAPIInt *))init __attribute__((swift_name("init(size:init:)"))); ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (int64_t)getIndex:(int32_t)index __attribute__((swift_name("get(index:)"))); +- (PAPIKotlinLongIterator *)iterator __attribute__((swift_name("iterator()"))); +- (void)setIndex:(int32_t)index value:(int64_t)value __attribute__((swift_name("set(index:value:)"))); +@property (readonly) int32_t size __attribute__((swift_name("size"))); +@end; + +@interface PAPIKotlinLongArray (Extensions) +- (id)asFlow __attribute__((swift_name("asFlow()"))); +@end; + +__attribute__((swift_name("KotlinLongProgression"))) +@interface PAPIKotlinLongProgression : PAPIBase +@property (class, readonly, getter=companion) PAPIKotlinLongProgressionCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (BOOL)isEmpty_ __attribute__((swift_name("isEmpty()"))); +- (PAPIKotlinLongIterator *)iterator __attribute__((swift_name("iterator()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) int64_t first __attribute__((swift_name("first"))); +@property (readonly) int64_t last __attribute__((swift_name("last"))); +@property (readonly) int64_t step __attribute__((swift_name("step"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinLongRange"))) +@interface PAPIKotlinLongRange : PAPIKotlinLongProgression +- (instancetype)initWithStart:(int64_t)start endInclusive:(int64_t)endInclusive __attribute__((swift_name("init(start:endInclusive:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIKotlinLongRangeCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)containsValue:(PAPILong *)value __attribute__((swift_name("contains(value:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (BOOL)isEmpty_ __attribute__((swift_name("isEmpty()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPILong *endInclusive __attribute__((swift_name("endInclusive"))); +@property (readonly, getter=start_) PAPILong *start __attribute__((swift_name("start"))); +@end; + +@interface PAPIKotlinLongRange (Extensions) +- (id)asFlow __attribute__((swift_name("asFlow()"))); +@end; + +@interface PAPIBigIntegerCompanion (Extensions) +- (PAPIBigInteger *)fromTwosComplementByteArraySource:(PAPIKotlinByteArray *)source __attribute__((swift_name("fromTwosComplementByteArray(source:)"))); +@end; + +@interface PAPIBigInteger (Extensions) +- (PAPIKotlinByteArray *)toTwosComplementByteArray __attribute__((swift_name("toTwosComplementByteArray()"))); +@end; + +@interface PAPIAbstractPolymorphicSerializer (Extensions) +- (id)findPolymorphicSerializerDecoder:(id)decoder klassName:(NSString * _Nullable)klassName __attribute__((swift_name("findPolymorphicSerializer(decoder:klassName:)"))); +- (id)findPolymorphicSerializerEncoder:(id)encoder value:(id)value __attribute__((swift_name("findPolymorphicSerializer(encoder:value:)"))); +@end; + +@interface PAPISerializersModule (Extensions) +- (id)serializer_ __attribute__((swift_name("serializer_()"))); +- (id)serializerType:(id)type __attribute__((swift_name("serializer(type:)"))); +- (id _Nullable)serializerOrNullType:(id)type __attribute__((swift_name("serializerOrNull(type:)"))); +- (PAPISerializersModule *)overwriteWithOther:(PAPISerializersModule *)other __attribute__((swift_name("overwriteWith(other:)"))); +- (PAPISerializersModule *)plusOther__:(PAPISerializersModule *)other __attribute__((swift_name("plus(other__:)"))); +- (id _Nullable)getContextualDescriptorDescriptor:(id)descriptor __attribute__((swift_name("getContextualDescriptor(descriptor:)"))); +- (NSArray> *)getPolymorphicDescriptorsDescriptor:(id)descriptor __attribute__((swift_name("getPolymorphicDescriptors(descriptor:)"))); +@end; + +@interface PAPISerializersModuleBuilder (Extensions) +- (void)contextualSerializer:(id)serializer __attribute__((swift_name("contextual(serializer:)"))); +- (void)polymorphicBaseClass:(id)baseClass baseSerializer:(id _Nullable)baseSerializer builderAction:(void (^)(PAPIPolymorphicModuleBuilder *))builderAction __attribute__((swift_name("polymorphic(baseClass:baseSerializer:builderAction:)"))); +@end; + +@interface PAPIPolymorphicModuleBuilder (Extensions) +- (void)subclassClazz:(id)clazz __attribute__((swift_name("subclass(clazz:)"))); +- (void)subclassSerializer:(id)serializer __attribute__((swift_name("subclass(serializer:)"))); +@end; + +@interface PAPIClassSerialDescriptorBuilder (Extensions) +- (void)elementElementName:(NSString *)elementName annotations:(NSArray> *)annotations isOptional:(BOOL)isOptional __attribute__((swift_name("element(elementName:annotations:isOptional:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinBoolean.Companion"))) +@interface PAPIKotlinBooleanCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKotlinBooleanCompanion *shared __attribute__((swift_name("shared"))); +@end; + +@interface PAPIKotlinBooleanCompanion (Extensions) +- (id)serializer __attribute__((swift_name("serializer()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinByte.Companion"))) +@interface PAPIKotlinByteCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKotlinByteCompanion *shared __attribute__((swift_name("shared"))); +@property (readonly) int8_t MAX_VALUE __attribute__((swift_name("MAX_VALUE"))); +@property (readonly) int8_t MIN_VALUE __attribute__((swift_name("MIN_VALUE"))); +@property (readonly) int32_t SIZE_BITS __attribute__((swift_name("SIZE_BITS"))); +@property (readonly) int32_t SIZE_BYTES __attribute__((swift_name("SIZE_BYTES"))); +@end; + +@interface PAPIKotlinByteCompanion (Extensions) +- (id)serializer __attribute__((swift_name("serializer()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinChar.Companion"))) +@interface PAPIKotlinCharCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKotlinCharCompanion *shared __attribute__((swift_name("shared"))); +@property (readonly) int32_t MAX_CODE_POINT __attribute__((swift_name("MAX_CODE_POINT"))); +@property (readonly) unichar MAX_HIGH_SURROGATE __attribute__((swift_name("MAX_HIGH_SURROGATE"))); +@property (readonly) unichar MAX_LOW_SURROGATE __attribute__((swift_name("MAX_LOW_SURROGATE"))); +@property (readonly) int32_t MAX_RADIX __attribute__((swift_name("MAX_RADIX"))); +@property (readonly) unichar MAX_SURROGATE __attribute__((swift_name("MAX_SURROGATE"))); +@property (readonly) unichar MAX_VALUE __attribute__((swift_name("MAX_VALUE"))); +@property (readonly) int32_t MIN_CODE_POINT __attribute__((swift_name("MIN_CODE_POINT"))); +@property (readonly) unichar MIN_HIGH_SURROGATE __attribute__((swift_name("MIN_HIGH_SURROGATE"))); +@property (readonly) unichar MIN_LOW_SURROGATE __attribute__((swift_name("MIN_LOW_SURROGATE"))); +@property (readonly) int32_t MIN_RADIX __attribute__((swift_name("MIN_RADIX"))); +@property (readonly) int32_t MIN_SUPPLEMENTARY_CODE_POINT __attribute__((swift_name("MIN_SUPPLEMENTARY_CODE_POINT"))); +@property (readonly) unichar MIN_SURROGATE __attribute__((swift_name("MIN_SURROGATE"))); +@property (readonly) unichar MIN_VALUE __attribute__((swift_name("MIN_VALUE"))); +@property (readonly) int32_t SIZE_BITS __attribute__((swift_name("SIZE_BITS"))); +@property (readonly) int32_t SIZE_BYTES __attribute__((swift_name("SIZE_BYTES"))); +@end; + +@interface PAPIKotlinCharCompanion (Extensions) +- (id)serializer __attribute__((swift_name("serializer()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinDouble.Companion"))) +@interface PAPIKotlinDoubleCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKotlinDoubleCompanion *shared __attribute__((swift_name("shared"))); +@property (readonly) double MAX_VALUE __attribute__((swift_name("MAX_VALUE"))); +@property (readonly) double MIN_VALUE __attribute__((swift_name("MIN_VALUE"))); +@property (readonly) double NEGATIVE_INFINITY __attribute__((swift_name("NEGATIVE_INFINITY"))); +@property (readonly) double NaN __attribute__((swift_name("NaN"))); +@property (readonly) double POSITIVE_INFINITY __attribute__((swift_name("POSITIVE_INFINITY"))); +@property (readonly) int32_t SIZE_BITS __attribute__((swift_name("SIZE_BITS"))); +@property (readonly) int32_t SIZE_BYTES __attribute__((swift_name("SIZE_BYTES"))); +@end; + +@interface PAPIKotlinDoubleCompanion (Extensions) +- (id)serializer __attribute__((swift_name("serializer()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinFloat.Companion"))) +@interface PAPIKotlinFloatCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKotlinFloatCompanion *shared __attribute__((swift_name("shared"))); +@property (readonly) float MAX_VALUE __attribute__((swift_name("MAX_VALUE"))); +@property (readonly) float MIN_VALUE __attribute__((swift_name("MIN_VALUE"))); +@property (readonly) float NEGATIVE_INFINITY __attribute__((swift_name("NEGATIVE_INFINITY"))); +@property (readonly) float NaN __attribute__((swift_name("NaN"))); +@property (readonly) float POSITIVE_INFINITY __attribute__((swift_name("POSITIVE_INFINITY"))); +@property (readonly) int32_t SIZE_BITS __attribute__((swift_name("SIZE_BITS"))); +@property (readonly) int32_t SIZE_BYTES __attribute__((swift_name("SIZE_BYTES"))); +@end; + +@interface PAPIKotlinFloatCompanion (Extensions) +- (id)serializer __attribute__((swift_name("serializer()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinInt.Companion"))) +@interface PAPIKotlinIntCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKotlinIntCompanion *shared __attribute__((swift_name("shared"))); +@property (readonly) int32_t MAX_VALUE __attribute__((swift_name("MAX_VALUE"))); +@property (readonly) int32_t MIN_VALUE __attribute__((swift_name("MIN_VALUE"))); +@property (readonly) int32_t SIZE_BITS __attribute__((swift_name("SIZE_BITS"))); +@property (readonly) int32_t SIZE_BYTES __attribute__((swift_name("SIZE_BYTES"))); +@end; + +@interface PAPIKotlinIntCompanion (Extensions) +- (id)serializer __attribute__((swift_name("serializer()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinLong.Companion"))) +@interface PAPIKotlinLongCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKotlinLongCompanion *shared __attribute__((swift_name("shared"))); +@property (readonly) int64_t MAX_VALUE __attribute__((swift_name("MAX_VALUE"))); +@property (readonly) int64_t MIN_VALUE __attribute__((swift_name("MIN_VALUE"))); +@property (readonly) int32_t SIZE_BITS __attribute__((swift_name("SIZE_BITS"))); +@property (readonly) int32_t SIZE_BYTES __attribute__((swift_name("SIZE_BYTES"))); +@end; + +@interface PAPIKotlinLongCompanion (Extensions) +- (id)serializer __attribute__((swift_name("serializer()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinShort.Companion"))) +@interface PAPIKotlinShortCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKotlinShortCompanion *shared __attribute__((swift_name("shared"))); +@property (readonly) int16_t MAX_VALUE __attribute__((swift_name("MAX_VALUE"))); +@property (readonly) int16_t MIN_VALUE __attribute__((swift_name("MIN_VALUE"))); +@property (readonly) int32_t SIZE_BITS __attribute__((swift_name("SIZE_BITS"))); +@property (readonly) int32_t SIZE_BYTES __attribute__((swift_name("SIZE_BYTES"))); +@end; + +@interface PAPIKotlinShortCompanion (Extensions) +- (id)serializer __attribute__((swift_name("serializer()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinString.Companion"))) +@interface PAPIKotlinStringCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKotlinStringCompanion *shared __attribute__((swift_name("shared"))); +@end; + +@interface PAPIKotlinStringCompanion (Extensions) +- (id)serializer __attribute__((swift_name("serializer()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinUByte.Companion"))) +@interface PAPIKotlinUByteCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKotlinUByteCompanion *shared __attribute__((swift_name("shared"))); +@property (readonly) uint8_t MAX_VALUE __attribute__((swift_name("MAX_VALUE"))); +@property (readonly) uint8_t MIN_VALUE __attribute__((swift_name("MIN_VALUE"))); +@property (readonly) int32_t SIZE_BITS __attribute__((swift_name("SIZE_BITS"))); +@property (readonly) int32_t SIZE_BYTES __attribute__((swift_name("SIZE_BYTES"))); +@end; + +@interface PAPIKotlinUByteCompanion (Extensions) +- (id)serializer __attribute__((swift_name("serializer()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinUInt.Companion"))) +@interface PAPIKotlinUIntCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKotlinUIntCompanion *shared __attribute__((swift_name("shared"))); +@property (readonly) uint32_t MAX_VALUE __attribute__((swift_name("MAX_VALUE"))); +@property (readonly) uint32_t MIN_VALUE __attribute__((swift_name("MIN_VALUE"))); +@property (readonly) int32_t SIZE_BITS __attribute__((swift_name("SIZE_BITS"))); +@property (readonly) int32_t SIZE_BYTES __attribute__((swift_name("SIZE_BYTES"))); +@end; + +@interface PAPIKotlinUIntCompanion (Extensions) +- (id)serializer __attribute__((swift_name("serializer()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinULong.Companion"))) +@interface PAPIKotlinULongCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKotlinULongCompanion *shared __attribute__((swift_name("shared"))); +@property (readonly) uint64_t MAX_VALUE __attribute__((swift_name("MAX_VALUE"))); +@property (readonly) uint64_t MIN_VALUE __attribute__((swift_name("MIN_VALUE"))); +@property (readonly) int32_t SIZE_BITS __attribute__((swift_name("SIZE_BITS"))); +@property (readonly) int32_t SIZE_BYTES __attribute__((swift_name("SIZE_BYTES"))); +@end; + +@interface PAPIKotlinULongCompanion (Extensions) +- (id)serializer __attribute__((swift_name("serializer()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinUShort.Companion"))) +@interface PAPIKotlinUShortCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKotlinUShortCompanion *shared __attribute__((swift_name("shared"))); +@property (readonly) uint16_t MAX_VALUE __attribute__((swift_name("MAX_VALUE"))); +@property (readonly) uint16_t MIN_VALUE __attribute__((swift_name("MIN_VALUE"))); +@property (readonly) int32_t SIZE_BITS __attribute__((swift_name("SIZE_BITS"))); +@property (readonly) int32_t SIZE_BYTES __attribute__((swift_name("SIZE_BYTES"))); +@end; + +@interface PAPIKotlinUShortCompanion (Extensions) +- (id)serializer __attribute__((swift_name("serializer()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinUnit"))) +@interface PAPIKotlinUnit : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)unit __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKotlinUnit *shared __attribute__((swift_name("shared"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@end; + +@interface PAPIKotlinUnit (Extensions) +- (id)serializer __attribute__((swift_name("serializer()"))); +@end; + +@interface PAPITraceBase (Extensions) +- (PAPITraceBase *)namedName:(NSString *)name __attribute__((swift_name("named(name:)"))); +@end; + +@interface PAPISynchronizedObject (Extensions) +- (id _Nullable)withLockBlock:(id _Nullable (^)(void))block __attribute__((swift_name("withLock(block:)"))); +@end; + +@interface PAPIOperationStatus (Extensions) +- (int32_t)toModel __attribute__((swift_name("toModel()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MerkleTreeKt"))) +@interface PAPIMerkleTreeKt : PAPIBase ++ (PAPIMerkleProofs *)generateProofsHashes:(NSArray *)hashes __attribute__((swift_name("generateProofs(hashes:)"))); ++ (BOOL)verifyProofRoot:(PAPIMerkleRoot *)root proof:(PAPIMerkleInclusionProof *)proof __attribute__((swift_name("verifyProof(root:proof:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GrpcClientKt"))) +@interface PAPIGrpcClientKt : PAPIBase +@property (class, readonly) NSString *DID __attribute__((swift_name("DID"))); +@property (class, readonly) NSString *DID_KEY_ID __attribute__((swift_name("DID_KEY_ID"))); +@property (class, readonly) NSString *DID_SIGNATURE __attribute__((swift_name("DID_SIGNATURE"))); +@property (class, readonly) NSString *REQUEST_NONCE __attribute__((swift_name("REQUEST_NONCE"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("LedgerKt"))) +@interface PAPILedgerKt : PAPIBase ++ (PAPILedger *)toProto:(int32_t)receiver __attribute__((swift_name("toProto(_:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MessageKt"))) +@interface PAPIMessageKt : PAPIBase ++ (id)decodeFromByteArray:(id)receiver arr:(PAPIKotlinByteArray *)arr __attribute__((swift_name("decodeFromByteArray(_:arr:)"))); ++ (PAPIKotlinByteArray *)encodeToByteArray:(id)receiver __attribute__((swift_name("encodeToByteArray(_:)"))); ++ (void)encodeWith:(id)receiver m:(id)m __attribute__((swift_name("encodeWith(_:m:)"))); ++ (id _Nullable)getFieldValue:(id)receiver fieldDescriptor:(PAPIFieldDescriptor, id> *)fieldDescriptor __attribute__((swift_name("getFieldValue(_:fieldDescriptor:)"))); ++ (id _Nullable)plus:(id _Nullable)receiver other:(id _Nullable)other __attribute__((swift_name("plus(_:other:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MessageExtensionsKt"))) +@interface PAPIMessageExtensionsKt : PAPIBase ++ (id)decodeFromJsonString:(id)receiver data:(NSString *)data jsonConfig:(PAPIJsonConfig *)jsonConfig __attribute__((swift_name("decodeFromJsonString(_:data:jsonConfig:)"))); ++ (NSString *)encodeToJsonString:(id)receiver jsonConfig:(PAPIJsonConfig *)jsonConfig __attribute__((swift_name("encodeToJsonString(_:jsonConfig:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DateTimePeriodKt"))) +@interface PAPIDateTimePeriodKt : PAPIBase ++ (PAPIDateTimePeriod *)DateTimePeriodYears:(int32_t)years months:(int32_t)months days:(int32_t)days hours:(int32_t)hours minutes:(int32_t)minutes seconds:(int32_t)seconds nanoseconds:(int64_t)nanoseconds __attribute__((swift_name("DateTimePeriod(years:months:days:hours:minutes:seconds:nanoseconds:)"))); ++ (PAPIDatePeriod *)toDatePeriod:(NSString *)receiver __attribute__((swift_name("toDatePeriod(_:)"))); ++ (PAPIDateTimePeriod *)toDateTimePeriod:(NSString *)receiver __attribute__((swift_name("toDateTimePeriod(_:)"))); ++ (PAPIDateTimePeriod *)toDateTimePeriod_:(int64_t)receiver __attribute__((swift_name("toDateTimePeriod(__:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DayOfWeekKt"))) +@interface PAPIDayOfWeekKt : PAPIBase ++ (PAPIDayOfWeek *)DayOfWeekIsoDayNumber:(int32_t)isoDayNumber __attribute__((swift_name("DayOfWeek(isoDayNumber:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MonthKt"))) +@interface PAPIMonthKt : PAPIBase ++ (PAPIMonth *)MonthNumber:(int32_t)number __attribute__((swift_name("Month(number:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ClockKt"))) +@interface PAPIClockKt : PAPIBase ++ (id)asTimeSource:(id)receiver __attribute__((swift_name("asTimeSource(_:)"))); ++ (PAPILocalDate *)todayAt:(id)receiver timeZone:(PAPITimeZone *)timeZone __attribute__((swift_name("todayAt(_:timeZone:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("InstantKt"))) +@interface PAPIInstantKt : PAPIBase ++ (PAPIInstant *)toInstant:(NSString *)receiver __attribute__((swift_name("toInstant(_:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ConvertersKt"))) +@interface PAPIConvertersKt : PAPIBase ++ (PAPIInstant *)toKotlinInstant:(NSDate *)receiver __attribute__((swift_name("toKotlinInstant(_:)"))); ++ (PAPITimeZone *)toKotlinTimeZone:(NSTimeZone *)receiver __attribute__((swift_name("toKotlinTimeZone(_:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("LocalDateKt"))) +@interface PAPILocalDateKt : PAPIBase ++ (PAPILocalDate *)toLocalDate:(NSString *)receiver __attribute__((swift_name("toLocalDate(_:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("LocalDateTimeKt"))) +@interface PAPILocalDateTimeKt : PAPIBase ++ (PAPILocalDateTime *)toLocalDateTime:(NSString *)receiver __attribute__((swift_name("toLocalDateTime(_:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UuidKt"))) +@interface PAPIUuidKt : PAPIBase ++ (PAPIUuid *)nameBasedUuidOfNamespace:(PAPIUuid *)namespace_ name:(NSString *)name hasher:(id)hasher __attribute__((swift_name("nameBasedUuidOf(namespace:name:hasher:)"))); ++ (PAPIUuid *)uuid4 __attribute__((swift_name("uuid4()"))); ++ (PAPIUuid *)uuidFromString:(NSString *)string __attribute__((swift_name("uuidFrom(string:)"))); ++ (PAPIUuid *)uuidOfBytes:(PAPIKotlinByteArray *)bytes __attribute__((swift_name("uuidOf(bytes:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("NamebasedKt"))) +@interface PAPINamebasedKt : PAPIBase ++ (PAPIUuid *)uuid3OfNamespace:(PAPIUuid *)namespace_ name:(NSString *)name __attribute__((swift_name("uuid3Of(namespace:name:)"))); ++ (PAPIUuid *)uuid5OfNamespace:(PAPIUuid *)namespace_ name:(NSString *)name __attribute__((swift_name("uuid5Of(namespace:name:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("JsonKt"))) +@interface PAPIJsonKt : PAPIBase ++ (PAPIJson *)JsonFrom:(PAPIJson *)from builderAction:(void (^)(PAPIJsonBuilder *))builderAction __attribute__((swift_name("Json(from:builderAction:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("JsonElementKt"))) +@interface PAPIJsonElementKt : PAPIBase ++ (PAPIJsonPrimitive *)JsonPrimitiveValue:(PAPIBoolean * _Nullable)value __attribute__((swift_name("JsonPrimitive(value:)"))); ++ (PAPIJsonPrimitive *)JsonPrimitiveValue_:(id _Nullable)value __attribute__((swift_name("JsonPrimitive(value_:)"))); ++ (PAPIJsonPrimitive *)JsonPrimitiveValue__:(NSString * _Nullable)value __attribute__((swift_name("JsonPrimitive(value__:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("JsonElementBuildersKt"))) +@interface PAPIJsonElementBuildersKt : PAPIBase ++ (NSArray *)buildJsonArrayBuilderAction:(void (^)(PAPIJsonArrayBuilder *))builderAction __attribute__((swift_name("buildJsonArray(builderAction:)"))); ++ (NSDictionary *)buildJsonObjectBuilderAction:(void (^)(PAPIJsonObjectBuilder *))builderAction __attribute__((swift_name("buildJsonObject(builderAction:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ByteChannelCtorKt"))) +@interface PAPIByteChannelCtorKt : PAPIBase ++ (id)ByteReadChannelContent:(PAPIKotlinByteArray *)content __attribute__((swift_name("ByteReadChannel(content:)"))); ++ (id)ByteReadChannelContent:(PAPIKotlinByteArray *)content offset:(int32_t)offset __attribute__((swift_name("ByteReadChannel(content:offset:)"))); ++ (id)ByteReadChannelText:(NSString *)text charset:(PAPICharset *)charset __attribute__((swift_name("ByteReadChannel(text:charset:)"))); +@property (class, readonly) id EmptyByteReadChannel __attribute__((swift_name("EmptyByteReadChannel"))) __attribute__((unavailable("Use ByteReadChannel.Empty instead"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ByteChannelNativeKt"))) +@interface PAPIByteChannelNativeKt : PAPIBase ++ (id)ByteChannelAutoFlush:(BOOL)autoFlush __attribute__((swift_name("ByteChannel(autoFlush:)"))); ++ (id)ByteReadChannelContent:(PAPIKotlinByteArray *)content offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("ByteReadChannel(content:offset:length:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)doCopyTo:(id)receiver dst:(id)dst limit:(int64_t)limit completionHandler:(void (^)(PAPILong * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("doCopyTo(_:dst:limit:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)joinTo:(id)receiver dst:(id)dst closeOnEnd:(BOOL)closeOnEnd completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("joinTo(_:dst:closeOnEnd:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CoroutinesKt"))) +@interface PAPICoroutinesKt : PAPIBase ++ (id)readerCoroutineContext:(id)coroutineContext channel:(id)channel parent:(id _Nullable)parent block:(id)block __attribute__((swift_name("reader(coroutineContext:channel:parent:block:)"))) __attribute__((deprecated("Use scope.reader instead"))); ++ (id)readerCoroutineContext:(id)coroutineContext autoFlush:(BOOL)autoFlush parent:(id _Nullable)parent block:(id)block __attribute__((swift_name("reader(coroutineContext:autoFlush:parent:block:)"))) __attribute__((deprecated("Use scope.reader instead"))); ++ (id)writerCoroutineContext:(id)coroutineContext channel:(id)channel parent:(id _Nullable)parent block:(id)block __attribute__((swift_name("writer(coroutineContext:channel:parent:block:)"))) __attribute__((deprecated("Use scope.writer instead"))); ++ (id)writerCoroutineContext:(id)coroutineContext autoFlush:(BOOL)autoFlush parent:(id _Nullable)parent block:(id)block __attribute__((swift_name("writer(coroutineContext:autoFlush:parent:block:)"))) __attribute__((deprecated("Use scope.writer instead"))); ++ (id)reader:(id)receiver coroutineContext:(id)coroutineContext channel:(id)channel block:(id)block __attribute__((swift_name("reader(_:coroutineContext:channel:block:)"))); ++ (id)reader:(id)receiver coroutineContext:(id)coroutineContext autoFlush:(BOOL)autoFlush block:(id)block __attribute__((swift_name("reader(_:coroutineContext:autoFlush:block:)"))); ++ (id)writer:(id)receiver coroutineContext:(id)coroutineContext channel:(id)channel block:(id)block __attribute__((swift_name("writer(_:coroutineContext:channel:block:)"))); ++ (id)writer:(id)receiver coroutineContext:(id)coroutineContext autoFlush:(BOOL)autoFlush block:(id)block __attribute__((swift_name("writer(_:coroutineContext:autoFlush:block:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ByteReadChannelKt"))) +@interface PAPIByteReadChannelKt : PAPIBase ++ (BOOL)cancel:(id)receiver __attribute__((swift_name("cancel(_:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)doCopyAndClose:(id)receiver dst:(id)dst limit:(int64_t)limit completionHandler:(void (^)(PAPILong * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("doCopyAndClose(_:dst:limit:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)doCopyTo:(id)receiver dst:(id)dst completionHandler:(void (^)(PAPILong * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("doCopyTo(_:dst:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)discard:(id)receiver completionHandler:(void (^)(PAPILong * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("discard(_:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)discardExact:(id)receiver n:(int64_t)n completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("discardExact(_:n:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)readAvailable:(id)receiver dst:(PAPIKotlinByteArray *)dst completionHandler:(void (^)(PAPIInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readAvailable(_:dst:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)readFully:(id)receiver dst:(PAPIIoBuffer *)dst completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readFully(_:dst:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)readFully:(id)receiver dst:(PAPIKotlinByteArray *)dst completionHandler_:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readFully(_:dst:completionHandler_:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)readPacket:(id)receiver size:(int32_t)size completionHandler:(void (^)(PAPIByteReadPacket * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readPacket(_:size:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)readRemaining:(id)receiver completionHandler:(void (^)(PAPIByteReadPacket * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readRemaining(_:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)readRemaining:(id)receiver limit:(int64_t)limit completionHandler:(void (^)(PAPIByteReadPacket * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readRemaining(_:limit:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)readUTF8Line:(id)receiver completionHandler:(void (^)(NSString * _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("readUTF8Line(_:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)readUTF8LineTo:(id)receiver out:(id)out completionHandler:(void (^)(PAPIBoolean * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readUTF8LineTo(_:out:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ByteWriteChannelKt"))) +@interface PAPIByteWriteChannelKt : PAPIBase ++ (BOOL)close:(id)receiver __attribute__((swift_name("close(_:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)writeAvailable:(id)receiver src:(PAPIKotlinByteArray *)src completionHandler:(void (^)(PAPIInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeAvailable(_:src:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)writeBoolean:(id)receiver b:(BOOL)b completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeBoolean(_:b:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)writeByte:(id)receiver b:(int32_t)b completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeByte(_:b:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)writeChar:(id)receiver ch:(unichar)ch completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeChar(_:ch:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)writeFully:(id)receiver src:(PAPIKotlinByteArray *)src completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeFully(_:src:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)writeInt:(id)receiver i:(int64_t)i completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeInt(_:i:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)writeInt:(id)receiver i:(int64_t)i byteOrder:(PAPIByteOrder *)byteOrder completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeInt(_:i:byteOrder:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)writePacket:(id)receiver headerSizeHint:(int32_t)headerSizeHint builder:(void (^)(PAPIBytePacketBuilder *))builder completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writePacket(_:headerSizeHint:builder:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)writePacketSuspend:(id)receiver builder:(id)builder completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writePacketSuspend(_:builder:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)writeShort:(id)receiver s:(int32_t)s completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeShort(_:s:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)writeShort:(id)receiver s:(int32_t)s byteOrder:(PAPIByteOrder *)byteOrder completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeShort(_:s:byteOrder:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)writeStringUtf8:(id)receiver s:(id)s completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeStringUtf8(_:s:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)writeStringUtf8:(id)receiver s:(NSString *)s completionHandler_:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeStringUtf8(_:s:completionHandler_:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("NativeUtilsNativeKt"))) +@interface PAPINativeUtilsNativeKt : PAPIBase ++ (void)makeShared:(id)receiver __attribute__((swift_name("makeShared(_:)"))); ++ (void)preventFreeze:(id)receiver __attribute__((swift_name("preventFreeze(_:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ReadSessionKt"))) +@interface PAPIReadSessionKt : PAPIBase + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)read:(id)receiver desiredSize:(int32_t)desiredSize block:(PAPIInt *(^)(PAPIMemory *, PAPILong *, PAPILong *))block completionHandler:(void (^)(PAPIInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("read(_:desiredSize:block:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ChannelLittleEndianKt"))) +@interface PAPIChannelLittleEndianKt : PAPIBase + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)readDouble:(id)receiver byteOrder:(PAPIByteOrder *)byteOrder completionHandler:(void (^)(PAPIDouble * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readDouble(_:byteOrder:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)readDoubleLittleEndian:(id)receiver completionHandler:(void (^)(PAPIDouble * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readDoubleLittleEndian(_:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)readFloat:(id)receiver byteOrder:(PAPIByteOrder *)byteOrder completionHandler:(void (^)(PAPIFloat * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readFloat(_:byteOrder:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)readFloatLittleEndian:(id)receiver completionHandler:(void (^)(PAPIFloat * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readFloatLittleEndian(_:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)readInt:(id)receiver byteOrder:(PAPIByteOrder *)byteOrder completionHandler:(void (^)(PAPIInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readInt(_:byteOrder:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)readIntLittleEndian:(id)receiver completionHandler:(void (^)(PAPIInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readIntLittleEndian(_:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)readLong:(id)receiver byteOrder:(PAPIByteOrder *)byteOrder completionHandler:(void (^)(PAPILong * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readLong(_:byteOrder:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)readLongLittleEndian:(id)receiver completionHandler:(void (^)(PAPILong * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readLongLittleEndian(_:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)readShort:(id)receiver byteOrder:(PAPIByteOrder *)byteOrder completionHandler:(void (^)(PAPIShort * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readShort(_:byteOrder:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)readShortLittleEndian:(id)receiver completionHandler:(void (^)(PAPIShort * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("readShortLittleEndian(_:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)writeDouble:(id)receiver value:(double)value byteOrder:(PAPIByteOrder *)byteOrder completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeDouble(_:value:byteOrder:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)writeDoubleLittleEndian:(id)receiver value:(double)value completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeDoubleLittleEndian(_:value:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)writeFloat:(id)receiver value:(float)value byteOrder:(PAPIByteOrder *)byteOrder completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeFloat(_:value:byteOrder:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)writeFloatLittleEndian:(id)receiver value:(float)value completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeFloatLittleEndian(_:value:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)writeInt:(id)receiver value:(int32_t)value byteOrder:(PAPIByteOrder *)byteOrder completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeInt(_:value:byteOrder:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)writeIntLittleEndian:(id)receiver value:(int32_t)value completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeIntLittleEndian(_:value:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)writeLong:(id)receiver value:(int64_t)value byteOrder:(PAPIByteOrder *)byteOrder completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeLong(_:value:byteOrder:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)writeLongLittleEndian:(id)receiver value:(int64_t)value completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeLongLittleEndian(_:value:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)writeShort:(id)receiver value:(int16_t)value byteOrder:(PAPIByteOrder *)byteOrder completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeShort(_:value:byteOrder:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)writeShortLittleEndian:(id)receiver value:(int16_t)value completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("writeShortLittleEndian(_:value:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("WriterSessionKt"))) +@interface PAPIWriterSessionKt : PAPIBase + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)write:(id)receiver desiredSpace:(int32_t)desiredSpace block:(PAPIInt *(^)(PAPIMemory *, PAPILong *, PAPILong *))block completionHandler:(void (^)(PAPIInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("write(_:desiredSpace:block:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ByteOrderKt"))) +@interface PAPIByteOrderKt : PAPIBase ++ (int8_t)highByte:(int16_t)receiver __attribute__((swift_name("highByte(_:)"))); ++ (int32_t)highInt:(int64_t)receiver __attribute__((swift_name("highInt(_:)"))); ++ (int16_t)highShort:(int32_t)receiver __attribute__((swift_name("highShort(_:)"))); ++ (int8_t)lowByte:(int16_t)receiver __attribute__((swift_name("lowByte(_:)"))); ++ (int32_t)lowInt:(int64_t)receiver __attribute__((swift_name("lowInt(_:)"))); ++ (int16_t)lowShort:(int32_t)receiver __attribute__((swift_name("lowShort(_:)"))); ++ (uint32_t)reverseByteOrder:(uint32_t)receiver __attribute__((swift_name("reverseByteOrder(_:)"))); ++ (uint64_t)reverseByteOrder_:(uint64_t)receiver __attribute__((swift_name("reverseByteOrder(__:)"))); ++ (uint16_t)reverseByteOrder__:(uint16_t)receiver __attribute__((swift_name("reverseByteOrder(___:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MemoryFactoryKt"))) +@interface PAPIMemoryFactoryKt : PAPIBase ++ (id _Nullable)withMemorySize:(int32_t)size block:(id _Nullable (^)(PAPIMemory *))block __attribute__((swift_name("withMemory(size:block:)"))); ++ (id _Nullable)withMemorySize:(int64_t)size block_:(id _Nullable (^)(PAPIMemory *))block __attribute__((swift_name("withMemory(size:block_:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MemoryFactoryNativeKt"))) +@interface PAPIMemoryFactoryNativeKt : PAPIBase ++ (PAPIMemory *)doAllocMemory:(id)receiver size:(int32_t)size __attribute__((swift_name("doAllocMemory(_:size:)"))); ++ (PAPIMemory *)doAllocMemory:(id)receiver size_:(int64_t)size __attribute__((swift_name("doAllocMemory(_:size_:)"))); ++ (void)free:(id)receiver memory:(PAPIMemory *)memory __attribute__((swift_name("free(_:memory:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MemoryNativeKt"))) +@interface PAPIMemoryNativeKt : PAPIBase ++ (void)doCopyTo:(void *)receiver destination:(PAPIMemory *)destination offset:(int32_t)offset length:(int32_t)length destinationOffset:(int32_t)destinationOffset __attribute__((swift_name("doCopyTo(_:destination:offset:length:destinationOffset:)"))); ++ (void)doCopyTo:(void *)receiver destination:(PAPIMemory *)destination offset:(int64_t)offset length:(int64_t)length destinationOffset_:(int64_t)destinationOffset __attribute__((swift_name("doCopyTo(_:destination:offset:length:destinationOffset_:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ByteOrderNativeKt"))) +@interface PAPIByteOrderNativeKt : PAPIBase ++ (double)reverseByteOrder:(double)receiver __attribute__((swift_name("reverseByteOrder(_:)"))); ++ (float)reverseByteOrder_:(float)receiver __attribute__((swift_name("reverseByteOrder(__:)"))); ++ (int32_t)reverseByteOrder__:(int32_t)receiver __attribute__((swift_name("reverseByteOrder(___:)"))); ++ (int64_t)reverseByteOrder___:(int64_t)receiver __attribute__((swift_name("reverseByteOrder(____:)"))); ++ (int16_t)reverseByteOrder____:(int16_t)receiver __attribute__((swift_name("reverseByteOrder(_____:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SharedNativeKt"))) +@interface PAPISharedNativeKt : PAPIBase ++ (id)sharedValue:(id _Nullable)value __attribute__((swift_name("shared(value:)"))); ++ (id)threadLocalValue:(id)value __attribute__((swift_name("threadLocal(value:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PlatformKt"))) +@interface PAPIPlatformKt : PAPIBase ++ (PAPIBytePacketBuilder *)BytePacketBuilderHeaderSizeHint:(int32_t)headerSizeHint __attribute__((swift_name("BytePacketBuilder(headerSizeHint:)"))); +@property (class, readonly) int32_t PACKET_MAX_COPY_SIZE __attribute__((swift_name("PACKET_MAX_COPY_SIZE"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PacketKt"))) +@interface PAPIPacketKt : PAPIBase ++ (BOOL)isEmpty:(id)receiver __attribute__((swift_name("isEmpty(_:)"))) __attribute__((deprecated("Use endOfInput property instead"))); ++ (BOOL)isNotEmpty:(id)receiver __attribute__((swift_name("isNotEmpty(_:)"))) __attribute__((deprecated("This makes no sense for streaming inputs. Some use-cases are covered by endOfInput property"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ByteReadPacketKt"))) +@interface PAPIByteReadPacketKt : PAPIBase ++ (PAPIByteReadPacket *)ByteReadPacketArray:(PAPIKotlinByteArray *)array offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("ByteReadPacket(array:offset:length:)"))); ++ (PAPIByteReadPacket *)ByteReadPacketArray:(PAPIKotlinByteArray *)array offset:(int32_t)offset length:(int32_t)length block:(void (^)(PAPIKotlinByteArray *))block __attribute__((swift_name("ByteReadPacket(array:offset:length:block:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("IoBufferNativeKt"))) +@interface PAPIIoBufferNativeKt : PAPIBase ++ (PAPIChunkBuffer *)ChunkBufferPtr:(void *)ptr lengthInBytes:(int32_t)lengthInBytes origin:(PAPIChunkBuffer * _Nullable)origin __attribute__((swift_name("ChunkBuffer(ptr:lengthInBytes:origin:)"))); ++ (PAPIChunkBuffer *)ChunkBufferPtr:(void *)ptr lengthInBytes:(int64_t)lengthInBytes origin_:(PAPIChunkBuffer * _Nullable)origin __attribute__((swift_name("ChunkBuffer(ptr:lengthInBytes:origin_:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("StringsNativeKt"))) +@interface PAPIStringsNativeKt : PAPIBase ++ (NSString *)StringBytes:(PAPIKotlinByteArray *)bytes offset:(int32_t)offset length:(int32_t)length charset:(PAPICharset *)charset __attribute__((swift_name("String(bytes:offset:length:charset:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BuilderKt"))) +@interface PAPIBuilderKt : PAPIBase ++ (PAPIByteReadPacket *)buildPacketHeaderSizeHint:(int32_t)headerSizeHint block:(void (^)(PAPIBytePacketBuilder *))block __attribute__((swift_name("buildPacket(headerSizeHint:block:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BufferFactoryKt"))) +@interface PAPIBufferFactoryKt : PAPIBase ++ (id _Nullable)withBufferPool:(id)pool block:(id _Nullable (^)(PAPIBuffer *))block __attribute__((swift_name("withBuffer(pool:block:)"))); ++ (id _Nullable)withBufferSize:(int32_t)size block:(id _Nullable (^)(PAPIBuffer *))block __attribute__((swift_name("withBuffer(size:block:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OutputKt"))) +@interface PAPIOutputKt : PAPIBase ++ (id)append:(id)receiver csq:(PAPIKotlinCharArray *)csq start:(int32_t)start end:(int32_t)end __attribute__((swift_name("append(_:csq:start:end:)"))); ++ (id)append:(id)receiver csq:(id)csq start:(int32_t)start end_:(int32_t)end __attribute__((swift_name("append(_:csq:start:end_:)"))); ++ (void)fill:(id)receiver times:(int64_t)times value:(int8_t)value __attribute__((swift_name("fill(_:times:value:)"))); ++ (void)writeFully:(id)receiver src:(PAPIMemory *)src offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("writeFully(_:src:offset:length:)"))); ++ (void)writeFully:(id)receiver src:(PAPIMemory *)src offset:(int64_t)offset length_:(int64_t)length __attribute__((swift_name("writeFully(_:src:offset:length_:)"))); ++ (void)writeFully:(id)receiver src:(PAPIBuffer *)src length:(int32_t)length __attribute__((swift_name("writeFully(_:src:length:)"))); ++ (void)writeFully:(id)receiver src:(PAPIKotlinByteArray *)src offset:(int32_t)offset length__:(int32_t)length __attribute__((swift_name("writeFully(_:src:offset:length__:)"))); ++ (void)writeFully:(id)receiver src:(PAPIKotlinDoubleArray *)src offset:(int32_t)offset length___:(int32_t)length __attribute__((swift_name("writeFully(_:src:offset:length___:)"))); ++ (void)writeFully:(id)receiver src:(PAPIKotlinFloatArray *)src offset:(int32_t)offset length____:(int32_t)length __attribute__((swift_name("writeFully(_:src:offset:length____:)"))); ++ (void)writeFully:(id)receiver src:(PAPIKotlinIntArray *)src offset:(int32_t)offset length_____:(int32_t)length __attribute__((swift_name("writeFully(_:src:offset:length_____:)"))); ++ (void)writeFully:(id)receiver src:(PAPIKotlinLongArray *)src offset:(int32_t)offset length______:(int32_t)length __attribute__((swift_name("writeFully(_:src:offset:length______:)"))); ++ (void)writeFully:(id)receiver src:(PAPIKotlinShortArray *)src offset:(int32_t)offset length_______:(int32_t)length __attribute__((swift_name("writeFully(_:src:offset:length_______:)"))); ++ (void)writePacket:(id)receiver packet:(PAPIByteReadPacket *)packet __attribute__((swift_name("writePacket(_:packet:)"))); ++ (void)writeWhile:(id)receiver block:(PAPIBoolean *(^)(PAPIBuffer *))block __attribute__((swift_name("writeWhile(_:block:)"))); ++ (void)writeWhileSize:(id)receiver initialSize:(int32_t)initialSize block:(PAPIInt *(^)(PAPIBuffer *))block __attribute__((swift_name("writeWhileSize(_:initialSize:block:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CopyKt"))) +@interface PAPICopyKt : PAPIBase ++ (int64_t)doCopyTo:(id)receiver output:(id)output __attribute__((swift_name("doCopyTo(_:output:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("InputKt"))) +@interface PAPIInputKt : PAPIBase ++ (int64_t)discard:(id)receiver __attribute__((swift_name("discard(_:)"))); ++ (void)discardExact:(id)receiver n:(int32_t)n __attribute__((swift_name("discardExact(_:n:)"))); ++ (void)discardExact:(id)receiver n_:(int64_t)n __attribute__((swift_name("discardExact(_:n_:)"))); ++ (void)forEach:(id)receiver block:(void (^)(PAPIByte *))block __attribute__((swift_name("forEach(_:block:)"))); ++ (unichar)peekCharUtf8:(id)receiver __attribute__((swift_name("peekCharUtf8(_:)"))); ++ (void)takeWhile:(id)receiver block:(PAPIBoolean *(^)(PAPIBuffer *))block __attribute__((swift_name("takeWhile(_:block:)"))); ++ (void)takeWhileSize:(id)receiver initialSize:(int32_t)initialSize block:(PAPIInt *(^)(PAPIBuffer *))block __attribute__((swift_name("takeWhileSize(_:initialSize:block:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ScannerKt"))) +@interface PAPIScannerKt : PAPIBase ++ (int64_t)discardUntilDelimiter:(id)receiver delimiter:(int8_t)delimiter __attribute__((swift_name("discardUntilDelimiter(_:delimiter:)"))); ++ (int64_t)discardUntilDelimiters:(id)receiver delimiter1:(int8_t)delimiter1 delimiter2:(int8_t)delimiter2 __attribute__((swift_name("discardUntilDelimiters(_:delimiter1:delimiter2:)"))); ++ (int64_t)readUntilDelimiter:(id)receiver delimiter:(int8_t)delimiter dst:(id)dst __attribute__((swift_name("readUntilDelimiter(_:delimiter:dst:)"))); ++ (int32_t)readUntilDelimiter:(id)receiver delimiter:(int8_t)delimiter dst:(PAPIKotlinByteArray *)dst offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("readUntilDelimiter(_:delimiter:dst:offset:length:)"))); ++ (int64_t)readUntilDelimiters:(id)receiver delimiter1:(int8_t)delimiter1 delimiter2:(int8_t)delimiter2 dst:(id)dst __attribute__((swift_name("readUntilDelimiters(_:delimiter1:delimiter2:dst:)"))); ++ (int32_t)readUntilDelimiters:(id)receiver delimiter1:(int8_t)delimiter1 delimiter2:(int8_t)delimiter2 dst:(PAPIKotlinByteArray *)dst offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("readUntilDelimiters(_:delimiter1:delimiter2:dst:offset:length:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("InputPeekKt"))) +@interface PAPIInputPeekKt : PAPIBase ++ (int32_t)peekTo:(id)receiver destination:(PAPIBuffer *)destination offset:(int32_t)offset min:(int32_t)min max:(int32_t)max __attribute__((swift_name("peekTo(_:destination:offset:min:max:)"))) __attribute__((deprecated("Use peekTo(Memory) instead."))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("InputArraysKt"))) +@interface PAPIInputArraysKt : PAPIBase ++ (int32_t)readAvailable:(id)receiver destination:(PAPIMemory *)destination destinationOffset:(int32_t)destinationOffset length:(int32_t)length __attribute__((swift_name("readAvailable(_:destination:destinationOffset:length:)"))); ++ (int64_t)readAvailable:(id)receiver destination:(PAPIMemory *)destination destinationOffset:(int64_t)destinationOffset length_:(int64_t)length __attribute__((swift_name("readAvailable(_:destination:destinationOffset:length_:)"))); ++ (int32_t)readAvailable:(id)receiver dst:(PAPIBuffer *)dst length:(int32_t)length __attribute__((swift_name("readAvailable(_:dst:length:)"))); ++ (int32_t)readAvailable:(id)receiver dst:(PAPIKotlinByteArray *)dst offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("readAvailable(_:dst:offset:length:)"))); ++ (int32_t)readAvailable:(id)receiver dst:(PAPIKotlinDoubleArray *)dst offset:(int32_t)offset length_:(int32_t)length __attribute__((swift_name("readAvailable(_:dst:offset:length_:)"))); ++ (int32_t)readAvailable:(id)receiver dst:(PAPIKotlinFloatArray *)dst offset:(int32_t)offset length__:(int32_t)length __attribute__((swift_name("readAvailable(_:dst:offset:length__:)"))); ++ (int32_t)readAvailable:(id)receiver dst:(PAPIKotlinIntArray *)dst offset:(int32_t)offset length___:(int32_t)length __attribute__((swift_name("readAvailable(_:dst:offset:length___:)"))); ++ (int32_t)readAvailable:(id)receiver dst:(PAPIKotlinLongArray *)dst offset:(int32_t)offset length____:(int32_t)length __attribute__((swift_name("readAvailable(_:dst:offset:length____:)"))); ++ (int32_t)readAvailable:(id)receiver dst:(PAPIKotlinShortArray *)dst offset:(int32_t)offset length_____:(int32_t)length __attribute__((swift_name("readAvailable(_:dst:offset:length_____:)"))); ++ (void)readFully:(id)receiver destination:(PAPIMemory *)destination destinationOffset:(int32_t)destinationOffset length:(int32_t)length __attribute__((swift_name("readFully(_:destination:destinationOffset:length:)"))); ++ (void)readFully:(id)receiver destination:(PAPIMemory *)destination destinationOffset:(int64_t)destinationOffset length_:(int64_t)length __attribute__((swift_name("readFully(_:destination:destinationOffset:length_:)"))); ++ (void)readFully:(id)receiver dst:(PAPIBuffer *)dst length:(int32_t)length __attribute__((swift_name("readFully(_:dst:length:)"))); ++ (void)readFully:(id)receiver dst:(PAPIKotlinByteArray *)dst offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("readFully(_:dst:offset:length:)"))); ++ (void)readFully:(id)receiver dst:(PAPIKotlinDoubleArray *)dst offset:(int32_t)offset length_:(int32_t)length __attribute__((swift_name("readFully(_:dst:offset:length_:)"))); ++ (void)readFully:(id)receiver dst:(PAPIKotlinFloatArray *)dst offset:(int32_t)offset length__:(int32_t)length __attribute__((swift_name("readFully(_:dst:offset:length__:)"))); ++ (void)readFully:(id)receiver dst:(PAPIKotlinIntArray *)dst offset:(int32_t)offset length___:(int32_t)length __attribute__((swift_name("readFully(_:dst:offset:length___:)"))); ++ (void)readFully:(id)receiver dst:(PAPIKotlinLongArray *)dst offset:(int32_t)offset length____:(int32_t)length __attribute__((swift_name("readFully(_:dst:offset:length____:)"))); ++ (void)readFully:(id)receiver dst:(PAPIKotlinShortArray *)dst offset:(int32_t)offset length_____:(int32_t)length __attribute__((swift_name("readFully(_:dst:offset:length_____:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("InputArraysNativeKt"))) +@interface PAPIInputArraysNativeKt : PAPIBase ++ (int32_t)readAvailable:(id)receiver dst:(void *)dst offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("readAvailable(_:dst:offset:length:)"))); ++ (int64_t)readAvailable:(id)receiver dst:(void *)dst offset:(int64_t)offset length_:(int64_t)length __attribute__((swift_name("readAvailable(_:dst:offset:length_:)"))); ++ (void)readFully:(id)receiver dst:(void *)dst offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("readFully(_:dst:offset:length:)"))); ++ (void)readFully:(id)receiver dst:(void *)dst offset:(int64_t)offset length_:(int64_t)length __attribute__((swift_name("readFully(_:dst:offset:length_:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("InputLittleEndianKt"))) +@interface PAPIInputLittleEndianKt : PAPIBase ++ (int32_t)readAvailableLittleEndian:(id)receiver dst:(PAPIKotlinDoubleArray *)dst offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("readAvailableLittleEndian(_:dst:offset:length:)"))); ++ (int32_t)readAvailableLittleEndian:(id)receiver dst:(PAPIKotlinFloatArray *)dst offset:(int32_t)offset length_:(int32_t)length __attribute__((swift_name("readAvailableLittleEndian(_:dst:offset:length_:)"))); ++ (int32_t)readAvailableLittleEndian:(id)receiver dst:(PAPIKotlinIntArray *)dst offset:(int32_t)offset length__:(int32_t)length __attribute__((swift_name("readAvailableLittleEndian(_:dst:offset:length__:)"))); ++ (int32_t)readAvailableLittleEndian:(id)receiver dst:(PAPIKotlinLongArray *)dst offset:(int32_t)offset length___:(int32_t)length __attribute__((swift_name("readAvailableLittleEndian(_:dst:offset:length___:)"))); ++ (int32_t)readAvailableLittleEndian:(id)receiver dst:(PAPIKotlinShortArray *)dst offset:(int32_t)offset length____:(int32_t)length __attribute__((swift_name("readAvailableLittleEndian(_:dst:offset:length____:)"))); ++ (int32_t)readAvailableLittleEndian:(id)receiver dst:(id)dst offset:(int32_t)offset length_____:(int32_t)length __attribute__((swift_name("readAvailableLittleEndian(_:dst:offset:length_____:)"))); ++ (int32_t)readAvailableLittleEndian:(id)receiver dst:(id)dst offset:(int32_t)offset length______:(int32_t)length __attribute__((swift_name("readAvailableLittleEndian(_:dst:offset:length______:)"))); ++ (int32_t)readAvailableLittleEndian:(id)receiver dst:(id)dst offset:(int32_t)offset length_______:(int32_t)length __attribute__((swift_name("readAvailableLittleEndian(_:dst:offset:length_______:)"))); ++ (double)readDouble:(id)receiver byteOrder:(PAPIByteOrder *)byteOrder __attribute__((swift_name("readDouble(_:byteOrder:)"))); ++ (double)readDoubleLittleEndian:(id)receiver __attribute__((swift_name("readDoubleLittleEndian(_:)"))); ++ (float)readFloat:(id)receiver byteOrder:(PAPIByteOrder *)byteOrder __attribute__((swift_name("readFloat(_:byteOrder:)"))); ++ (float)readFloatLittleEndian:(id)receiver __attribute__((swift_name("readFloatLittleEndian(_:)"))); ++ (void)readFullyLittleEndian:(id)receiver dst:(PAPIKotlinDoubleArray *)dst offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("readFullyLittleEndian(_:dst:offset:length:)"))); ++ (void)readFullyLittleEndian:(id)receiver dst:(PAPIKotlinFloatArray *)dst offset:(int32_t)offset length_:(int32_t)length __attribute__((swift_name("readFullyLittleEndian(_:dst:offset:length_:)"))); ++ (void)readFullyLittleEndian:(id)receiver dst:(PAPIKotlinIntArray *)dst offset:(int32_t)offset length__:(int32_t)length __attribute__((swift_name("readFullyLittleEndian(_:dst:offset:length__:)"))); ++ (void)readFullyLittleEndian:(id)receiver dst:(PAPIKotlinLongArray *)dst offset:(int32_t)offset length___:(int32_t)length __attribute__((swift_name("readFullyLittleEndian(_:dst:offset:length___:)"))); ++ (void)readFullyLittleEndian:(id)receiver dst:(PAPIKotlinShortArray *)dst offset:(int32_t)offset length____:(int32_t)length __attribute__((swift_name("readFullyLittleEndian(_:dst:offset:length____:)"))); ++ (void)readFullyLittleEndian:(id)receiver dst:(id)dst offset:(int32_t)offset length_____:(int32_t)length __attribute__((swift_name("readFullyLittleEndian(_:dst:offset:length_____:)"))); ++ (void)readFullyLittleEndian:(id)receiver dst:(id)dst offset:(int32_t)offset length______:(int32_t)length __attribute__((swift_name("readFullyLittleEndian(_:dst:offset:length______:)"))); ++ (void)readFullyLittleEndian:(id)receiver dst:(id)dst offset:(int32_t)offset length_______:(int32_t)length __attribute__((swift_name("readFullyLittleEndian(_:dst:offset:length_______:)"))); ++ (int32_t)readInt:(id)receiver byteOrder:(PAPIByteOrder *)byteOrder __attribute__((swift_name("readInt(_:byteOrder:)"))); ++ (int32_t)readIntLittleEndian:(id)receiver __attribute__((swift_name("readIntLittleEndian(_:)"))); ++ (int64_t)readLong:(id)receiver byteOrder:(PAPIByteOrder *)byteOrder __attribute__((swift_name("readLong(_:byteOrder:)"))); ++ (int64_t)readLongLittleEndian:(id)receiver __attribute__((swift_name("readLongLittleEndian(_:)"))); ++ (int16_t)readShort:(id)receiver byteOrder:(PAPIByteOrder *)byteOrder __attribute__((swift_name("readShort(_:byteOrder:)"))); ++ (int16_t)readShortLittleEndian:(id)receiver __attribute__((swift_name("readShortLittleEndian(_:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("StringsKt"))) +@interface PAPIStringsKt : PAPIBase ++ (PAPIKotlinByteArray *)readBytes:(id)receiver __attribute__((swift_name("readBytes(_:)"))); ++ (PAPIKotlinByteArray *)readBytes:(id)receiver n:(int32_t)n __attribute__((swift_name("readBytes(_:n:)"))); ++ (PAPIKotlinByteArray *)readBytesOf:(id)receiver min:(int32_t)min max:(int32_t)max __attribute__((swift_name("readBytesOf(_:min:max:)"))); ++ (NSString *)readText:(id)receiver charset:(PAPICharset *)charset max:(int32_t)max __attribute__((swift_name("readText(_:charset:max:)"))); ++ (NSString *)readText:(id)receiver decoder:(PAPICharsetDecoder *)decoder max:(int32_t)max __attribute__((swift_name("readText(_:decoder:max:)"))) __attribute__((deprecated("Use CharsetDecoder.decode instead"))); ++ (int32_t)readText:(id)receiver out:(id)out charset:(PAPICharset *)charset max:(int32_t)max __attribute__((swift_name("readText(_:out:charset:max:)"))); ++ (int32_t)readText:(id)receiver out:(id)out decoder:(PAPICharsetDecoder *)decoder max:(int32_t)max __attribute__((swift_name("readText(_:out:decoder:max:)"))) __attribute__((unavailable("Use CharsetDecoder.decode instead"))); ++ (NSString *)readTextExact:(id)receiver charset:(PAPICharset *)charset n:(int32_t)n __attribute__((swift_name("readTextExact(_:charset:n:)"))) __attribute__((deprecated("Use readTextExactCharacters instead."))); ++ (NSString *)readTextExactBytes:(id)receiver charset:(PAPICharset *)charset bytes:(int32_t)bytes __attribute__((swift_name("readTextExactBytes(_:charset:bytes:)"))) __attribute__((deprecated("Parameters order is changed."))); ++ (NSString *)readTextExactBytes:(id)receiver bytesCount:(int32_t)bytesCount charset:(PAPICharset *)charset __attribute__((swift_name("readTextExactBytes(_:bytesCount:charset:)"))); ++ (NSString *)readTextExactCharacters:(id)receiver charactersCount:(int32_t)charactersCount charset:(PAPICharset *)charset __attribute__((swift_name("readTextExactCharacters(_:charactersCount:charset:)"))); ++ (NSString * _Nullable)readUTF8Line:(id)receiver estimate:(int32_t)estimate limit:(int32_t)limit __attribute__((swift_name("readUTF8Line(_:estimate:limit:)"))); ++ (BOOL)readUTF8LineTo:(id)receiver out:(id)out limit:(int32_t)limit __attribute__((swift_name("readUTF8LineTo(_:out:limit:)"))); ++ (NSString *)readUTF8UntilDelimiter:(id)receiver delimiters:(NSString *)delimiters limit:(int32_t)limit __attribute__((swift_name("readUTF8UntilDelimiter(_:delimiters:limit:)"))); ++ (int32_t)readUTF8UntilDelimiterTo:(id)receiver out:(id)out delimiters:(NSString *)delimiters limit:(int32_t)limit __attribute__((swift_name("readUTF8UntilDelimiterTo(_:out:delimiters:limit:)"))); ++ (int32_t)readUTF8UntilDelimiterTo:(id)receiver out:(id)out delimiters:(NSString *)delimiters limit_:(int32_t)limit __attribute__((swift_name("readUTF8UntilDelimiterTo(_:out:delimiters:limit_:)"))); ++ (PAPIKotlinByteArray *)toByteArray:(NSString *)receiver charset:(PAPICharset *)charset __attribute__((swift_name("toByteArray(_:charset:)"))); ++ (void)writeText:(id)receiver text:(PAPIKotlinCharArray *)text fromIndex:(int32_t)fromIndex toIndex:(int32_t)toIndex charset:(PAPICharset *)charset __attribute__((swift_name("writeText(_:text:fromIndex:toIndex:charset:)"))); ++ (void)writeText:(id)receiver text:(id)text fromIndex:(int32_t)fromIndex toIndex:(int32_t)toIndex charset_:(PAPICharset *)charset __attribute__((swift_name("writeText(_:text:fromIndex:toIndex:charset_:)"))); ++ (void)writeText:(id)receiver text:(id)text fromIndex:(int32_t)fromIndex toIndex:(int32_t)toIndex encoder:(PAPICharsetEncoder *)encoder __attribute__((swift_name("writeText(_:text:fromIndex:toIndex:encoder:)"))) __attribute__((unavailable("Use the implementation with Charset instead"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("InputPrimitivesKt"))) +@interface PAPIInputPrimitivesKt : PAPIBase ++ (double)readDouble:(id)receiver __attribute__((swift_name("readDouble(_:)"))); ++ (double)readDoubleFallback:(id)receiver __attribute__((swift_name("readDoubleFallback(_:)"))); ++ (float)readFloat:(id)receiver __attribute__((swift_name("readFloat(_:)"))); ++ (float)readFloatFallback:(id)receiver __attribute__((swift_name("readFloatFallback(_:)"))); ++ (int32_t)readInt:(id)receiver __attribute__((swift_name("readInt(_:)"))); ++ (int64_t)readLong:(id)receiver __attribute__((swift_name("readLong(_:)"))); ++ (int16_t)readShort:(id)receiver __attribute__((swift_name("readShort(_:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UnsignedTypesKt"))) +@interface PAPIUnsignedTypesKt : PAPIBase ++ (void)readFully:(id)receiver dst:(id)dst offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("readFully(_:dst:offset:length:)"))); ++ (void)readFully:(id)receiver dst:(id)dst offset:(int32_t)offset length_:(int32_t)length __attribute__((swift_name("readFully(_:dst:offset:length_:)"))); ++ (void)readFully:(id)receiver dst:(id)dst offset:(int32_t)offset length__:(int32_t)length __attribute__((swift_name("readFully(_:dst:offset:length__:)"))); ++ (void)readFully:(id)receiver dst:(id)dst offset:(int32_t)offset length___:(int32_t)length __attribute__((swift_name("readFully(_:dst:offset:length___:)"))); ++ (uint8_t)readUByte:(id)receiver __attribute__((swift_name("readUByte(_:)"))); ++ (uint32_t)readUInt:(id)receiver __attribute__((swift_name("readUInt(_:)"))); ++ (uint64_t)readULong:(id)receiver __attribute__((swift_name("readULong(_:)"))); ++ (uint16_t)readUShort:(id)receiver __attribute__((swift_name("readUShort(_:)"))); ++ (void)writeFully:(id)receiver array:(id)array offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("writeFully(_:array:offset:length:)"))); ++ (void)writeFully:(id)receiver array:(id)array offset:(int32_t)offset length_:(int32_t)length __attribute__((swift_name("writeFully(_:array:offset:length_:)"))); ++ (void)writeFully:(id)receiver array:(id)array offset:(int32_t)offset length__:(int32_t)length __attribute__((swift_name("writeFully(_:array:offset:length__:)"))); ++ (void)writeFully:(id)receiver array:(id)array offset:(int32_t)offset length___:(int32_t)length __attribute__((swift_name("writeFully(_:array:offset:length___:)"))); ++ (void)writeUByte:(id)receiver v:(uint8_t)v __attribute__((swift_name("writeUByte(_:v:)"))); ++ (void)writeUInt:(id)receiver v:(uint32_t)v __attribute__((swift_name("writeUInt(_:v:)"))); ++ (void)writeULong:(id)receiver v:(uint64_t)v __attribute__((swift_name("writeULong(_:v:)"))); ++ (void)writeUShort:(id)receiver v:(uint16_t)v __attribute__((swift_name("writeUShort(_:v:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CloseableKt"))) +@interface PAPICloseableKt : PAPIBase ++ (id _Nullable)use:(id)receiver block:(id _Nullable (^)(id))block __attribute__((swift_name("use(_:block:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OutputPrimitivesKt"))) +@interface PAPIOutputPrimitivesKt : PAPIBase ++ (void)writeDouble:(id)receiver value:(double)value __attribute__((swift_name("writeDouble(_:value:)"))); ++ (void)writeFloat:(id)receiver value:(float)value __attribute__((swift_name("writeFloat(_:value:)"))); ++ (void)writeInt:(id)receiver value:(int32_t)value __attribute__((swift_name("writeInt(_:value:)"))); ++ (void)writeLong:(id)receiver value:(int64_t)value __attribute__((swift_name("writeLong(_:value:)"))); ++ (void)writeShort:(id)receiver value:(int16_t)value __attribute__((swift_name("writeShort(_:value:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OutputLittleEndianKt"))) +@interface PAPIOutputLittleEndianKt : PAPIBase ++ (void)writeDouble:(id)receiver value:(double)value byteOrder:(PAPIByteOrder *)byteOrder __attribute__((swift_name("writeDouble(_:value:byteOrder:)"))); ++ (void)writeDoubleLittleEndian:(id)receiver value:(double)value __attribute__((swift_name("writeDoubleLittleEndian(_:value:)"))); ++ (void)writeFloat:(id)receiver value:(float)value byteOrder:(PAPIByteOrder *)byteOrder __attribute__((swift_name("writeFloat(_:value:byteOrder:)"))); ++ (void)writeFloatLittleEndian:(id)receiver value:(float)value __attribute__((swift_name("writeFloatLittleEndian(_:value:)"))); ++ (void)writeFullyLittleEndian:(id)receiver source:(PAPIKotlinDoubleArray *)source offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("writeFullyLittleEndian(_:source:offset:length:)"))); ++ (void)writeFullyLittleEndian:(id)receiver source:(PAPIKotlinFloatArray *)source offset:(int32_t)offset length_:(int32_t)length __attribute__((swift_name("writeFullyLittleEndian(_:source:offset:length_:)"))); ++ (void)writeFullyLittleEndian:(id)receiver source:(PAPIKotlinIntArray *)source offset:(int32_t)offset length__:(int32_t)length __attribute__((swift_name("writeFullyLittleEndian(_:source:offset:length__:)"))); ++ (void)writeFullyLittleEndian:(id)receiver source:(PAPIKotlinLongArray *)source offset:(int32_t)offset length___:(int32_t)length __attribute__((swift_name("writeFullyLittleEndian(_:source:offset:length___:)"))); ++ (void)writeFullyLittleEndian:(id)receiver source:(PAPIKotlinShortArray *)source offset:(int32_t)offset length____:(int32_t)length __attribute__((swift_name("writeFullyLittleEndian(_:source:offset:length____:)"))); ++ (void)writeFullyLittleEndian:(id)receiver source:(id)source offset:(int32_t)offset length_____:(int32_t)length __attribute__((swift_name("writeFullyLittleEndian(_:source:offset:length_____:)"))); ++ (void)writeFullyLittleEndian:(id)receiver source:(id)source offset:(int32_t)offset length______:(int32_t)length __attribute__((swift_name("writeFullyLittleEndian(_:source:offset:length______:)"))); ++ (void)writeFullyLittleEndian:(id)receiver source:(id)source offset:(int32_t)offset length_______:(int32_t)length __attribute__((swift_name("writeFullyLittleEndian(_:source:offset:length_______:)"))); ++ (void)writeInt:(id)receiver value:(int32_t)value byteOrder:(PAPIByteOrder *)byteOrder __attribute__((swift_name("writeInt(_:value:byteOrder:)"))); ++ (void)writeIntLittleEndian:(id)receiver value:(int32_t)value __attribute__((swift_name("writeIntLittleEndian(_:value:)"))); ++ (void)writeLong:(id)receiver value:(int64_t)value byteOrder:(PAPIByteOrder *)byteOrder __attribute__((swift_name("writeLong(_:value:byteOrder:)"))); ++ (void)writeLongLittleEndian:(id)receiver value:(int64_t)value __attribute__((swift_name("writeLongLittleEndian(_:value:)"))); ++ (void)writeShort:(id)receiver value:(int16_t)value byteOrder:(PAPIByteOrder *)byteOrder __attribute__((swift_name("writeShort(_:value:byteOrder:)"))); ++ (void)writeShortLittleEndian:(id)receiver value:(int16_t)value __attribute__((swift_name("writeShortLittleEndian(_:value:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OutputArraysNativeKt"))) +@interface PAPIOutputArraysNativeKt : PAPIBase ++ (void)writeFully:(id)receiver src:(void *)src offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("writeFully(_:src:offset:length:)"))); ++ (void)writeFully:(id)receiver src:(void *)src offset:(int64_t)offset length_:(int64_t)length __attribute__((swift_name("writeFully(_:src:offset:length_:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UTF8Kt"))) +@interface PAPIUTF8Kt : PAPIBase + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)decodeUTF8LineLoopSuspendOut:(id)out limit:(int32_t)limit nextChunk:(id)nextChunk completionHandler:(void (^)(PAPIBoolean * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("decodeUTF8LineLoopSuspend(out:limit:nextChunk:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("UnsafeKt"))) +@interface PAPIUnsafeKt : PAPIBase ++ (void)afterHeadWrite:(id)receiver current:(PAPIChunkBuffer *)current __attribute__((swift_name("afterHeadWrite(_:current:)"))); ++ (void)completeReadHead:(id)receiver current:(PAPIChunkBuffer *)current __attribute__((swift_name("completeReadHead(_:current:)"))); ++ (PAPIChunkBuffer * _Nullable)prepareReadFirstHead:(id)receiver minSize:(int32_t)minSize __attribute__((swift_name("prepareReadFirstHead(_:minSize:)"))); ++ (PAPIChunkBuffer * _Nullable)prepareReadNextHead:(id)receiver current:(PAPIChunkBuffer *)current __attribute__((swift_name("prepareReadNextHead(_:current:)"))); ++ (PAPIChunkBuffer *)prepareWriteHead:(id)receiver capacity:(int32_t)capacity current:(PAPIChunkBuffer * _Nullable)current __attribute__((swift_name("prepareWriteHead(_:capacity:current:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ByteArrayPoolKt"))) +@interface PAPIByteArrayPoolKt : PAPIBase +@property (class, readonly) id ByteArrayPool __attribute__((swift_name("ByteArrayPool"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PoolKt"))) +@interface PAPIPoolKt : PAPIBase ++ (id _Nullable)useBorrowed:(id)receiver block:(id _Nullable (^)(id))block __attribute__((swift_name("useBorrowed(_:block:)"))) __attribute__((deprecated("Use useInstance instead"))); ++ (id _Nullable)useInstance:(id)receiver block:(id _Nullable (^)(id))block __attribute__((swift_name("useInstance(_:block:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ErrorsKt"))) +@interface PAPIErrorsKt : PAPIBase ++ (void)TODO_ERROR __attribute__((swift_name("TODO_ERROR()"))) __attribute__((unavailable("Not implemented."))); ++ (void)TODO_ERRORValue:(id _Nullable)value __attribute__((swift_name("TODO_ERROR(value:)"))) __attribute__((unavailable("Not implemented."))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PosixInputKt"))) +@interface PAPIPosixInputKt : PAPIBase ++ (id)InputFileDescriptor:(int32_t)fileDescriptor __attribute__((swift_name("Input(fileDescriptor:)"))); ++ (id)InputFile:(void *)file __attribute__((swift_name("Input(file:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PosixOutputKt"))) +@interface PAPIPosixOutputKt : PAPIBase ++ (id)OutputFileDescriptor:(int32_t)fileDescriptor __attribute__((swift_name("Output(fileDescriptor:)"))); ++ (id)OutputFile:(void *)file __attribute__((swift_name("Output(file:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PosixIoKt"))) +@interface PAPIPosixIoKt : PAPIBase ++ (int32_t)freadDestination:(PAPIMemory *)destination offset:(int32_t)offset length:(int32_t)length stream:(void *)stream __attribute__((swift_name("fread(destination:offset:length:stream:)"))); ++ (int64_t)freadDestination:(PAPIMemory *)destination offset:(int64_t)offset length:(int64_t)length stream_:(void *)stream __attribute__((swift_name("fread(destination:offset:length:stream_:)"))); ++ (uint64_t)freadBuffer:(PAPIBuffer *)buffer stream:(void *)stream __attribute__((swift_name("fread(buffer:stream:)"))) __attribute__((deprecated("Use fread(Memory) instead."))); ++ (int32_t)fwriteSource:(PAPIMemory *)source offset:(int32_t)offset length:(int32_t)length stream:(void *)stream __attribute__((swift_name("fwrite(source:offset:length:stream:)"))); ++ (int64_t)fwriteSource:(PAPIMemory *)source offset:(int64_t)offset length:(int64_t)length stream_:(void *)stream __attribute__((swift_name("fwrite(source:offset:length:stream_:)"))); ++ (uint64_t)fwriteBuffer:(PAPIBuffer *)buffer stream:(void *)stream __attribute__((swift_name("fwrite(buffer:stream:)"))) __attribute__((deprecated("Use fwrite(Memory) instead."))); ++ (int32_t)readFildes:(int32_t)fildes destination:(PAPIMemory *)destination offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("read(fildes:destination:offset:length:)"))); ++ (int64_t)readFildes:(int32_t)fildes destination:(PAPIMemory *)destination offset:(int64_t)offset length_:(int64_t)length __attribute__((swift_name("read(fildes:destination:offset:length_:)"))); ++ (int64_t)readFildes:(int32_t)fildes buffer:(PAPIBuffer *)buffer __attribute__((swift_name("read(fildes:buffer:)"))) __attribute__((deprecated("Use read(Memory) instead."))); ++ (int64_t)recvSocket:(int32_t)socket buffer:(PAPIBuffer *)buffer flags:(int32_t)flags __attribute__((swift_name("recv(socket:buffer:flags:)"))) __attribute__((deprecated("Use fread(Memory) instead."))); ++ (int64_t)recvfromSocket:(int32_t)socket buffer:(PAPIBuffer *)buffer flags:(int32_t)flags addr:(PAPIKotlinCValuesRef *)addr addr_len:(PAPIKotlinCValuesRef *)addr_len __attribute__((swift_name("recvfrom(socket:buffer:flags:addr:addr_len:)"))); ++ (int32_t)sendSocket:(int32_t)socket source:(PAPIMemory *)source sourceOffset:(int32_t)sourceOffset maxLength:(int32_t)maxLength flags:(int32_t)flags __attribute__((swift_name("send(socket:source:sourceOffset:maxLength:flags:)"))); ++ (int64_t)sendSocket:(int32_t)socket source:(PAPIMemory *)source sourceOffset:(int64_t)sourceOffset maxLength:(int64_t)maxLength flags_:(int32_t)flags __attribute__((swift_name("send(socket:source:sourceOffset:maxLength:flags_:)"))); ++ (int64_t)sendSocket:(int32_t)socket buffer:(PAPIBuffer *)buffer flags:(int32_t)flags __attribute__((swift_name("send(socket:buffer:flags:)"))) __attribute__((deprecated("Use send(Memory) instead."))); ++ (int64_t)sendtoSocket:(int32_t)socket buffer:(PAPIBuffer *)buffer flags:(int32_t)flags addr:(PAPIKotlinCValuesRef *)addr addr_len:(uint32_t)addr_len __attribute__((swift_name("sendto(socket:buffer:flags:addr:addr_len:)"))); ++ (int32_t)writeFildes:(int32_t)fildes source:(PAPIMemory *)source offset:(int32_t)offset length:(int32_t)length __attribute__((swift_name("write(fildes:source:offset:length:)"))); ++ (int64_t)writeFildes:(int32_t)fildes source:(PAPIMemory *)source offset:(int64_t)offset length_:(int64_t)length __attribute__((swift_name("write(fildes:source:offset:length_:)"))); ++ (int64_t)writeFildes:(int32_t)fildes buffer:(PAPIBuffer *)buffer __attribute__((swift_name("write(fildes:buffer:)"))) __attribute__((deprecated("Use write(Memory) instead."))); ++ (id _Nullable)use:(void *)receiver block:(id _Nullable (^)(id))block __attribute__((swift_name("use(_:block:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SyntaxTreeKt"))) +@interface PAPISyntaxTreeKt : PAPIBase ++ (id)flattened:(id)receiver structureParsers:(NSSet> *)structureParsers __attribute__((swift_name("flattened(_:structureParsers:)"))); ++ (id)flattenedForGrammar:(id)receiver grammar:(PAPIGrammar *)grammar __attribute__((swift_name("flattenedForGrammar(_:grammar:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("LiftToSyntaxTreeKt"))) +@interface PAPILiftToSyntaxTreeKt : PAPIBase ++ (id)liftToSyntaxTreeParser:(id)receiver liftOptions:(PAPILiftToSyntaxTreeOptions *)liftOptions structureParsers:(NSSet> * _Nullable)structureParsers transformer:(id _Nullable)transformer __attribute__((swift_name("liftToSyntaxTreeParser(_:liftOptions:structureParsers:transformer:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("TokenKt"))) +@interface PAPITokenKt : PAPIBase +@property (class, readonly) PAPIToken *noneMatched __attribute__((swift_name("noneMatched"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("LiteralTokenKt"))) +@interface PAPILiteralTokenKt : PAPIBase ++ (PAPIToken *)literalTokenText:(NSString *)text ignore:(BOOL)ignore __attribute__((swift_name("literalToken(text:ignore:)"))); ++ (PAPIToken *)literalTokenName:(NSString *)name text:(NSString *)text ignore:(BOOL)ignore __attribute__((swift_name("literalToken(name:text:ignore:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RegexTokenKt"))) +@interface PAPIRegexTokenKt : PAPIBase ++ (PAPIRegexToken *)regexTokenPattern:(NSString *)pattern ignore:(BOOL)ignore __attribute__((swift_name("regexToken(pattern:ignore:)"))); ++ (PAPIRegexToken *)regexTokenName:(NSString *)name pattern:(NSString *)pattern ignore:(BOOL)ignore __attribute__((swift_name("regexToken(name:pattern:ignore:)"))); ++ (PAPIRegexToken *)regexTokenName:(NSString *)name pattern:(PAPIKotlinRegex *)pattern ignore_:(BOOL)ignore __attribute__((swift_name("regexToken(name:pattern:ignore_:)"))); ++ (PAPIRegexToken *)regexTokenPattern:(PAPIKotlinRegex *)pattern ignore_:(BOOL)ignore __attribute__((swift_name("regexToken(pattern:ignore_:)"))); ++ (PAPIRegexToken *)tokenPattern:(NSString *)pattern ignore:(BOOL)ignore __attribute__((swift_name("token(pattern:ignore:)"))) __attribute__((deprecated("Use either regexToken or literalToken. This function will be removed soon"))); ++ (PAPIRegexToken *)tokenName:(NSString *)name pattern:(NSString *)pattern ignore:(BOOL)ignore __attribute__((swift_name("token(name:pattern:ignore:)"))) __attribute__((deprecated("Use either regexToken or literalToken. This function will be removed soon"))); ++ (PAPIRegexToken *)tokenName:(NSString *)name pattern:(PAPIKotlinRegex *)pattern ignore_:(BOOL)ignore __attribute__((swift_name("token(name:pattern:ignore_:)"))) __attribute__((deprecated("Use either regexToken or literalToken. This function will be removed soon"))); ++ (PAPIRegexToken *)tokenPattern:(PAPIKotlinRegex *)pattern ignore_:(BOOL)ignore __attribute__((swift_name("token(pattern:ignore_:)"))) __attribute__((deprecated("Use either regexToken or literalToken. This function will be removed soon"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("LambdaTokenKt"))) +@interface PAPILambdaTokenKt : PAPIBase ++ (PAPIToken *)tokenIgnored:(BOOL)ignored matcher:(PAPIInt *(^)(id, PAPIInt *))matcher __attribute__((swift_name("token(ignored:matcher:)"))); ++ (PAPIToken *)tokenName:(NSString *)name ignored:(BOOL)ignored matcher:(PAPIInt *(^)(id, PAPIInt *))matcher __attribute__((swift_name("token(name:ignored:matcher:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ParserKt"))) +@interface PAPIParserKt : PAPIBase ++ (id _Nullable)parse:(id)receiver tokens:(PAPITokenMatchesSequence *)tokens __attribute__((swift_name("parse(_:tokens:)"))); ++ (id _Nullable)parseToEnd:(id)receiver tokens:(PAPITokenMatchesSequence *)tokens __attribute__((swift_name("parseToEnd(_:tokens:)"))); ++ (PAPIParseResult *)tryParseToEnd:(id)receiver tokens:(PAPITokenMatchesSequence *)tokens position:(int32_t)position __attribute__((swift_name("tryParseToEnd(_:tokens:position:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SeparatedKt"))) +@interface PAPISeparatedKt : PAPIBase ++ (id)leftAssociativeTerm:(id)term operator:(id)operator_ transform:(id _Nullable (^)(id _Nullable, id _Nullable, id _Nullable))transform __attribute__((swift_name("leftAssociative(term:operator:transform:)"))); ++ (id)rightAssociativeTerm:(id)term operator:(id)operator_ transform:(id _Nullable (^)(id _Nullable, id _Nullable, id _Nullable))transform __attribute__((swift_name("rightAssociative(term:operator:transform:)"))); ++ (id)separatedTerm:(id)term separator:(id)separator acceptZero:(BOOL)acceptZero __attribute__((swift_name("separated(term:separator:acceptZero:)"))); ++ (id)separatedTermsTerm:(id)term separator:(id)separator acceptZero:(BOOL)acceptZero __attribute__((swift_name("separatedTerms(term:separator:acceptZero:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RepeatCombinatorKt"))) +@interface PAPIRepeatCombinatorKt : PAPIBase ++ (id)oneOrMoreParser:(id)parser __attribute__((swift_name("oneOrMore(parser:)"))); ++ (id)zeroOrMoreParser:(id)parser __attribute__((swift_name("zeroOrMore(parser:)"))); ++ (id)times:(int32_t)receiver parser:(id)parser __attribute__((swift_name("times(_:parser:)"))); ++ (id)timesOrMore:(int32_t)receiver parser:(id)parser __attribute__((swift_name("timesOrMore(_:parser:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OptionalCombinatorKt"))) +@interface PAPIOptionalCombinatorKt : PAPIBase ++ (id)optionalParser:(id)parser __attribute__((swift_name("optional(parser:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SkipParserKt"))) +@interface PAPISkipParserKt : PAPIBase ++ (PAPISkipParser *)skipParser:(id)parser __attribute__((swift_name("skip(parser:)"))); ++ (PAPIAndCombinator *)and:(id)receiver other:(PAPISkipParser *)other __attribute__((swift_name("and(_:other:)"))); ++ (PAPIAndCombinator *)times:(id)receiver other:(PAPISkipParser *)other __attribute__((swift_name("times(_:other:)"))); ++ (PAPISkipParser *)unaryMinus:(id)receiver __attribute__((swift_name("unaryMinus(_:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AndCombinatorKt"))) +@interface PAPIAndCombinatorKt : PAPIBase ++ (PAPIAndCombinator *> *)and:(id)receiver other:(id)other __attribute__((swift_name("and(_:other:)"))); ++ (PAPIAndCombinator *> *)times:(id)receiver other:(id)other __attribute__((swift_name("times(_:other:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MapCombinatorKt"))) +@interface PAPIMapCombinatorKt : PAPIBase ++ (PAPIMapCombinator *)asJust:(id)receiver value:(id _Nullable)value __attribute__((swift_name("asJust(_:value:)"))); ++ (id)map:(id)receiver transform:(id _Nullable (^)(id _Nullable))transform __attribute__((swift_name("map(_:transform:)"))); ++ (id)use:(id)receiver transform:(id _Nullable (^)(id _Nullable))transform __attribute__((swift_name("use(_:transform:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("OrCombinatorKt"))) +@interface PAPIOrCombinatorKt : PAPIBase ++ (id)or:(id)receiver other:(id)other __attribute__((swift_name("or(_:other:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("GrammarKt"))) +@interface PAPIGrammarKt : PAPIBase ++ (id)parserBlock:(id (^)(void))block __attribute__((swift_name("parser(block:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("JobKt"))) +@interface PAPIJobKt : PAPIBase ++ (BOOL)isActive:(id)receiver __attribute__((swift_name("isActive(_:)"))); ++ (id)job:(id)receiver __attribute__((swift_name("job(_:)"))); ++ (id)DisposableHandleBlock:(void (^)(void))block __attribute__((swift_name("DisposableHandle(block:)"))); ++ (id)JobParent:(id _Nullable)parent __attribute__((swift_name("Job(parent:)"))); ++ (void)cancel:(id)receiver cause:(PAPIKotlinCancellationException * _Nullable)cause __attribute__((swift_name("cancel(_:cause:)"))); ++ (void)cancel:(id)receiver message:(NSString *)message cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("cancel(_:message:cause:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)cancelAndJoin:(id)receiver completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("cancelAndJoin(_:completionHandler:)"))); ++ (void)cancelChildren:(id)receiver cause:(PAPIKotlinCancellationException * _Nullable)cause __attribute__((swift_name("cancelChildren(_:cause:)"))); ++ (void)cancelChildren:(id)receiver cause_:(PAPIKotlinCancellationException * _Nullable)cause __attribute__((swift_name("cancelChildren(_:cause_:)"))); ++ (void)ensureActive:(id)receiver __attribute__((swift_name("ensureActive(_:)"))); ++ (void)ensureActive_:(id)receiver __attribute__((swift_name("ensureActive(__:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CoroutineScopeKt"))) +@interface PAPICoroutineScopeKt : PAPIBase ++ (BOOL)isActive:(id)receiver __attribute__((swift_name("isActive(_:)"))); ++ (id)CoroutineScopeContext:(id)context __attribute__((swift_name("CoroutineScope(context:)"))); ++ (id)MainScope __attribute__((swift_name("MainScope()"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)coroutineScopeBlock:(id)block completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("coroutineScope(block:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)currentCoroutineContextWithCompletionHandler:(void (^)(id _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("currentCoroutineContext(completionHandler:)"))); ++ (void)cancel:(id)receiver message:(NSString *)message cause:(PAPIKotlinThrowable * _Nullable)cause __attribute__((swift_name("cancel(_:message:cause:)"))); ++ (void)cancel:(id)receiver cause:(PAPIKotlinCancellationException * _Nullable)cause __attribute__((swift_name("cancel(_:cause:)"))); ++ (void)ensureActive:(id)receiver __attribute__((swift_name("ensureActive(_:)"))); ++ (id)plus:(id)receiver context:(id)context __attribute__((swift_name("plus(_:context:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CompletableDeferredKt"))) +@interface PAPICompletableDeferredKt : PAPIBase ++ (id)CompletableDeferredValue:(id _Nullable)value __attribute__((swift_name("CompletableDeferred(value:)"))); ++ (id)CompletableDeferredParent:(id _Nullable)parent __attribute__((swift_name("CompletableDeferred(parent:)"))); ++ (BOOL)completeWith:(id)receiver result:(id _Nullable)result __attribute__((swift_name("completeWith(_:result:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CoroutineExceptionHandlerKt"))) +@interface PAPICoroutineExceptionHandlerKt : PAPIBase ++ (id)CoroutineExceptionHandlerHandler:(void (^)(id, PAPIKotlinThrowable *))handler __attribute__((swift_name("CoroutineExceptionHandler(handler:)"))); ++ (void)handleCoroutineExceptionContext:(id)context exception:(PAPIKotlinThrowable *)exception __attribute__((swift_name("handleCoroutineException(context:exception:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("RunnableKt"))) +@interface PAPIRunnableKt : PAPIBase ++ (id)RunnableBlock:(void (^)(void))block __attribute__((swift_name("Runnable(block:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SupervisorKt"))) +@interface PAPISupervisorKt : PAPIBase ++ (id)SupervisorJobParent:(id _Nullable)parent __attribute__((swift_name("SupervisorJob(parent:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)supervisorScopeBlock:(id)block completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("supervisorScope(block:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AwaitKt"))) +@interface PAPIAwaitKt : PAPIBase + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)awaitAllDeferreds:(PAPIKotlinArray> *)deferreds completionHandler:(void (^)(NSArray * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("awaitAll(deferreds:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)joinAllJobs:(PAPIKotlinArray> *)jobs completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("joinAll(jobs:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)awaitAll:(id)receiver completionHandler:(void (^)(NSArray * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("awaitAll(_:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)joinAll:(id)receiver completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("joinAll(_:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DelayKt"))) +@interface PAPIDelayKt : PAPIBase + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)awaitCancellationWithCompletionHandler:(void (^)(PAPIKotlinNothing * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("awaitCancellation(completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)delayTimeMillis:(int64_t)timeMillis completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("delay(timeMillis:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)delayDuration:(int64_t)duration completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("delay(duration:completionHandler:)"))); ++ (id)debounce:(id)receiver timeoutMillis:(PAPILong *(^)(id _Nullable))timeoutMillis __attribute__((swift_name("debounce(_:timeoutMillis:)"))); ++ (id)debounce:(id)receiver timeout:(id (^)(id _Nullable))timeout __attribute__((swift_name("debounce(_:timeout:)"))); ++ (id)debounce:(id)receiver timeoutMillis_:(int64_t)timeoutMillis __attribute__((swift_name("debounce(_:timeoutMillis_:)"))); ++ (id)debounce:(id)receiver timeout_:(int64_t)timeout __attribute__((swift_name("debounce(_:timeout_:)"))); ++ (id)sample:(id)receiver periodMillis:(int64_t)periodMillis __attribute__((swift_name("sample(_:periodMillis:)"))); ++ (id)sample:(id)receiver period:(int64_t)period __attribute__((swift_name("sample(_:period:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ThreadKt"))) +@interface PAPIThreadKt : PAPIBase ++ (void)doInitMainThread __attribute__((swift_name("doInitMainThread()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("WorkersKt"))) +@interface PAPIWorkersKt : PAPIBase ++ (PAPISingleThreadDispatcher *)doNewSingleThreadContextName:(NSString *)name __attribute__((swift_name("doNewSingleThreadContext(name:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BuildersKt"))) +@interface PAPIBuildersKt : PAPIBase ++ (id _Nullable)runBlockingContext:(id)context block:(id)block __attribute__((swift_name("runBlocking(context:block:)"))); ++ (id)callbackFlowBlock:(id)block __attribute__((swift_name("callbackFlow(block:)"))); ++ (id)channelFlowBlock:(id)block __attribute__((swift_name("channelFlow(block:)"))); ++ (id)emptyFlow __attribute__((swift_name("emptyFlow()"))); ++ (id)flowBlock:(id)block __attribute__((swift_name("flow(block:)"))); ++ (id)flowOfValue:(id _Nullable)value __attribute__((swift_name("flowOf(value:)"))); ++ (id)flowOfElements:(PAPIKotlinArray *)elements __attribute__((swift_name("flowOf(elements:)"))); ++ (id)flowViaChannelBufferSize:(int32_t)bufferSize block:(void (^)(id, id))block __attribute__((swift_name("flowViaChannel(bufferSize:block:)"))) __attribute__((unavailable("Use channelFlow with awaitClose { } instead of flowViaChannel and invokeOnClose { }."))); ++ (id)asFlow:(id _Nullable (^)(void))receiver __attribute__((swift_name("asFlow(_:)"))); ++ (id)asFlow_:(id)receiver __attribute__((swift_name("asFlow(__:)"))); ++ (id)asFlow__:(id)receiver __attribute__((swift_name("asFlow(___:)"))); ++ (id)asFlow___:(id)receiver __attribute__((swift_name("asFlow(____:)"))); ++ (id)asFlow____:(id)receiver __attribute__((swift_name("asFlow(_____:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CancellableContinuationKt"))) +@interface PAPICancellableContinuationKt : PAPIBase + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)suspendCancellableCoroutineBlock:(void (^)(id))block completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("suspendCancellableCoroutine(block:completionHandler:)"))); ++ (void)disposeOnCancellation:(id)receiver handle:(id)handle __attribute__((swift_name("disposeOnCancellation(_:handle:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Builders_commonKt"))) +@interface PAPIBuilders_commonKt : PAPIBase + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)withContextContext:(id)context block:(id)block completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("withContext(context:block:completionHandler:)"))); ++ (id)async:(id)receiver context:(id)context start:(PAPICoroutineStart *)start block:(id)block __attribute__((swift_name("async(_:context:start:block:)"))); ++ (id)launch:(id)receiver context:(id)context start:(PAPICoroutineStart *)start block:(id)block __attribute__((swift_name("launch(_:context:start:block:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("TimeoutKt"))) +@interface PAPITimeoutKt : PAPIBase + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)withTimeoutTimeMillis:(int64_t)timeMillis block:(id)block completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("withTimeout(timeMillis:block:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)withTimeoutTimeout:(int64_t)timeout block:(id)block completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("withTimeout(timeout:block:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)withTimeoutOrNullTimeMillis:(int64_t)timeMillis block:(id)block completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("withTimeoutOrNull(timeMillis:block:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)withTimeoutOrNullTimeout:(int64_t)timeout block:(id)block completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("withTimeoutOrNull(timeout:block:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("YieldKt"))) +@interface PAPIYieldKt : PAPIBase + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)yieldWithCompletionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("yield(completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CoroutineContextKt"))) +@interface PAPICoroutineContextKt : PAPIBase ++ (id)doNewCoroutineContext:(id)receiver context:(id)context __attribute__((swift_name("doNewCoroutineContext(_:context:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CancellableKt"))) +@interface PAPICancellableKt : PAPIBase ++ (void)startCoroutineCancellable:(id)receiver completion:(id)completion __attribute__((swift_name("startCoroutineCancellable(_:completion:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BroadcastChannelKt"))) +@interface PAPIBroadcastChannelKt : PAPIBase ++ (id)BroadcastChannelCapacity:(int32_t)capacity __attribute__((swift_name("BroadcastChannel(capacity:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ChannelKt"))) +@interface PAPIChannelKt : PAPIBase ++ (id)ChannelCapacity:(int32_t)capacity onBufferOverflow:(PAPIBufferOverflow *)onBufferOverflow onUndeliveredElement:(void (^ _Nullable)(id _Nullable))onUndeliveredElement __attribute__((swift_name("Channel(capacity:onBufferOverflow:onUndeliveredElement:)"))); ++ (id _Nullable)getOrElse:(id _Nullable)receiver onFailure:(id _Nullable (^)(PAPIKotlinThrowable * _Nullable))onFailure __attribute__((swift_name("getOrElse(_:onFailure:)"))); ++ (id _Nullable)onClosed:(id _Nullable)receiver action:(void (^)(PAPIKotlinThrowable * _Nullable))action __attribute__((swift_name("onClosed(_:action:)"))); ++ (id _Nullable)onFailure:(id _Nullable)receiver action:(void (^)(PAPIKotlinThrowable * _Nullable))action __attribute__((swift_name("onFailure(_:action:)"))); ++ (id _Nullable)onSuccess:(id _Nullable)receiver action:(void (^)(id _Nullable))action __attribute__((swift_name("onSuccess(_:action:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ProduceKt"))) +@interface PAPIProduceKt : PAPIBase + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)awaitClose:(id)receiver block:(void (^)(void))block completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("awaitClose(_:block:completionHandler:)"))); ++ (id)produce:(id)receiver context:(id)context capacity:(int32_t)capacity start:(PAPICoroutineStart *)start onCompletion:(void (^ _Nullable)(PAPIKotlinThrowable * _Nullable))onCompletion block:(id)block __attribute__((swift_name("produce(_:context:capacity:start:onCompletion:block:)"))); ++ (id)produce:(id)receiver context:(id)context capacity:(int32_t)capacity block:(id)block __attribute__((swift_name("produce(_:context:capacity:block:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BroadcastKt"))) +@interface PAPIBroadcastKt : PAPIBase ++ (id)broadcast:(id)receiver context:(id)context capacity:(int32_t)capacity start:(PAPICoroutineStart *)start onCompletion:(void (^ _Nullable)(PAPIKotlinThrowable * _Nullable))onCompletion block:(id)block __attribute__((swift_name("broadcast(_:context:capacity:start:onCompletion:block:)"))); ++ (id)broadcast:(id)receiver capacity:(int32_t)capacity start:(PAPICoroutineStart *)start __attribute__((swift_name("broadcast(_:capacity:start:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Channels_commonKt"))) +@interface PAPIChannels_commonKt : PAPIBase ++ (id _Nullable)consume:(id)receiver block:(id _Nullable (^)(id))block __attribute__((swift_name("consume(_:block:)"))); ++ (id _Nullable)consume:(id)receiver block_:(id _Nullable (^)(id))block __attribute__((swift_name("consume(_:block_:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)consumeEach:(id)receiver action:(void (^)(id _Nullable))action completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("consumeEach(_:action:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)consumeEach:(id)receiver action:(void (^)(id _Nullable))action completionHandler_:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("consumeEach(_:action:completionHandler_:)"))); ++ (id)onReceiveOrNull:(id)receiver __attribute__((swift_name("onReceiveOrNull(_:)"))) __attribute__((deprecated("Deprecated in the favour of 'onReceiveCatching'"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)receiveOrNull:(id)receiver completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("receiveOrNull(_:completionHandler:)"))) __attribute__((deprecated("Deprecated in the favour of 'receiveCatching'"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)toList:(id)receiver completionHandler:(void (^)(NSArray * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("toList(_:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MergeKt"))) +@interface PAPIMergeKt : PAPIBase ++ (id)mergeFlows:(PAPIKotlinArray> *)flows __attribute__((swift_name("merge(flows:)"))); ++ (id)flatMapConcat:(id)receiver transform:(id)transform __attribute__((swift_name("flatMapConcat(_:transform:)"))); ++ (id)flatMapLatest:(id)receiver transform:(id)transform __attribute__((swift_name("flatMapLatest(_:transform:)"))); ++ (id)flatMapMerge:(id)receiver concurrency:(int32_t)concurrency transform:(id)transform __attribute__((swift_name("flatMapMerge(_:concurrency:transform:)"))); ++ (id)flattenConcat:(id)receiver __attribute__((swift_name("flattenConcat(_:)"))); ++ (id)flattenMerge:(id)receiver concurrency:(int32_t)concurrency __attribute__((swift_name("flattenMerge(_:concurrency:)"))); ++ (id)mapLatest:(id)receiver transform:(id)transform __attribute__((swift_name("mapLatest(_:transform:)"))); ++ (id)merge:(id)receiver __attribute__((swift_name("merge(_:)"))); ++ (id)transformLatest:(id)receiver transform:(id)transform __attribute__((swift_name("transformLatest(_:transform:)"))); +@property (class, readonly) int32_t DEFAULT_CONCURRENCY __attribute__((swift_name("DEFAULT_CONCURRENCY"))); +@property (class, readonly) NSString *DEFAULT_CONCURRENCY_PROPERTY_NAME __attribute__((swift_name("DEFAULT_CONCURRENCY_PROPERTY_NAME"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("LintKt"))) +@interface PAPILintKt : PAPIBase ++ (id)coroutineContext:(id)receiver __attribute__((swift_name("coroutineContext(_:)"))) __attribute__((unavailable("coroutineContext is resolved into the property of outer CoroutineScope which is likely to be an error.Use currentCoroutineContext() instead or specify the receiver of coroutineContext explicitly"))); ++ (BOOL)isActive:(id)receiver __attribute__((swift_name("isActive(_:)"))) __attribute__((unavailable("isActive is resolved into the extension of outer CoroutineScope which is likely to be an error.Use currentCoroutineContext().isActive or cancellable() operator instead or specify the receiver of isActive explicitly. Additionally, flow {} builder emissions are cancellable by default."))); ++ (void)cancel:(id)receiver cause:(PAPIKotlinCancellationException * _Nullable)cause __attribute__((swift_name("cancel(_:cause:)"))) __attribute__((unavailable("cancel() is resolved into the extension of outer CoroutineScope which is likely to be an error.Use currentCoroutineContext().cancel() instead or specify the receiver of cancel() explicitly"))); ++ (id)cancellable:(id)receiver __attribute__((swift_name("cancellable(_:)"))) __attribute__((unavailable("Applying 'cancellable' to a SharedFlow has no effect. See the SharedFlow documentation on Operator Fusion."))); ++ (id)catch:(id)receiver action:(id)action __attribute__((swift_name("catch(_:action:)"))) __attribute__((deprecated("SharedFlow never completes, so this operator typically has not effect, it can only catch exceptions from 'onSubscribe' operator"))); ++ (id)conflate:(id)receiver __attribute__((swift_name("conflate(_:)"))) __attribute__((unavailable("Applying 'conflate' to StateFlow has no effect. See the StateFlow documentation on Operator Fusion."))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)count:(id)receiver completionHandler:(void (^)(PAPIInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("count(_:completionHandler:)"))) __attribute__((deprecated("SharedFlow never completes, so this terminal operation never completes."))); ++ (id)distinctUntilChanged:(id)receiver __attribute__((swift_name("distinctUntilChanged(_:)"))) __attribute__((unavailable("Applying 'distinctUntilChanged' to StateFlow has no effect. See the StateFlow documentation on Operator Fusion."))); ++ (id)flowOn:(id)receiver context:(id)context __attribute__((swift_name("flowOn(_:context:)"))) __attribute__((unavailable("Applying 'flowOn' to SharedFlow has no effect. See the SharedFlow documentation on Operator Fusion."))); ++ (id)retry:(id)receiver retries:(int64_t)retries predicate:(id)predicate __attribute__((swift_name("retry(_:retries:predicate:)"))) __attribute__((deprecated("SharedFlow never completes, so this operator has no effect."))); ++ (id)retryWhen:(id)receiver predicate:(id)predicate __attribute__((swift_name("retryWhen(_:predicate:)"))) __attribute__((deprecated("SharedFlow never completes, so this operator has no effect."))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)toList:(id)receiver completionHandler:(void (^)(NSArray * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("toList(_:completionHandler:)"))) __attribute__((deprecated("SharedFlow never completes, so this terminal operation never completes."))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)toSet:(id)receiver completionHandler:(void (^)(NSSet * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("toSet(_:completionHandler:)"))) __attribute__((deprecated("SharedFlow never completes, so this terminal operation never completes."))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SharedFlowKt"))) +@interface PAPISharedFlowKt : PAPIBase ++ (id)MutableSharedFlowReplay:(int32_t)replay extraBufferCapacity:(int32_t)extraBufferCapacity onBufferOverflow:(PAPIBufferOverflow *)onBufferOverflow __attribute__((swift_name("MutableSharedFlow(replay:extraBufferCapacity:onBufferOverflow:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("StateFlowKt"))) +@interface PAPIStateFlowKt : PAPIBase ++ (id)MutableStateFlowValue:(id _Nullable)value __attribute__((swift_name("MutableStateFlow(value:)"))); ++ (id _Nullable)getAndUpdate:(id)receiver function:(id _Nullable (^)(id _Nullable))function __attribute__((swift_name("getAndUpdate(_:function:)"))); ++ (void)update:(id)receiver function:(id _Nullable (^)(id _Nullable))function __attribute__((swift_name("update(_:function:)"))); ++ (id _Nullable)updateAndGet:(id)receiver function:(id _Nullable (^)(id _Nullable))function __attribute__((swift_name("updateAndGet(_:function:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ZipKt"))) +@interface PAPIZipKt : PAPIBase ++ (id)combineFlows:(PAPIKotlinArray> *)flows transform:(id)transform __attribute__((swift_name("combine(flows:transform:)"))); ++ (id)combineFlows:(id)flows transform_:(id)transform __attribute__((swift_name("combine(flows:transform_:)"))); ++ (id)combineFlow:(id)flow flow2:(id)flow2 flow3:(id)flow3 flow4:(id)flow4 flow5:(id)flow5 transform:(id)transform __attribute__((swift_name("combine(flow:flow2:flow3:flow4:flow5:transform:)"))); ++ (id)combineFlow:(id)flow flow2:(id)flow2 flow3:(id)flow3 flow4:(id)flow4 transform:(id)transform __attribute__((swift_name("combine(flow:flow2:flow3:flow4:transform:)"))); ++ (id)combineFlow:(id)flow flow2:(id)flow2 flow3:(id)flow3 transform:(id)transform __attribute__((swift_name("combine(flow:flow2:flow3:transform:)"))); ++ (id)combineFlow:(id)flow flow2:(id)flow2 transform:(id)transform __attribute__((swift_name("combine(flow:flow2:transform:)"))); ++ (id)combineTransformFlows:(PAPIKotlinArray> *)flows transform:(id)transform __attribute__((swift_name("combineTransform(flows:transform:)"))); ++ (id)combineTransformFlows:(id)flows transform_:(id)transform __attribute__((swift_name("combineTransform(flows:transform_:)"))); ++ (id)combineTransformFlow:(id)flow flow2:(id)flow2 flow3:(id)flow3 flow4:(id)flow4 flow5:(id)flow5 transform:(id)transform __attribute__((swift_name("combineTransform(flow:flow2:flow3:flow4:flow5:transform:)"))); ++ (id)combineTransformFlow:(id)flow flow2:(id)flow2 flow3:(id)flow3 flow4:(id)flow4 transform:(id)transform __attribute__((swift_name("combineTransform(flow:flow2:flow3:flow4:transform:)"))); ++ (id)combineTransformFlow:(id)flow flow2:(id)flow2 flow3:(id)flow3 transform:(id)transform __attribute__((swift_name("combineTransform(flow:flow2:flow3:transform:)"))); ++ (id)combineTransformFlow:(id)flow flow2:(id)flow2 transform:(id)transform __attribute__((swift_name("combineTransform(flow:flow2:transform:)"))); ++ (id)combine:(id)receiver flow:(id)flow transform:(id)transform __attribute__((swift_name("combine(_:flow:transform:)"))); ++ (id)combineTransform:(id)receiver flow:(id)flow transform:(id)transform __attribute__((swift_name("combineTransform(_:flow:transform:)"))); ++ (id)zip:(id)receiver other:(id)other transform:(id)transform __attribute__((swift_name("zip(_:other:transform:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ChannelsKt"))) +@interface PAPIChannelsKt : PAPIBase ++ (id)asFlow:(id)receiver __attribute__((swift_name("asFlow(_:)"))) __attribute__((deprecated("'BroadcastChannel' is obsolete and all corresponding operators are deprecated in the favour of StateFlow and SharedFlow"))); ++ (id)broadcastIn:(id)receiver scope:(id)scope start:(PAPICoroutineStart *)start __attribute__((swift_name("broadcastIn(_:scope:start:)"))) __attribute__((unavailable("Use shareIn operator and the resulting SharedFlow as a replacement for BroadcastChannel"))); ++ (id)consumeAsFlow:(id)receiver __attribute__((swift_name("consumeAsFlow(_:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)emitAll:(id)receiver channel:(id)channel completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("emitAll(_:channel:completionHandler:)"))); ++ (id)produceIn:(id)receiver scope:(id)scope __attribute__((swift_name("produceIn(_:scope:)"))); ++ (id)receiveAsFlow:(id)receiver __attribute__((swift_name("receiveAsFlow(_:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ShareKt"))) +@interface PAPIShareKt : PAPIBase ++ (id)asSharedFlow:(id)receiver __attribute__((swift_name("asSharedFlow(_:)"))); ++ (id)asStateFlow:(id)receiver __attribute__((swift_name("asStateFlow(_:)"))); ++ (id)onSubscription:(id)receiver action:(id)action __attribute__((swift_name("onSubscription(_:action:)"))); ++ (id)shareIn:(id)receiver scope:(id)scope started:(id)started replay:(int32_t)replay __attribute__((swift_name("shareIn(_:scope:started:replay:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)stateIn:(id)receiver scope:(id)scope completionHandler:(void (^)(id _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("stateIn(_:scope:completionHandler:)"))); ++ (id)stateIn:(id)receiver scope:(id)scope started:(id)started initialValue:(id _Nullable)initialValue __attribute__((swift_name("stateIn(_:scope:started:initialValue:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ContextKt"))) +@interface PAPIContextKt : PAPIBase ++ (id)buffer:(id)receiver capacity:(int32_t)capacity onBufferOverflow:(PAPIBufferOverflow *)onBufferOverflow __attribute__((swift_name("buffer(_:capacity:onBufferOverflow:)"))); ++ (id)cancellable:(id)receiver __attribute__((swift_name("cancellable(_:)"))); ++ (id)conflate:(id)receiver __attribute__((swift_name("conflate(_:)"))); ++ (id)flowOn:(id)receiver context:(id)context __attribute__((swift_name("flowOn(_:context:)"))); ++ (id)flowWith:(id)receiver flowContext:(id)flowContext bufferSize:(int32_t)bufferSize builder:(id (^)(id))builder __attribute__((swift_name("flowWith(_:flowContext:bufferSize:builder:)"))) __attribute__((unavailable("flowWith is deprecated without replacement, please refer to its KDoc for an explanation"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MigrationKt"))) +@interface PAPIMigrationKt : PAPIBase ++ (id)cache:(id)receiver __attribute__((swift_name("cache(_:)"))) __attribute__((unavailable("Flow analogue of 'cache()' is 'shareIn' with unlimited replay and 'started = SharingStared.Lazily' argument'"))); ++ (id)combineLatest:(id)receiver other:(id)other other2:(id)other2 other3:(id)other3 other4:(id)other4 transform:(id)transform __attribute__((swift_name("combineLatest(_:other:other2:other3:other4:transform:)"))) __attribute__((unavailable("Flow analogue of 'combineLatest' is 'combine'"))); ++ (id)combineLatest:(id)receiver other:(id)other other2:(id)other2 other3:(id)other3 transform:(id)transform __attribute__((swift_name("combineLatest(_:other:other2:other3:transform:)"))) __attribute__((unavailable("Flow analogue of 'combineLatest' is 'combine'"))); ++ (id)combineLatest:(id)receiver other:(id)other other2:(id)other2 transform:(id)transform __attribute__((swift_name("combineLatest(_:other:other2:transform:)"))) __attribute__((unavailable("Flow analogue of 'combineLatest' is 'combine'"))); ++ (id)combineLatest:(id)receiver other:(id)other transform:(id)transform __attribute__((swift_name("combineLatest(_:other:transform:)"))) __attribute__((unavailable("Flow analogue of 'combineLatest' is 'combine'"))); ++ (id)compose:(id)receiver transformer:(id (^)(id))transformer __attribute__((swift_name("compose(_:transformer:)"))) __attribute__((unavailable("Flow analogue of 'compose' is 'let'"))); ++ (id)concatMap:(id)receiver mapper:(id (^)(id _Nullable))mapper __attribute__((swift_name("concatMap(_:mapper:)"))) __attribute__((unavailable("Flow analogue of 'concatMap' is 'flatMapConcat'"))); ++ (id)concatWith:(id)receiver value:(id _Nullable)value __attribute__((swift_name("concatWith(_:value:)"))) __attribute__((unavailable("Flow analogue of 'concatWith' is 'onCompletion'. Use 'onCompletion { emit(value) }'"))); ++ (id)concatWith:(id)receiver other:(id)other __attribute__((swift_name("concatWith(_:other:)"))) __attribute__((unavailable("Flow analogue of 'concatWith' is 'onCompletion'. Use 'onCompletion { if (it == null) emitAll(other) }'"))); ++ (id)delayEach:(id)receiver timeMillis:(int64_t)timeMillis __attribute__((swift_name("delayEach(_:timeMillis:)"))) __attribute__((unavailable("Use 'onEach { delay(timeMillis) }'"))); ++ (id)delayFlow:(id)receiver timeMillis:(int64_t)timeMillis __attribute__((swift_name("delayFlow(_:timeMillis:)"))) __attribute__((unavailable("Use 'onStart { delay(timeMillis) }'"))); ++ (id)flatMap:(id)receiver mapper:(id)mapper __attribute__((swift_name("flatMap(_:mapper:)"))) __attribute__((unavailable("Flow analogue is 'flatMapConcat'"))); ++ (id)flatten:(id)receiver __attribute__((swift_name("flatten(_:)"))) __attribute__((unavailable("Flow analogue of 'flatten' is 'flattenConcat'"))); ++ (void)forEach:(id)receiver action:(id)action __attribute__((swift_name("forEach(_:action:)"))) __attribute__((unavailable("Flow analogue of 'forEach' is 'collect'"))); ++ (id)merge:(id)receiver __attribute__((swift_name("merge(_:)"))) __attribute__((unavailable("Flow analogue of 'merge' is 'flattenConcat'"))); ++ (id)observeOn:(id)receiver context:(id)context __attribute__((swift_name("observeOn(_:context:)"))) __attribute__((unavailable("Collect flow in the desired context instead"))); ++ (id)onErrorResume:(id)receiver fallback:(id)fallback __attribute__((swift_name("onErrorResume(_:fallback:)"))) __attribute__((unavailable("Flow analogue of 'onErrorXxx' is 'catch'. Use 'catch { emitAll(fallback) }'"))); ++ (id)onErrorResumeNext:(id)receiver fallback:(id)fallback __attribute__((swift_name("onErrorResumeNext(_:fallback:)"))) __attribute__((unavailable("Flow analogue of 'onErrorXxx' is 'catch'. Use 'catch { emitAll(fallback) }'"))); ++ (id)onErrorReturn:(id)receiver fallback:(id _Nullable)fallback __attribute__((swift_name("onErrorReturn(_:fallback:)"))) __attribute__((unavailable("Flow analogue of 'onErrorXxx' is 'catch'. Use 'catch { emit(fallback) }'"))); ++ (id)onErrorReturn:(id)receiver fallback:(id _Nullable)fallback predicate:(PAPIBoolean *(^)(PAPIKotlinThrowable *))predicate __attribute__((swift_name("onErrorReturn(_:fallback:predicate:)"))) __attribute__((unavailable("Flow analogue of 'onErrorXxx' is 'catch'. Use 'catch { e -> if (predicate(e)) emit(fallback) else throw e }'"))); ++ (id)publish:(id)receiver __attribute__((swift_name("publish(_:)"))) __attribute__((unavailable("Flow analogue of 'publish()' is 'shareIn'. \npublish().connect() is the default strategy (no extra call is needed), \npublish().autoConnect() translates to 'started = SharingStared.Lazily' argument, \npublish().refCount() translates to 'started = SharingStared.WhileSubscribed()' argument."))); ++ (id)publish:(id)receiver bufferSize:(int32_t)bufferSize __attribute__((swift_name("publish(_:bufferSize:)"))) __attribute__((unavailable("Flow analogue of 'publish(bufferSize)' is 'buffer' followed by 'shareIn'. \npublish().connect() is the default strategy (no extra call is needed), \npublish().autoConnect() translates to 'started = SharingStared.Lazily' argument, \npublish().refCount() translates to 'started = SharingStared.WhileSubscribed()' argument."))); ++ (id)publishOn:(id)receiver context:(id)context __attribute__((swift_name("publishOn(_:context:)"))) __attribute__((unavailable("Collect flow in the desired context instead"))); ++ (id)replay:(id)receiver __attribute__((swift_name("replay(_:)"))) __attribute__((unavailable("Flow analogue of 'replay()' is 'shareIn' with unlimited replay. \nreplay().connect() is the default strategy (no extra call is needed), \nreplay().autoConnect() translates to 'started = SharingStared.Lazily' argument, \nreplay().refCount() translates to 'started = SharingStared.WhileSubscribed()' argument."))); ++ (id)replay:(id)receiver bufferSize:(int32_t)bufferSize __attribute__((swift_name("replay(_:bufferSize:)"))) __attribute__((unavailable("Flow analogue of 'replay(bufferSize)' is 'shareIn' with the specified replay parameter. \nreplay().connect() is the default strategy (no extra call is needed), \nreplay().autoConnect() translates to 'started = SharingStared.Lazily' argument, \nreplay().refCount() translates to 'started = SharingStared.WhileSubscribed()' argument."))); ++ (id)scanFold:(id)receiver initial:(id _Nullable)initial operation:(id)operation __attribute__((swift_name("scanFold(_:initial:operation:)"))) __attribute__((unavailable("Flow has less verbose 'scan' shortcut"))); ++ (id)scanReduce:(id)receiver operation:(id)operation __attribute__((swift_name("scanReduce(_:operation:)"))) __attribute__((unavailable("'scanReduce' was renamed to 'runningReduce' to be consistent with Kotlin standard library"))); ++ (id)skip:(id)receiver count:(int32_t)count __attribute__((swift_name("skip(_:count:)"))) __attribute__((unavailable("Flow analogue of 'skip' is 'drop'"))); ++ (id)startWith:(id)receiver value:(id _Nullable)value __attribute__((swift_name("startWith(_:value:)"))) __attribute__((unavailable("Flow analogue of 'startWith' is 'onStart'. Use 'onStart { emit(value) }'"))); ++ (id)startWith:(id)receiver other:(id)other __attribute__((swift_name("startWith(_:other:)"))) __attribute__((unavailable("Flow analogue of 'startWith' is 'onStart'. Use 'onStart { emitAll(other) }'"))); ++ (void)subscribe:(id)receiver __attribute__((swift_name("subscribe(_:)"))) __attribute__((unavailable("Use 'launchIn' with 'onEach', 'onCompletion' and 'catch' instead"))); ++ (void)subscribe:(id)receiver onEach:(id)onEach __attribute__((swift_name("subscribe(_:onEach:)"))) __attribute__((unavailable("Use 'launchIn' with 'onEach', 'onCompletion' and 'catch' instead"))); ++ (void)subscribe:(id)receiver onEach:(id)onEach onError:(id)onError __attribute__((swift_name("subscribe(_:onEach:onError:)"))) __attribute__((unavailable("Use 'launchIn' with 'onEach', 'onCompletion' and 'catch' instead"))); ++ (id)subscribeOn:(id)receiver context:(id)context __attribute__((swift_name("subscribeOn(_:context:)"))) __attribute__((unavailable("Use 'flowOn' instead"))); ++ (id)switchMap:(id)receiver transform:(id)transform __attribute__((swift_name("switchMap(_:transform:)"))) __attribute__((unavailable("Flow analogues of 'switchMap' are 'transformLatest', 'flatMapLatest' and 'mapLatest'"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ErrorsKt_"))) +@interface PAPIErrorsKt_ : PAPIBase ++ (id)catch:(id)receiver action:(id)action __attribute__((swift_name("catch(_:action:)"))); ++ (id)onErrorCollect:(id)receiver fallback:(id)fallback predicate:(PAPIBoolean *(^)(PAPIKotlinThrowable *))predicate __attribute__((swift_name("onErrorCollect(_:fallback:predicate:)"))) __attribute__((unavailable("Use catch { e -> if (predicate(e)) emitAll(fallback) else throw e }"))); ++ (id)retry:(id)receiver retries:(int64_t)retries predicate:(id)predicate __attribute__((swift_name("retry(_:retries:predicate:)"))); ++ (id)retryWhen:(id)receiver predicate:(id)predicate __attribute__((swift_name("retryWhen(_:predicate:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CollectKt"))) +@interface PAPICollectKt : PAPIBase + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)collect:(id)receiver completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("collect(_:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)collect:(id)receiver action:(id)action completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("collect(_:action:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)collectIndexed:(id)receiver action:(id)action completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("collectIndexed(_:action:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)collectLatest:(id)receiver action:(id)action completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("collectLatest(_:action:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)emitAll:(id)receiver flow:(id)flow completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("emitAll(_:flow:completionHandler:)"))); ++ (id)launchIn:(id)receiver scope:(id)scope __attribute__((swift_name("launchIn(_:scope:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CountKt"))) +@interface PAPICountKt : PAPIBase + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)count:(id)receiver completionHandler:(void (^)(PAPIInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("count(_:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)count:(id)receiver predicate:(id)predicate completionHandler:(void (^)(PAPIInt * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("count(_:predicate:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DistinctKt"))) +@interface PAPIDistinctKt : PAPIBase ++ (id)distinctUntilChanged:(id)receiver __attribute__((swift_name("distinctUntilChanged(_:)"))); ++ (id)distinctUntilChanged:(id)receiver areEquivalent:(PAPIBoolean *(^)(id _Nullable, id _Nullable))areEquivalent __attribute__((swift_name("distinctUntilChanged(_:areEquivalent:)"))); ++ (id)distinctUntilChangedBy:(id)receiver keySelector:(id _Nullable (^)(id _Nullable))keySelector __attribute__((swift_name("distinctUntilChangedBy(_:keySelector:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("LimitKt"))) +@interface PAPILimitKt : PAPIBase ++ (id)drop:(id)receiver count:(int32_t)count __attribute__((swift_name("drop(_:count:)"))); ++ (id)dropWhile:(id)receiver predicate:(id)predicate __attribute__((swift_name("dropWhile(_:predicate:)"))); ++ (id)take:(id)receiver count:(int32_t)count __attribute__((swift_name("take(_:count:)"))); ++ (id)takeWhile:(id)receiver predicate:(id)predicate __attribute__((swift_name("takeWhile(_:predicate:)"))); ++ (id)transformWhile:(id)receiver transform:(id)transform __attribute__((swift_name("transformWhile(_:transform:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("TransformKt"))) +@interface PAPITransformKt : PAPIBase ++ (id)filter:(id)receiver predicate:(id)predicate __attribute__((swift_name("filter(_:predicate:)"))); ++ (id)filterIsInstance:(id)receiver __attribute__((swift_name("filterIsInstance(_:)"))); ++ (id)filterNot:(id)receiver predicate:(id)predicate __attribute__((swift_name("filterNot(_:predicate:)"))); ++ (id)filterNotNull:(id)receiver __attribute__((swift_name("filterNotNull(_:)"))); ++ (id)map:(id)receiver transform:(id)transform __attribute__((swift_name("map(_:transform:)"))); ++ (id)mapNotNull:(id)receiver transform:(id)transform __attribute__((swift_name("mapNotNull(_:transform:)"))); ++ (id)onEach:(id)receiver action:(id)action __attribute__((swift_name("onEach(_:action:)"))); ++ (id)runningFold:(id)receiver initial:(id _Nullable)initial operation:(id)operation __attribute__((swift_name("runningFold(_:initial:operation:)"))); ++ (id)runningReduce:(id)receiver operation:(id)operation __attribute__((swift_name("runningReduce(_:operation:)"))); ++ (id)scan:(id)receiver initial:(id _Nullable)initial operation:(id)operation __attribute__((swift_name("scan(_:initial:operation:)"))); ++ (id)withIndex:(id)receiver __attribute__((swift_name("withIndex(_:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ReduceKt"))) +@interface PAPIReduceKt : PAPIBase + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)first:(id)receiver completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("first(_:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)first:(id)receiver predicate:(id)predicate completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("first(_:predicate:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)firstOrNull:(id)receiver completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("firstOrNull(_:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)firstOrNull:(id)receiver predicate:(id)predicate completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("firstOrNull(_:predicate:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)fold:(id)receiver initial:(id _Nullable)initial operation:(id)operation completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("fold(_:initial:operation:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)last:(id)receiver completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("last(_:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)lastOrNull:(id)receiver completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("lastOrNull(_:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)reduce:(id)receiver operation:(id)operation completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("reduce(_:operation:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)single:(id)receiver completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("single(_:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)singleOrNull:(id)receiver completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("singleOrNull(_:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("EmittersKt"))) +@interface PAPIEmittersKt : PAPIBase ++ (id)onCompletion:(id)receiver action:(id)action __attribute__((swift_name("onCompletion(_:action:)"))); ++ (id)onEmpty:(id)receiver action:(id)action __attribute__((swift_name("onEmpty(_:action:)"))); ++ (id)onStart:(id)receiver action:(id)action __attribute__((swift_name("onStart(_:action:)"))); ++ (id)transform:(id)receiver transform:(id)transform __attribute__((swift_name("transform(_:transform:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("CollectionKt"))) +@interface PAPICollectionKt : PAPIBase + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)toCollection:(id)receiver destination:(id)destination completionHandler:(void (^)(id _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("toCollection(_:destination:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)toList:(id)receiver destination:(NSMutableArray *)destination completionHandler:(void (^)(NSArray * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("toList(_:destination:completionHandler:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)toSet:(id)receiver destination:(PAPIMutableSet *)destination completionHandler:(void (^)(NSSet * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("toSet(_:destination:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SelectKt"))) +@interface PAPISelectKt : PAPIBase + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)selectBuilder:(void (^)(id))builder completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("select(builder:completionHandler:)"))); ++ (void)onTimeout:(id)receiver timeout:(int64_t)timeout block:(id)block __attribute__((swift_name("onTimeout(_:timeout:block:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SelectUnbiasedKt"))) +@interface PAPISelectUnbiasedKt : PAPIBase + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)selectUnbiasedBuilder:(void (^)(id))builder completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("selectUnbiased(builder:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("WhileSelectKt"))) +@interface PAPIWhileSelectKt : PAPIBase + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)whileSelectBuilder:(void (^)(id))builder completionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("whileSelect(builder:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DispatchedContinuationKt"))) +@interface PAPIDispatchedContinuationKt : PAPIBase ++ (void)resumeCancellableWith:(id)receiver result:(id _Nullable)result onCancellation:(void (^ _Nullable)(PAPIKotlinThrowable *))onCancellation __attribute__((swift_name("resumeCancellableWith(_:result:onCancellation:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("MutexKt"))) +@interface PAPIMutexKt : PAPIBase ++ (id)MutexLocked:(BOOL)locked __attribute__((swift_name("Mutex(locked:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)withLock:(id)receiver owner:(id _Nullable)owner action:(id _Nullable (^)(void))action completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("withLock(_:owner:action:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SemaphoreKt"))) +@interface PAPISemaphoreKt : PAPIBase ++ (id)SemaphorePermits:(int32_t)permits acquiredPermits:(int32_t)acquiredPermits __attribute__((swift_name("Semaphore(permits:acquiredPermits:)"))); + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)withPermit:(id)receiver action:(id _Nullable (^)(void))action completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("withPermit(_:action:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ModularBigIntegerExtensionsKt"))) +@interface PAPIModularBigIntegerExtensionsKt : PAPIBase ++ (PAPIModularBigInteger *)div:(int8_t)receiver other:(PAPIModularBigInteger *)other __attribute__((swift_name("div(_:other:)"))); ++ (PAPIModularBigInteger *)div:(int32_t)receiver other_:(PAPIModularBigInteger *)other __attribute__((swift_name("div(_:other_:)"))); ++ (PAPIModularBigInteger *)div:(int64_t)receiver other__:(PAPIModularBigInteger *)other __attribute__((swift_name("div(_:other__:)"))); ++ (PAPIModularBigInteger *)div:(int16_t)receiver other___:(PAPIModularBigInteger *)other __attribute__((swift_name("div(_:other___:)"))); ++ (PAPIModularBigInteger *)minus:(int8_t)receiver other:(PAPIModularBigInteger *)other __attribute__((swift_name("minus(_:other:)"))); ++ (PAPIModularBigInteger *)minus:(int32_t)receiver other_:(PAPIModularBigInteger *)other __attribute__((swift_name("minus(_:other_:)"))); ++ (PAPIModularBigInteger *)minus:(int64_t)receiver other__:(PAPIModularBigInteger *)other __attribute__((swift_name("minus(_:other__:)"))); ++ (PAPIModularBigInteger *)minus:(int16_t)receiver other___:(PAPIModularBigInteger *)other __attribute__((swift_name("minus(_:other___:)"))); ++ (PAPIModularBigInteger *)plus:(int8_t)receiver other:(PAPIModularBigInteger *)other __attribute__((swift_name("plus(_:other:)"))); ++ (PAPIModularBigInteger *)plus:(int32_t)receiver other_:(PAPIModularBigInteger *)other __attribute__((swift_name("plus(_:other_:)"))); ++ (PAPIModularBigInteger *)plus:(int64_t)receiver other__:(PAPIModularBigInteger *)other __attribute__((swift_name("plus(_:other__:)"))); ++ (PAPIModularBigInteger *)plus:(int16_t)receiver other___:(PAPIModularBigInteger *)other __attribute__((swift_name("plus(_:other___:)"))); ++ (PAPIModularBigInteger *)rem:(int8_t)receiver other:(PAPIModularBigInteger *)other __attribute__((swift_name("rem(_:other:)"))); ++ (PAPIModularBigInteger *)rem:(int32_t)receiver other_:(PAPIModularBigInteger *)other __attribute__((swift_name("rem(_:other_:)"))); ++ (PAPIModularBigInteger *)rem:(int64_t)receiver other__:(PAPIModularBigInteger *)other __attribute__((swift_name("rem(_:other__:)"))); ++ (PAPIModularBigInteger *)rem:(int16_t)receiver other___:(PAPIModularBigInteger *)other __attribute__((swift_name("rem(_:other___:)"))); ++ (PAPIModularBigInteger *)times:(int8_t)receiver other:(PAPIModularBigInteger *)other __attribute__((swift_name("times(_:other:)"))); ++ (PAPIModularBigInteger *)times:(int32_t)receiver other_:(PAPIModularBigInteger *)other __attribute__((swift_name("times(_:other_:)"))); ++ (PAPIModularBigInteger *)times:(int64_t)receiver other__:(PAPIModularBigInteger *)other __attribute__((swift_name("times(_:other__:)"))); ++ (PAPIModularBigInteger *)times:(int16_t)receiver other___:(PAPIModularBigInteger *)other __attribute__((swift_name("times(_:other___:)"))); ++ (PAPIModularBigInteger *)toModularBigInteger:(int8_t)receiver creator:(id)creator __attribute__((swift_name("toModularBigInteger(_:creator:)"))); ++ (PAPIModularBigInteger *)toModularBigInteger:(int32_t)receiver creator_:(id)creator __attribute__((swift_name("toModularBigInteger(_:creator_:)"))); ++ (PAPIModularBigInteger *)toModularBigInteger:(int64_t)receiver creator__:(id)creator __attribute__((swift_name("toModularBigInteger(_:creator__:)"))); ++ (PAPIModularBigInteger *)toModularBigInteger:(int16_t)receiver creator___:(id)creator __attribute__((swift_name("toModularBigInteger(_:creator___:)"))); ++ (PAPIModularBigInteger *)toModularBigInteger:(NSString *)receiver creator:(id)creator base:(int32_t)base __attribute__((swift_name("toModularBigInteger(_:creator:base:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BigDecimalExtensionsKt"))) +@interface PAPIBigDecimalExtensionsKt : PAPIBase ++ (PAPIBigDecimal *)div:(int8_t)receiver other:(PAPIBigDecimal *)other __attribute__((swift_name("div(_:other:)"))); ++ (PAPIBigDecimal *)div:(double)receiver other_:(PAPIBigDecimal *)other __attribute__((swift_name("div(_:other_:)"))); ++ (PAPIBigDecimal *)div:(float)receiver other__:(PAPIBigDecimal *)other __attribute__((swift_name("div(_:other__:)"))); ++ (PAPIBigDecimal *)div:(int32_t)receiver other___:(PAPIBigDecimal *)other __attribute__((swift_name("div(_:other___:)"))); ++ (PAPIBigDecimal *)div:(int64_t)receiver other____:(PAPIBigDecimal *)other __attribute__((swift_name("div(_:other____:)"))); ++ (PAPIBigDecimal *)div:(int16_t)receiver other_____:(PAPIBigDecimal *)other __attribute__((swift_name("div(_:other_____:)"))); ++ (PAPIBigDecimal *)minus:(int8_t)receiver other:(PAPIBigDecimal *)other __attribute__((swift_name("minus(_:other:)"))); ++ (PAPIBigDecimal *)minus:(double)receiver other_:(PAPIBigDecimal *)other __attribute__((swift_name("minus(_:other_:)"))); ++ (PAPIBigDecimal *)minus:(float)receiver other__:(PAPIBigDecimal *)other __attribute__((swift_name("minus(_:other__:)"))); ++ (PAPIBigDecimal *)minus:(int32_t)receiver other___:(PAPIBigDecimal *)other __attribute__((swift_name("minus(_:other___:)"))); ++ (PAPIBigDecimal *)minus:(int64_t)receiver other____:(PAPIBigDecimal *)other __attribute__((swift_name("minus(_:other____:)"))); ++ (PAPIBigDecimal *)minus:(int16_t)receiver other_____:(PAPIBigDecimal *)other __attribute__((swift_name("minus(_:other_____:)"))); ++ (PAPIBigDecimal *)plus:(int8_t)receiver other:(PAPIBigDecimal *)other __attribute__((swift_name("plus(_:other:)"))); ++ (PAPIBigDecimal *)plus:(double)receiver other_:(PAPIBigDecimal *)other __attribute__((swift_name("plus(_:other_:)"))); ++ (PAPIBigDecimal *)plus:(float)receiver other__:(PAPIBigDecimal *)other __attribute__((swift_name("plus(_:other__:)"))); ++ (PAPIBigDecimal *)plus:(int32_t)receiver other___:(PAPIBigDecimal *)other __attribute__((swift_name("plus(_:other___:)"))); ++ (PAPIBigDecimal *)plus:(int64_t)receiver other____:(PAPIBigDecimal *)other __attribute__((swift_name("plus(_:other____:)"))); ++ (PAPIBigDecimal *)plus:(int16_t)receiver other_____:(PAPIBigDecimal *)other __attribute__((swift_name("plus(_:other_____:)"))); ++ (PAPIBigDecimal *)rem:(int8_t)receiver other:(PAPIBigDecimal *)other __attribute__((swift_name("rem(_:other:)"))); ++ (PAPIBigDecimal *)rem:(double)receiver other_:(PAPIBigDecimal *)other __attribute__((swift_name("rem(_:other_:)"))); ++ (PAPIBigDecimal *)rem:(float)receiver other__:(PAPIBigDecimal *)other __attribute__((swift_name("rem(_:other__:)"))); ++ (PAPIBigDecimal *)rem:(int32_t)receiver other___:(PAPIBigDecimal *)other __attribute__((swift_name("rem(_:other___:)"))); ++ (PAPIBigDecimal *)rem:(int64_t)receiver other____:(PAPIBigDecimal *)other __attribute__((swift_name("rem(_:other____:)"))); ++ (PAPIBigDecimal *)rem:(int16_t)receiver other_____:(PAPIBigDecimal *)other __attribute__((swift_name("rem(_:other_____:)"))); ++ (PAPIBigDecimal *)times:(int8_t)receiver other:(PAPIBigDecimal *)other __attribute__((swift_name("times(_:other:)"))); ++ (PAPIBigDecimal *)times:(double)receiver other_:(PAPIBigDecimal *)other __attribute__((swift_name("times(_:other_:)"))); ++ (PAPIBigDecimal *)times:(float)receiver other__:(PAPIBigDecimal *)other __attribute__((swift_name("times(_:other__:)"))); ++ (PAPIBigDecimal *)times:(int32_t)receiver other___:(PAPIBigDecimal *)other __attribute__((swift_name("times(_:other___:)"))); ++ (PAPIBigDecimal *)times:(int64_t)receiver other____:(PAPIBigDecimal *)other __attribute__((swift_name("times(_:other____:)"))); ++ (PAPIBigDecimal *)times:(int16_t)receiver other_____:(PAPIBigDecimal *)other __attribute__((swift_name("times(_:other_____:)"))); ++ (PAPIBigDecimal *)toBigDecimal:(int8_t)receiver exponentModifier:(PAPILong * _Nullable)exponentModifier decimalMode:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("toBigDecimal(_:exponentModifier:decimalMode:)"))); ++ (PAPIBigDecimal *)toBigDecimal:(double)receiver exponentModifier:(PAPILong * _Nullable)exponentModifier decimalMode_:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("toBigDecimal(_:exponentModifier:decimalMode_:)"))); ++ (PAPIBigDecimal *)toBigDecimal:(float)receiver exponentModifier:(PAPILong * _Nullable)exponentModifier decimalMode__:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("toBigDecimal(_:exponentModifier:decimalMode__:)"))); ++ (PAPIBigDecimal *)toBigDecimal:(int32_t)receiver exponentModifier:(PAPILong * _Nullable)exponentModifier decimalMode___:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("toBigDecimal(_:exponentModifier:decimalMode___:)"))); ++ (PAPIBigDecimal *)toBigDecimal:(int64_t)receiver exponentModifier:(PAPILong * _Nullable)exponentModifier decimalMode____:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("toBigDecimal(_:exponentModifier:decimalMode____:)"))); ++ (PAPIBigDecimal *)toBigDecimal:(int16_t)receiver exponentModifier:(PAPILong * _Nullable)exponentModifier decimalMode_____:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("toBigDecimal(_:exponentModifier:decimalMode_____:)"))); ++ (PAPIBigDecimal *)toBigDecimal:(NSString *)receiver exponentModifier:(PAPILong * _Nullable)exponentModifier decimalMode______:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("toBigDecimal(_:exponentModifier:decimalMode______:)"))); ++ (PAPIBigDecimal *)toBigDecimalUsingSignificandAndExponent:(int8_t)receiver exponent:(int64_t)exponent decimalMode:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("toBigDecimalUsingSignificandAndExponent(_:exponent:decimalMode:)"))); ++ (PAPIBigDecimal *)toBigDecimalUsingSignificandAndExponent:(int32_t)receiver exponent:(int64_t)exponent decimalMode_:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("toBigDecimalUsingSignificandAndExponent(_:exponent:decimalMode_:)"))); ++ (PAPIBigDecimal *)toBigDecimalUsingSignificandAndExponent:(int64_t)receiver exponent:(int64_t)exponent decimalMode__:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("toBigDecimalUsingSignificandAndExponent(_:exponent:decimalMode__:)"))); ++ (PAPIBigDecimal *)toBigDecimalUsingSignificandAndExponent:(int16_t)receiver exponent:(int64_t)exponent decimalMode___:(PAPIDecimalMode * _Nullable)decimalMode __attribute__((swift_name("toBigDecimalUsingSignificandAndExponent(_:exponent:decimalMode___:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BigIntegerExtensionsKt"))) +@interface PAPIBigIntegerExtensionsKt : PAPIBase ++ (PAPIBigInteger *)div:(int8_t)receiver other:(PAPIBigInteger *)other __attribute__((swift_name("div(_:other:)"))); ++ (PAPIBigInteger *)div:(int32_t)receiver other_:(PAPIBigInteger *)other __attribute__((swift_name("div(_:other_:)"))); ++ (PAPIBigInteger *)div:(int64_t)receiver other__:(PAPIBigInteger *)other __attribute__((swift_name("div(_:other__:)"))); ++ (PAPIBigInteger *)div:(int16_t)receiver other___:(PAPIBigInteger *)other __attribute__((swift_name("div(_:other___:)"))); ++ (PAPIBigInteger *)div:(uint8_t)receiver other____:(PAPIBigInteger *)other __attribute__((swift_name("div(_:other____:)"))); ++ (PAPIBigInteger *)div:(uint32_t)receiver other_____:(PAPIBigInteger *)other __attribute__((swift_name("div(_:other_____:)"))); ++ (PAPIBigInteger *)div:(uint64_t)receiver other______:(PAPIBigInteger *)other __attribute__((swift_name("div(_:other______:)"))); ++ (PAPIBigInteger *)div:(uint16_t)receiver other_______:(PAPIBigInteger *)other __attribute__((swift_name("div(_:other_______:)"))); ++ (PAPIBigInteger *)minus:(int8_t)receiver other:(PAPIBigInteger *)other __attribute__((swift_name("minus(_:other:)"))); ++ (PAPIBigInteger *)minus:(int32_t)receiver other_:(PAPIBigInteger *)other __attribute__((swift_name("minus(_:other_:)"))); ++ (PAPIBigInteger *)minus:(int64_t)receiver other__:(PAPIBigInteger *)other __attribute__((swift_name("minus(_:other__:)"))); ++ (PAPIBigInteger *)minus:(int16_t)receiver other___:(PAPIBigInteger *)other __attribute__((swift_name("minus(_:other___:)"))); ++ (PAPIBigInteger *)minus:(uint8_t)receiver other____:(PAPIBigInteger *)other __attribute__((swift_name("minus(_:other____:)"))); ++ (PAPIBigInteger *)minus:(uint32_t)receiver other_____:(PAPIBigInteger *)other __attribute__((swift_name("minus(_:other_____:)"))); ++ (PAPIBigInteger *)minus:(uint64_t)receiver other______:(PAPIBigInteger *)other __attribute__((swift_name("minus(_:other______:)"))); ++ (PAPIBigInteger *)minus:(uint16_t)receiver other_______:(PAPIBigInteger *)other __attribute__((swift_name("minus(_:other_______:)"))); ++ (PAPIBigInteger *)plus:(int8_t)receiver other:(PAPIBigInteger *)other __attribute__((swift_name("plus(_:other:)"))); ++ (PAPIBigInteger *)plus:(int32_t)receiver other_:(PAPIBigInteger *)other __attribute__((swift_name("plus(_:other_:)"))); ++ (PAPIBigInteger *)plus:(int64_t)receiver other__:(PAPIBigInteger *)other __attribute__((swift_name("plus(_:other__:)"))); ++ (PAPIBigInteger *)plus:(int16_t)receiver other___:(PAPIBigInteger *)other __attribute__((swift_name("plus(_:other___:)"))); ++ (PAPIBigInteger *)plus:(uint8_t)receiver other____:(PAPIBigInteger *)other __attribute__((swift_name("plus(_:other____:)"))); ++ (PAPIBigInteger *)plus:(uint32_t)receiver other_____:(PAPIBigInteger *)other __attribute__((swift_name("plus(_:other_____:)"))); ++ (PAPIBigInteger *)plus:(uint64_t)receiver other______:(PAPIBigInteger *)other __attribute__((swift_name("plus(_:other______:)"))); ++ (PAPIBigInteger *)plus:(uint16_t)receiver other_______:(PAPIBigInteger *)other __attribute__((swift_name("plus(_:other_______:)"))); ++ (PAPIBigInteger *)rem:(int8_t)receiver other:(PAPIBigInteger *)other __attribute__((swift_name("rem(_:other:)"))); ++ (PAPIBigInteger *)rem:(int32_t)receiver other_:(PAPIBigInteger *)other __attribute__((swift_name("rem(_:other_:)"))); ++ (PAPIBigInteger *)rem:(int64_t)receiver other__:(PAPIBigInteger *)other __attribute__((swift_name("rem(_:other__:)"))); ++ (PAPIBigInteger *)rem:(int16_t)receiver other___:(PAPIBigInteger *)other __attribute__((swift_name("rem(_:other___:)"))); ++ (PAPIBigInteger *)rem:(uint8_t)receiver other____:(PAPIBigInteger *)other __attribute__((swift_name("rem(_:other____:)"))); ++ (PAPIBigInteger *)rem:(uint32_t)receiver other_____:(PAPIBigInteger *)other __attribute__((swift_name("rem(_:other_____:)"))); ++ (PAPIBigInteger *)rem:(uint64_t)receiver other______:(PAPIBigInteger *)other __attribute__((swift_name("rem(_:other______:)"))); ++ (PAPIBigInteger *)rem:(uint16_t)receiver other_______:(PAPIBigInteger *)other __attribute__((swift_name("rem(_:other_______:)"))); ++ (PAPIBigInteger *)times:(int8_t)receiver other:(PAPIBigInteger *)other __attribute__((swift_name("times(_:other:)"))); ++ (PAPIBigInteger *)times:(int32_t)receiver other_:(PAPIBigInteger *)other __attribute__((swift_name("times(_:other_:)"))); ++ (PAPIBigInteger *)times:(int64_t)receiver other__:(PAPIBigInteger *)other __attribute__((swift_name("times(_:other__:)"))); ++ (PAPIBigInteger *)times:(int16_t)receiver other___:(PAPIBigInteger *)other __attribute__((swift_name("times(_:other___:)"))); ++ (PAPIBigInteger *)times:(uint8_t)receiver other____:(PAPIBigInteger *)other __attribute__((swift_name("times(_:other____:)"))); ++ (PAPIBigInteger *)times:(uint32_t)receiver other_____:(PAPIBigInteger *)other __attribute__((swift_name("times(_:other_____:)"))); ++ (PAPIBigInteger *)times:(uint64_t)receiver other______:(PAPIBigInteger *)other __attribute__((swift_name("times(_:other______:)"))); ++ (PAPIBigInteger *)times:(uint16_t)receiver other_______:(PAPIBigInteger *)other __attribute__((swift_name("times(_:other_______:)"))); ++ (PAPIBigInteger *)toBigInteger:(int8_t)receiver __attribute__((swift_name("toBigInteger(_:)"))); ++ (PAPIBigInteger *)toBigInteger_:(int32_t)receiver __attribute__((swift_name("toBigInteger(__:)"))); ++ (PAPIBigInteger *)toBigInteger__:(int64_t)receiver __attribute__((swift_name("toBigInteger(___:)"))); ++ (PAPIBigInteger *)toBigInteger___:(int16_t)receiver __attribute__((swift_name("toBigInteger(____:)"))); ++ (PAPIBigInteger *)toBigInteger:(NSString *)receiver base:(int32_t)base __attribute__((swift_name("toBigInteger(_:base:)"))); ++ (PAPIBigInteger *)toBigInteger____:(uint8_t)receiver __attribute__((swift_name("toBigInteger(_____:)"))); ++ (PAPIBigInteger *)toBigInteger_____:(uint32_t)receiver __attribute__((swift_name("toBigInteger(______:)"))); ++ (PAPIBigInteger *)toBigInteger______:(uint64_t)receiver __attribute__((swift_name("toBigInteger(_______:)"))); ++ (PAPIBigInteger *)toBigInteger_______:(uint16_t)receiver __attribute__((swift_name("toBigInteger(________:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ConversionUtilsKt"))) +@interface PAPIConversionUtilsKt : PAPIBase ++ (id)incrementByteString:(id)byteString __attribute__((swift_name("increment(byteString:)"))); ++ (id)incrementArray:(id)array __attribute__((swift_name("increment(array:)"))); ++ (id)incrementArray_:(id)array __attribute__((swift_name("increment(array_:)"))); ++ (id)invertArray:(id)array __attribute__((swift_name("invert(array:)"))); ++ (id)invertArray_:(id)array __attribute__((swift_name("invert(array_:)"))); ++ (id)invertArray__:(id)array __attribute__((swift_name("invert(array__:)"))); ++ (void)mirrorBytesSource:(id)source start:(int32_t)start end:(int32_t)end target:(id)target targetStart:(int32_t)targetStart __attribute__((swift_name("mirrorBytes(source:start:end:target:targetStart:)"))); ++ (uint64_t)fromBigEndianArrayToULong:(id)receiver __attribute__((swift_name("fromBigEndianArrayToULong(_:)"))); ++ (uint64_t)fromLittleEndianArrayToULong:(id)receiver __attribute__((swift_name("fromLittleEndianArrayToULong(_:)"))); ++ (id)toBigEndianUByteArray:(uint32_t)receiver __attribute__((swift_name("toBigEndianUByteArray(_:)"))); ++ (id)toBigEndianUByteArray_:(uint64_t)receiver __attribute__((swift_name("toBigEndianUByteArray(__:)"))); ++ (id)toLittleEndianUByteArray:(uint32_t)receiver __attribute__((swift_name("toLittleEndianUByteArray(_:)"))); ++ (id)toLittleEndianUByteArray_:(uint64_t)receiver __attribute__((swift_name("toLittleEndianUByteArray(__:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("VariousUtilKt"))) +@interface PAPIVariousUtilKt : PAPIBase ++ (void)hexColumsPrint:(id)receiver chunk:(int32_t)chunk __attribute__((swift_name("hexColumsPrint(_:chunk:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DigitUtilKt"))) +@interface PAPIDigitUtilKt : PAPIBase ++ (int32_t)toDigit:(unichar)receiver base:(int32_t)base __attribute__((swift_name("toDigit(_:base:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PlaceholderKt"))) +@interface PAPIPlaceholderKt : PAPIBase + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ ++ (void)concurrentMultiplyWithCompletionHandler:(void (^)(PAPIKotlinUnit * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("concurrentMultiply(completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SecureRandomKt"))) +@interface PAPISecureRandomKt : PAPIBase +@property (class) BOOL randomUnittesting __attribute__((swift_name("randomUnittesting"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SecureRandomNativePosixKt"))) +@interface PAPISecureRandomNativePosixKt : PAPIBase ++ (void)fillRandomBytesArray:(PAPIKotlinByteArray *)array __attribute__((swift_name("fillRandomBytes(array:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("HexKt"))) +@interface PAPIHexKt : PAPIBase ++ (NSString *)hex:(int8_t)receiver __attribute__((swift_name("hex(_:)"))); ++ (NSString *)hex_:(int32_t)receiver __attribute__((swift_name("hex(__:)"))); ++ (NSString *)shex:(int8_t)receiver __attribute__((swift_name("shex(_:)"))); ++ (NSString *)shex_:(int32_t)receiver __attribute__((swift_name("shex(__:)"))); ++ (PAPIKotlinByteArray *)unhex:(NSString *)receiver __attribute__((swift_name("unhex(_:)"))); ++ (PAPIKotlinByteArray *)unhexIgnoreSpaces:(NSString *)receiver __attribute__((swift_name("unhexIgnoreSpaces(_:)"))); ++ (PAPIKotlinByteArray *)unhexIgnoreSpaces_:(NSArray *)receiver __attribute__((swift_name("unhexIgnoreSpaces(__:)"))); ++ (void)appendHexByte:(id)receiver value:(int32_t)value __attribute__((swift_name("appendHexByte(_:value:)"))); ++ (PAPIKotlinByteArray *)fromHex:(NSString *)receiver __attribute__((swift_name("fromHex(_:)"))); ++ (BOOL)isHexDigit:(unichar)receiver __attribute__((swift_name("isHexDigit(_:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ASCIIKt"))) +@interface PAPIASCIIKt : PAPIBase ++ (PAPIKotlinByteArray *)fromAscii:(NSString *)receiver __attribute__((swift_name("fromAscii(_:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("Base64Kt"))) +@interface PAPIBase64Kt : PAPIBase ++ (PAPIKotlinByteArray *)fromBase64:(NSString *)receiver ignoreSpaces:(BOOL)ignoreSpaces url:(BOOL)url __attribute__((swift_name("fromBase64(_:ignoreSpaces:url:)"))); ++ (PAPIKotlinByteArray *)fromBase64IgnoreSpaces:(NSString *)receiver url:(BOOL)url __attribute__((swift_name("fromBase64IgnoreSpaces(_:url:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BitcoinKt"))) +@interface PAPIBitcoinKt : PAPIBase ++ (PAPIKotlinByteArray *)fixSizeData:(PAPIKotlinByteArray *)data size:(int32_t)size __attribute__((swift_name("fixSize(data:size:)"))); ++ (NSArray *)updated:(NSArray *)receiver i:(int32_t)i t:(id _Nullable)t __attribute__((swift_name("updated(_:i:t:)"))); +@property (class, readonly) int32_t MaxBlockSize __attribute__((swift_name("MaxBlockSize"))); +@property (class, readonly) int32_t MaxScriptElementSize __attribute__((swift_name("MaxScriptElementSize"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SatoshiKt"))) +@interface PAPISatoshiKt : PAPIBase ++ (PAPISatoshi *)toSatoshi:(int64_t)receiver __attribute__((swift_name("toSatoshi(_:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("HMacKt"))) +@interface PAPIHMacKt : PAPIBase ++ (PAPIKotlinByteArray *)hmac:(id)receiver key:(PAPIKotlinByteArray *)key data:(PAPIKotlinByteArray *)data blockSize:(int32_t)blockSize __attribute__((swift_name("hmac(_:key:data:blockSize:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("InputKt_"))) +@interface PAPIInputKt_ : PAPIBase ++ (PAPIKotlinByteArray *)readNBytes:(id)receiver n:(int32_t)n __attribute__((swift_name("readNBytes(_:n:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SerializersKt"))) +@interface PAPISerializersKt : PAPIBase ++ (id)serializer __attribute__((swift_name("serializer()"))); ++ (id)serializerType:(id)type __attribute__((swift_name("serializer(type:)"))); ++ (id _Nullable)serializerOrNullType:(id)type __attribute__((swift_name("serializerOrNull(type:)"))); ++ (id)serializer:(id)receiver __attribute__((swift_name("serializer(_:)"))); ++ (id _Nullable)serializerOrNull:(id)receiver __attribute__((swift_name("serializerOrNull(_:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SerialFormatKt"))) +@interface PAPISerialFormatKt : PAPIBase ++ (id _Nullable)decodeFromByteArray:(id)receiver bytes:(PAPIKotlinByteArray *)bytes __attribute__((swift_name("decodeFromByteArray(_:bytes:)"))); ++ (id _Nullable)decodeFromHexString:(id)receiver hex:(NSString *)hex __attribute__((swift_name("decodeFromHexString(_:hex:)"))); ++ (id _Nullable)decodeFromHexString:(id)receiver deserializer:(id)deserializer hex:(NSString *)hex __attribute__((swift_name("decodeFromHexString(_:deserializer:hex:)"))); ++ (id _Nullable)decodeFromString:(id)receiver string:(NSString *)string __attribute__((swift_name("decodeFromString(_:string:)"))); ++ (PAPIKotlinByteArray *)encodeToByteArray:(id)receiver value:(id _Nullable)value __attribute__((swift_name("encodeToByteArray(_:value:)"))); ++ (NSString *)encodeToHexString:(id)receiver value:(id _Nullable)value __attribute__((swift_name("encodeToHexString(_:value:)"))); ++ (NSString *)encodeToHexString:(id)receiver serializer:(id)serializer value:(id _Nullable)value __attribute__((swift_name("encodeToHexString(_:serializer:value:)"))); ++ (NSString *)encodeToString:(id)receiver value:(id _Nullable)value __attribute__((swift_name("encodeToString(_:value:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("PluginExceptionsKt"))) +@interface PAPIPluginExceptionsKt : PAPIBase ++ (void)throwArrayMissingFieldExceptionSeenArray:(PAPIKotlinIntArray *)seenArray goldenMaskArray:(PAPIKotlinIntArray *)goldenMaskArray descriptor:(id)descriptor __attribute__((swift_name("throwArrayMissingFieldException(seenArray:goldenMaskArray:descriptor:)"))); ++ (void)throwMissingFieldExceptionSeen:(int32_t)seen goldenMask:(int32_t)goldenMask descriptor:(id)descriptor __attribute__((swift_name("throwMissingFieldException(seen:goldenMask:descriptor:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("JsonInternalDependenciesKt"))) +@interface PAPIJsonInternalDependenciesKt : PAPIBase ++ (NSSet *)jsonCachedSerialNames:(id)receiver __attribute__((swift_name("jsonCachedSerialNames(_:)"))) __attribute__((unavailable("Should not be used"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SerializersModuleKt"))) +@interface PAPISerializersModuleKt : PAPIBase +@property (class, readonly) PAPISerializersModule *EmptySerializersModule __attribute__((swift_name("EmptySerializersModule"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SerializersModuleBuildersKt"))) +@interface PAPISerializersModuleBuildersKt : PAPIBase ++ (PAPISerializersModule *)SerializersModuleBuilderAction:(void (^)(PAPISerializersModuleBuilder *))builderAction __attribute__((swift_name("SerializersModule(builderAction:)"))); ++ (PAPISerializersModule *)serializersModuleOfKClass:(id)kClass serializer:(id)serializer __attribute__((swift_name("serializersModuleOf(kClass:serializer:)"))); ++ (PAPISerializersModule *)serializersModuleOfSerializer:(id)serializer __attribute__((swift_name("serializersModuleOf(serializer:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("ContextAwareKt"))) +@interface PAPIContextAwareKt : PAPIBase ++ (id _Nullable)capturedKClass:(id)receiver __attribute__((swift_name("capturedKClass(_:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SerialDescriptorKt"))) +@interface PAPISerialDescriptorKt : PAPIBase ++ (id)elementDescriptors:(id)receiver __attribute__((swift_name("elementDescriptors(_:)"))); ++ (id)elementNames:(id)receiver __attribute__((swift_name("elementNames(_:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SerialDescriptorsKt"))) +@interface PAPISerialDescriptorsKt : PAPIBase ++ (id)nullable:(id)receiver __attribute__((swift_name("nullable(_:)"))); ++ (id)PrimitiveSerialDescriptorSerialName:(NSString *)serialName kind:(PAPIPrimitiveKind *)kind __attribute__((swift_name("PrimitiveSerialDescriptor(serialName:kind:)"))); ++ (id)SerialDescriptorSerialName:(NSString *)serialName original:(id)original __attribute__((swift_name("SerialDescriptor(serialName:original:)"))); ++ (id)buildClassSerialDescriptorSerialName:(NSString *)serialName typeParameters:(PAPIKotlinArray> *)typeParameters builderAction:(void (^)(PAPIClassSerialDescriptorBuilder *))builderAction __attribute__((swift_name("buildClassSerialDescriptor(serialName:typeParameters:builderAction:)"))); ++ (id)buildSerialDescriptorSerialName:(NSString *)serialName kind:(PAPISerialKind *)kind typeParameters:(PAPIKotlinArray> *)typeParameters builder:(void (^)(PAPIClassSerialDescriptorBuilder *))builder __attribute__((swift_name("buildSerialDescriptor(serialName:kind:typeParameters:builder:)"))); ++ (id)listSerialDescriptor __attribute__((swift_name("listSerialDescriptor()"))); ++ (id)listSerialDescriptorElementDescriptor:(id)elementDescriptor __attribute__((swift_name("listSerialDescriptor(elementDescriptor:)"))); ++ (id)mapSerialDescriptor __attribute__((swift_name("mapSerialDescriptor()"))); ++ (id)mapSerialDescriptorKeyDescriptor:(id)keyDescriptor valueDescriptor:(id)valueDescriptor __attribute__((swift_name("mapSerialDescriptor(keyDescriptor:valueDescriptor:)"))); ++ (id)serialDescriptor __attribute__((swift_name("serialDescriptor()"))); ++ (id)serialDescriptorType:(id)type __attribute__((swift_name("serialDescriptor(type:)"))); ++ (id)setSerialDescriptor __attribute__((swift_name("setSerialDescriptor()"))); ++ (id)setSerialDescriptorElementDescriptor:(id)elementDescriptor __attribute__((swift_name("setSerialDescriptor(elementDescriptor:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("BuiltinSerializersKt"))) +@interface PAPIBuiltinSerializersKt : PAPIBase ++ (id)nullable:(id)receiver __attribute__((swift_name("nullable(_:)"))); ++ (id)ArraySerializerKClass:(id)kClass elementSerializer:(id)elementSerializer __attribute__((swift_name("ArraySerializer(kClass:elementSerializer:)"))); ++ (id)ArraySerializerElementSerializer:(id)elementSerializer __attribute__((swift_name("ArraySerializer(elementSerializer:)"))); ++ (id)BooleanArraySerializer __attribute__((swift_name("BooleanArraySerializer()"))); ++ (id)ByteArraySerializer __attribute__((swift_name("ByteArraySerializer()"))); ++ (id)CharArraySerializer __attribute__((swift_name("CharArraySerializer()"))); ++ (id)DoubleArraySerializer __attribute__((swift_name("DoubleArraySerializer()"))); ++ (id)FloatArraySerializer __attribute__((swift_name("FloatArraySerializer()"))); ++ (id)IntArraySerializer __attribute__((swift_name("IntArraySerializer()"))); ++ (id)ListSerializerElementSerializer:(id)elementSerializer __attribute__((swift_name("ListSerializer(elementSerializer:)"))); ++ (id)LongArraySerializer __attribute__((swift_name("LongArraySerializer()"))); ++ (id)MapEntrySerializerKeySerializer:(id)keySerializer valueSerializer:(id)valueSerializer __attribute__((swift_name("MapEntrySerializer(keySerializer:valueSerializer:)"))); ++ (id)MapSerializerKeySerializer:(id)keySerializer valueSerializer:(id)valueSerializer __attribute__((swift_name("MapSerializer(keySerializer:valueSerializer:)"))); ++ (id)PairSerializerKeySerializer:(id)keySerializer valueSerializer:(id)valueSerializer __attribute__((swift_name("PairSerializer(keySerializer:valueSerializer:)"))); ++ (id)SetSerializerElementSerializer:(id)elementSerializer __attribute__((swift_name("SetSerializer(elementSerializer:)"))); ++ (id)ShortArraySerializer __attribute__((swift_name("ShortArraySerializer()"))); ++ (id)TripleSerializerASerializer:(id)aSerializer bSerializer:(id)bSerializer cSerializer:(id)cSerializer __attribute__((swift_name("TripleSerializer(aSerializer:bSerializer:cSerializer:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("DecodingKt"))) +@interface PAPIDecodingKt : PAPIBase ++ (id _Nullable)decodeStructure:(id)receiver descriptor:(id)descriptor block:(id _Nullable (^)(id))block __attribute__((swift_name("decodeStructure(_:descriptor:block:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("EncodingKt"))) +@interface PAPIEncodingKt : PAPIBase ++ (void)encodeStructure:(id)receiver descriptor:(id)descriptor block:(void (^)(id))block __attribute__((swift_name("encodeStructure(_:descriptor:block:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("TraceKt"))) +@interface PAPITraceKt : PAPIBase ++ (PAPITraceBase *)TraceSize:(int32_t)size format:(PAPITraceFormat *)format __attribute__((swift_name("Trace(size:format:)"))); +@property (class, readonly) PAPITraceFormat *traceFormatDefault __attribute__((swift_name("traceFormatDefault"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("TraceFormatKt"))) +@interface PAPITraceFormatKt : PAPIBase ++ (PAPITraceFormat *)TraceFormatFormat:(NSString *(^)(PAPIInt *, id))format __attribute__((swift_name("TraceFormat(format:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtomicFUKt"))) +@interface PAPIAtomicFUKt : PAPIBase ++ (id)atomicInitial:(id _Nullable)initial __attribute__((swift_name("atomic(initial:)"))); ++ (id)atomicInitial:(id _Nullable)initial trace:(PAPITraceBase *)trace __attribute__((swift_name("atomic(initial:trace:)"))); ++ (id)atomicInitial_:(BOOL)initial __attribute__((swift_name("atomic(initial_:)"))); ++ (id)atomicInitial:(BOOL)initial trace_:(PAPITraceBase *)trace __attribute__((swift_name("atomic(initial:trace_:)"))); ++ (id)atomicInitial__:(int32_t)initial __attribute__((swift_name("atomic(initial__:)"))); ++ (id)atomicInitial:(int32_t)initial trace__:(PAPITraceBase *)trace __attribute__((swift_name("atomic(initial:trace__:)"))); ++ (id)atomicInitial___:(int64_t)initial __attribute__((swift_name("atomic(initial___:)"))); ++ (id)atomicInitial:(int64_t)initial trace___:(PAPITraceBase *)trace __attribute__((swift_name("atomic(initial:trace___:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtomicFU_commonKt"))) +@interface PAPIAtomicFU_commonKt : PAPIBase ++ (PAPIAtomicArray *)atomicArrayOfNullsSize:(int32_t)size __attribute__((swift_name("atomicArrayOfNulls(size:)"))); ++ (BOOL)getAndUpdate:(id)receiver function:(PAPIBoolean *(^)(PAPIBoolean *))function __attribute__((swift_name("getAndUpdate(_:function:)"))); ++ (int32_t)getAndUpdate:(id)receiver function_:(PAPIInt *(^)(PAPIInt *))function __attribute__((swift_name("getAndUpdate(_:function_:)"))); ++ (int64_t)getAndUpdate:(id)receiver function__:(PAPILong *(^)(PAPILong *))function __attribute__((swift_name("getAndUpdate(_:function__:)"))); ++ (id _Nullable)getAndUpdate:(id)receiver function___:(id _Nullable (^)(id _Nullable))function __attribute__((swift_name("getAndUpdate(_:function___:)"))); ++ (void)loop:(id)receiver action:(void (^)(PAPIBoolean *))action __attribute__((swift_name("loop(_:action:)"))); ++ (void)loop:(id)receiver action_:(void (^)(PAPIInt *))action __attribute__((swift_name("loop(_:action_:)"))); ++ (void)loop:(id)receiver action__:(void (^)(PAPILong *))action __attribute__((swift_name("loop(_:action__:)"))); ++ (void)loop:(id)receiver action___:(void (^)(id _Nullable))action __attribute__((swift_name("loop(_:action___:)"))); ++ (void)update:(id)receiver function:(PAPIBoolean *(^)(PAPIBoolean *))function __attribute__((swift_name("update(_:function:)"))); ++ (void)update:(id)receiver function_:(PAPIInt *(^)(PAPIInt *))function __attribute__((swift_name("update(_:function_:)"))); ++ (void)update:(id)receiver function__:(PAPILong *(^)(PAPILong *))function __attribute__((swift_name("update(_:function__:)"))); ++ (void)update:(id)receiver function___:(id _Nullable (^)(id _Nullable))function __attribute__((swift_name("update(_:function___:)"))); ++ (BOOL)updateAndGet:(id)receiver function:(PAPIBoolean *(^)(PAPIBoolean *))function __attribute__((swift_name("updateAndGet(_:function:)"))); ++ (int32_t)updateAndGet:(id)receiver function_:(PAPIInt *(^)(PAPIInt *))function __attribute__((swift_name("updateAndGet(_:function_:)"))); ++ (int64_t)updateAndGet:(id)receiver function__:(PAPILong *(^)(PAPILong *))function __attribute__((swift_name("updateAndGet(_:function__:)"))); ++ (id _Nullable)updateAndGet:(id)receiver function___:(id _Nullable (^)(id _Nullable))function __attribute__((swift_name("updateAndGet(_:function___:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("SynchronizedKt"))) +@interface PAPISynchronizedKt : PAPIBase ++ (PAPISynchronizedObject *)reentrantLock __attribute__((swift_name("reentrantLock()"))); ++ (id _Nullable)synchronizedLock:(PAPISynchronizedObject *)lock block:(id _Nullable (^)(void))block __attribute__((swift_name("synchronized(lock:block:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("AtalaOperationStatusKt"))) +@interface PAPIAtalaOperationStatusKt : PAPIBase ++ (PAPIOperationStatus *)toProto:(int32_t)receiver __attribute__((swift_name("toProto(_:)"))); +@end; + +__attribute__((swift_name("KotlinKDeclarationContainer"))) +@protocol PAPIKotlinKDeclarationContainer +@required +@end; + +__attribute__((swift_name("KotlinKAnnotatedElement"))) +@protocol PAPIKotlinKAnnotatedElement +@required +@end; + +__attribute__((swift_name("KotlinKClassifier"))) +@protocol PAPIKotlinKClassifier +@required +@end; + +__attribute__((swift_name("KotlinKClass"))) +@protocol PAPIKotlinKClass +@required +- (BOOL)isInstanceValue:(id _Nullable)value __attribute__((swift_name("isInstance(value:)"))); +@property (readonly) NSString * _Nullable qualifiedName __attribute__((swift_name("qualifiedName"))); +@property (readonly) NSString * _Nullable simpleName __attribute__((swift_name("simpleName"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinEnumCompanion"))) +@interface PAPIKotlinEnumCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKotlinEnumCompanion *shared __attribute__((swift_name("shared"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinNothing"))) +@interface PAPIKotlinNothing : PAPIBase +@end; + +__attribute__((swift_name("KotlinFunction"))) +@protocol PAPIKotlinFunction +@required +@end; + +__attribute__((swift_name("KotlinSuspendFunction1"))) +@protocol PAPIKotlinSuspendFunction1 +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)invokeP1:(id _Nullable)p1 completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("invoke(p1:completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinCharArray"))) +@interface PAPIKotlinCharArray : PAPIBase ++ (instancetype)arrayWithSize:(int32_t)size __attribute__((swift_name("init(size:)"))); ++ (instancetype)arrayWithSize:(int32_t)size init:(id (^)(PAPIInt *))init __attribute__((swift_name("init(size:init:)"))); ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (unichar)getIndex:(int32_t)index __attribute__((swift_name("get(index:)"))); +- (PAPIKotlinCharIterator *)iterator __attribute__((swift_name("iterator()"))); +- (void)setIndex:(int32_t)index value:(unichar)value __attribute__((swift_name("set(index:value:)"))); +@property (readonly) int32_t size __attribute__((swift_name("size"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinRegex"))) +@interface PAPIKotlinRegex : PAPIBase +- (instancetype)initWithPattern:(NSString *)pattern __attribute__((swift_name("init(pattern:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithPattern:(NSString *)pattern option:(PAPIKotlinRegexOption *)option __attribute__((swift_name("init(pattern:option:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithPattern:(NSString *)pattern options:(NSSet *)options __attribute__((swift_name("init(pattern:options:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIKotlinRegexCompanion *companion __attribute__((swift_name("companion"))); +- (BOOL)containsMatchInInput:(id)input __attribute__((swift_name("containsMatchIn(input:)"))); +- (id _Nullable)findInput:(id)input startIndex:(int32_t)startIndex __attribute__((swift_name("find(input:startIndex:)"))); +- (id)findAllInput:(id)input startIndex:(int32_t)startIndex __attribute__((swift_name("findAll(input:startIndex:)"))); +- (id _Nullable)matchAtInput:(id)input index:(int32_t)index __attribute__((swift_name("matchAt(input:index:)"))); +- (id _Nullable)matchEntireInput:(id)input __attribute__((swift_name("matchEntire(input:)"))); +- (BOOL)matchesInput:(id)input __attribute__((swift_name("matches(input:)"))); +- (BOOL)matchesAtInput:(id)input index:(int32_t)index __attribute__((swift_name("matchesAt(input:index:)"))); +- (NSString *)replaceInput:(id)input transform:(id (^)(id))transform __attribute__((swift_name("replace(input:transform:)"))); +- (NSString *)replaceInput:(id)input replacement:(NSString *)replacement __attribute__((swift_name("replace(input:replacement:)"))); +- (NSString *)replaceFirstInput:(id)input replacement:(NSString *)replacement __attribute__((swift_name("replaceFirst(input:replacement:)"))); +- (NSArray *)splitInput:(id)input limit:(int32_t)limit __attribute__((swift_name("split(input:limit:)"))); +- (id)splitToSequenceInput:(id)input limit:(int32_t)limit __attribute__((swift_name("splitToSequence(input:limit:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) NSSet *options __attribute__((swift_name("options"))); +@property (readonly) NSString *pattern __attribute__((swift_name("pattern"))); +@end; + +__attribute__((swift_name("KotlinKCallable"))) +@protocol PAPIKotlinKCallable +@required +@property (readonly, getter=name_) NSString *name __attribute__((swift_name("name"))); +@property (readonly) id returnType __attribute__((swift_name("returnType"))); +@end; + +__attribute__((swift_name("KotlinKProperty"))) +@protocol PAPIKotlinKProperty +@required +@end; + +__attribute__((swift_name("KotlinSuspendFunction0"))) +@protocol PAPIKotlinSuspendFunction0 +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)invokeWithCompletionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("invoke(completionHandler:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinAtomicReference"))) +@interface PAPIKotlinAtomicReference : PAPIBase +- (instancetype)initWithValue:(T _Nullable)value __attribute__((swift_name("init(value:)"))) __attribute__((objc_designated_initializer)); +- (BOOL)compareAndSetExpected:(T _Nullable)expected new:(T _Nullable)new_ __attribute__((swift_name("compareAndSet(expected:new:)"))); +- (T _Nullable)compareAndSwapExpected:(T _Nullable)expected new:(T _Nullable)new_ __attribute__((swift_name("compareAndSwap(expected:new:)"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property T _Nullable value __attribute__((swift_name("value"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinPair"))) +@interface PAPIKotlinPair<__covariant A, __covariant B> : PAPIBase +- (instancetype)initWithFirst:(A _Nullable)first second:(B _Nullable)second __attribute__((swift_name("init(first:second:)"))) __attribute__((objc_designated_initializer)); +- (A _Nullable)component1 __attribute__((swift_name("component1()"))); +- (B _Nullable)component2 __attribute__((swift_name("component2()"))); +- (PAPIKotlinPair *)doCopyFirst:(A _Nullable)first second:(B _Nullable)second __attribute__((swift_name("doCopy(first:second:)"))); +- (BOOL)equalsOther:(id _Nullable)other __attribute__((swift_name("equals(other:)"))); +- (int32_t)hashCode __attribute__((swift_name("hashCode()"))); +- (NSString *)toString __attribute__((swift_name("toString()"))); +@property (readonly) A _Nullable first __attribute__((swift_name("first"))); +@property (readonly) B _Nullable second __attribute__((swift_name("second"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinRandom.Default"))) +@interface PAPIKotlinRandomDefault : PAPIKotlinRandom ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); ++ (instancetype)new __attribute__((unavailable)); ++ (instancetype)default_ __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKotlinRandomDefault *shared __attribute__((swift_name("shared"))); +- (int32_t)nextBitsBitCount:(int32_t)bitCount __attribute__((swift_name("nextBits(bitCount:)"))); +- (BOOL)nextBoolean __attribute__((swift_name("nextBoolean()"))); +- (PAPIKotlinByteArray *)nextBytesArray:(PAPIKotlinByteArray *)array __attribute__((swift_name("nextBytes(array:)"))); +- (PAPIKotlinByteArray *)nextBytesArray:(PAPIKotlinByteArray *)array fromIndex:(int32_t)fromIndex toIndex:(int32_t)toIndex __attribute__((swift_name("nextBytes(array:fromIndex:toIndex:)"))); +- (PAPIKotlinByteArray *)nextBytesSize:(int32_t)size __attribute__((swift_name("nextBytes(size:)"))); +- (double)nextDouble __attribute__((swift_name("nextDouble()"))); +- (double)nextDoubleUntil:(double)until __attribute__((swift_name("nextDouble(until:)"))); +- (double)nextDoubleFrom:(double)from until:(double)until __attribute__((swift_name("nextDouble(from:until:)"))); +- (float)nextFloat __attribute__((swift_name("nextFloat()"))); +- (int32_t)nextInt __attribute__((swift_name("nextInt()"))); +- (int32_t)nextIntUntil:(int32_t)until __attribute__((swift_name("nextInt(until:)"))); +- (int32_t)nextIntFrom:(int32_t)from until:(int32_t)until __attribute__((swift_name("nextInt(from:until:)"))); +- (int64_t)nextLong __attribute__((swift_name("nextLong()"))); +- (int64_t)nextLongUntil:(int64_t)until __attribute__((swift_name("nextLong(until:)"))); +- (int64_t)nextLongFrom:(int64_t)from until:(int64_t)until __attribute__((swift_name("nextLong(from:until:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinTriple"))) +@interface PAPIKotlinTriple<__covariant A, __covariant B, __covariant C> : PAPIBase +- (instancetype)initWithFirst:(A _Nullable)first second:(B _Nullable)second third:(C _Nullable)third __attribute__((swift_name("init(first:second:third:)"))) __attribute__((objc_designated_initializer)); +- (A _Nullable)component1 __attribute__((swift_name("component1()"))); +- (B _Nullable)component2 __attribute__((swift_name("component2()"))); +- (C _Nullable)component3 __attribute__((swift_name("component3()"))); +- (PAPIKotlinTriple *)doCopyFirst:(A _Nullable)first second:(B _Nullable)second third:(C _Nullable)third __attribute__((swift_name("doCopy(first:second:third:)"))); +- (BOOL)equalsOther:(id _Nullable)other __attribute__((swift_name("equals(other:)"))); +- (int32_t)hashCode __attribute__((swift_name("hashCode()"))); +- (NSString *)toString __attribute__((swift_name("toString()"))); +@property (readonly) A _Nullable first __attribute__((swift_name("first"))); +@property (readonly) B _Nullable second __attribute__((swift_name("second"))); +@property (readonly) C _Nullable third __attribute__((swift_name("third"))); +@end; + +__attribute__((swift_name("KotlinAnnotation"))) +@protocol PAPIKotlinAnnotation +@required +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinDoubleArray"))) +@interface PAPIKotlinDoubleArray : PAPIBase ++ (instancetype)arrayWithSize:(int32_t)size __attribute__((swift_name("init(size:)"))); ++ (instancetype)arrayWithSize:(int32_t)size init:(PAPIDouble *(^)(PAPIInt *))init __attribute__((swift_name("init(size:init:)"))); ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (double)getIndex:(int32_t)index __attribute__((swift_name("get(index:)"))); +- (PAPIKotlinDoubleIterator *)iterator __attribute__((swift_name("iterator()"))); +- (void)setIndex:(int32_t)index value:(double)value __attribute__((swift_name("set(index:value:)"))); +@property (readonly) int32_t size __attribute__((swift_name("size"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinFloatArray"))) +@interface PAPIKotlinFloatArray : PAPIBase ++ (instancetype)arrayWithSize:(int32_t)size __attribute__((swift_name("init(size:)"))); ++ (instancetype)arrayWithSize:(int32_t)size init:(PAPIFloat *(^)(PAPIInt *))init __attribute__((swift_name("init(size:init:)"))); ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (float)getIndex:(int32_t)index __attribute__((swift_name("get(index:)"))); +- (PAPIKotlinFloatIterator *)iterator __attribute__((swift_name("iterator()"))); +- (void)setIndex:(int32_t)index value:(float)value __attribute__((swift_name("set(index:value:)"))); +@property (readonly) int32_t size __attribute__((swift_name("size"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinShortArray"))) +@interface PAPIKotlinShortArray : PAPIBase ++ (instancetype)arrayWithSize:(int32_t)size __attribute__((swift_name("init(size:)"))); ++ (instancetype)arrayWithSize:(int32_t)size init:(PAPIShort *(^)(PAPIInt *))init __attribute__((swift_name("init(size:init:)"))); ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (int16_t)getIndex:(int32_t)index __attribute__((swift_name("get(index:)"))); +- (PAPIKotlinShortIterator *)iterator __attribute__((swift_name("iterator()"))); +- (void)setIndex:(int32_t)index value:(int16_t)value __attribute__((swift_name("set(index:value:)"))); +@property (readonly) int32_t size __attribute__((swift_name("size"))); +@end; + +__attribute__((swift_name("KotlinByteIterator"))) +@interface PAPIKotlinByteIterator : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (PAPIByte *)next_ __attribute__((swift_name("next()"))); +- (int8_t)nextByte __attribute__((swift_name("nextByte()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinIntProgression.Companion"))) +@interface PAPIKotlinIntProgressionCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKotlinIntProgressionCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIKotlinIntProgression *)fromClosedRangeRangeStart:(int32_t)rangeStart rangeEnd:(int32_t)rangeEnd step:(int32_t)step __attribute__((swift_name("fromClosedRange(rangeStart:rangeEnd:step:)"))); +@end; + +__attribute__((swift_name("KotlinIntIterator"))) +@interface PAPIKotlinIntIterator : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (PAPIInt *)next_ __attribute__((swift_name("next()"))); +- (int32_t)nextInt __attribute__((swift_name("nextInt()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinIntRange.Companion"))) +@interface PAPIKotlinIntRangeCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKotlinIntRangeCompanion *shared __attribute__((swift_name("shared"))); +@property (readonly) PAPIKotlinIntRange *EMPTY __attribute__((swift_name("EMPTY"))); +@end; + +__attribute__((swift_name("KotlinLongIterator"))) +@interface PAPIKotlinLongIterator : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (PAPILong *)next_ __attribute__((swift_name("next()"))); +- (int64_t)nextLong __attribute__((swift_name("nextLong()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinLongProgression.Companion"))) +@interface PAPIKotlinLongProgressionCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKotlinLongProgressionCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIKotlinLongProgression *)fromClosedRangeRangeStart:(int64_t)rangeStart rangeEnd:(int64_t)rangeEnd step:(int64_t)step __attribute__((swift_name("fromClosedRange(rangeStart:rangeEnd:step:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinLongRange.Companion"))) +@interface PAPIKotlinLongRangeCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKotlinLongRangeCompanion *shared __attribute__((swift_name("shared"))); +@property (readonly) PAPIKotlinLongRange *EMPTY __attribute__((swift_name("EMPTY"))); +@end; + +__attribute__((swift_name("KotlinKType"))) +@protocol PAPIKotlinKType +@required +@property (readonly) NSArray *arguments __attribute__((swift_name("arguments"))); +@property (readonly) id _Nullable classifier __attribute__((swift_name("classifier"))); +@property (readonly) BOOL isMarkedNullable __attribute__((swift_name("isMarkedNullable"))); +@end; + +__attribute__((swift_name("KotlinTimeSource"))) +@protocol PAPIKotlinTimeSource +@required +- (PAPIKotlinTimeMark *)markNow __attribute__((swift_name("markNow()"))); +@end; + +__attribute__((swift_name("KotlinNativePlacement"))) +@protocol PAPIKotlinNativePlacement +@required +- (void *)doAllocSize:(int32_t)size align:(int32_t)align __attribute__((swift_name("doAlloc(size:align:)"))); +- (void *)doAllocSize:(int64_t)size align_:(int32_t)align __attribute__((swift_name("doAlloc(size:align_:)"))); +@end; + +__attribute__((swift_name("KotlinNativeFreeablePlacement"))) +@protocol PAPIKotlinNativeFreeablePlacement +@required +- (void)freeMem:(void * _Nullable)mem __attribute__((swift_name("free(mem:)"))); +@end; + +__attribute__((swift_name("KotlinReadOnlyProperty"))) +@protocol PAPIKotlinReadOnlyProperty +@required +- (id _Nullable)getValueThisRef:(id _Nullable)thisRef property:(id)property __attribute__((swift_name("getValue(thisRef:property:)"))); +@end; + +__attribute__((swift_name("KotlinReadWriteProperty"))) +@protocol PAPIKotlinReadWriteProperty +@required +- (void)setValueThisRef:(id _Nullable)thisRef property:(id)property value:(id _Nullable)value __attribute__((swift_name("setValue(thisRef:property:value:)"))); +@end; + +__attribute__((swift_name("KotlinCValuesRef"))) +@interface PAPIKotlinCValuesRef : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (void *)getPointerScope:(PAPIKotlinAutofreeScope *)scope __attribute__((swift_name("getPointer(scope:)"))); +@end; + +__attribute__((swift_name("KotlinSuspendFunction2"))) +@protocol PAPIKotlinSuspendFunction2 +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)invokeP1:(id _Nullable)p1 p2:(id _Nullable)p2 completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("invoke(p1:p2:completionHandler:)"))); +@end; + +__attribute__((swift_name("KotlinSuspendFunction3"))) +@protocol PAPIKotlinSuspendFunction3 +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)invokeP1:(id _Nullable)p1 p2:(id _Nullable)p2 p3:(id _Nullable)p3 completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("invoke(p1:p2:p3:completionHandler:)"))); +@end; + +__attribute__((swift_name("KotlinSuspendFunction5"))) +@protocol PAPIKotlinSuspendFunction5 +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)invokeP1:(id _Nullable)p1 p2:(id _Nullable)p2 p3:(id _Nullable)p3 p4:(id _Nullable)p4 p5:(id _Nullable)p5 completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("invoke(p1:p2:p3:p4:p5:completionHandler:)"))); +@end; + +__attribute__((swift_name("KotlinSuspendFunction4"))) +@protocol PAPIKotlinSuspendFunction4 +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)invokeP1:(id _Nullable)p1 p2:(id _Nullable)p2 p3:(id _Nullable)p3 p4:(id _Nullable)p4 completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("invoke(p1:p2:p3:p4:completionHandler:)"))); +@end; + +__attribute__((swift_name("KotlinSuspendFunction6"))) +@protocol PAPIKotlinSuspendFunction6 +@required + +/** + @note This method converts instances of CancellationException to errors. + Other uncaught Kotlin exceptions are fatal. +*/ +- (void)invokeP1:(id _Nullable)p1 p2:(id _Nullable)p2 p3:(id _Nullable)p3 p4:(id _Nullable)p4 p5:(id _Nullable)p5 p6:(id _Nullable)p6 completionHandler:(void (^)(id _Nullable_result, NSError * _Nullable))completionHandler __attribute__((swift_name("invoke(p1:p2:p3:p4:p5:p6:completionHandler:)"))); +@end; + +__attribute__((swift_name("KotlinCharIterator"))) +@interface PAPIKotlinCharIterator : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (id)next_ __attribute__((swift_name("next()"))); +- (unichar)nextChar __attribute__((swift_name("nextChar()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinRegexOption"))) +@interface PAPIKotlinRegexOption : PAPIKotlinEnum ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@property (class, readonly) PAPIKotlinRegexOption *ignoreCase __attribute__((swift_name("ignoreCase"))); +@property (class, readonly) PAPIKotlinRegexOption *multiline __attribute__((swift_name("multiline"))); +@property (class, readonly) PAPIKotlinRegexOption *literal __attribute__((swift_name("literal"))); +@property (class, readonly) PAPIKotlinRegexOption *unixLines __attribute__((swift_name("unixLines"))); +@property (class, readonly) PAPIKotlinRegexOption *comments __attribute__((swift_name("comments"))); +@property (class, readonly) PAPIKotlinRegexOption *dotMatchesAll __attribute__((swift_name("dotMatchesAll"))); +@property (class, readonly) PAPIKotlinRegexOption *canonEq __attribute__((swift_name("canonEq"))); ++ (PAPIKotlinArray *)values __attribute__((swift_name("values()"))); +@property (readonly) int32_t mask __attribute__((swift_name("mask"))); +@property (readonly) int32_t value_ __attribute__((swift_name("value_"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinRegex.Companion"))) +@interface PAPIKotlinRegexCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKotlinRegexCompanion *shared __attribute__((swift_name("shared"))); +- (NSString *)escapeLiteral:(NSString *)literal __attribute__((swift_name("escape(literal:)"))); +- (NSString *)escapeReplacementLiteral:(NSString *)literal __attribute__((swift_name("escapeReplacement(literal:)"))); +- (PAPIKotlinRegex *)fromLiteralLiteral:(NSString *)literal __attribute__((swift_name("fromLiteral(literal:)"))); +@end; + +__attribute__((swift_name("KotlinMatchResult"))) +@protocol PAPIKotlinMatchResult +@required +- (id _Nullable)next_ __attribute__((swift_name("next()"))); +@property (readonly) PAPIKotlinMatchResultDestructured *destructured __attribute__((swift_name("destructured"))); +@property (readonly) NSArray *groupValues __attribute__((swift_name("groupValues"))); +@property (readonly) id groups __attribute__((swift_name("groups"))); +@property (readonly) PAPIKotlinIntRange *range __attribute__((swift_name("range"))); +@property (readonly) NSString *value __attribute__((swift_name("value"))); +@end; + +__attribute__((swift_name("KotlinDoubleIterator"))) +@interface PAPIKotlinDoubleIterator : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (PAPIDouble *)next_ __attribute__((swift_name("next()"))); +- (double)nextDouble __attribute__((swift_name("nextDouble()"))); +@end; + +__attribute__((swift_name("KotlinFloatIterator"))) +@interface PAPIKotlinFloatIterator : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (PAPIFloat *)next_ __attribute__((swift_name("next()"))); +- (float)nextFloat __attribute__((swift_name("nextFloat()"))); +@end; + +__attribute__((swift_name("KotlinShortIterator"))) +@interface PAPIKotlinShortIterator : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (PAPIShort *)next_ __attribute__((swift_name("next()"))); +- (int16_t)nextShort __attribute__((swift_name("nextShort()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinKTypeProjection"))) +@interface PAPIKotlinKTypeProjection : PAPIBase +- (instancetype)initWithVariance:(PAPIKotlinKVariance * _Nullable)variance type:(id _Nullable)type __attribute__((swift_name("init(variance:type:)"))) __attribute__((objc_designated_initializer)); +@property (class, readonly, getter=companion) PAPIKotlinKTypeProjectionCompanion *companion __attribute__((swift_name("companion"))); +- (PAPIKotlinKVariance * _Nullable)component1 __attribute__((swift_name("component1()"))); +- (id _Nullable)component2 __attribute__((swift_name("component2()"))); +- (PAPIKotlinKTypeProjection *)doCopyVariance:(PAPIKotlinKVariance * _Nullable)variance type:(id _Nullable)type __attribute__((swift_name("doCopy(variance:type:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) id _Nullable type __attribute__((swift_name("type"))); +@property (readonly) PAPIKotlinKVariance * _Nullable variance __attribute__((swift_name("variance"))); +@end; + +__attribute__((swift_name("KotlinTimeMark"))) +@interface PAPIKotlinTimeMark : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (int64_t)elapsedNow __attribute__((swift_name("elapsedNow()"))); +- (BOOL)hasNotPassedNow __attribute__((swift_name("hasNotPassedNow()"))); +- (BOOL)hasPassedNow __attribute__((swift_name("hasPassedNow()"))); +- (PAPIKotlinTimeMark *)minusDuration:(int64_t)duration __attribute__((swift_name("minus(duration:)"))); +- (PAPIKotlinTimeMark *)plusDuration:(int64_t)duration __attribute__((swift_name("plus(duration:)"))); +@end; + +__attribute__((swift_name("KotlinDeferScope"))) +@interface PAPIKotlinDeferScope : PAPIBase +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (void)deferBlock:(void (^)(void))block __attribute__((swift_name("defer(block:)"))); +@end; + +__attribute__((swift_name("KotlinAutofreeScope"))) +@interface PAPIKotlinAutofreeScope : PAPIKotlinDeferScope +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (void *)doAllocSize:(int64_t)size align_:(int32_t)align __attribute__((swift_name("doAlloc(size:align_:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinMatchResultDestructured"))) +@interface PAPIKotlinMatchResultDestructured : PAPIBase +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (NSString *)component10 __attribute__((swift_name("component10()"))); +- (NSString *)component2 __attribute__((swift_name("component2()"))); +- (NSString *)component3 __attribute__((swift_name("component3()"))); +- (NSString *)component4 __attribute__((swift_name("component4()"))); +- (NSString *)component5 __attribute__((swift_name("component5()"))); +- (NSString *)component6 __attribute__((swift_name("component6()"))); +- (NSString *)component7 __attribute__((swift_name("component7()"))); +- (NSString *)component8 __attribute__((swift_name("component8()"))); +- (NSString *)component9 __attribute__((swift_name("component9()"))); +- (NSArray *)toList __attribute__((swift_name("toList()"))); +@property (readonly) id match __attribute__((swift_name("match"))); +@end; + +__attribute__((swift_name("KotlinCollection"))) +@protocol PAPIKotlinCollection +@required +- (BOOL)containsElement:(id _Nullable)element __attribute__((swift_name("contains(element:)"))); +- (BOOL)containsAllElements:(id)elements __attribute__((swift_name("containsAll(elements:)"))); +- (BOOL)isEmpty_ __attribute__((swift_name("isEmpty()"))); +@property (readonly, getter=size_) int32_t size __attribute__((swift_name("size"))); +@end; + +__attribute__((swift_name("KotlinMatchGroupCollection"))) +@protocol PAPIKotlinMatchGroupCollection +@required +- (PAPIKotlinMatchGroup * _Nullable)getIndex:(int32_t)index __attribute__((swift_name("get(index:)"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinKVariance"))) +@interface PAPIKotlinKVariance : PAPIKotlinEnum ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); +- (instancetype)initWithName:(NSString *)name ordinal:(int32_t)ordinal __attribute__((swift_name("init(name:ordinal:)"))) __attribute__((objc_designated_initializer)) __attribute__((unavailable)); +@property (class, readonly) PAPIKotlinKVariance *invariant __attribute__((swift_name("invariant"))); +@property (class, readonly) PAPIKotlinKVariance *in __attribute__((swift_name("in"))); +@property (class, readonly) PAPIKotlinKVariance *out __attribute__((swift_name("out"))); ++ (PAPIKotlinArray *)values __attribute__((swift_name("values()"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinKTypeProjection.Companion"))) +@interface PAPIKotlinKTypeProjectionCompanion : PAPIBase ++ (instancetype)alloc __attribute__((unavailable)); ++ (instancetype)allocWithZone:(struct _NSZone *)zone __attribute__((unavailable)); ++ (instancetype)companion __attribute__((swift_name("init()"))); +@property (class, readonly, getter=shared) PAPIKotlinKTypeProjectionCompanion *shared __attribute__((swift_name("shared"))); +- (PAPIKotlinKTypeProjection *)contravariantType:(id)type __attribute__((swift_name("contravariant(type:)"))); +- (PAPIKotlinKTypeProjection *)covariantType:(id)type __attribute__((swift_name("covariant(type:)"))); +- (PAPIKotlinKTypeProjection *)invariantType:(id)type __attribute__((swift_name("invariant(type:)"))); +@property (readonly) PAPIKotlinKTypeProjection *STAR __attribute__((swift_name("STAR"))); +@end; + +__attribute__((objc_subclassing_restricted)) +__attribute__((swift_name("KotlinMatchGroup"))) +@interface PAPIKotlinMatchGroup : PAPIBase +- (instancetype)initWithValue:(NSString *)value range:(PAPIKotlinIntRange *)range __attribute__((swift_name("init(value:range:)"))) __attribute__((objc_designated_initializer)); +- (NSString *)component1 __attribute__((swift_name("component1()"))); +- (PAPIKotlinIntRange *)component2 __attribute__((swift_name("component2()"))); +- (PAPIKotlinMatchGroup *)doCopyValue:(NSString *)value range:(PAPIKotlinIntRange *)range __attribute__((swift_name("doCopy(value:range:)"))); +- (BOOL)isEqual:(id _Nullable)other __attribute__((swift_name("isEqual(_:)"))); +- (NSUInteger)hash __attribute__((swift_name("hash()"))); +- (NSString *)description __attribute__((swift_name("description()"))); +@property (readonly) PAPIKotlinIntRange *range __attribute__((swift_name("range"))); +@property (readonly) NSString *value __attribute__((swift_name("value"))); +@end; + +#pragma pop_macro("_Nullable_result") +#pragma clang diagnostic pop +NS_ASSUME_NONNULL_END diff --git a/PrismAPISDK/PrismAPI.xcframework/ios-x86_64-simulator/PrismAPI.framework/Info.plist b/PrismAPISDK/PrismAPI.xcframework/ios-x86_64-simulator/PrismAPI.framework/Info.plist new file mode 100644 index 00000000..618f2d83 --- /dev/null +++ b/PrismAPISDK/PrismAPI.xcframework/ios-x86_64-simulator/PrismAPI.framework/Info.plist @@ -0,0 +1,31 @@ + + + + + CFBundleExecutable + PrismAPI + CFBundleIdentifier + io.iohk.atala.prism.api.PrismAPI + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + PrismAPI + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0 + CFBundleSupportedPlatforms + + iPhoneSimulator + + CFBundleVersion + 1 + MinimumOSVersion + 9.0 + UIDeviceFamily + + 1 + 2 + + + \ No newline at end of file diff --git a/PrismAPISDK/PrismAPI.xcframework/ios-x86_64-simulator/PrismAPI.framework/Modules/module.modulemap b/PrismAPISDK/PrismAPI.xcframework/ios-x86_64-simulator/PrismAPI.framework/Modules/module.modulemap new file mode 100644 index 00000000..76fd2451 --- /dev/null +++ b/PrismAPISDK/PrismAPI.xcframework/ios-x86_64-simulator/PrismAPI.framework/Modules/module.modulemap @@ -0,0 +1,6 @@ +framework module PrismAPI { + umbrella header "PrismAPI.h" + + export * + module * { export * } +} \ No newline at end of file diff --git a/PrismAPISDK/PrismAPI.xcframework/ios-x86_64-simulator/PrismAPI.framework/PrismAPI b/PrismAPISDK/PrismAPI.xcframework/ios-x86_64-simulator/PrismAPI.framework/PrismAPI new file mode 100755 index 00000000..42b45c1b Binary files /dev/null and b/PrismAPISDK/PrismAPI.xcframework/ios-x86_64-simulator/PrismAPI.framework/PrismAPI differ